Package: src:murano Version: 1:2.0.1-1 Severity: serious Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" (which is what the "Arch: all" autobuilder would do to build it) but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep 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 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 dh build-indep --buildsystem=python_distutils --with python2,sphinxdoc,systemd dh_testdir -i -O--buildsystem=python_distutils dh_update_autotools_config -i -O--buildsystem=python_distutils dh_auto_configure -i -O--buildsystem=python_distutils debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' [... snipped ...] make[1]: Entering directory '/<<PKGBUILDDIR>>' 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 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 echo "===> Running tests" ===> Running tests set -e && 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` && \ DISCOVER_DIRECTORY=/<<PKGBUILDDIR>>/murano/tests/unit PYTHONPATH=/<<PKGBUILDDIR>> PYTHON=python$i DISCOVER_DIRECTORY=murano/tests/unit testr-python$PYMAJOR run --subunit 'tests\.unit\.(?!(.*SysLogHandlersTestCase.*|.*packages\.hot_package\.test_hot_package\.TestHotPackage\.test_heat_files_generated.*))' | tee $TEMP_REZ | subunit2pyunit ; \ cat $TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \ rm -f $TEMP_REZ ; \ testr-python$PYMAJOR slowest ; \ done ===> Testing with python2.7 (python2) running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ ${PYTHON:-python} -m subunit.run discover -t ./ $DISCOVER_DIRECTORY --list --- impoNon-zero exit code (2) from test listing. rt errors --- Failed to import test module: murano.tests.unit.test_hacking 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 "murano/tests/unit/test_hacking.py", line 16, in <module> import pep8 ImportError: No module named pep8 ---------------------------------------------------------------------- Ran 0 tests in 1.762s OK Total tests: 0 Passed tests: 0 Failed tests: 0 Skipped tests: 0 Seen tags: debian/rules:19: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 3 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:15: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- In this case, I don't think it's necessary to provide a build log, it should be easy enough to reproduce. Thanks.