[Python-modules-team] Bug#876988: python-structlog FTBFS with twisted 17.9.0

Adrian Bunk bunk at debian.org
Wed Sep 27 12:22:50 UTC 2017


Source: python-structlog
Version: 16.1.0-1
Severity: serious
Tags: buster sid

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

...
=========================== short test summary info ============================
FAIL tests/test_twisted.py::TestExtractStuffAndWhy::()::test_handlesFailures
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_dev.py:91: Requires colorama.
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_dev.py:78: Requires colorama.
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_dev.py:121: Requires colorama.
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_dev.py:150: Requires colorama.
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_processors.py:253: Python 3-only
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_dev.py:104: Requires colorama.
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_stdlib.py:86: Python 3-only
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_dev.py:136: Requires colorama.
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_dev.py:59: Requires colorama.
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_stdlib.py:92: Python 3-only
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_processors.py:459: Python 3-only
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_threadlocal.py:182: Needs greenlet.
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_processors.py:409: Python 3-only
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_processors.py:177: rapidjson is missing.
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_dev.py:67: Requires colorama.
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_processors.py:269: Python 3-only
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_dev.py:162: Requires colorama.

=================================== FAILURES ===================================
_________________ TestExtractStuffAndWhy.test_handlesFailures __________________

self = <tests.test_twisted.TestExtractStuffAndWhy object at 0x7f737fd8bc10>

    def test_handlesFailures(self):
        """
            Extracts failures and events.
            """
        f = Failure(ValueError())
>       assert (
            (f, "foo", {}) ==
            _extractStuffAndWhy({"_why": "foo",
                                 "_stuff": f})
        )
E       AssertionError: assert (<twisted.pyt... >, 'foo', {}) == (<twisted.pyth... >, 'foo', {})
E         At index 0 diff: <twisted.python.failure.Failure exceptions.ValueError: > != <twisted.python.failure.Failure exceptions.ValueError: >
E         Use -v to get the full diff

tests/test_twisted.py:106: AssertionError
=============================== warnings summary ===============================
None
  [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.

-- Docs: http://doc.pytest.org/en/latest/warnings.html
========= 1 failed, 200 passed, 17 skipped, 1 warnings in 2.09 seconds =========
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /build/1st/python-structlog-16.1.0/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned exit code 13
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 25



More information about the Python-modules-team mailing list