[PKG-Openstack-devel] Bug#917506: python-crank: FTBFS (failing tests)

Santiago Vila sanvila at debian.org
Thu Dec 27 23:54:23 GMT 2018


Package: src:python-crank
Version: 0.7.2-3
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster 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
dh /usr/share/openstack-pkg-tools/pkgos.make --buildsystem=python_distutils --with python2,python3
dh: Unknown sequence /usr/share/openstack-pkg-tools/pkgos.make (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
dh build-indep --buildsystem=python_distutils --with python2,python3
   dh_update_autotools_config -i -O--buildsystem=python_distutils
   dh_auto_configure -i -O--buildsystem=python_distutils
dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_configure: This feature will be removed in compat 12.
   dh_auto_build -i -O--buildsystem=python_distutils
dh_auto_build: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_build: This feature will be removed in compat 12.

[... snipped ...]

tests.test_util.test_method_matches_args_fails_no_params ... ok
tests.test_util.test_method_matches_args_fails_more_remainder_than_argspec ... ok
tests.test_util.test_method_matches_args_with_default_values ... ok
tests.test_util.test_path_path ... ok
tests.test_util.test_path_list(<tests.test_util.test_path_list.<locals>.MockOb object at 0x7f67b4b4ce10>, ['', '']) ... ok
tests.test_util.test_path_list(<tests.test_util.test_path_list.<locals>.MockOb object at 0x7f67b4b51630>, ['', 'foo']) ... ok
tests.test_util.test_path_list(<tests.test_util.test_path_list.<locals>.MockOb object at 0x7f67b4b51668>, ['', 'foo', 'bar']) ... ok
tests.test_util.test_path_list(<tests.test_util.test_path_list.<locals>.MockOb object at 0x7f67b4b51630>, ['', 'foo', 'bar', '']) ... ok
tests.test_util.test_path_list(<tests.test_util.test_path_list.<locals>.MockOb object at 0x7f67b4b51668>, ['', 'foo', '', 'bar', '']) ... ok
tests.test_util.test_path_list(<tests.test_util.test_path_list.<locals>.MockOb object at 0x7f67b4b51630>, ['foo']) ... ok
tests.test_util.test_path_list(<tests.test_util.test_path_list.<locals>.MockOb object at 0x7f67b4b51668>, ['foo', 'bar']) ... ok
tests.test_util.test_path_str(<tests.test_util.test_path_str.<locals>.MockOb object at 0x7f67b4b51668>, '/', <class 'str'>) ... ok
tests.test_util.test_path_str(<tests.test_util.test_path_str.<locals>.MockOb object at 0x7f67b4bb7ac8>, '/foo', <class 'str'>) ... ok
tests.test_util.test_path_str(<tests.test_util.test_path_str.<locals>.MockOb object at 0x7f67b4bb7a20>, '/foo/bar', <class 'str'>) ... ok
tests.test_util.test_path_str(<tests.test_util.test_path_str.<locals>.MockOb object at 0x7f67b4bb79b0>, '/foo/bar/', <class 'str'>) ... ok
tests.test_util.test_path_str(<tests.test_util.test_path_str.<locals>.MockOb object at 0x7f67b4bb7b38>, '/foo//bar/', <class 'str'>) ... ok
tests.test_util.test_path_str(<tests.test_util.test_path_str.<locals>.MockOb object at 0x7f67b4bb7ac8>, 'foo', <class 'str'>) ... ok
tests.test_util.test_path_str(<tests.test_util.test_path_str.<locals>.MockOb object at 0x7f67b4bb7a20>, 'foo/bar', <class 'str'>) ... ok
tests.test_util.test_path_str(<tests.test_util.test_path_str.<locals>.MockOb object at 0x7f67b4b4cd30>, '<Path "deque([\'\', \'foo\', \'bar\'])">', <built-in function repr>) ... FAIL
tests.test_util.test_path_unicode(<tests.test_util.test_path_unicode.<locals>.MockOb object at 0x7f67b4bb7b38>, '/', <class 'str'>) ... ok
tests.test_util.test_path_unicode(<tests.test_util.test_path_unicode.<locals>.MockOb object at 0x7f67b4bb7a20>, '/©', <class 'str'>) ... ok
tests.test_util.test_path_unicode(<tests.test_util.test_path_unicode.<locals>.MockOb object at 0x7f67b4bb7be0>, '/©/™', <class 'str'>) ... ok
tests.test_util.test_path_unicode(<tests.test_util.test_path_unicode.<locals>.MockOb object at 0x7f67b4bb7d30>, '/©/™/', <class 'str'>) ... ok
tests.test_util.test_path_unicode(<tests.test_util.test_path_unicode.<locals>.MockOb object at 0x7f67b4bb7c88>, '¡', <class 'str'>) ... ok
tests.test_util.test_path_unicode(<tests.test_util.test_path_unicode.<locals>.MockOb object at 0x7f67b4bb7a20>, 'foo/¡', <class 'str'>) ... ok
tests.test_util.test_path_slicing ... ok
tests.test_util.test_path_comparison ... ok
tests.test_util.test_path_translation ... ok

======================================================================
FAIL: tests.test_util.test_path_str(<tests.test_util.test_path_str.<locals>.MockOb object at 0x7f67b4b4cd30>, '<Path "deque([\'\', \'foo\', \'bar\'])">', <built-in function repr>)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/tests/test_util.py", line 126, in assert_path
    assert kind(instance.path) == expected, (kind(instance.path), expected)
AssertionError: ('<Path "Path([\'\', \'foo\', \'bar\'])">', '<Path "deque([\'\', \'foo\', \'bar\'])">')

----------------------------------------------------------------------
Ran 135 tests in 0.062s

FAILED (failures=1)
make[1]: *** [debian/rules:26: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-crank.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Openstack-devel mailing list