Source: python-structlog
Version: 17.2.0-1
Severity: serious

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

...
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:184: cd 
/build/1st/python-structlog-17.2.0/.pybuild/pythonX.Y_2.7/build; python2.7 -m 
pytest tests
============================= test session starts ==============================
platform linux2 -- Python 2.7.14+, pytest-3.3.2, py-1.5.2, pluggy-0.6.0
rootdir: /build/1st/python-structlog-17.2.0, inifile: setup.cfg
collected 240 items

tests/test_base.py ..............                                        [  5%]
tests/test_config.py ...............................                     [ 18%]
tests/test_dev.py ...............                                        [ 25%]
tests/test_frames.py ............                                        [ 30%]
tests/test_generic.py ..                                                 [ 30%]
tests/test_loggers.py ..................                                 [ 38%]
tests/test_processors.py ..............s........ss.............s......s  [ 57%]
tests/test_stdlib.py .F.ss.............................................s [ 78%]
s.                                                                       [ 79%]
tests/test_threadlocal.py ............s....                              [ 86%]
tests/test_twisted.py .............................                      [ 98%]
tests/test_utils.py ...                                                  [100%]
=========================== short test summary info ============================
FAIL tests/test_stdlib.py::TestLoggerFactory::()::test_ignores_frames
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_processors.py:180: rapidjson 
is missing.
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_stdlib.py:93: Python 3-only
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_stdlib.py:99: Python 3-only
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_processors.py:259: Python 
3-only
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_processors.py:468: Python 
3-only
SKIP [2] .pybuild/pythonX.Y_2.7/build/tests/test_stdlib.py:579: Python 3-only
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_processors.py:275: Python 
3-only
SKIP [1] .pybuild/pythonX.Y_2.7/build/tests/test_processors.py:415: Python 
3-only

=================================== FAILURES ===================================
____________________ TestLoggerFactory.test_ignores_frames _____________________

self = <tests.test_stdlib.TestLoggerFactory object at 0x7f184441ed50>

    def test_ignores_frames(self):
        """
            The name guesser walks up the frames until it reaches a frame whose
            name is not from structlog or one of the configurable other names.
            """
>       assert '__main__' == additional_frame(LoggerFactory(
            ignore_frame_names=['tests.', '_pytest.'])
        ).name
E       AssertionError: assert '__main__' == 'pluggy.callers'
E         - __main__
E         + pluggy.callers

tests/test_stdlib.py:83: AssertionError
=============== 1 failed, 229 passed, 10 skipped in 1.88 seconds ===============
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd 
/build/1st/python-structlog-17.2.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
make: *** [debian/rules:7: build] Error 25

Reply via email to