[openstack-dev] [nova] run_tests.sh broken?

Christopher Yeoh cyeoh at au1.ibm.com
Wed Oct 31 13:08:39 UTC 2012


On Wed, 31 Oct 2012 22:35:04 +1030
Christopher Yeoh <cyeoh at au1.ibm.com> wrote:
> Are other people seeing problems with running run_tests.sh with a
> fresh checkout of the tree? I end up with 0 tests being run. 
> "/srv/compile/openstack/nova.clean/.venv/local/lib/python2.7/site-packages/migrate/versioning/api.py",
> line 33, in <module> from migrate.versioning import (repository,
> schema, version, File
> "/srv/compile/openstack/nova.clean/.venv/local/lib/python2.7/site-packages/migrate/versioning/schema.py",
> line 10, in <module> from sqlalchemy import exceptions as
> sa_exceptions ImportError: cannot import name exceptions
> -------------------- >> begin captured logging <<
> -------------------- nova.virt.libvirt.firewall: WARNING: Libvirt
> module could not be loaded. NWFilterFirewall will not work correctly.
> --------------------- >> end captured logging << ---------------------
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.005s
> 
> FAILED (errors=1)
> 
> Looks a bit like versioning issues between sqlalchemy and
> sqlalchemy-migrate, but I'm not really sure....

Had a discussion about this on IRC. sqlalchemy 0.8.0b1 looks like 
it is incompatible with the latest available sqlalchemy-migrate.
Setting sqlalchemy>=0.7.8,<=0.7.9 fixes the problem.

https://review.openstack.org/#/c/15097/
-- 
cyeoh at au.ibm.com




More information about the OpenStack-dev mailing list