pypy-venv/bin/pypy3 -m pytest -D ../build/pypy --junitxml=test-D.log in dir /build_dir/pypy-c-jit-linux-x86-32/venv (timeout 1200 secs) watching logfiles {'pytestLog': 'test-D.log'} argv: ['pypy-venv/bin/pypy3', '-m', 'pytest', '-D', '../build/pypy', '--junitxml=test-D.log'] environment: AUDITWHEEL_ARCH=i686 AUDITWHEEL_PLAT=manylinux2014_i686 AUDITWHEEL_POLICY=manylinux2014 DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root HOME=/home/buildslave HOSTNAME=ffc60fde56a7 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 LD_LIBRARY_PATH=/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib/dyninst LOGNAME=buildslave PATH=/python27_virt/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig PWD=/build_dir/pypy-c-jit-linux-x86-32/venv PYPY_LOCALBASE=/usr/local PYPY_MAKE_PORTABLE=1 SHELL=/bin/bash SHLVL=3 SSL_CERT_FILE=/opt/_internal/certs.pem TERM=xterm TMPDIR=/build_dir/tmp USER=buildslave _=/usr/bin/linux32 using PTY: False ============================= test session starts ============================== platform linux -- Python 3.12.13[pypy-8.0.0-alpha], pytest-6.2.5, py-1.11.0, pluggy-1.6.0 pytest-6.2.5 from /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/pytest/__init__.py rootdir: /build_dir/pypy-c-jit-linux-x86-32/build, configfile: pytest.ini plugins: hypothesis-6.36.2, xdist-3.5.0 collected 2058 items ../build/pypy/interpreter/astcompiler/test/apptest_compiler.py ....... [ 0%] ../build/pypy/interpreter/astcompiler/test/apptest_exceptiongroup.py ... [ 0%] ...................... [ 1%] ../build/pypy/interpreter/astcompiler/test/apptest_fstring.py .......... [ 2%] .............. [ 2%] ../build/pypy/interpreter/astcompiler/test/apptest_misc.py ............. [ 3%] .. [ 3%] ../build/pypy/interpreter/astcompiler/test/apptest_patma.py ............ [ 4%] ............................. [ 5%] ../build/pypy/interpreter/pyparser/test/apptest_parsestring.py ....F. [ 5%] ../build/pypy/interpreter/test/apptest_annotations.py .................. [ 6%] ........ [ 6%] ../build/pypy/interpreter/test/apptest_annotations_string.py ...... [ 7%] ../build/pypy/interpreter/test/apptest_buffer.py ..... [ 7%] ../build/pypy/interpreter/test/apptest_class.py ................ [ 8%] ../build/pypy/interpreter/test/apptest_coroutine.py .................... [ 9%] ................................. [ 10%] ../build/pypy/interpreter/test/apptest_descrtypecheck.py .. [ 10%] ../build/pypy/interpreter/test/apptest_exceptions.py ........s.......... [ 11%] ....... [ 12%] ../build/pypy/interpreter/test/apptest_exctable_dis.py ......... [ 12%] ../build/pypy/interpreter/test/apptest_exec.py ......................... [ 13%] [ 13%] ../build/pypy/interpreter/test/apptest_extcall.py ..... [ 14%] ../build/pypy/interpreter/test/apptest_function.py ..................... [ 15%] ................s..................................................... [ 18%] ../build/pypy/interpreter/test/apptest_generator.py .................... [ 19%] ............................................... [ 21%] ../build/pypy/interpreter/test/apptest_nestedscope.py .................. [ 22%] [ 22%] ../build/pypy/interpreter/test/apptest_pep695.py ....................... [ 23%] ........ [ 24%] ../build/pypy/interpreter/test/apptest_pycode.py .... [ 24%] ../build/pypy/interpreter/test/apptest_pyframe.py ...................... [ 25%] .......................................... [ 27%] ../build/pypy/interpreter/test/apptest_raise.py ........................ [ 28%] .............................. [ 30%] ../build/pypy/interpreter/test/apptest_settrace_jump.py . [ 30%] ../build/pypy/interpreter/test/apptest_sys_settrace.py ................. [ 31%] ........................................................................ [ 34%] ..................................................... [ 37%] ../build/pypy/interpreter/test/apptest_traceback.py ........ [ 37%] ../build/pypy/interpreter/test/apptest_unraisable.py .... [ 37%] ../build/pypy/interpreter/test/apptest_with_leak.py ......... [ 38%] ../build/pypy/module/__builtin__/test/apptest_compile.py ............... [ 38%] ...... [ 39%] ../build/pypy/module/__builtin__/test/apptest_descriptor.py ..... [ 39%] ../build/pypy/module/__builtin__/test/apptest_operator.py ... [ 39%] ../build/pypy/module/__builtin__/test/apptest_print.py ... [ 39%] ../build/pypy/module/__pypy__/test/apptest_picklebuffer.py ...... [ 39%] ../build/pypy/module/_abc/test/apptest_abc.py ... [ 40%] ../build/pypy/module/_ast/test/apptest_ast.py ... [ 40%] ../build/pypy/module/_codecs/test/apptest_codecs.py .. [ 40%] ../build/pypy/module/_collections/test/apptest_defaultdict.py .......... [ 40%] .... [ 41%] ../build/pypy/module/_collections/test/apptest_deque.py ................ [ 41%] .......................... [ 43%] ../build/pypy/module/_collections/test/apptest_ordereddict.py .......... [ 43%] [ 43%] ../build/pypy/module/_csv/test/apptest_writer.py ...... [ 43%] ../build/pypy/module/_io/test/apptest_bufferedio.py . [ 43%] ../build/pypy/module/_io/test/apptest_bytesio.py ................. [ 44%] ../build/pypy/module/_io/test/apptest_io.py ............................ [ 46%] ............... [ 46%] ../build/pypy/module/_io/test/apptest_stringio.py ...................... [ 47%] ..... [ 48%] ../build/pypy/module/_io/test/apptest_textio.py ........................ [ 49%] ......s................. [ 50%] ../build/pypy/module/_multibytecodec/test/apptest_codecs.py ............ [ 51%] ....... [ 51%] ../build/pypy/module/_multibytecodec/test/apptest_incremental.py ....... [ 51%] ............. [ 52%] ../build/pypy/module/_multibytecodec/test/apptest_stream.py ..... [ 52%] ../build/pypy/module/_opcode/test/apptest_opcode.py ..... [ 52%] ../build/pypy/module/_pickle/test/apptest_optional_frames.py .. [ 52%] ../build/pypy/module/_pickle/test/apptest_pickle.py .................... [ 53%] ..F............................................ [ 56%] ../build/pypy/module/_pickle/test/apptest_pypy_extensions.py ........... [ 56%] ................ [ 57%] ../build/pypy/module/_pickle_support/test/apptest__pickle_support.py . [ 57%] ../build/pypy/module/_posixsubprocess/test/apptest_subprocess.py ....... [ 57%] .. [ 57%] ../build/pypy/module/_pypyjson/test/apptest__pypyjson.py ........ [ 58%] ../build/pypy/module/_rawffi/test/apptest_rawffi.py .. [ 58%] ../build/pypy/module/_socket/test/apptest_socket.py .................... [ 59%] .ss..................s................s... [ 61%] ../build/pypy/module/_sre/test/apptest_sre.py .......................... [ 62%] ........................................... [ 64%] ../build/pypy/module/_warnings/test/apptest_warnings.py ........s.s..... [ 65%] [ 65%] ../build/pypy/module/_weakref/test/apptest_weakref.py .................. [ 66%] ......................... [ 67%] ../build/pypy/module/array/test/apptest_array.py ... [ 67%] ../build/pypy/module/atexit/test/apptest_atexit.py .. [ 67%] ../build/pypy/module/bz2/test/apptest_bz2_compdecomp.py .s... [ 68%] ../build/pypy/module/exceptions/test/apptest_exceptions.py ............. [ 68%] ........................................ [ 70%] ../build/pypy/module/itertools/test/apptest_itertools.py .... [ 70%] ../build/pypy/module/marshal/test/apptest_marshal.py ................... [ 71%] ............................ [ 73%] ../build/pypy/module/math/test/apptest_math.py ...........s. [ 73%] ../build/pypy/module/posix/test/apptest_posix.py .... [ 74%] ../build/pypy/module/pyexpat/test/apptest_pyexpat.py ... [ 74%] ../build/pypy/module/signal/test/apptest_signal.py . [ 74%] ../build/pypy/module/struct/test/apptest_struct.py ..................... [ 75%] ..................... [ 76%] ../build/pypy/module/struct/test/apptest_structbuffer.py .. [ 76%] ../build/pypy/module/sys/test/apptest_audit.py .......... [ 76%] ../build/pypy/module/sys/test/apptest_initpath.py . [ 76%] ../build/pypy/module/sys/test/apptest_sys.py . [ 76%] ../build/pypy/module/time/test/apptest_time.py ........................s [ 78%] ................ [ 78%] ../build/pypy/module/token/test/apptest_token.py ........ [ 79%] ../build/pypy/module/zipimport/test/apptest_zipimport.py . [ 79%] ../build/pypy/objspace/std/test/apptest_boolobject.py ......... [ 79%] ../build/pypy/objspace/std/test/apptest_callmethod.py .......... [ 80%] ../build/pypy/objspace/std/test/apptest_complexobject.py ............... [ 81%] ..................... [ 82%] ../build/pypy/objspace/std/test/apptest_contains.py .. [ 82%] ../build/pypy/objspace/std/test/apptest_instmethobject.py ..... [ 82%] ../build/pypy/objspace/std/test/apptest_iterobject.py .................. [ 83%] ... [ 83%] ../build/pypy/objspace/std/test/apptest_memoryobject.py ........ [ 83%] ../build/pypy/objspace/std/test/apptest_operation.py . [ 83%] ../build/pypy/objspace/std/test/apptest_specializedtuple.py ............ [ 84%] ............ [ 85%] ../build/pypy/objspace/std/test/apptest_stringformat.py ................ [ 85%] .s......s..................s........................ [ 88%] ../build/pypy/objspace/std/test/apptest_tuple.py ....................... [ 89%] . [ 89%] ../build/pypy/objspace/std/test/apptest_typeobjject.py ........ [ 89%] ../build/pypy/objspace/std/test/apptest_unicode.py ..................... [ 90%] ........................................................................ [ 94%] ......................... [ 95%] ../build/pypy/objspace/std/test/apptest_userobject.py .................. [ 96%] ...... [ 96%] ../build/pypy/objspace/test/apptest_binop_overriding.py . [ 96%] ../build/pypy/objspace/test/apptest_descriptor.py ....s.... [ 97%] ../build/pypy/objspace/test/apptest_descroperation.py ................s. [ 98%] ..................................... [ 99%] ../build/pypy/tool/pytest/fake_pytest/test/apptest_fake_pytest.py . [100%] =================================== FAILURES =================================== ____________________ test_invalid_escape_syntax_error_span _____________________ def test_invalid_escape_syntax_error_span(): # When -Werror promotes the SyntaxWarning to a SyntaxError, the # error should highlight the full string token, not just one character. # E.g. for '"""\q"""' (8 chars) the end offset must be start+8. with warnings.catch_warnings(record=True) as w: warnings.simplefilter('error', category=SyntaxWarning) with raises(SyntaxError) as excinfo: eval('"""\\q"""') assert not w exc = excinfo.value # offset is 1-based column of opening quote; end_offset covers # the full token '"""\q"""' (8 chars). > assert exc.end_offset - exc.offset == len('"""\\q"""') E assert (8 - 1) == 8 E + where 8 = SyntaxError("invalid escape sequence '\\q'", ('<string>', 1, 1, '"""\\q"""', 1, 8)).end_offset E + and 1 = SyntaxError("invalid escape sequence '\\q'", ('<string>', 1, 1, '"""\\q"""', 1, 8)).offset E + and 8 = len('"""\\q"""') ../build/pypy/interpreter/pyparser/test/apptest_parsestring.py:69: AssertionError ________________________________ test_function _________________________________ def test_function(): for method, args in ( ({1, 2}.__contains__, (2,)), (set.__contains__, ({1, 2}, 2)), ): for proto in protocols: data = dumps(method, proto) pydata = dumps_py(method, proto) > assert data == pydata E AssertionError: assert b'\x80\x03cbu...6q\x03Rq\x04.' == b'\x80\x03cbu...01\x86Rq\x02.' E At index 36 diff: b'q' != b'X' E Use -v to get the full diff ../build/pypy/module/_pickle/test/apptest_pickle.py:383: AssertionError =============================== warnings summary =============================== pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:689: 25 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:689: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead and isinstance(item.value, ast.Str) pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:691: 25 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:691: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead doc = item.value.s pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:958: 7096 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:958: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead inlocs = ast.Compare(ast.Str(name.id), [ast.In()], [locs]) pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:961: 7096 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:961: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead expr = ast.IfExp(test, self.display(name), ast.Str(name.id)) pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:1071: 4736 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:1071: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead syms.append(ast.Str(sym)) pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:1073: 4736 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:1073: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead expls.append(ast.Str(expl)) pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:823: 25873 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:823: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead keys = [ast.Str(key) for key in current.keys()] pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:933: 5030 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:933: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead assertmsg = ast.Str("") pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:935: 5171 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:935: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead template = ast.BinOp(assertmsg, ast.Add(), ast.Str(explanation)) pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:947: 5157 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:947: DeprecationWarning: ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead clear = ast.Assign(variables, ast.NameConstant(None)) pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:983: 97 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:983: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead expl_format = self.pop_format_context(ast.Str(expl)) pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:995: 48 warnings /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:995: DeprecationWarning: ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead expl_template = self.helper("_format_boolop", expl_list, ast.Num(is_or)) ../build/pypy/objspace/std/test/apptest_unicode.py:650 /build_dir/pypy-c-jit-linux-x86-32/build/pypy/objspace/std/test/apptest_unicode.py:650: SyntaxWarning: invalid escape sequence '\?' ('\?', b'+AFw?'), pypy/module/_sre/test/apptest_sre.py::test_magic /build_dir/pypy-c-jit-linux-x86-32/build/pypy/module/_sre/test/apptest_sre.py:54: DeprecationWarning: module 'sre_constants' is deprecated import _sre, sre_constants pypy/module/_sre/test/apptest_sre.py::test_no_pattern /build_dir/pypy-c-jit-linux-x86-32/build/pypy/module/_sre/test/apptest_sre.py:271: DeprecationWarning: module 'sre_compile' is deprecated import sre_compile, sre_parse pypy/module/_sre/test/apptest_sre.py::test_no_pattern /build_dir/pypy-c-jit-linux-x86-32/build/pypy/module/_sre/test/apptest_sre.py:271: DeprecationWarning: module 'sre_parse' is deprecated import sre_compile, sre_parse pypy/module/_warnings/test/apptest_warnings.py::test_defaults /build_dir/pypy-c-jit-linux-x86-32/build/pypy/module/_warnings/test/apptest_warnings.py:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources pypy/module/_weakref/test/apptest_weakref.py::test_buggy_case /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: : <function test_buggy_case.<locals>.A.__del__ at 0x0f90c010> TypeError: test_buggy_case.<locals>.A.__del__() takes 0 positional arguments but 1 was given warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pypy/module/_weakref/test/apptest_weakref.py::test_callback_raises /build_dir/pypy-c-jit-linux-x86-32/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: weakref callback : <function test_callback_raises.<locals>.callback at 0x0f600bd8> Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-32/build/pypy/module/_weakref/test/apptest_weakref.py", line 498, in callback explode NameError: name 'explode' is not defined warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/warnings.html ---- generated xml file: /build_dir/pypy-c-jit-linux-x86-32/venv/test-D.log ---- =========================== short test summary info ============================ FAILED ../build/pypy/interpreter/pyparser/test/apptest_parsestring.py::test_invalid_escape_syntax_error_span FAILED ../build/pypy/module/_pickle/test/apptest_pickle.py::test_function - A... ========= 2 failed, 2039 passed, 17 skipped, 65097 warnings in 51.41s ========== program finished with exit code 1 elapsedTime=54.037943