[PKG-Openstack-devel] Bug#881188: openstack-trove FTBFS: test failure

Adrian Bunk bunk at debian.org
Wed Nov 8 17:45:35 UTC 2017


Source: openstack-trove
Version: 1:8.0.0-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/openstack-trove.html

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/openstack-trove-8.0.0'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
===> Running tests
set -e ; set -x ; for i in 2.7 ; do \
	PYMAJOR=`echo $i | cut -d'.' -f1` ; \
	echo "===> Testing with python$i (python$PYMAJOR)" ; \
	rm -rf .testrepository ; \
	testr-python$PYMAJOR init ; \
	TEMP_REZ=`mktemp -t` ; \
	PYTHONPATH=/build/1st/openstack-trove-8.0.0 PYTHON=python$i testr-python$PYMAJOR run --subunit '(?!(.*guestagent\.test_dbaas\.MySqlAppTest\.test__wait_for_slave_status.*|.*taskmanager\.test_models\.BuiltInstanceTasksTest\.test_error_attach_replica.*))' | tee $TEMP_REZ | subunit2pyunit ; \
	cat $TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
	rm -f $TEMP_REZ ; \
	testr-python$PYMAJOR slowest ; \
done
+ echo 2.7
+ cut -d. -f1
+ PYMAJOR=2
+ echo ===> Testing with python2.7 (python2)
===> Testing with python2.7 (python2)
+ rm -rf .testrepository
+ testr-python2 init
+ mktemp -t
+ TEMP_REZ=/tmp/tmp.mWFUBcLwCL
+ PYTHONPATH=/build/1st/openstack-trove-8.0.0 PYTHON=python2.7 testr-python2 run --subunit (?!(.*guestagent\.test_dbaas\.MySqlAppTest\.test__wait_for_slave_status.*|.*taskmanager\.test_models\.BuiltInstanceTasksTest\.test_error_attach_replica.*))
+ subunit2pyunit
+ tee /tmp/tmp.mWFUBcLwCL
Non-zero exit code (2) from test listing.
running=${PYTHON:-python} -m subunit.run discover ./trove/tests/unittests --list 
--- import errors ---
Failed to import test module: hacking.test_translation_checks
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 "/build/1st/openstack-trove-8.0.0/trove/tests/unittests/hacking/test_translation_checks.py", line 13, in <module>
    from trove.hacking import translation_checks as tc
  File "trove/hacking/translation_checks.py", line 15, in <module>
    import pep8
ImportError: No module named pep8

----------------------------------------------------------------------
Ran 0 tests in 4.570s

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



More information about the Openstack-devel mailing list