← Back to team overview

openstack team mailing list archive

Re: Integration Test Failing for Review

 

John Postlethwait <john.postlethwait@xxxxxxxxxx> writes:

> Hello Everyone! 
>
> I have a review up that keeps failing the integration tests on Jenkins
> due to some sort of dependency issue. I am not really sure what the
> issue is, but the stack trace in the console output is complaining
> about "No module named version tools.setuptools_hooks" from within
> Django Appconfig, see here:
> https://jenkins.openstack.org/job/gate-integration-tests-devstack-vm/4629/console
>
> Is there something I need to do/can be done to make this run? Here is
> the review: https://review.openstack.org/#/c/7367/

Hi,

This appears only to happen on oneiric, not precise.  I suspect that's
why some people have had trouble reproducing it.  However, it is easy to
reproduce on oneiric:

1) Spin up a new vm
2) Clone Horizon
3) 'git review -d 7367'
4) 'python setup.py install'

There seems to be a bug in the version of distutils on oneiric that is
not present in the one on precise.

A simple way to resolve this is to go ahead and move devstack-gate tests
to Precise, now that three out of our four node providers have precise
images available.

I've done this, and it looks very promising that the change will be
merged.

While we're on the subject, I'm going to start moving unit tests jobs to
Jenkins slaves running precise (aside from python 2.6 jobs which we'll
keep on oneiric since python2.6 is not available in precise).

-Jim


References