[PKG-Openstack-devel] Bug#906551: python-diskimage-builder: FTBFS in buster/sid (failing tests)
Santiago Vila
sanvila at debian.org
Fri Aug 17 12:21:14 BST 2018
Package: src:python-diskimage-builder
Version: 2.10.1-6
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 build-indep --buildsystem=python_distutils --with python2,python3,sphinxdoc
dh_update_autotools_config -i -O--buildsystem=python_distutils
dh_autoreconf -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.
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
[... snipped ...]
2018-08-16 07:18:41,300 DEBUG [diskimage_builder.block_device.blockdevice] Creating BlockDevice object
2018-08-16 07:18:41,300 DEBUG [diskimage_builder.block_device.blockdevice] Params [{'build-dir': '/tmp/tmpPAbJTR', 'config': 'diskimage_builder/block_device/tests/config/cmd_create.yaml'}]
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.blockdevice] Config before merge [[{'test_a': {'name': 'test_node_a'}}, {'test_b': {'base': 'test_node_a', 'name': 'test_node_b'}}]]
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.blockdevice] Config before merge [[{'test_a': {'name': 'test_node_a'}}, {'test_b': {'base': 'test_node_a', 'name': 'test_node_b'}}]]
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.blockdevice] Final config [[{'test_a': {'name': 'test_node_a'}}, {'test_b': {'base': 'test_node_a', 'name': 'test_node_b'}}]]
2018-08-16 07:18:41,301 INFO [diskimage_builder.block_device.blockdevice] Wrote final block device config to [/tmp/tmpPAbJTR/states/block-device/config.json]
2018-08-16 07:18:41,301 INFO [diskimage_builder.block_device.blockdevice] create() called
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.blockdevice] Using config [[{'test_a': {'name': 'test_node_a'}}, {'test_b': {'base': 'test_node_a', 'name': 'test_node_b'}}]]
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.config] Config entry [{'test_a': {'name': 'test_node_a'}}]
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.tests.plugin.test_a] Create test 1
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.config] Adding test_node_a : <diskimage_builder.block_device.tests.plugin.test_a.TestANode object at 0x7fa9bef71690>
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.config] Config entry [{'test_b': {'base': 'test_node_a', 'name': 'test_node_b'}}]
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.tests.plugin.test_b] Create test 1
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.config] Adding test_node_b : <diskimage_builder.block_device.tests.plugin.test_b.TestBNode object at 0x7fa9bef71310>
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.config] Edges for test_node_a: f:[] t:[]
2018-08-16 07:18:41,301 DEBUG [diskimage_builder.block_device.config] Edges for test_node_b: f:['test_node_a'] t:[]
2018-08-16 07:18:41,302 DEBUG [diskimage_builder.block_device.config] Call order: ['test_node_a', 'test_node_b']
2018-08-16 07:18:41,302 DEBUG [diskimage_builder.block_device.blockdevice] Writing state to: /tmp/tmpPAbJTR/states/block-device/state.json
2018-08-16 07:18:41,302 DEBUG [diskimage_builder.block_device.blockdevice] {'test_init_state': 'here'}
2018-08-16 07:18:41,302 INFO [diskimage_builder.block_device.blockdevice] create() finished
}}}
Traceback (most recent call last):
File "diskimage_builder/block_device/tests/test_state.py", line 76, in test_state_create
'test_init_state': 'here'})
File "/usr/lib/python2.7/dist-packages/unittest2/case.py", line 1128, in assertDictEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/lib/python2.7/dist-packages/unittest2/case.py", line 690, in fail
raise self.failureException(msg)
AssertionError: {u'test_init_state': u'here'} != {'test_init_state': 'here', 'test_b': {'va[53 chars]oo'}}
+ {'test_a': {'value': 'foo', 'value2': 'bar'},
+ 'test_b': {'value': 'baz'},
- {u'test_init_state': u'here'}
? ^^ -
+ 'test_init_state': 'here'}
? ^
----------------------------------------------------------------------
Ran 54 tests in 0.962s
FAILED (failures=9)
make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-diskimage-builder.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