pypy-venv/bin/pypy3 -m pytest -D ../build/pypy --junitxml=test-D.log in dir /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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: HOME=/Users/matti HOMEBREW_CELLAR=/opt/homebrew_x86_64/Cellar HOMEBREW_PREFIX=/opt/homebrew_x86_64 HOMEBREW_REPOSITORY=/opt/homebrew_x86_64 INFOPATH=/opt/homebrew_x86_64/share/info: LANG=en_US.UTF-8 LC_ADDRESS=en_AU.UTF-8 LC_IDENTIFICATION=en_AU.UTF-8 LC_MEASUREMENT=en_AU.UTF-8 LC_MONETARY=en_AU.UTF-8 LC_NAME=en_AU.UTF-8 LC_NUMERIC=en_AU.UTF-8 LC_PAPER=en_AU.UTF-8 LC_TELEPHONE=en_AU.UTF-8 LC_TIME=en_AU.UTF-8 LOGNAME=matti OLDPWD=/Users/matti PATH=/Users/matti/oss/pypy-x86_64-buildbot/bin:/opt/homebrew_x86_64/bin:/opt/homebrew_x86_64/sbin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin PKG_CONFIG_PATH=/opt/homebrew_x86_64/opt/openssl@1.1/lib/pkgconfig PWD=/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv PYPY_USESSION_DIR=/tmp/buildbot-x86_64 SHELL=/bin/zsh SHLVL=2 SSH_CLIENT=10.0.0.17 47434 22 SSH_CONNECTION=10.0.0.17 47434 10.0.0.16 22 SSH_TTY=/dev/ttys000 TERM=tmux-256color TMPDIR=/tmp/buildbot-x86_64 USER=matti _=/Users/matti/oss/pypy-x86_64-buildbot/bin/buildslave using PTY: False ============================= test session starts ============================== platform darwin -- 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 /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/lib/pypy3.12/site-packages/pytest/__init__.py rootdir: /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build, configfile: pytest.ini plugins: hypothesis-6.36.2, xdist-3.5.0 collected 2318 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 .......... [ 1%] ..................... [ 2%] ../build/pypy/interpreter/astcompiler/test/apptest_misc.py ............. [ 3%] .. [ 3%] ../build/pypy/interpreter/astcompiler/test/apptest_patma.py ............ [ 3%] ............................. [ 5%] ../build/pypy/interpreter/astcompiler/test/apptest_walrus_comprehension.py . [ 5%] ..... [ 5%] ../build/pypy/interpreter/pyparser/test/apptest_parsestring.py ...... [ 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 .................... [ 8%] ..................................... [ 10%] ../build/pypy/interpreter/test/apptest_descrtypecheck.py .. [ 10%] ../build/pypy/interpreter/test/apptest_exceptions.py ........s.......... [ 11%] ....... [ 11%] ../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 ..... [ 13%] ../build/pypy/interpreter/test/apptest_function.py ..................... [ 14%] ................s..................................................... [ 17%] ../build/pypy/interpreter/test/apptest_generator.py .................... [ 18%] ............................................... [ 20%] ../build/pypy/interpreter/test/apptest_nestedscope.py .................. [ 20%] [ 20%] ../build/pypy/interpreter/test/apptest_pep695.py ....................... [ 21%] ........ [ 22%] ../build/pypy/interpreter/test/apptest_pycode.py .... [ 22%] ../build/pypy/interpreter/test/apptest_pyframe.py ...................... [ 23%] .......................................... [ 25%] ../build/pypy/interpreter/test/apptest_raise.py ........................ [ 26%] ............................... [ 27%] ../build/pypy/interpreter/test/apptest_settrace_jump.py . [ 27%] ../build/pypy/interpreter/test/apptest_syntax.py ....................... [ 28%] ............. [ 29%] ../build/pypy/interpreter/test/apptest_sys_settrace.py ................. [ 29%] ........................................................................ [ 33%] ..................................................... [ 35%] ../build/pypy/interpreter/test/apptest_traceback.py ........ [ 35%] ../build/pypy/interpreter/test/apptest_unraisable.py .... [ 35%] ../build/pypy/interpreter/test/apptest_with_leak.py ......... [ 36%] ../build/pypy/module/__builtin__/test/apptest_compile.py ............... [ 36%] ...... [ 37%] ../build/pypy/module/__builtin__/test/apptest_descriptor.py ..... [ 37%] ../build/pypy/module/__builtin__/test/apptest_operator.py ..... [ 37%] ../build/pypy/module/__builtin__/test/apptest_print.py ... [ 37%] ../build/pypy/module/__pypy__/test/apptest_picklebuffer.py ........ [ 38%] ../build/pypy/module/_abc/test/apptest_abc.py ... [ 38%] ../build/pypy/module/_ast/test/apptest_ast.py ... [ 38%] ../build/pypy/module/_codecs/test/apptest_codecs.py .. [ 38%] ../build/pypy/module/_collections/test/apptest_defaultdict.py .......... [ 38%] .... [ 38%] ../build/pypy/module/_collections/test/apptest_deque.py ................ [ 39%] .......................... [ 40%] ../build/pypy/module/_collections/test/apptest_ordereddict.py .......... [ 41%] [ 41%] ../build/pypy/module/_csv/test/apptest_writer.py ...... [ 41%] ../build/pypy/module/_io/test/apptest_bufferedio.py . [ 41%] ../build/pypy/module/_io/test/apptest_bytesio.py ................. [ 42%] ../build/pypy/module/_io/test/apptest_io.py ............................ [ 43%] ............... [ 44%] ../build/pypy/module/_io/test/apptest_stringio.py ...................... [ 45%] ..... [ 45%] ../build/pypy/module/_io/test/apptest_textio.py ........................ [ 46%] ......s................. [ 47%] ../build/pypy/module/_multibytecodec/test/apptest_codecs.py ............ [ 47%] ....... [ 48%] ../build/pypy/module/_multibytecodec/test/apptest_incremental.py ....... [ 48%] ............. [ 49%] ../build/pypy/module/_multibytecodec/test/apptest_stream.py ..... [ 49%] ../build/pypy/module/_opcode/test/apptest_opcode.py ..... [ 49%] ../build/pypy/module/_pickle/test/apptest_optional_frames.py .. [ 49%] ../build/pypy/module/_pickle/test/apptest_pickle.py .................... [ 50%] ..........................................s................ [ 52%] ../build/pypy/module/_pickle/test/apptest_pypy_extensions.py ........... [ 53%] ................ [ 54%] ../build/pypy/module/_pickle_support/test/apptest__pickle_support.py . [ 54%] ../build/pypy/module/_posixsubprocess/test/apptest_subprocess.py ....... [ 54%] .F [ 54%] ../build/pypy/module/_pypyjson/test/apptest__pypyjson.py .......... [ 55%] ../build/pypy/module/_rawffi/test/apptest_rawffi.py .. [ 55%] ../build/pypy/module/_socket/test/apptest_socket.py .................... [ 55%] .ss..s............s.ss...........F...sssss [ 57%] ../build/pypy/module/_sre/test/apptest_sre.py .......................... [ 58%] ........................................... [ 60%] ../build/pypy/module/_warnings/test/apptest_warnings.py ........s.s..... [ 61%] ..... [ 61%] ../build/pypy/module/_weakref/test/apptest_weakref.py .................. [ 62%] ......................... [ 63%] ../build/pypy/module/array/test/apptest_array.py ... [ 63%] ../build/pypy/module/atexit/test/apptest_atexit.py .. [ 63%] ../build/pypy/module/bz2/test/apptest_bz2_compdecomp.py .s... [ 63%] ../build/pypy/module/exceptions/test/apptest_exceptions.py ....F........ [ 64%] ............................................... [ 66%] ../build/pypy/module/fcntl/test/apptest_fcntl.py .....s [ 66%] ../build/pypy/module/itertools/test/apptest_itertools.py .......... [ 67%] ../build/pypy/module/marshal/test/apptest_marshal.py ................... [ 68%] ............................ [ 69%] ../build/pypy/module/math/test/apptest_math.py ............. [ 69%] ../build/pypy/module/posix/test/apptest_posix.py ...F [ 69%] ../build/pypy/module/pyexpat/test/apptest_pyexpat.py ... [ 70%] ../build/pypy/module/signal/test/apptest_signal.py . [ 70%] ../build/pypy/module/struct/test/apptest_struct.py ..................... [ 71%] ..................... [ 71%] ../build/pypy/module/struct/test/apptest_structbuffer.py .. [ 72%] ../build/pypy/module/sys/test/apptest_audit.py .......... [ 72%] ../build/pypy/module/sys/test/apptest_initpath.py . [ 72%] ../build/pypy/module/sys/test/apptest_sys.py . [ 72%] ../build/pypy/module/time/test/apptest_time.py ......................... [ 73%] ................ [ 74%] ../build/pypy/module/token/test/apptest_token.py ........ [ 74%] ../build/pypy/module/zipimport/test/apptest_zipimport.py . [ 74%] ../build/pypy/objspace/std/test/apptest_boolobject.py ......... [ 75%] ../build/pypy/objspace/std/test/apptest_callmethod.py .......... [ 75%] ../build/pypy/objspace/std/test/apptest_complexobject.py ............... [ 76%] ..................... [ 77%] ../build/pypy/objspace/std/test/apptest_contains.py .. [ 77%] ../build/pypy/objspace/std/test/apptest_instmethobject.py ..... [ 77%] ../build/pypy/objspace/std/test/apptest_intobject.py ................... [ 78%] ............................... [ 79%] ../build/pypy/objspace/std/test/apptest_iterobject.py .................. [ 80%] ... [ 80%] ../build/pypy/objspace/std/test/apptest_memoryobject.py ................ [ 81%] ... [ 81%] ../build/pypy/objspace/std/test/apptest_objectobject.py .. [ 81%] ../build/pypy/objspace/std/test/apptest_operation.py . [ 81%] ../build/pypy/objspace/std/test/apptest_sliceobject.py ......... [ 81%] ../build/pypy/objspace/std/test/apptest_specializedtuple.py ............ [ 82%] ............ [ 82%] ../build/pypy/objspace/std/test/apptest_stringformat.py ................ [ 83%] .s......s..................s........................ [ 85%] ../build/pypy/objspace/std/test/apptest_tuple.py ....................... [ 86%] . [ 86%] ../build/pypy/objspace/std/test/apptest_typeobjject.py ................. [ 87%] ........................................................................ [ 90%] ......... [ 91%] ../build/pypy/objspace/std/test/apptest_unicode.py ..................... [ 91%] ......s................................................................. [ 95%] ......................... [ 96%] ../build/pypy/objspace/std/test/apptest_userobject.py .................. [ 96%] ...... [ 97%] ../build/pypy/objspace/test/apptest_binop_overriding.py . [ 97%] ../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_restore_signals _____________________________ def test_restore_signals(): import posix as os # Copied from lib-python/3/subprocess._execute_child # when calling subprocess.check_output(['cat', '/proc/self/status'], # restore_signals=True, universal_newlines=True) def check_output(restore_signals): c2pread, c2pwrite = os.pipe() errpipe_read, errpipe_write = os.pipe() try: low_fds_to_close = [] while errpipe_write < 3: low_fds_to_close.append(errpipe_write) errpipe_write = os.dup(errpipe_write) for low_fd in low_fds_to_close: os.close(low_fd) args = [b'cat', b'/proc/self/status'] executable_list=[b'/usr/bin/cat'] close_fds = True fds_to_keep = (errpipe_write,) cwd = None env_list = None p2cread = p2cwrite = -1 errread = errwrite = umask = -1 call_setsid = False pgid_to_set = -1 preexec_fn = None gid = gids = uid = None pid = _posixsubprocess.fork_exec(args, executable_list, close_fds, fds_to_keep, cwd, env_list, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, errpipe_read, errpipe_write, restore_signals, call_setsid, pgid_to_set, gid, gids, uid, umask, preexec_fn, subprocess._USE_VFORK) os.close(errpipe_write) # Wait for exec to fail or succeed; possibly raising an # exception (limited in size) errpipe_data = bytearray() while True: part = os.read(errpipe_read, 50000) errpipe_data += part if not part or len(errpipe_data) > 50000: break if errpipe_data: newpid, sts = os.waitpid(pid, 0) raise RuntimeError('running commande returned %s' % sts) out = os.read(c2pread, 50000) finally: os.close(c2pwrite) os.close(c2pread) os.close(errpipe_read) return out sig_ign_mask1 = '' sig_ign_mask2 = '' > for line in check_output(True).splitlines(): ../build/pypy/module/_posixsubprocess/test/apptest_subprocess.py:282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ restore_signals = True def check_output(restore_signals): c2pread, c2pwrite = os.pipe() errpipe_read, errpipe_write = os.pipe() try: low_fds_to_close = [] while errpipe_write < 3: low_fds_to_close.append(errpipe_write) errpipe_write = os.dup(errpipe_write) for low_fd in low_fds_to_close: os.close(low_fd) args = [b'cat', b'/proc/self/status'] executable_list=[b'/usr/bin/cat'] close_fds = True fds_to_keep = (errpipe_write,) cwd = None env_list = None p2cread = p2cwrite = -1 errread = errwrite = umask = -1 call_setsid = False pgid_to_set = -1 preexec_fn = None gid = gids = uid = None pid = _posixsubprocess.fork_exec(args, executable_list, close_fds, fds_to_keep, cwd, env_list, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, errpipe_read, errpipe_write, restore_signals, call_setsid, pgid_to_set, gid, gids, uid, umask, preexec_fn, subprocess._USE_VFORK) os.close(errpipe_write) # Wait for exec to fail or succeed; possibly raising an # exception (limited in size) errpipe_data = bytearray() while True: part = os.read(errpipe_read, 50000) errpipe_data += part if not part or len(errpipe_data) > 50000: break if errpipe_data: newpid, sts = os.waitpid(pid, 0) > raise RuntimeError('running commande returned %s' % sts) E RuntimeError: running commande returned 65280 ../build/pypy/module/_posixsubprocess/test/apptest_subprocess.py:272: RuntimeError ___________________________ test_tcp_bytearray_name ____________________________ def test_tcp_bytearray_name(): import _socket as socket if not hasattr(socket, 'AF_UNIX'): pytest.skip('AF_UNIX not supported.') s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) > s.bind(bytearray(b"\x00python\x00test\x00")) E FileNotFoundError: [Errno 2] No such file or directory ../build/pypy/module/_socket/test/apptest_socket.py:847: FileNotFoundError _________________ test_importerror_from_import_sets_name_from __________________ def test_importerror_from_import_sets_name_from(): > exc = raises(ImportError, "from sys import bluchbluchblah") E TypeError: 'from sys import bluchbluchblah' object (type: <class 'str'>) must be callable ../build/pypy/module/exceptions/test/apptest_exceptions.py:65: TypeError __________________________ test_all_pathconf_defined ___________________________ def test_all_pathconf_defined(): import sys import posix try: fd = sys.stdin.fileno() except ValueError: # translated test run with a fake sys.stdin with no fileno fd = 1 for name in posix.pathconf_names: > posix.fpathconf(fd, name) # does not crash E OSError: [Errno 22] Invalid argument ../build/pypy/module/posix/test/apptest_posix.py:66: OSError =============================== warnings summary =============================== pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:689: 25 warnings /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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 /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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: 8123 warnings /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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: 8123 warnings /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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: 5324 warnings /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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: 5324 warnings /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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: 29232 warnings /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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: 5678 warnings /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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: 5838 warnings /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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: 5822 warnings /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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: 123 warnings /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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: 61 warnings /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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 /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/pypy/objspace/std/test/apptest_unicode.py:650: SyntaxWarning: invalid escape sequence '\?' ('\?', b'+AFw?'), pypy/module/_sre/test/apptest_sre.py::test_magic /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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 /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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 /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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 /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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 /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: : <function test_buggy_case.<locals>.A.__del__ at 0x00007fe99aaec8b8> 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 /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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 0x00007fe98b2a7218> Traceback (most recent call last): File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/pypy/module/_weakref/test/apptest_weakref.py", line 498, in callback explode NameError: name 'explode' is not defined warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pypy/objspace/std/test/apptest_intobject.py::test_int_subclass_int pypy/objspace/std/test/apptest_intobject.py::test_int_subclass_int /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/pypy/objspace/std/test/apptest_intobject.py:126: DeprecationWarning: __int__ returned non-int (type subint). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python. assert int(j()) == 42 and type(int(j())) is int pypy/objspace/std/test/apptest_intobject.py::test_int_subclass_int pypy/objspace/std/test/apptest_intobject.py::test_int_subclass_int /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/pypy/objspace/std/test/apptest_intobject.py:128: DeprecationWarning: __int__ returned non-int (type subint). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python. assert (int(j()) == 4200000000000000000000000000000000 pypy/objspace/std/test/apptest_intobject.py::test_int_constructor_calls_index /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/pypy/objspace/std/test/apptest_intobject.py:556: DeprecationWarning: __index__ returned non-int (type subint). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python. x = int(A()) -- Docs: https://docs.pytest.org/en/stable/warnings.html - generated xml file: /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/test-D.log - =========================== short test summary info ============================ FAILED ../build/pypy/module/_posixsubprocess/test/apptest_subprocess.py::test_restore_signals FAILED ../build/pypy/module/_socket/test/apptest_socket.py::test_tcp_bytearray_name FAILED ../build/pypy/module/exceptions/test/apptest_exceptions.py::test_importerror_from_import_sets_name_from FAILED ../build/pypy/module/posix/test/apptest_posix.py::test_all_pathconf_defined ========= 4 failed, 2289 passed, 25 skipped, 73710 warnings in 45.78s ========== program finished with exit code 1 elapsedTime=47.436307