pypy-venv/bin/pypy3 -m pytest -D ../build/pypy --junitxml=test-D.log
in dir /buildbot/slave/pypy-c-jit-linux-aarch64/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=aarch64
AUDITWHEEL_PLAT=manylinux_2_28_aarch64
AUDITWHEEL_POLICY=manylinux_2_28
DEVTOOLSET_ROOTPATH=/opt/rh/gcc-toolset-14/root
HGDEMANDIMPORT=disable
HOME=/home/buildworker
HOSTNAME=ebdee9f243b1
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LD_LIBRARY_PATH=/usr/local/lib:/opt/rh/gcc-toolset-14/root/usr/lib64:/opt/rh/gcc-toolset-14/root/usr/lib:/opt/rh/gcc-toolset-14/root/usr/lib64/dyninst:/opt/rh/gcc-toolset-14/root/usr/lib/dyninst
OLDPWD=/buildbot/slave
PATH=/tmp/venv/bin:/opt/clang/bin:/opt/rh/gcc-toolset-14/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/pypy2.7-v7.3.22-aarch64/bin
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
PS1=(venv)
PWD=/buildbot/slave/pypy-c-jit-linux-aarch64/venv
PYPY_LOCALBASE=/usr/local
PYPY_MAKE_PORTABLE=1
PYPY_USESSION_KEEP=1
SHLVL=0
SSL_CERT_FILE=/opt/_internal/certs.pem
TERM=xterm
VIRTUAL_ENV=/tmp/venv
container=podman
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 /buildbot/slave/pypy-c-jit-linux-aarch64/venv/pypy-venv/lib/pypy3.12/site-packages/pytest/__init__.py
rootdir: /buildbot/slave/pypy-c-jit-linux-aarch64/build, configfile: pytest.ini
plugins: xdist-3.5.0, hypothesis-6.36.2
collected 2580 items
../build/pypy/interpreter/astcompiler/test/apptest_compiler.py ......... [ 0%]
........... [ 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/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 ...... [ 6%]
../build/pypy/interpreter/test/apptest_buffer.py ....... [ 7%]
../build/pypy/interpreter/test/apptest_class.py ................ [ 7%]
../build/pypy/interpreter/test/apptest_compiler.py ..................... [ 8%]
..F..................................................................... [ 11%]
....... [ 11%]
../build/pypy/interpreter/test/apptest_coroutine.py .................... [ 12%]
...................................... [ 13%]
../build/pypy/interpreter/test/apptest_descrtypecheck.py .. [ 13%]
../build/pypy/interpreter/test/apptest_exceptions.py ........s.......... [ 14%]
....... [ 15%]
../build/pypy/interpreter/test/apptest_exctable_dis.py ......... [ 15%]
../build/pypy/interpreter/test/apptest_exec.py ......................... [ 16%]
[ 16%]
../build/pypy/interpreter/test/apptest_extcall.py ..... [ 16%]
../build/pypy/interpreter/test/apptest_function.py ..................... [ 17%]
................s....................................................... [ 20%]
[ 20%]
../build/pypy/interpreter/test/apptest_generator.py .................... [ 20%]
............................................... [ 22%]
../build/pypy/interpreter/test/apptest_nestedscope.py .................. [ 23%]
[ 23%]
../build/pypy/interpreter/test/apptest_pep695.py ....................... [ 24%]
........ [ 24%]
../build/pypy/interpreter/test/apptest_pycode.py .................. [ 25%]
../build/pypy/interpreter/test/apptest_pyframe.py ...................... [ 26%]
.......................................... [ 27%]
../build/pypy/interpreter/test/apptest_raise.py ........................ [ 28%]
............................... [ 29%]
../build/pypy/interpreter/test/apptest_settrace_jump.py .F [ 30%]
../build/pypy/interpreter/test/apptest_syntax.py ....................... [ 30%]
............. [ 31%]
../build/pypy/interpreter/test/apptest_sys_settrace.py ................. [ 32%]
........................................................................ [ 34%]
...................................................... [ 36%]
../build/pypy/interpreter/test/apptest_traceback.py ........ [ 37%]
../build/pypy/interpreter/test/apptest_unraisable.py .... [ 37%]
../build/pypy/interpreter/test/apptest_with_leak.py ......... [ 37%]
../build/pypy/module/__builtin__/test/apptest_compile.py ............... [ 38%]
...... [ 38%]
../build/pypy/module/__builtin__/test/apptest_descriptor.py ....... [ 38%]
../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 ... [ 39%]
../build/pypy/module/_ast/test/apptest_ast.py ... [ 39%]
../build/pypy/module/_codecs/test/apptest_codecs.py .. [ 39%]
../build/pypy/module/_collections/test/apptest_defaultdict.py .......... [ 40%]
.... [ 40%]
../build/pypy/module/_collections/test/apptest_deque.py ................ [ 40%]
.......................... [ 41%]
../build/pypy/module/_collections/test/apptest_ordereddict.py .......... [ 42%]
[ 42%]
../build/pypy/module/_csv/test/apptest_writer.py ...... [ 42%]
../build/pypy/module/_io/test/apptest_bufferedio.py . [ 42%]
../build/pypy/module/_io/test/apptest_bytesio.py ................. [ 43%]
../build/pypy/module/_io/test/apptest_io.py ............................ [ 44%]
............... [ 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 ............ [ 48%]
....... [ 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%]
................ [ 53%]
../build/pypy/module/_pickle_support/test/apptest__pickle_support.py . [ 53%]
../build/pypy/module/_posixsubprocess/test/apptest_subprocess.py ....... [ 54%]
.. [ 54%]
../build/pypy/module/_pypyjson/test/apptest__pypyjson.py .......... [ 54%]
../build/pypy/module/_rawffi/test/apptest_rawffi.py .. [ 54%]
../build/pypy/module/_socket/test/apptest_socket.py .................... [ 55%]
.ss..................s................s... [ 57%]
../build/pypy/module/_sre/test/apptest_sre.py .......................... [ 58%]
......................................................s.s............... [ 61%]
....... [ 61%]
../build/pypy/module/_warnings/test/apptest_warnings.py ........s.s..... [ 61%]
..... [ 62%]
../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... [ 64%]
../build/pypy/module/exceptions/test/apptest_exceptions.py ............. [ 64%]
................................................... [ 66%]
../build/pypy/module/fcntl/test/apptest_fcntl.py ..sss. [ 66%]
../build/pypy/module/imp/test/apptest_import.py ........................ [ 67%]
[ 67%]
../build/pypy/module/itertools/test/apptest_itertools.py .......... [ 68%]
../build/pypy/module/marshal/test/apptest_marshal.py ................... [ 68%]
............................ [ 70%]
../build/pypy/module/math/test/apptest_math.py ................ [ 70%]
../build/pypy/module/posix/test/apptest_posix.py ..... [ 70%]
../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%]
..................... [ 72%]
../build/pypy/module/struct/test/apptest_structbuffer.py .. [ 72%]
../build/pypy/module/sys/test/apptest_audit.py .......... [ 73%]
../build/pypy/module/sys/test/apptest_initpath.py . [ 73%]
../build/pypy/module/sys/test/apptest_monitoring.py ..................FF [ 73%]
......................... [ 74%]
../build/pypy/module/sys/test/apptest_sys.py . [ 74%]
../build/pypy/module/time/test/apptest_time.py ........................s [ 75%]
................. [ 76%]
../build/pypy/module/token/test/apptest_token.py ........ [ 76%]
../build/pypy/module/zipimport/test/apptest_zipimport.py . [ 76%]
../build/pypy/objspace/std/test/apptest_boolobject.py .......... [ 77%]
../build/pypy/objspace/std/test/apptest_bytearrayobject.py ..... [ 77%]
../build/pypy/objspace/std/test/apptest_callmethod.py .......... [ 77%]
../build/pypy/objspace/std/test/apptest_complexobject.py ............... [ 78%]
...................... [ 79%]
../build/pypy/objspace/std/test/apptest_contains.py .. [ 79%]
../build/pypy/objspace/std/test/apptest_instmethobject.py ..... [ 79%]
../build/pypy/objspace/std/test/apptest_intobject.py ................... [ 80%]
............................... [ 81%]
../build/pypy/objspace/std/test/apptest_iterobject.py .................. [ 82%]
... [ 82%]
../build/pypy/objspace/std/test/apptest_memoryobject.py ................ [ 82%]
..... [ 83%]
../build/pypy/objspace/std/test/apptest_objectobject.py .. [ 83%]
../build/pypy/objspace/std/test/apptest_operation.py . [ 83%]
../build/pypy/objspace/std/test/apptest_sliceobject.py ......... [ 83%]
../build/pypy/objspace/std/test/apptest_specializedtuple.py ............ [ 84%]
............ [ 84%]
../build/pypy/objspace/std/test/apptest_stringformat.py ................ [ 85%]
.s......s..................s......................... [ 87%]
../build/pypy/objspace/std/test/apptest_tuple.py ....................... [ 88%]
. [ 88%]
../build/pypy/objspace/std/test/apptest_typeobjject.py ................. [ 88%]
........................................................................ [ 91%]
......... [ 91%]
../build/pypy/objspace/std/test/apptest_unicode.py ..................... [ 92%]
.......s................................................................ [ 95%]
.......................... [ 96%]
../build/pypy/objspace/std/test/apptest_userobject.py .................. [ 97%]
...... [ 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_dont_share_lambdas ____________________________
def test_dont_share_lambdas():
if not IS_PYPY:
skip("pypy-only optimization")
# the two lambdas's codes aren't shared (CPython does that but it's
# completely pointless: it only applies to identical lambdas that are
# defined on the same line)
code = compile("x = lambda: 0; y = lambda: 0", "<test>", "exec")
consts = code.co_consts
x, y, z = consts
assert isinstance(x, type(code)) and isinstance(y, type(code))
assert x is not y
> assert x == y
E assert <code object <lambda> at 0x0000ffffaca1b948, file "<test>", line 1> == <code object <lambda> at 0x0000ffffacb911a0, file "<test>", line 1>
../build/pypy/interpreter/test/apptest_compiler.py:216: AssertionError
________________ test_jump_over_assignment_warns_unbound_local _________________
def test_jump_over_assignment_warns_unbound_local():
# uses _warnings directly instead of the warnings module, cheaper to
# import when running untranslated
import _warnings
firstline = _jump_over_assignment.__code__.co_firstlineno
def trace(frame, event, arg):
if (event == 'line' and frame.f_code == _jump_over_assignment.__code__
and frame.f_lineno == firstline + 2):
frame.f_lineno = firstline + 3
return trace
saved_filters = _warnings.filters[:]
_warnings.filters.insert(0, ('error', None, RuntimeWarning, None, 0))
_warnings._filters_mutated()
try:
output = []
sys.settrace(trace)
try:
_jump_over_assignment(output)
except RuntimeWarning as e:
msg = str(e)
else:
> raise AssertionError("expected RuntimeWarning")
E AssertionError: expected RuntimeWarning
../build/pypy/interpreter/test/apptest_settrace_jump.py:127: AssertionError
__________________________ test_fire_py_start_return ___________________________
def test_fire_py_start_return():
E = sys.monitoring.events
events = []
def callback(*args):
events.append(args)
sys.monitoring.use_tool_id(3, "test tool")
try:
sys.monitoring.register_callback(3, E.PY_START, callback)
sys.monitoring.register_callback(3, E.PY_RETURN, callback)
sys.monitoring.set_events(3, E.PY_START | E.PY_RETURN)
def f():
return 42
events.clear()
assert f() == 42
> assert len(events) == 2
E assert 1 == 2
E + where 1 = len([(<code object f at 0x0000000034e33600, file "/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/module/sys/test/appt...ldbot/slave/pypy-c-jit-linux-aarch64/venv/pypy-venv/lib/pypy3.12/site-packages/pluggy/_manager.py", line 516>, 0), ...])
../build/pypy/module/sys/test/apptest_monitoring.py:316: AssertionError
__________________________ test_fire_py_yield_resume ___________________________
def test_fire_py_yield_resume():
E = sys.monitoring.events
events = []
def callback(*args):
events.append(args[:2])
sys.monitoring.use_tool_id(3, "test tool")
try:
sys.monitoring.register_callback(3, E.PY_START, callback)
sys.monitoring.register_callback(3, E.PY_RESUME, callback)
sys.monitoring.register_callback(3, E.PY_YIELD, callback)
sys.monitoring.register_callback(3, E.PY_RETURN, callback)
sys.monitoring.set_events(3, E.PY_START | E.PY_RESUME | E.PY_YIELD | E.PY_RETURN)
def g():
yield 1
yield 2
events[:] = []
gen = g()
code = g.__code__
assert next(gen) == 1
assert next(gen) == 2
raises(StopIteration, next, gen)
sys.monitoring.set_events(3, 0)
g_events = [ev for ev in events if ev[0] is code]
> assert len(g_events) == 6 # start, yield, resume, yield, resume, return
E assert 5 == 6
E + where 5 = len([(<code object g at 0x0000000034e33948, file "/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/module/sys/test/appt...3948, file "/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/module/sys/test/apptest_monitoring.py", line 340>, 10)])
../build/pypy/module/sys/test/apptest_monitoring.py:352: AssertionError
=============================== warnings summary ===============================
pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:689: 26 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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: 26 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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: 8861 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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: 8861 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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: 5757 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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: 5757 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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: 31606 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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: 6149 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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: 6323 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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: 6307 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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: 133 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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: 66 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/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:657
/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/objspace/std/test/apptest_unicode.py:657: SyntaxWarning: invalid escape sequence '\?'
('\?', b'+AFw?'),
pypy/interpreter/astcompiler/test/apptest_compiler.py::test_bug_lnotab
<string>:12: DeprecationWarning: co_lnotab is deprecated, use co_lines instead.
pypy/interpreter/astcompiler/test/apptest_compiler.py::test_lnotab_backwards_in_expr
pypy/interpreter/astcompiler/test/apptest_compiler.py::test_lineno_docstring_class
<string>:5: DeprecationWarning: co_lnotab is deprecated, use co_lines instead.
pypy/interpreter/astcompiler/test/apptest_compiler.py::test_lineno_funcdef
<string>:7: DeprecationWarning: co_lnotab is deprecated, use co_lines instead.
pypy/interpreter/test/apptest_compiler.py::test_folding_of_binops_on_constants_crash
:1: SyntaxWarning: tuple indices must be integers or slices, not ellipsis; perhaps you missed a comma?
pypy/interpreter/test/apptest_pycode.py::test_invalid_positions_dont_crash
/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/interpreter/test/apptest_pycode.py:11: DeprecationWarning: co_lnotab is deprecated, use co_lines instead.
c.co_lnotab
pypy/interpreter/test/apptest_pyframe.py::test_f_lineno_huge_jump
/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/interpreter/test/apptest_pyframe.py:63: DeprecationWarning: co_lnotab is deprecated, use co_lines instead.
print(repr(g.__code__.co_lnotab))
pypy/interpreter/test/apptest_pyframe.py::test_jump_forwards_over_listcomp
/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/interpreter/test/apptest_pyframe.py:132: RuntimeWarning: assigning None to 1 unbound local
frame.f_lineno = self.firstLine + self.jumpTo
pypy/interpreter/test/apptest_settrace_jump.py::test_jump_over_assignment_warns_unbound_local
/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/interpreter/test/apptest_settrace_jump.py:113: RuntimeWarning: assigning None to 1 unbound local
frame.f_lineno = firstline + 3
pypy/interpreter/test/apptest_sys_settrace.py: 11 warnings
/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/interpreter/test/apptest_sys_settrace.py:1511: RuntimeWarning: assigning None to 1 unbound local
frame.f_lineno = self.firstLine + self.jumpTo
pypy/interpreter/test/apptest_sys_settrace.py::test_jump_over_try_except
/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/interpreter/test/apptest_sys_settrace.py:1511: RuntimeWarning: assigning None to 2 unbound locals
frame.f_lineno = self.firstLine + self.jumpTo
pypy/module/_sre/test/apptest_sre.py::test_magic
/buildbot/slave/pypy-c-jit-linux-aarch64/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
/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/module/_sre/test/apptest_sre.py:274: DeprecationWarning: module 'sre_compile' is deprecated
import sre_compile, sre_parse
pypy/module/_sre/test/apptest_sre.py::test_no_pattern
/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/module/_sre/test/apptest_sre.py:274: DeprecationWarning: module 'sre_parse' is deprecated
import sre_compile, sre_parse
pypy/module/_warnings/test/apptest_warnings.py::test_defaults
/buildbot/slave/pypy-c-jit-linux-aarch64/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
/buildbot/slave/pypy-c-jit-linux-aarch64/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: : <function test_buggy_case.<locals>.A.__del__ at 0x0000ffffafc48a48>
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
/buildbot/slave/pypy-c-jit-linux-aarch64/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 0x000000003cd779e8>
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-aarch64/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/module/marshal/test/apptest_marshal.py::test_code_object
/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/module/marshal/test/apptest_marshal.py:220: DeprecationWarning: co_lnotab is deprecated, use co_lines instead.
if callable(getattr(code2, attr_name)): # co_lines, co_positions
pypy/module/marshal/test/apptest_marshal.py::test_code_object
pypy/module/marshal/test/apptest_marshal.py::test_code_object
/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/module/marshal/test/apptest_marshal.py:223: DeprecationWarning: co_lnotab is deprecated, use co_lines instead.
assert getattr(code2, attr_name) == getattr(foo.__code__, attr_name)
pypy/objspace/std/test/apptest_intobject.py::test_int_subclass_int
pypy/objspace/std/test/apptest_intobject.py::test_int_subclass_int
/buildbot/slave/pypy-c-jit-linux-aarch64/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
/buildbot/slave/pypy-c-jit-linux-aarch64/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
/buildbot/slave/pypy-c-jit-linux-aarch64/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: /buildbot/slave/pypy-c-jit-linux-aarch64/venv/test-D.log -
=========================== short test summary info ============================
FAILED ../build/pypy/interpreter/test/apptest_compiler.py::test_dont_share_lambdas
FAILED ../build/pypy/interpreter/test/apptest_settrace_jump.py::test_jump_over_assignment_warns_unbound_local
FAILED ../build/pypy/module/sys/test/apptest_monitoring.py::test_fire_py_start_return
FAILED ../build/pypy/module/sys/test/apptest_monitoring.py::test_fire_py_yield_resume
==== 4 failed, 2553 passed, 23 skipped, 79908 warnings in 91.01s (0:01:31) =====
program finished with exit code 1
elapsedTime=94.294324