[PKG-Openstack-devel] Bug#812702: neutron-lbaas: FTBFS - tests fail with a series of import errors

Michael Tautschnig mt at debian.org
Mon Jan 25 23:18:12 UTC 2016


Package: neutron-lbaas
Version: 2015.1.0-3
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
===> Testing with python2.7 (python2)
+ rm -rf .testrepository
+ testr-python2 init
+ mktemp -t
+ TEMP_REZ=/tmp/tmp.xROdclR1LA
+ PYTHONPATH=/srv/jenkins-slave/workspace/sid-goto-cc-neutron-lbaas/neutron-lbaas-2015.1.0 PYTHON=python2.7 testr-python2 run --subunit neutron_lbaas\.tests\.unit\.(?!(.*test_synchronous_driver.TestHaproxyNSDriver.test_cleanup_name.*|.*test_v2_plugin_driver.TestLBaaSDriver.test_wf_created_on_first_member_creation.*|.*test_v2_plugin_driver.TestLBaaSDriverRestClient.test_flip_servers.*))
+ tee /tmp/tmp.xROdclR1LA
+ subunit2pyunit
No handlers could be found for logger "neutron.quota"
runnNon-zero exit code (2) from test listing.
ing=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./neutron_lbaas/tests/unit} --list 
--- import errors ---
Failed to import test module: neutron_lbaas.tests.unit.agent.test_agent
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "neutron_lbaas/tests/unit/agent/test_agent.py", line 20, in <module>
    from neutron_lbaas.agent import agent
  File "neutron_lbaas/agent/agent.py", line 26, in <module>
    from neutron.openstack.common import service
ImportError: cannot import name service

[...]
----------------------------------------------------------------------
Ran 0 tests in 4.718s

OK
+ cat /tmp/tmp.xROdclR1LA
+ + subunit-filter -s --no-passthrough
subunit-stats
Total tests:       0
Passed tests:      0
Failed tests:      0
Skipped tests:     0
Seen tags:
+ rm -f /tmp/tmp.xROdclR1LA
+ testr-python2 slowest
debian/rules:19: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 3


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: neutron-lbaas-build-log.txt.gz
Type: application/x-gunzip
Size: 19306 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160125/15e8911a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160125/15e8911a/attachment-0001.sig>


More information about the Openstack-devel mailing list