Source: pytest-xdist
Version: 1.15.0-3
Severity: serious
Tags: buster sid

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

...
I: pybuild base:184: python3.6 -m pytest -x -v
============================= test session starts ==============================
platform linux -- Python 3.6.2rc1, pytest-3.0.6, py-1.4.34, pluggy-0.4.0 -- 
/usr/bin/python3.6
cachedir: .cache
rootdir: /build/1st/pytest-xdist-1.15.0, inifile: tox.ini
plugins: xdist-1.15.0
collecting ... collected 110 items

testing/acceptance_test.py::TestDistribution::test_n1_pass PASSED
testing/acceptance_test.py::TestDistribution::test_n1_fail PASSED
testing/acceptance_test.py::TestDistribution::test_n1_import_error FAILED
=========================== short test summary info ============================
FAIL testing/acceptance_test.py::TestDistribution::()::test_n1_import_error

=================================== FAILURES ===================================
____________________ TestDistribution.test_n1_import_error _____________________

self = <acceptance_test.TestDistribution object at 0x7fab1a8f6d30>
testdir = <Testdir 
local('/tmp/pytest-of-pbuilder1/pytest-3/testdir/test_n1_import_error0')>

    def test_n1_import_error(self, testdir):
        p1 = testdir.makepyfile("""
                import __import_of_missing_module
                def test_import():
                    pass
            """)
        result = testdir.runpytest(p1, "-n1")
        assert result.ret == 1
        result.stdout.fnmatch_lines([
>           "E   ImportError: *__import_of_missing_module*",
        ])
E       Failed: nomatch: 'E   ImportError: *__import_of_missing_module*'
E           and: '============================= test session starts 
=============================='
E           and: 'platform linux -- Python 3.6.2rc1, pytest-3.0.6, py-1.4.34, 
pluggy-0.4.0'
E           and: 'rootdir: 
/tmp/pytest-of-pbuilder1/pytest-3/testdir/test_n1_import_error0, inifile: '
E           and: 'plugins: xdist-1.15.0'
E           and: 'gw0 I'
E           and: 'gw0 [0]'
E           and: ''
E           and: 'scheduling tests via LoadScheduling'
E           and: ''
E           and: '==================================== ERRORS 
===================================='
E           and: '___________________ ERROR collecting test_n1_import_error.py 
___________________'
E           and: "ImportError while importing test module 
'/tmp/pytest-of-pbuilder1/pytest-3/testdir/test_n1_import_error0/test_n1_import_error.py'."
E           and: 'Hint: make sure your test modules/packages have valid Python 
names.'
E           and: 'Traceback:'
E           and: 'test_n1_import_error.py:1: in <module>'
E           and: '    import __import_of_missing_module'
E           and: "E   ModuleNotFoundError: No module named 
'__import_of_missing_module'"
E           and: '=========================== 1 error in 0.60 seconds 
============================'
E           and: ''
E       remains unmatched: 'E   ImportError: *__import_of_missing_module*'

/build/1st/pytest-xdist-1.15.0/testing/acceptance_test.py:33: Failed
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.6.2rc1, pytest-3.0.6, py-1.4.34, pluggy-0.4.0
rootdir: /tmp/pytest-of-pbuilder1/pytest-3/testdir/test_n1_import_error0, 
inifile: 
plugins: xdist-1.15.0
gw0 I
gw0 [0]

scheduling tests via LoadScheduling

==================================== ERRORS ====================================
___________________ ERROR collecting test_n1_import_error.py ___________________
ImportError while importing test module 
'/tmp/pytest-of-pbuilder1/pytest-3/testdir/test_n1_import_error0/test_n1_import_error.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
test_n1_import_error.py:1: in <module>
    import __import_of_missing_module
E   ModuleNotFoundError: No module named '__import_of_missing_module'
=========================== 1 error in 0.60 seconds ============================
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
====================== 1 failed, 2 passed in 3.22 seconds ======================
E: pybuild pybuild:283: test: plugin custom failed with: exit code=2: python3.6 
-m pytest -x -v
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.6 3.5 
returned exit code 13
debian/rules:13: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 25

Reply via email to