[PKG-Openstack-devel] Bug#852991: gnocchi: FTBFS (failing tests)

Santiago Vila sanvila at debian.org
Sat Jan 28 18:06:08 UTC 2017


Package: src:gnocchi
Version: 3.0.0-2
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
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,sphinxdoc
   dh_testdir -i -O--buildsystem=python_distutils
   dh_update_autotools_config -i -O--buildsystem=python_distutils
   dh_auto_configure -i -O--buildsystem=python_distutils
   dh_auto_build -i -O--buildsystem=python_distutils
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
	python setup.py build --force
running build
running build_py

[... snipped ...]

                                                 (datetime.datetime(2014, 1, 1, 12, 0, tzinfo=<iso8601.Utc>),
                                                  300,
                                                  69),
                                                 (datetime.datetime(2014, 1, 1, 12, 10, tzinfo=<iso8601.Utc>),
                                                  300,
                                                  42)],
 <Metric bc346699-4d7e-463b-b63a-fd36dd9d293b>: []}
actual    = defaultdict(<type 'list'>, {<Metric bc346699-4d7e-463b-b63a-fd36dd9d293b>: [], <Metric 2b7f6509-7acd-4fec-9d22-ef11b694a33b>: []})


======================================================================
FAIL: gnocchi.tests.test_storage.TestStorageDriver.test_updated_measures
gnocchi.tests.test_storage.TestStorageDriver.test_updated_measures
----------------------------------------------------------------------
_StringException: Empty attachments:
  stderr
  stdout

Traceback (most recent call last):
  File "gnocchi/tests/base.py", line 55, in skip_if_not_implemented
    return func(*args, **kwargs)
  File "gnocchi/tests/test_storage.py", line 325, in test_updated_measures
    ], self.storage.get_measures(self.metric))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = [(datetime.datetime(2014, 1, 1, 0, 0, tzinfo=<iso8601.Utc>), 86400.0, 55.5),
 (datetime.datetime(2014, 1, 1, 12, 0, tzinfo=<iso8601.Utc>), 3600.0, 55.5),
 (datetime.datetime(2014, 1, 1, 12, 0, tzinfo=<iso8601.Utc>), 300.0, 69),
 (datetime.datetime(2014, 1, 1, 12, 5, tzinfo=<iso8601.Utc>), 300.0, 42.0)]
actual    = []


----------------------------------------------------------------------
Ran 304 tests in 55.760s

FAILED (failures=44, skipped=24)
debian/rules:44: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

This is just how the build ends, not necessarily the relevant part.

I've put several build logs here:

https://people.debian.org/~sanvila/build-logs/gnocchi/

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.

The bug should be reproducible with sbuild on a single CPU virtual machine.

Note: My build history is like this:

[...]
Status: successful  gnocchi_3.0.0-2_amd64-20170122T094410Z
Status: failed      gnocchi_3.0.0-2_amd64-20170126T170124Z
[...]

where every previous build was ok and now it always fail. Maybe some
build-dependency entered testing between 2017-01-22 and 2017-01-26
which is related to this failure.

Thanks.



More information about the Openstack-devel mailing list