# Pastebin VQ01d8a1 $ tox -e pypy3 pypy3 create: /home/cfbolz/projects/misc/coveragepy/.tox/pypy3 pypy3 installdeps: -rrequirements/pytest.pip, pip==18.1, setuptools==40.6.3 pypy3 develop-inst: /home/cfbolz/projects/misc/coveragepy pypy3 installed: apipkg==1.5,atomicwrites==1.2.1,attrs==18.2.0,cffi==1.12.0,-e git+git@github.com:nedbat/coveragepy.git@21d3b37e290796312750f207442b33afbaab14de#egg=coverage,decorator==4.3.0,execnet==1.5.0,flaky==3.4.0,future==0.17.1,mock==2.0.0,more-itertools==5.0.0,pathlib2==2.3.3,pbr==5.1.1,pluggy==0.8.1,py==1.7.0,PyContracts==1.8.7,pyparsing==2.3.1,pytest==4.0.2,pytest-forked==1.0.1,pytest-xdist==1.25.0,readline==6.2.4.1,six==1.12.0,unittest-mixins==1.6 pypy3 runtests: PYTHONHASHSEED='1648348298' pypy3 runtests: commands[0] | python setup.py --quiet clean develop warning: no previously-included files found matching 'ci/appveyor.token' no previously-included directories found matching 'doc/_build' no previously-included directories found matching 'tests/eggsrc/build' warning: no previously-included files matching '*.py[co]' found anywhere in distribution pypy3 runtests: commands[1] | python igor.py zip_mods install_egg remove_extension pypy3 runtests: commands[2] | python igor.py test_with_tracer py === PyPy 3.5.3 (pypy 6.1.0.alpha.0) with Python tracer (.tox/pypy3/bin/python) === bringing up nodes... ..s..sssssss..s.....ssssss.sssssss.........s..................................................................................................................................... [ 20%] ...........s..................................................................................................................................................................... [ 41%] ..s.........................s...s.......ss.s...............ss.....s..................................s........................................................................... [ 62%] ................................s....................................s...................................ss........F............................................................. [ 83%] .............s..................s...s...................................................................................................... [100%] ======================================================================================= FAILURES ======================================================================================== ________________________________________________________________________________ ProcessTest.test_lang_c ________________________________________________________________________________ [gw2] linux -- Python 3.5.3 /home/cfbolz/projects/misc/coveragepy/.tox/pypy3/bin/python self = def test_lang_c(self): if env.JYTHON: # Jython as of 2.7.1rc3 won't compile a filename that isn't utf8. self.skipTest("Jython can't handle this test") # LANG=C forces getfilesystemencoding on Linux to 'ascii', which causes # failures with non-ascii file names. We don't want to make a real file # with strange characters, though, because that gets the test runners # tangled up. This will isolate the concerns to the coverage.py code. # https://bitbucket.org/ned/coveragepy/issues/533/exception-on-unencodable-file-name self.make_file("weird_file.py", r""" globs = {} code = "a = 1\nb = 2\n" exec(compile(code, "wut\xe9\xea\xeb\xec\x01\x02.py", 'exec'), globs) print(globs['a']) print(globs['b']) """) self.set_environ("LANG", "C") out = self.run_command("coverage run weird_file.py") > self.assertEqual(out, "1\n2\n") E AssertionError: 'Traceback (most recent call last):\n Fil[223 chars]8)\n' != '1\n2\n' E + 1 E + 2 E - Traceback (most recent call last): E - File "weird_file.py", line 4, in E - exec(compile(code, "wut\xe9\xea\xeb\xec\x01\x02.py", 'exec'), globs) E - UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-6: ordinal not in range(128) tests/test_process.py:782: AssertionError --------------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------------- Traceback (most recent call last): File "weird_file.py", line 4, in exec(compile(code, "wut\xe9\xea\xeb\xec\x01\x02.py", 'exec'), globs) UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-6: ordinal not in range(128) ================================================================================ short test summary info ================================================================================ FAIL tests/test_process.py::ProcessTest::test_lang_c 1 failed, 805 passed, 41 skipped in 295.28 seconds ERROR: InvocationError for command '/home/cfbolz/projects/misc/coveragepy/.tox/pypy3/bin/python igor.py test_with_tracer py' (exited with code 1) ________________________________________________________________________________________ summary ________________________________________________________________________________________ ERROR: pypy3: commands failed $ tox -e pypy36 pypy36 create: /home/cfbolz/projects/misc/coveragepy/.tox/pypy36 pypy36 installdeps: -rrequirements/pytest.pip, pip==18.1, setuptools==40.6.3 pypy36 develop-inst: /home/cfbolz/projects/misc/coveragepy pypy36 installed: apipkg==1.5,atomicwrites==1.2.1,attrs==18.2.0,cffi==1.12.0,-e git+git@github.com:nedbat/coveragepy.git@21d3b37e290796312750f207442b33afbaab14de#egg=coverage,decorator==4.3.0,execnet==1.5.0,flaky==3.4.0,future==0.17.1,mock==2.0.0,more-itertools==5.0.0,pbr==5.1.1,pluggy==0.8.1,py==1.7.0,PyContracts==1.8.7,pyparsing==2.3.1,pytest==4.0.2,pytest-forked==1.0.1,pytest-xdist==1.25.0,readline==6.2.4.1,six==1.12.0,unittest-mixins==1.6 pypy36 runtests: PYTHONHASHSEED='1930643956' pypy36 runtests: commands[0] | python setup.py --quiet clean develop warning: no previously-included files found matching 'ci/appveyor.token' no previously-included directories found matching 'doc/_build' warning: no previously-included files matching '*.py[co]' found anywhere in distribution pypy36 runtests: commands[1] | python igor.py zip_mods install_egg remove_extension pypy36 runtests: commands[2] | python igor.py test_with_tracer py === PyPy 3.6.1 (pypy 6.1.0.alpha.0) with Python tracer (.tox/pypy36/bin/python) === bringing up nodes... ..................F.................................................F.........F........................F.F......s.........................F....F................................. [ 20%] ............................................s..s....................................................................ss........................................s..........ss.s.... [ 41%] .............s.s......s....................................................s..........................................................................s..........s............... [ 62%] ..........ssssssssssssssssssss......................................s....................................................ss...................................................... [ 83%] ...................s..s............................................................................................s....................... [100%] ======================================================================================= FAILURES ======================================================================================== ________________________________________________________________________________ ProcessTest.test_lang_c ________________________________________________________________________________ [gw0] linux -- Python 3.6.1 /home/cfbolz/projects/misc/coveragepy/.tox/pypy36/bin/python self = def test_lang_c(self): if env.JYTHON: # Jython as of 2.7.1rc3 won't compile a filename that isn't utf8. self.skipTest("Jython can't handle this test") # LANG=C forces getfilesystemencoding on Linux to 'ascii', which causes # failures with non-ascii file names. We don't want to make a real file # with strange characters, though, because that gets the test runners # tangled up. This will isolate the concerns to the coverage.py code. # https://bitbucket.org/ned/coveragepy/issues/533/exception-on-unencodable-file-name self.make_file("weird_file.py", r""" globs = {} code = "a = 1\nb = 2\n" exec(compile(code, "wut\xe9\xea\xeb\xec\x01\x02.py", 'exec'), globs) print(globs['a']) print(globs['b']) """) self.set_environ("LANG", "C") out = self.run_command("coverage run weird_file.py") > self.assertEqual(out, "1\n2\n") E AssertionError: 'Traceback (most recent call last):\n Fil[223 chars]8)\n' != '1\n2\n' E + 1 E + 2 E - Traceback (most recent call last): E - File "weird_file.py", line 4, in E - exec(compile(code, "wut\xe9\xea\xeb\xec\x01\x02.py", 'exec'), globs) E - UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-6: ordinal not in range(128) tests/test_process.py:782: AssertionError --------------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------------- Traceback (most recent call last): File "weird_file.py", line 4, in exec(compile(code, "wut\xe9\xea\xeb\xec\x01\x02.py", 'exec'), globs) UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-6: ordinal not in range(128) _____________________________________________________________________________ SimpleArcTest.test_multiline ______________________________________________________________________________ [gw1] linux -- Python 3.6.1 /home/cfbolz/projects/misc/coveragepy/.tox/pypy36/bin/python self = def test_multiline(self): self.check_coverage("""\ a = ( 2 + 3 ) b = \\ 6 """, > arcz="-21 15 5-2", ) tests/test_arcs.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/coveragetest.py:276: in check_coverage "Unpredicted arcs differ: minus is expected, plus is actual" ../../../bin/pypy-c-jit-95557-df0beeb7b5ec-linux64/lib-python/3/contextlib.py:89: in __exit__ next(self.gen) .tox/pypy36/site-packages/unittest_mixins/mixins.py:282: in delayed_assertions "\n".join(self._delayed_assertions), E AssertionError: 2 failed assertions: E '\n' != '(-2, 1)\n(5, -2)\n' E - E + (-2, 1) E + (5, -2) E : Missing arcs differ: minus is expected, plus is actual E '\n' != '(-1, 1)\n(5, -1)\n' E - E + (-1, 1) E + (5, -1) E : Unpredicted arcs differ: minus is expected, plus is actual _________________________________________________________________________ LoopArcTest.test_multiline_dict_comp __________________________________________________________________________ [gw2] linux -- Python 3.6.1 /home/cfbolz/projects/misc/coveragepy/.tox/pypy36/bin/python self = def test_multiline_dict_comp(self): if env.PYVERSION < (3, 5): arcz = "-42 2B B-4 2-4" else: arcz = "-32 2B B-3 2-3" # Multiline dict comp: self.check_coverage("""\ # comment d = \\ { i: str(i) for i in range(9) } x = 11 """, > arcz=arcz, ) tests/test_arcs.py:465: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/coveragetest.py:276: in check_coverage "Unpredicted arcs differ: minus is expected, plus is actual" ../../../bin/pypy-c-jit-95557-df0beeb7b5ec-linux64/lib-python/3/contextlib.py:89: in __exit__ next(self.gen) .tox/pypy36/site-packages/unittest_mixins/mixins.py:282: in delayed_assertions "\n".join(self._delayed_assertions), E AssertionError: 2 failed assertions: E '\n' != '(11, -3)\n' E - E + (11, -3) E : Missing arcs differ: minus is expected, plus is actual E '\n' != '(-2, 2)\n(11, -2)\n' E - E + (-2, 2) E + (11, -2) E : Unpredicted arcs differ: minus is expected, plus is actual _____________________________________________________________________________ MiscArcTest.test_dict_literal _____________________________________________________________________________ [gw1] linux -- Python 3.6.1 /home/cfbolz/projects/misc/coveragepy/.tox/pypy36/bin/python self = def test_dict_literal(self): if env.PYVERSION < (3, 5): arcz = ".1 19 9." else: # Python 3.5 changed how dict literals are constructed. arcz = "-21 19 9-2" self.check_coverage("""\ d = { 'a': 2, 'b': 3, 'c': { 'd': 5, 'e': 6, } } assert d """, > arcz=arcz, ) tests/test_arcs.py:1216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/coveragetest.py:276: in check_coverage "Unpredicted arcs differ: minus is expected, plus is actual" ../../../bin/pypy-c-jit-95557-df0beeb7b5ec-linux64/lib-python/3/contextlib.py:89: in __exit__ next(self.gen) .tox/pypy36/site-packages/unittest_mixins/mixins.py:282: in delayed_assertions "\n".join(self._delayed_assertions), E AssertionError: 2 failed assertions: E '\n' != '(-2, 1)\n(9, -2)\n' E - E + (-2, 1) E + (9, -2) E : Missing arcs differ: minus is expected, plus is actual E '\n' != '(-1, 1)\n(9, -1)\n' E - E + (-1, 1) E + (9, -1) E : Unpredicted arcs differ: minus is expected, plus is actual __________________________________________________________________________ MiscArcTest.test_unpacked_literals ___________________________________________________________________________ [gw1] linux -- Python 3.6.1 /home/cfbolz/projects/misc/coveragepy/.tox/pypy36/bin/python self = def test_unpacked_literals(self): if env.PYVERSION < (3, 5): self.skipTest("Don't have unpacked literals until 3.5") self.check_coverage("""\ d = { 'a': 2, 'b': 3, } weird = { **d, **{'c': 7}, 'd': 8, } assert weird['b'] == 3 """, > arcz="-21 15 5A A-2" ) tests/test_arcs.py:1247: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/coveragetest.py:276: in check_coverage "Unpredicted arcs differ: minus is expected, plus is actual" ../../../bin/pypy-c-jit-95557-df0beeb7b5ec-linux64/lib-python/3/contextlib.py:89: in __exit__ next(self.gen) .tox/pypy36/site-packages/unittest_mixins/mixins.py:282: in delayed_assertions "\n".join(self._delayed_assertions), E AssertionError: 2 failed assertions: E '\n' != '(-2, 1)\n(10, -2)\n' E - E + (-2, 1) E + (10, -2) E : Missing arcs differ: minus is expected, plus is actual E '\n' != '(-1, 1)\n(10, -1)\n' E - E + (-1, 1) E + (10, -1) E : Unpredicted arcs differ: minus is expected, plus is actual ___________________________________________________________________ MiscArcTest.test_pathologically_long_code_object ____________________________________________________________________ [gw0] linux -- Python 3.6.1 /home/cfbolz/projects/misc/coveragepy/.tox/pypy36/bin/python self = def test_pathologically_long_code_object(self): if env.JYTHON: self.skipTest("Bytecode concerns are irrelevant on Jython") # https://bitbucket.org/ned/coveragepy/issue/359 # The structure of this file is such that an EXTENDED_ARG bytecode is # needed to encode the jump at the end. We weren't interpreting those # opcodes. # Note that we no longer interpret bytecode at all, but it couldn't # hurt to keep the test... code = """\ data = [ """ + "".join("""\ [ {i}, {i}, {i}, {i}, {i}, {i}, {i}, {i}, {i}, {i}], """.format(i=i) for i in range(2000) ) + """\ ] print(len(data)) """ self.check_coverage( code, arcs=[(-3, 1), (1, 4004), (4004, -3)], > arcs_missing=[], arcs_unpredicted=[], ) tests/test_arcs.py:1288: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/coveragetest.py:276: in check_coverage "Unpredicted arcs differ: minus is expected, plus is actual" ../../../bin/pypy-c-jit-95557-df0beeb7b5ec-linux64/lib-python/3/contextlib.py:89: in __exit__ next(self.gen) .tox/pypy36/site-packages/unittest_mixins/mixins.py:282: in delayed_assertions "\n".join(self._delayed_assertions), E AssertionError: 2 failed assertions: E '\n' != '(-3, 1)\n(4004, -3)\n' E - E + (-3, 1) E + (4004, -3) E : Missing arcs differ: minus is expected, plus is actual E '\n' != '(-1, 1)\n(4004, -1)\n' E - E + (-1, 1) E + (4004, -1) E : Unpredicted arcs differ: minus is expected, plus is actual --------------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------------- 2000 __________________________________________________________________________ LambdaArcTest.test_multiline_lambda __________________________________________________________________________ [gw0] linux -- Python 3.6.1 /home/cfbolz/projects/misc/coveragepy/.tox/pypy36/bin/python self = def test_multiline_lambda(self): self.check_coverage("""\ fn = (lambda x: x + 2 ) assert fn(4) == 6 """, arcz=".1 14 4-1 1-1", ) self.check_coverage("""\ fn = \\ ( lambda x: x + 8 ) assert fn(10) == 18 """, > arcz="-42 2A A-4 2-4", ) tests/test_arcs.py:1437: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/coveragetest.py:276: in check_coverage "Unpredicted arcs differ: minus is expected, plus is actual" ../../../bin/pypy-c-jit-95557-df0beeb7b5ec-linux64/lib-python/3/contextlib.py:89: in __exit__ next(self.gen) .tox/pypy36/site-packages/unittest_mixins/mixins.py:282: in delayed_assertions "\n".join(self._delayed_assertions), E AssertionError: 2 failed assertions: E '\n' != '(10, -4)\n' E - E + (10, -4) E : Missing arcs differ: minus is expected, plus is actual E '\n' != '(-2, 2)\n(10, -2)\n' E - E + (-2, 2) E + (10, -2) E : Unpredicted arcs differ: minus is expected, plus is actual ================================================================================ short test summary info ================================================================================ FAIL tests/test_process.py::ProcessTest::test_lang_c FAIL tests/test_arcs.py::SimpleArcTest::test_multiline FAIL tests/test_arcs.py::LoopArcTest::test_multiline_dict_comp FAIL tests/test_arcs.py::MiscArcTest::test_dict_literal FAIL tests/test_arcs.py::MiscArcTest::test_unpacked_literals FAIL tests/test_arcs.py::MiscArcTest::test_pathologically_long_code_object FAIL tests/test_arcs.py::LambdaArcTest::test_multiline_lambda 7 failed, 799 passed, 41 skipped in 321.92 seconds ERROR: InvocationError for command '/home/cfbolz/projects/misc/coveragepy/.tox/pypy36/bin/python igor.py test_with_tracer py' (exited with code 1) ________________________________________________________________________________________ summary ________________________________________________________________________________________ ERROR: pypy36: commands failed