[PKG-Openstack-devel] Bug#842244: congress: FTBFS randomly (failing tests)

Santiago Vila sanvila at unex.es
Thu Oct 27 11:08:36 UTC 2016


Package: src:congress
Version: 4.0.0+dfsg1-2
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
dh build-indep --buildsystem=python_distutils --with python2,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 '/<<BUILDDIR>>/congress-4.0.0+dfsg1'
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

[... snipped ...]

  File "congress/datasources/nova_driver.py", line 207, in <lambda>
    self.nova_client.flavors.list())
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/flavors.py", line 132, in list
    return self._list("/flavors%s%s" % (detail, query_string), "flavors")
  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 249, in _list
    resp, body = self.api.client.get(url)
  File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 187, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 117, in request
    raise exceptions.from_response(resp, body, url, method)
  File "/usr/lib/python2.7/dist-packages/novaclient/exceptions.py", line 309, in from_response
    error = body[list(body)[0]]
IndexError: list index out of range
nova:: finished polling
neutron:: polling
neutron:: finished polling
fake:: polling
fake:: update_from_datasource
fake:: finished polling
neutron:: polling
neutron:: finished polling
neutron:: polling
neutron:: finished polling
neutron:: polling
neutron:: finished polling
nova:: polling
nova:: finished polling
}}}

Traceback (most recent call last):
  File "congress/tests/test_congress.py", line 153, in test_rule_insert_delete
    ds = self.api['api-rule'].get_items({}, context)['results']
  File "congress/api/rule_model.py", line 76, in get_items
    raise webservice.DataModelException.create(e)
congress.api.webservice.DataModelException: Not Found::Request to service 'engine' timed out


----------------------------------------------------------------------
Ran 618 tests in 484.151s

FAILED (failures=1, skipped=5)
debian/rules:10: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/congress-4.0.0+dfsg1'
debian/rules:6: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The above is just an example. I'm attaching four different build logs.

You will find build failures here as well:

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

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 page for this package.

If you could not reproduce this using sbuild on a single CPU virtual machine (as I did),
please do not downgrade or mark as unreproducible, I would then consider giving you access
to a virtual machine on which I can reproduce it so that you can as well.
(In such case, please contact me off-list for details).

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: congress_4.0.0+dfsg1-2_amd64-20161025T025537Z.gz
Type: application/gzip
Size: 37674 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20161027/d3034b2f/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: congress_4.0.0+dfsg1-2_amd64-20161027T091704Z.gz
Type: application/gzip
Size: 37934 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20161027/d3034b2f/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: congress_4.0.0+dfsg1-2_amd64-20161027T091707Z.gz
Type: application/gzip
Size: 37216 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20161027/d3034b2f/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: congress_4.0.0+dfsg1-2_amd64-20161027T092143Z.gz
Type: application/gzip
Size: 37017 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20161027/d3034b2f/attachment-0007.bin>


More information about the Openstack-devel mailing list