[Python-modules-team] Bug#897557: pytest: FTBFS: dh_auto_test: pybuild --test -i pypy -p 6.0 --system=custom "--test-args=cd debian/tmp/test-working-directory && {interpreter} -m pytest --lsof -rfsxX --ignore={dir}/testing/freeze --ignore={dir}/testing/test_entry_points.py --ignore={dir}/testing/test_pdb.py --ignore={dir}/testing/test_terminal.py -k-test_trial_pdb {dir}/testing" returned exit code 13

Lucas Nussbaum lucas at debian.org
Wed May 2 22:00:39 BST 2018


Source: pytest
Version: 3.3.2-2
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20180502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p debian/tmp/test-working-directory
> dh_auto_test -- \
> 	--system=custom \
> 	--test-args="cd debian/tmp/test-working-directory && {interpreter} -m pytest --lsof -rfsxX \
> 		--ignore={dir}/testing/freeze \
> 		--ignore={dir}/testing/test_entry_points.py \
> 		--ignore={dir}/testing/test_pdb.py \
> 		--ignore={dir}/testing/test_terminal.py \
> 		-k-test_trial_pdb \
> 		{dir}/testing"
> I: pybuild base:217: cd debian/tmp/test-working-directory && python2.7 -m pytest --lsof -rfsxX 		--ignore=/<<PKGBUILDDIR>>/testing/freeze 		--ignore=/<<PKGBUILDDIR>>/testing/test_entry_points.py 		--ignore=/<<PKGBUILDDIR>>/testing/test_pdb.py 		--ignore=/<<PKGBUILDDIR>>/testing/test_terminal.py 		-k-test_trial_pdb 		/<<PKGBUILDDIR>>/testing
> ============================= test session starts ==============================
> platform linux2 -- Python 2.7.15, pytest-3.3.2, py-1.5.3, pluggy-0.6.0
> rootdir: /<<PKGBUILDDIR>>, inifile: tox.ini
> plugins: hypothesis-3.44.1
> collected 1855 items
> 
> ../../../testing/acceptance_test.py .................................... [  1%]
> .............x..........s...                                             [  3%]
> ../../../testing/deprecated_test.py ..........                           [  3%]
> ../../../testing/test_argcomplete.py ..                                  [  4%]
> ../../../testing/test_assertion.py ..................................... [  6%]
> ................................s...........                             [  8%]
> ../../../testing/test_assertrewrite.py ...............s................. [ 10%]
> s.......................                                                 [ 11%]
> ../../../testing/test_cache.py .............................             [ 13%]
> ../../../testing/test_capture.py ...........x..................s........ [ 15%]
> ...........s..s......s.................................s.............    [ 18%]
> ../../../testing/test_collection.py ..............................x..... [ 20%]
> .......................                                                  [ 22%]
> ../../../testing/test_compat.py ..ss..                                   [ 22%]
> ../../../testing/test_config.py .........x.....s........................ [ 24%]
> ........................................                                 [ 26%]
> ../../../testing/test_conftest.py ...................................... [ 28%]
> ............                                                             [ 29%]
> ../../../testing/test_doctest.py ....................................... [ 31%]
> .........................................................                [ 34%]
> ../../../testing/test_helpconfig.py .......                              [ 35%]
> ../../../testing/test_junitxml.py ...................................... [ 37%]
> ......s.x.....                                                           [ 37%]
> ../../../testing/test_mark.py .......................................... [ 40%]
> ...x.x.......x.........x........                                         [ 41%]
> ../../../testing/test_modimport.py ..................................... [ 43%]
> ....                                                                     [ 44%]
> ../../../testing/test_monkeypatch.py ...............................s    [ 45%]
> ../../../testing/test_nodes.py ........                                  [ 46%]
> ../../../testing/test_nose.py ...................                        [ 47%]
> ../../../testing/test_parseopt.py ...........................s           [ 48%]
> ../../../testing/test_pastebin.py ....                                   [ 48%]
> ../../../testing/test_pluginmanager.py .................s........        [ 50%]
> ../../../testing/test_pytester.py x........                              [ 50%]
> ../../../testing/test_recwarn.py ..................................      [ 52%]
> ../../../testing/test_resultlog.py ...........                           [ 53%]
> ../../../testing/test_runner.py ...................sssssss...ssss......x [ 55%]
> .........................                                                [ 56%]
> ../../../testing/test_runner_xunit.py ...............                    [ 57%]
> ../../../testing/test_session.py .................                       [ 58%]
> ../../../testing/test_skipping.py ...................................... [ 60%]
> ...................................                                      [ 62%]
> ../../../testing/test_tmpdir.py ...........s                             [ 63%]
> ../../../testing/test_unittest.py ...................................... [ 65%]
> .....                                                                    [ 65%]
> ../../../testing/test_warnings.py ......s......                          [ 66%]
> ../../../testing/code/test_code.py ...............                       [ 66%]
> ../../../testing/code/test_excinfo.py ...............s.......s.......... [ 68%]
> ...........................................ssss.........                 [ 71%]
> ../../../testing/code/test_source.py ................................... [ 73%]
> ..............................                                           [ 75%]
> ../../../testing/code/test_source_multiline_block.py .                   [ 75%]
> ../../../testing/logging/test_fixture.py .......                         [ 75%]
> ../../../testing/logging/test_reporting.py .............                 [ 76%]
> ../../../testing/python/approx.py ...........................ss......    [ 78%]
> ../../../testing/python/collect.py ..................................... [ 80%]
> ..........................................                               [ 82%]
> ../../../testing/python/fixture.py ..................................... [ 84%]
> ...................................x.................................... [ 88%]
> ........................................................                 [ 91%]
> ../../../testing/python/integration.py .....ss...........                [ 92%]
> ../../../testing/python/metafunc.py .................................... [ 94%]
> ..............................................x.............             [ 97%]
> ../../../testing/python/raises.py .............                          [ 98%]
> ../../../testing/python/setup_only.py ........................           [ 99%]
> ../../../testing/python/setup_plan.py .                                  [ 99%]
> ../../../testing/python/show_fixtures_per_test.py ......                 [ 99%]
> ../../../testing/python/test_deprecations.py .                           [100%]
> =========================== short test summary info ============================
> SKIP [1] /<<PKGBUILDDIR>>/testing/test_parseopt.py:302: bash provided no output, argcomplete not available?
> SKIP [1] testing/test_compat.py:42: asyncio available in Python 3.4+
> SKIP [1] testing/test_assertion.py:879: Python 3.4+ shows chained exceptions on multiprocess
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/approx.py:328: could not import 'numpy'
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/integration.py:118: could not import 'unittest.mock'
> SKIP [1] /<<PKGBUILDDIR>>/testing/code/test_excinfo.py:355: could not import 'jinja2'
> SKIP [1] /<<PKGBUILDDIR>>/testing/acceptance_test.py:867: could not import 'zipapp'
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/approx.py:346: could not import 'numpy'
> SKIP [1] /tmp/pytest-of-user42/pytest-0/test_plugin_skip0/skipping1.py:3: hello
> SKIP [1] testing/test_config.py:143: condition: sys.version_info[0] < 3
> SKIP [1] testing/code/test_excinfo.py:1016: condition: sys.version_info[0] < 3
> SKIP [2] /<<PKGBUILDDIR>>/testing/test_capture.py:840: could not run 'lsof'
> SKIP [1] /<<PKGBUILDDIR>>/testing/code/test_excinfo.py:257: could not import 'decorator'
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/integration.py:132: could not import 'unittest.mock'
> SKIP [1] testing/test_warnings.py:118: warnings message is unicode is ok in python3
> SKIP [11] /<<PKGBUILDDIR>>/testing/test_runner.py:350: could not import 'xdist.boxed'
> SKIP [1] testing/test_tmpdir.py:179: win only
> SKIP [1] testing/test_capture.py:727: python 3 only behaviour
> SKIP [1] testing/test_compat.py:61: async syntax available in Python 3.5+
> SKIP [1] testing/code/test_excinfo.py:1094: condition: sys.version_info[0] < 3
> SKIP [1] testing/test_capture.py:759: python2 has no buffer
> SKIP [1] /<<PKGBUILDDIR>>/testing/test_junitxml.py:888: could not import 'xdist'
> SKIP [1] testing/test_assertrewrite.py:675: packages without __init__.py not supported on python 2
> SKIP [2] testing/code/test_excinfo.py:1124: condition: sys.version_info[0] < 3
> SKIP [1] testing/test_capture.py:473: only have capsysbinary in python 3
> SKIP [1] testing/test_assertrewrite.py:368: condition: sys.version_info < (3,5)
> SKIP [1] /<<PKGBUILDDIR>>/testing/test_monkeypatch.py:325: could not import 'requests'
> XFAIL ../../../testing/acceptance_test.py::TestInvocationVariants::()::test_noclass_discovery_if_not_testcase
>   decide: feature or bug
> XFAIL ../../../testing/test_capture.py::TestPerTestCapturing::()::test_capture_scope_cache
>   unimplemented feature
> XFAIL ../../../testing/test_collection.py::TestPrunetraceback::()::test_collect_report_postprocessing
>   other mechanism for adding to reporting needed
> XFAIL ../../../testing/test_config.py::TestParseIni::()::test_confcutdir
>   probably not needed
> XFAIL ../../../testing/test_junitxml.py::test_runs_twice_xdist
>   reason: [NOTRUN] hangs
> XFAIL ../../../testing/test_mark.py::TestFunctional::()::test_merging_markers_deep
>   unfixed
> XFAIL ../../../testing/test_mark.py::TestFunctional::()::test_mark_should_not_pass_to_siebling_class
>   markers smear on methods of base classes
> XFAIL ../../../testing/test_mark.py::TestFunctional::()::test_mark_from_parameters
>   callspec2.setmulti misuses keywords
> XFAIL ../../../testing/test_mark.py::TestKeywordSelection::()::test_keyword_extra_dash
> XFAIL ../../../testing/test_pytester.py::test_make_hook_recorder
>   reason: internal reportrecorder tests need refactoring
> XFAIL ../../../testing/test_runner.py::test_runtest_in_module_ordering
> XFAIL ../../../testing/python/fixture.py::TestAutouseDiscovery::()::test_setup_enabled_functionnode
>   'enabled' feature not implemented
> XFAIL ../../../testing/python/metafunc.py::TestMarkersWithParametrization::()::test_nested_marks
>   is this important to support??
> 
> ============================== 1 tests deselected ==============================
> ====== 1802 passed, 39 skipped, 1 deselected, 13 xfailed in 80.01 seconds ======
> I: pybuild base:217: cd debian/tmp/test-working-directory && python3.6 -m pytest --lsof -rfsxX 		--ignore=/<<PKGBUILDDIR>>/testing/freeze 		--ignore=/<<PKGBUILDDIR>>/testing/test_entry_points.py 		--ignore=/<<PKGBUILDDIR>>/testing/test_pdb.py 		--ignore=/<<PKGBUILDDIR>>/testing/test_terminal.py 		-k-test_trial_pdb 		/<<PKGBUILDDIR>>/testing
> ============================= test session starts ==============================
> platform linux -- Python 3.6.5, pytest-3.3.2, py-1.5.3, pluggy-0.6.0
> rootdir: /<<PKGBUILDDIR>>, inifile: tox.ini
> plugins: hypothesis-3.44.1
> collected 1855 items
> 
> ../../../testing/acceptance_test.py .................................... [  1%]
> .............x..............                                             [  3%]
> ../../../testing/deprecated_test.py ..........                           [  3%]
> ../../../testing/test_argcomplete.py ..                                  [  4%]
> ../../../testing/test_assertion.py ..................................... [  6%]
> ....................................s.......                             [  8%]
> ../../../testing/test_assertrewrite.py ................................. [ 10%]
> ......s..ssss...........                                                 [ 11%]
> ../../../testing/test_cache.py .............................             [ 13%]
> ../../../testing/test_capture.py ...........x...................s....... [ 15%]
> ...............s.....s..........s............s.........s..........s..    [ 18%]
> ../../../testing/test_collection.py ..............................x..... [ 20%]
> .......................                                                  [ 22%]
> ../../../testing/test_compat.py ......                                   [ 22%]
> ../../../testing/test_config.py .........x.............................. [ 24%]
> ........................................                                 [ 26%]
> ../../../testing/test_conftest.py ...................................... [ 28%]
> ............                                                             [ 29%]
> ../../../testing/test_doctest.py ....................................... [ 31%]
> .........................................................                [ 34%]
> ../../../testing/test_helpconfig.py .......                              [ 35%]
> ../../../testing/test_junitxml.py ...................................... [ 37%]
> ......s.x.....                                                           [ 37%]
> ../../../testing/test_mark.py .......................................... [ 40%]
> ...x.x.......x.........x........                                         [ 41%]
> ../../../testing/test_modimport.py ..................................... [ 43%]
> ....                                                                     [ 44%]
> ../../../testing/test_monkeypatch.py ................................    [ 45%]
> ../../../testing/test_nodes.py ........                                  [ 46%]
> ../../../testing/test_nose.py ...................                        [ 47%]
> ../../../testing/test_parseopt.py ...........................s           [ 48%]
> ../../../testing/test_pastebin.py ....                                   [ 48%]
> ../../../testing/test_pluginmanager.py .................s........        [ 50%]
> ../../../testing/test_pytester.py x........                              [ 50%]
> ../../../testing/test_recwarn.py ..................................      [ 52%]
> ../../../testing/test_resultlog.py ...........                           [ 53%]
> ../../../testing/test_runner.py ...................sssssss...ssss......x [ 55%]
> .........................                                                [ 56%]
> ../../../testing/test_runner_xunit.py ...............                    [ 57%]
> ../../../testing/test_session.py .................                       [ 58%]
> ../../../testing/test_skipping.py ...s.................................. [ 60%]
> ...................................                                      [ 62%]
> ../../../testing/test_tmpdir.py ...........s                             [ 63%]
> ../../../testing/test_unittest.py ...................................... [ 65%]
> .....                                                                    [ 65%]
> ../../../testing/test_warnings.py .......s.....                          [ 66%]
> ../../../testing/code/test_code.py .........s.....                       [ 66%]
> ../../../testing/code/test_excinfo.py ...............s.................. [ 68%]
> ........................................................                 [ 71%]
> ../../../testing/code/test_source.py ................................... [ 73%]
> ..............................                                           [ 75%]
> ../../../testing/code/test_source_multiline_block.py .                   [ 75%]
> ../../../testing/logging/test_fixture.py .......                         [ 75%]
> ../../../testing/logging/test_reporting.py .............                 [ 76%]
> ../../../testing/python/approx.py ...........................ss......    [ 78%]
> ../../../testing/python/collect.py ..................................... [ 80%]
> ..........................................                               [ 82%]
> ../../../testing/python/fixture.py ..................................... [ 84%]
> ...................................x.................................... [ 88%]
> ........................................................                 [ 91%]
> ../../../testing/python/integration.py ..................                [ 92%]
> ../../../testing/python/metafunc.py .................................... [ 94%]
> ..............................................x.............             [ 97%]
> ../../../testing/python/raises.py .............                          [ 98%]
> ../../../testing/python/setup_only.py ........................           [ 99%]
> ../../../testing/python/setup_plan.py .                                  [ 99%]
> ../../../testing/python/show_fixtures_per_test.py ......                 [ 99%]
> ../../../testing/python/test_deprecations.py .                           [100%]
> =========================== short test summary info ============================
> SKIP [1] testing/test_assertion.py:951: This bug does not exist on PY3
> SKIP [1] testing/test_assertrewrite.py:749: python 2 only
> SKIP [1] testing/test_assertrewrite.py:796: condition: sys.version_info[0] >= 3
> SKIP [1] testing/test_assertrewrite.py:805: condition: sys.version_info[0] >= 3
> SKIP [1] testing/test_assertrewrite.py:814: condition: sys.version_info[0] >= 3
> SKIP [1] testing/test_assertrewrite.py:823: condition: sys.version_info[0] >= 3
> SKIP [1] testing/test_capture.py:489: only have capsysbinary in python 3
> SKIP [1] testing/test_capture.py:772: python2 has no buffer
> SKIP [2] /<<PKGBUILDDIR>>/testing/test_capture.py:840: could not run 'lsof'
> SKIP [2] testing/test_capture.py:995: text output different for bytes on python3
> SKIP [1] testing/test_capture.py:1239: only py3.6+ on windows
> SKIP [1] /<<PKGBUILDDIR>>/testing/test_junitxml.py:888: could not import 'xdist'
> SKIP [1] /<<PKGBUILDDIR>>/testing/test_parseopt.py:302: bash provided no output, argcomplete not available?
> SKIP [1] /tmp/pytest-of-user42/pytest-15/test_plugin_skip0/skipping1.py:3: hello
> SKIP [11] /<<PKGBUILDDIR>>/testing/test_runner.py:350: could not import 'xdist.boxed'
> SKIP [1] testing/test_skipping.py:43: condition: sys.version_info[0] >= 3
> SKIP [1] testing/test_tmpdir.py:179: win only
> SKIP [1] testing/test_warnings.py:144: warnings message is broken as it is not str instance
> SKIP [1] testing/code/test_code.py:92: python 2 only issue
> SKIP [1] /<<PKGBUILDDIR>>/testing/code/test_excinfo.py:257: could not import 'decorator'
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/approx.py:328: could not import 'numpy'
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/approx.py:346: could not import 'numpy'
> XFAIL ../../../testing/acceptance_test.py::TestInvocationVariants::()::test_noclass_discovery_if_not_testcase
>   decide: feature or bug
> XFAIL ../../../testing/test_capture.py::TestPerTestCapturing::()::test_capture_scope_cache
>   unimplemented feature
> XFAIL ../../../testing/test_collection.py::TestPrunetraceback::()::test_collect_report_postprocessing
>   other mechanism for adding to reporting needed
> XFAIL ../../../testing/test_config.py::TestParseIni::()::test_confcutdir
>   probably not needed
> XFAIL ../../../testing/test_junitxml.py::test_runs_twice_xdist
>   reason: [NOTRUN] hangs
> XFAIL ../../../testing/test_mark.py::TestFunctional::()::test_merging_markers_deep
>   unfixed
> XFAIL ../../../testing/test_mark.py::TestFunctional::()::test_mark_should_not_pass_to_siebling_class
>   markers smear on methods of base classes
> XFAIL ../../../testing/test_mark.py::TestFunctional::()::test_mark_from_parameters
>   callspec2.setmulti misuses keywords
> XFAIL ../../../testing/test_mark.py::TestKeywordSelection::()::test_keyword_extra_dash
> XFAIL ../../../testing/test_pytester.py::test_make_hook_recorder
>   reason: internal reportrecorder tests need refactoring
> XFAIL ../../../testing/test_runner.py::test_runtest_in_module_ordering
> XFAIL ../../../testing/python/fixture.py::TestAutouseDiscovery::()::test_setup_enabled_functionnode
>   'enabled' feature not implemented
> XFAIL ../../../testing/python/metafunc.py::TestMarkersWithParametrization::()::test_nested_marks
>   is this important to support??
> 
> ============================== 1 tests deselected ==============================
> ====== 1807 passed, 34 skipped, 1 deselected, 13 xfailed in 83.80 seconds ======
> I: pybuild base:217: cd debian/tmp/test-working-directory && pypy -m pytest --lsof -rfsxX 		--ignore=/<<PKGBUILDDIR>>/testing/freeze 		--ignore=/<<PKGBUILDDIR>>/testing/test_entry_points.py 		--ignore=/<<PKGBUILDDIR>>/testing/test_pdb.py 		--ignore=/<<PKGBUILDDIR>>/testing/test_terminal.py 		-k-test_trial_pdb 		/<<PKGBUILDDIR>>/testing
> ============================= test session starts ==============================
> platform linux2 -- Python 2.7.13[pypy-6.0.0-final], pytest-3.3.2, py-1.5.3, pluggy-0.6.0
> rootdir: /<<PKGBUILDDIR>>, inifile: tox.ini
> plugins: hypothesis-3.44.1
> collected 1855 items
> 
> ../../../testing/acceptance_test.py .................................... [  1%]
> .............x..........s...                                             [  3%]
> ../../../testing/deprecated_test.py ..........                           [  3%]
> ../../../testing/test_argcomplete.py ..                                  [  4%]
> ../../../testing/test_assertion.py ..................................... [  6%]
> ................................ss..........                             [  8%]
> ../../../testing/test_assertrewrite.py ...............s.............ss.. [ 10%]
> s........x..............                                                 [ 11%]
> ../../../testing/test_cache.py .............................             [ 13%]
> ../../../testing/test_capture.py ...........x..................s........ [ 15%]
> ...........s..s......s.................................s.............    [ 18%]
> ../../../testing/test_collection.py ..............................x..... [ 20%]
> .......................                                                  [ 22%]
> ../../../testing/test_compat.py ..ss..                                   [ 22%]
> ../../../testing/test_config.py .........x.....s........................ [ 24%]
> ........................................                                 [ 26%]
> ../../../testing/test_conftest.py ...................................... [ 28%]
> ............                                                             [ 29%]
> ../../../testing/test_doctest.py ....................................... [ 31%]
> .........................................................                [ 34%]
> ../../../testing/test_helpconfig.py .......                              [ 35%]
> ../../../testing/test_junitxml.py ...................................... [ 37%]
> ......s.x.....                                                           [ 37%]
> ../../../testing/test_mark.py .......................................... [ 40%]
> ...x.x.......x.........x........                                         [ 41%]
> ../../../testing/test_modimport.py ..................................... [ 43%]
> ....                                                                     [ 44%]
> ../../../testing/test_monkeypatch.py ...............................s    [ 45%]
> ../../../testing/test_nodes.py ........                                  [ 46%]
> ../../../testing/test_nose.py sssssssssssssssssss                        [ 47%]
> ../../../testing/test_parseopt.py ...........................s           [ 48%]
> ../../../testing/test_pastebin.py ....                                   [ 48%]
> ../../../testing/test_pluginmanager.py .................s........        [ 50%]
> ../../../testing/test_pytester.py x........                              [ 50%]
> ../../../testing/test_recwarn.py ..................................      [ 52%]
> ../../../testing/test_resultlog.py ...........                           [ 53%]
> ../../../testing/test_runner.py ...................sssssss...ssss......x [ 55%]
> .........................                                                [ 56%]
> ../../../testing/test_runner_xunit.py ...............                    [ 57%]
> ../../../testing/test_session.py .................                       [ 58%]
> ../../../testing/test_skipping.py ...................................... [ 60%]
> .....................x.............                                      [ 62%]
> ../../../testing/test_tmpdir.py ...........s                             [ 63%]
> ../../../testing/test_unittest.py ....................sssssss........... [ 65%]
> .....                                                                    [ 65%]
> ../../../testing/test_warnings.py ......ss.....                          [ 66%]
> ../../../testing/code/test_code.py ...............                       [ 66%]
> ../../../testing/code/test_excinfo.py ...............s.......s.......... [ 68%]
> ...........................................ssss.........                 [ 71%]
> ../../../testing/code/test_source.py ..........F........................ [ 73%]
> .............x................                                           [ 75%]
> ../../../testing/code/test_source_multiline_block.py .                   [ 75%]
> ../../../testing/logging/test_fixture.py .......                         [ 75%]
> ../../../testing/logging/test_reporting.py .............                 [ 76%]
> ../../../testing/python/approx.py ...........................ss......    [ 78%]
> ../../../testing/python/collect.py ..................................... [ 80%]
> ..........................................                               [ 82%]
> ../../../testing/python/fixture.py ..................................... [ 84%]
> ...................................x.................................... [ 88%]
> ........................................................                 [ 91%]
> ../../../testing/python/integration.py .....sssss........                [ 92%]
> ../../../testing/python/metafunc.py .................................... [ 94%]
> ..............................................x.............             [ 97%]
> ../../../testing/python/raises.py .............                          [ 98%]
> ../../../testing/python/setup_only.py ........................           [ 99%]
> ../../../testing/python/setup_plan.py .                                  [ 99%]
> ../../../testing/python/show_fixtures_per_test.py ......                 [ 99%]
> ../../../testing/python/test_deprecations.py .                           [100%]
> =========================== short test summary info ============================
> FAIL ../../../testing/code/test_source.py::test_syntaxerror_rerepresentation
> SKIP [1] /<<PKGBUILDDIR>>/testing/acceptance_test.py:867: could not import 'zipapp'
> SKIP [1] testing/test_assertion.py:879: Python 3.4+ shows chained exceptions on multiprocess
> SKIP [1] testing/test_assertion.py:909: condition: '__pypy__' in sys.builtin_module_names or sys.platform.startswith('java')
> SKIP [1] testing/test_assertrewrite.py:368: condition: sys.version_info < (3,5)
> SKIP [1] /<<PKGBUILDDIR>>/testing/test_assertrewrite.py:617: pypy2 doesn't run orphaned pyc files
> SKIP [1] testing/test_assertrewrite.py:639: condition: "__pypy__" in sys.modules
> SKIP [1] testing/test_assertrewrite.py:675: packages without __init__.py not supported on python 2
> SKIP [1] testing/test_capture.py:473: only have capsysbinary in python 3
> SKIP [1] testing/test_capture.py:727: python 3 only behaviour
> SKIP [1] testing/test_capture.py:759: python2 has no buffer
> SKIP [2] /<<PKGBUILDDIR>>/testing/test_capture.py:840: could not run 'lsof'
> SKIP [1] testing/test_compat.py:42: asyncio available in Python 3.4+
> SKIP [1] testing/test_compat.py:61: async syntax available in Python 3.5+
> SKIP [1] testing/test_config.py:143: condition: sys.version_info[0] < 3
> SKIP [1] /<<PKGBUILDDIR>>/testing/test_junitxml.py:888: could not import 'xdist'
> SKIP [1] /<<PKGBUILDDIR>>/testing/test_monkeypatch.py:325: could not import 'requests'
> SKIP [19] /<<PKGBUILDDIR>>/testing/test_nose.py:7: could not import 'nose'
> SKIP [1] /<<PKGBUILDDIR>>/testing/test_parseopt.py:302: bash provided no output, argcomplete not available?
> SKIP [1] /tmp/pytest-of-user42/pytest-30/test_plugin_skip0/skipping1.py:3: hello
> SKIP [11] /<<PKGBUILDDIR>>/testing/test_runner.py:350: could not import 'xdist.boxed'
> SKIP [1] testing/test_tmpdir.py:179: win only
> SKIP [7] /<<PKGBUILDDIR>>/testing/test_unittest.py:356: could not import 'twisted.trial.unittest'
> SKIP [1] testing/test_warnings.py:118: warnings message is unicode is ok in python3
> SKIP [1] testing/test_warnings.py:144: warnings message is broken as it is not str instance
> SKIP [1] /<<PKGBUILDDIR>>/testing/code/test_excinfo.py:257: could not import 'decorator'
> SKIP [1] /<<PKGBUILDDIR>>/testing/code/test_excinfo.py:355: could not import 'jinja2'
> SKIP [1] testing/code/test_excinfo.py:1016: condition: sys.version_info[0] < 3
> SKIP [1] testing/code/test_excinfo.py:1094: condition: sys.version_info[0] < 3
> SKIP [2] testing/code/test_excinfo.py:1124: condition: sys.version_info[0] < 3
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/approx.py:328: could not import 'numpy'
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/approx.py:346: could not import 'numpy'
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/integration.py:118: could not import 'unittest.mock'
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/integration.py:132: could not import 'unittest.mock'
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/integration.py:152: could not import 'mock'
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/integration.py:182: could not import 'mock'
> SKIP [1] /<<PKGBUILDDIR>>/testing/python/integration.py:204: could not import 'mock'
> XFAIL ../../../testing/acceptance_test.py::TestInvocationVariants::()::test_noclass_discovery_if_not_testcase
>   decide: feature or bug
> XFAIL ../../../testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::()::test_assume_ascii
>   condition: hasattr(sys, 'pypy_translation_info')
> XFAIL ../../../testing/test_capture.py::TestPerTestCapturing::()::test_capture_scope_cache
>   unimplemented feature
> XFAIL ../../../testing/test_collection.py::TestPrunetraceback::()::test_collect_report_postprocessing
>   other mechanism for adding to reporting needed
> XFAIL ../../../testing/test_config.py::TestParseIni::()::test_confcutdir
>   probably not needed
> XFAIL ../../../testing/test_junitxml.py::test_runs_twice_xdist
>   reason: [NOTRUN] hangs
> XFAIL ../../../testing/test_mark.py::TestFunctional::()::test_merging_markers_deep
>   unfixed
> XFAIL ../../../testing/test_mark.py::TestFunctional::()::test_mark_should_not_pass_to_siebling_class
>   markers smear on methods of base classes
> XFAIL ../../../testing/test_mark.py::TestFunctional::()::test_mark_from_parameters
>   callspec2.setmulti misuses keywords
> XFAIL ../../../testing/test_mark.py::TestKeywordSelection::()::test_keyword_extra_dash
> XFAIL ../../../testing/test_pytester.py::test_make_hook_recorder
>   reason: internal reportrecorder tests need refactoring
> XFAIL ../../../testing/test_runner.py::test_runtest_in_module_ordering
> XFAIL ../../../testing/test_skipping.py::test_errors_in_xfail_skip_expressions
>   condition: hasattr(sys, 'pypy_version_info')
> XFAIL ../../../testing/code/test_source.py::test_comments
>   does not work on pypy
> XFAIL ../../../testing/python/fixture.py::TestAutouseDiscovery::()::test_setup_enabled_functionnode
>   'enabled' feature not implemented
> XFAIL ../../../testing/python/metafunc.py::TestMarkersWithParametrization::()::test_nested_marks
>   is this important to support??
> 
> =================================== FAILURES ===================================
> ______________________ test_syntaxerror_rerepresentation _______________________
> 
>     def test_syntaxerror_rerepresentation():
>         ex = pytest.raises(SyntaxError, _pytest._code.compile, 'xyz xyz')
>         assert ex.value.lineno == 1
> >       assert ex.value.offset in (4, 7)  # XXX pypy/jython versus cpython?
> E       AssertionError: assert 5 in (4, 7)
> E        +  where 5 = SyntaxError('xyz xyz\n     ^\n(code was compiled probably from here: <69-codeg...C7rT/pytest-3.3.2/.pybuild/pypy_6.0_pytest/build/_pytest/python_api.py:589>)',).offset
> E        +    where SyntaxError('xyz xyz\n     ^\n(code was compiled probably from here: <69-codeg...C7rT/pytest-3.3.2/.pybuild/pypy_6.0_pytest/build/_pytest/python_api.py:589>)',) = <ExceptionInfo SyntaxError tblen=3>.value
> 
> ../../../testing/code/test_source.py:120: AssertionError
> ============================== 1 tests deselected ==============================
>  1 failed, 1765 passed, 72 skipped, 1 deselected, 16 xfailed in 136.26 seconds =
> E: pybuild pybuild:336: test: plugin custom failed with: exit code=1: cd debian/tmp/test-working-directory && pypy -m pytest --lsof -rfsxX 		--ignore=/<<PKGBUILDDIR>>/testing/freeze 		--ignore=/<<PKGBUILDDIR>>/testing/test_entry_points.py 		--ignore=/<<PKGBUILDDIR>>/testing/test_pdb.py 		--ignore=/<<PKGBUILDDIR>>/testing/test_terminal.py 		-k-test_trial_pdb 		/<<PKGBUILDDIR>>/testing
> dh_auto_test: pybuild --test -i pypy -p 6.0 --system=custom "--test-args=cd debian/tmp/test-working-directory && {interpreter} -m pytest --lsof -rfsxX 		--ignore={dir}/testing/freeze 		--ignore={dir}/testing/test_entry_points.py 		--ignore={dir}/testing/test_pdb.py 		--ignore={dir}/testing/test_terminal.py 		-k-test_trial_pdb 		{dir}/testing" returned exit code 13

The full build log is available from:
   http://aws-logs.debian.net/2018/05/02/pytest_3.3.2-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list