[PKG-Openstack-devel] Bug#835355: python-heatclient: Strange FTBFS failure (failing test)
Santiago Vila
sanvila at unex.es
Wed Aug 24 16:27:23 UTC 2016
Package: src:python-heatclient
Version: 1.1.0-2
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 --with python2,python3
dh_testdir -i
dh_update_autotools_config -i
dh_auto_configure -i
dh_auto_build -i
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
[... snipped ...]
2014-12-05 14:14:30Z [astack]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child1]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child2]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child3]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child1]: CREATE_COMPLETE state changed
2014-12-05 14:14:30Z [res_child2]: CREATE_FAILED state changed
2014-12-05 14:14:30Z [res_child3]: CREATE_COMPLETE state changed
2014-12-05 14:14:30Z [astack]: CREATE_FAILED state changed
2014-12-05 14:14:30Z [astack]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child1]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [astack]: CREATE_COMPLETE state changed
2014-12-05 14:14:30Z [astack]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child1]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child2]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child3]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child1]: CREATE_COMPLETE state changed
2014-12-05 14:14:30Z [res_child2]: CREATE_FAILED state changed
2014-12-05 14:14:30Z [res_child3]: CREATE_COMPLETE state changed
2014-12-05 14:14:30Z [astack]: FOO_FAILED state changed
2014-12-05 14:14:30Z [astack]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child1]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child2]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child3]: CREATE_IN_PROGRESS state changed
2014-12-05 14:14:30Z [res_child1]: CREATE_COMPLETE state changed
2014-12-05 14:14:30Z [res_child2]: CREATE_COMPLETE state changed
2014-12-05 14:14:30Z [res_child3]: CREATE_COMPLETE state changed
2014-12-05 14:14:30Z [astack]: CREATE_COMPLETE state changed
running=${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./heatclient/tests/unit}
======================================================================
FAIL: heatclient.tests.unit.test_template_utils.ShellEnvironmentTest.test_process_multiple_environments_and_files_tracker
heatclient.tests.unit.test_template_utils.ShellEnvironmentTest.test_process_multiple_environments_and_files_tracker
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/heatclient/tests/unit/test_template_utils.py", line 413, in test_process_multiple_environments_and_files_tracker
files['file:///home/my/dir/env1.yaml'])
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 350, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = '{"resource_registry": {"OS::Thingy1": "file:///home/b/a.yaml"}, "parameters": {"param1": "value1"}}'
actual = '{"parameters": {"param1": "value1"}, "resource_registry": {"OS::Thingy1": "file:///home/b/a.yaml"}}'
----------------------------------------------------------------------
Ran 837 tests in 11.089s
FAILED (failures=1)
debian/rules:38: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:10: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
This only happened once, but the fact that it happened clearly means
that it may happen. Since the tests are never supposed to fail, this
indicates that there is a bug somewhere.
My recommended debugging strategy would be not to build many times as
I did, but examine the code and the build log and try to guess how it
could happen. If you can forward this upstream, the better.
If you can't determine why the test failed, then please consider
disabling the test.
I attach the full build log.
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-heatclient_1.1.0-2_amd64-20160820T011245Z.gz
Type: application/gzip
Size: 42260 bytes
Desc:
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160824/3d08337a/attachment-0001.bin>
More information about the Openstack-devel
mailing list