pypy-venv/bin/pypy3 -m pytest -D ../build/pypy --junitxml=test-D.log
in dir /build_dir/pypy-c-jit-linux-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:
AUDITWHEEL_ARCH=x86_64
AUDITWHEEL_PLAT=manylinux2014_x86_64
AUDITWHEEL_POLICY=manylinux2014
DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root
HOME=/home/buildslave
HOSTNAME=13ba96a62240
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/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64
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-64/venv
PYPY_LOCALBASE=/usr/local
PYPY_MAKE_PORTABLE=1
PYPY_USESSION_DIR=/tmp/pytest
SHELL=/bin/bash
SHLVL=2
SSL_CERT_FILE=/opt/_internal/certs.pem
TERM=xterm
USER=buildslave
USE_CURL=1
_=/python27_virt/bin/buildslave
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-64/venv/pypy-venv/lib/pypy3.12/site-packages/pytest/__init__.py
rootdir: /build_dir/pypy-c-jit-linux-x86-64/build, configfile: pytest.ini
plugins: xdist-3.5.0, hypothesis-6.36.2
collected 2229 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 ............ [ 4%]
............................. [ 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 .................. [ 21%]
[ 21%]
../build/pypy/interpreter/test/apptest_pep695.py ....................... [ 22%]
........ [ 22%]
../build/pypy/interpreter/test/apptest_pycode.py .... [ 23%]
../build/pypy/interpreter/test/apptest_pyframe.py ...................... [ 24%]
.......................................... [ 25%]
../build/pypy/interpreter/test/apptest_raise.py ........................ [ 27%]
.............................. [ 28%]
../build/pypy/interpreter/test/apptest_settrace_jump.py . [ 28%]
../build/pypy/interpreter/test/apptest_syntax.py ....................... [ 29%]
............. [ 30%]
../build/pypy/interpreter/test/apptest_sys_settrace.py ................. [ 30%]
........................................................................ [ 34%]
..................................................... [ 36%]
../build/pypy/interpreter/test/apptest_traceback.py ........ [ 36%]
../build/pypy/interpreter/test/apptest_unraisable.py .... [ 36%]
../build/pypy/interpreter/test/apptest_with_leak.py ......... [ 37%]
../build/pypy/module/__builtin__/test/apptest_compile.py ............... [ 37%]
...... [ 38%]
../build/pypy/module/__builtin__/test/apptest_descriptor.py ..... [ 38%]
../build/pypy/module/__builtin__/test/apptest_operator.py ..... [ 38%]
../build/pypy/module/__builtin__/test/apptest_print.py ... [ 38%]
../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%]
.......................... [ 42%]
../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%]
............... [ 45%]
../build/pypy/module/_io/test/apptest_stringio.py ...................... [ 46%]
..... [ 46%]
../build/pypy/module/_io/test/apptest_textio.py ........................ [ 47%]
......s................. [ 48%]
../build/pypy/module/_multibytecodec/test/apptest_codecs.py ............ [ 49%]
....... [ 49%]
../build/pypy/module/_multibytecodec/test/apptest_incremental.py ....... [ 50%]
............. [ 50%]
../build/pypy/module/_multibytecodec/test/apptest_stream.py ..... [ 50%]
../build/pypy/module/_opcode/test/apptest_opcode.py ..... [ 51%]
../build/pypy/module/_pickle/test/apptest_optional_frames.py .. [ 51%]
../build/pypy/module/_pickle/test/apptest_pickle.py .................... [ 52%]
..........................................s................ [ 54%]
../build/pypy/module/_pickle/test/apptest_pypy_extensions.py ........... [ 55%]
................ [ 55%]
../build/pypy/module/_pickle_support/test/apptest__pickle_support.py . [ 55%]
../build/pypy/module/_posixsubprocess/test/apptest_subprocess.py ....... [ 56%]
.. [ 56%]
../build/pypy/module/_pypyjson/test/apptest__pypyjson.py ......... [ 56%]
../build/pypy/module/_rawffi/test/apptest_rawffi.py .. [ 56%]
../build/pypy/module/_socket/test/apptest_socket.py .................... [ 57%]
.ss..................s...............FsFFF [ 59%]
../build/pypy/module/_sre/test/apptest_sre.py .......................... [ 60%]
........................................... [ 62%]
../build/pypy/module/_warnings/test/apptest_warnings.py ........s.s..... [ 63%]
[ 63%]
../build/pypy/module/_weakref/test/apptest_weakref.py .................. [ 64%]
......................... [ 65%]
../build/pypy/module/array/test/apptest_array.py ... [ 65%]
../build/pypy/module/atexit/test/apptest_atexit.py .. [ 65%]
../build/pypy/module/bz2/test/apptest_bz2_compdecomp.py .s... [ 65%]
../build/pypy/module/exceptions/test/apptest_exceptions.py ............. [ 66%]
............................................. [ 68%]
../build/pypy/module/itertools/test/apptest_itertools.py ...... [ 68%]
../build/pypy/module/marshal/test/apptest_marshal.py ................... [ 69%]
............................ [ 70%]
../build/pypy/module/math/test/apptest_math.py ............. [ 71%]
../build/pypy/module/posix/test/apptest_posix.py .... [ 71%]
../build/pypy/module/pyexpat/test/apptest_pyexpat.py ... [ 71%]
../build/pypy/module/signal/test/apptest_signal.py . [ 71%]
../build/pypy/module/struct/test/apptest_struct.py ..................... [ 72%]
..................... [ 73%]
../build/pypy/module/struct/test/apptest_structbuffer.py .. [ 73%]
../build/pypy/module/sys/test/apptest_audit.py .......... [ 74%]
../build/pypy/module/sys/test/apptest_initpath.py . [ 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 ......... [ 76%]
../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_iterobject.py .................. [ 80%]
... [ 80%]
../build/pypy/objspace/std/test/apptest_memoryobject.py ........ [ 80%]
../build/pypy/objspace/std/test/apptest_operation.py . [ 80%]
../build/pypy/objspace/std/test/apptest_sliceobject.py ......... [ 81%]
../build/pypy/objspace/std/test/apptest_specializedtuple.py ............ [ 81%]
............ [ 82%]
../build/pypy/objspace/std/test/apptest_stringformat.py ................ [ 82%]
.s......s..................s........................ [ 85%]
../build/pypy/objspace/std/test/apptest_tuple.py ....................... [ 86%]
. [ 86%]
../build/pypy/objspace/std/test/apptest_typeobjject.py ...........F..F.. [ 87%]
.....FFF.FF...........................F...FF.....F....F................. [ 90%]
......... [ 90%]
../build/pypy/objspace/std/test/apptest_unicode.py ..................... [ 91%]
......s................................................................. [ 94%]
......................... [ 95%]
../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_create_alg ________________________________
def test_create_alg():
import _socket
if not hasattr(_socket, 'AF_ALG'):
pytest.skip('No AF_ALG on this platform')
for typ, name in (("hash", "sha256"),):
try:
> sock = _socket.socket(_socket.AF_ALG, _socket.SOCK_SEQPACKET, 0)
E PermissionError: [Errno 1] Operation not permitted
../build/pypy/module/_socket/test/apptest_socket.py:886: PermissionError
During handling of the above exception, another exception occurred:
def test_create_alg():
import _socket
if not hasattr(_socket, 'AF_ALG'):
pytest.skip('No AF_ALG on this platform')
for typ, name in (("hash", "sha256"),):
try:
sock = _socket.socket(_socket.AF_ALG, _socket.SOCK_SEQPACKET, 0)
try:
# should not raise
sock.bind((typ, name))
except FileNotFoundError as e:
# type / algorithm is not available
pass
sock.close()
finally:
> sock.close()
E UnboundLocalError: local variable 'sock' referenced before assignment
../build/pypy/module/_socket/test/apptest_socket.py:896: UnboundLocalError
___________________________ test_sendmsg_afalg_args ____________________________
def test_sendmsg_afalg_args():
import _socket
_alg_skip_if_unavailable()
> sock = _socket.socket(_socket.AF_ALG, _socket.SOCK_SEQPACKET, 0)
E PermissionError: [Errno 1] Operation not permitted
../build/pypy/module/_socket/test/apptest_socket.py:932: PermissionError
__________________________ test_sendmsg_afalg_aes_cbc __________________________
def test_sendmsg_afalg_aes_cbc():
import _socket
_alg_skip_if_unavailable()
key = bytes.fromhex('06a9214036b8a15b512e03d534120006')
iv = bytes.fromhex('3dafba429d9eb430b422da802c9fac41')
msg = b"Single block msg"
ciphertext = bytes.fromhex('e353779c1079aeb82708942dbe77181a')
msglen = len(msg)
> algo = _alg_create('skcipher', 'cbc(aes)')
../build/pypy/module/_socket/test/apptest_socket.py:956:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
typ = 'skcipher', name = 'cbc(aes)'
def _alg_create(typ, name):
import _socket
> sock = _socket.socket(_socket.AF_ALG, _socket.SOCK_SEQPACKET, 0)
E PermissionError: [Errno 1] Operation not permitted
../build/pypy/module/_socket/test/apptest_socket.py:920: PermissionError
_____________________________ test_setsockopt_aead _____________________________
def test_setsockopt_aead():
import _socket
_alg_skip_if_unavailable()
key = bytes.fromhex('06a9214036b8a15b512e03d534120006')
expected_tag = bytes.fromhex('0032a1dc85f1c9786925a2e71d8272dd')
taglen = len(expected_tag)
> algo = _alg_create('aead', 'gcm(aes)')
../build/pypy/module/_socket/test/apptest_socket.py:984:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
typ = 'aead', name = 'gcm(aes)'
def _alg_create(typ, name):
import _socket
> sock = _socket.socket(_socket.AF_ALG, _socket.SOCK_SEQPACKET, 0)
E PermissionError: [Errno 1] Operation not permitted
../build/pypy/module/_socket/test/apptest_socket.py:920: PermissionError
____________________________ test_abstract_methods _____________________________
def test_abstract_methods():
class X(object):
pass
X.__abstractmethods__ = ("meth",)
raises(TypeError, X)
del X.__abstractmethods__
X()
raises(AttributeError, getattr, type, "__abstractmethods__")
> raises(TypeError, "int.__abstractmethods__ = ('abc', )")
E TypeError: "int.__abstractmethods__ = ('abc', )" object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:110: TypeError
_____________________________ test_attribute_error _____________________________
def test_attribute_error():
class X(object):
__module__ = 'test'
x = X()
> exc = raises(AttributeError, "x.a")
E TypeError: 'x.a' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:152: TypeError
___________________ test_mutable_bases_versus_nonheap_types ____________________
def test_mutable_bases_versus_nonheap_types():
class A(int):
pass
class B(int):
__slots__ = ['b']
class C(int):
pass
> raises(TypeError, 'C.__bases__ = (A,)')
E TypeError: 'C.__bases__ = (A,)' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:409: TypeError
_______________________ test_mutable_bases_versus_slots ________________________
def test_mutable_bases_versus_slots():
class A(object):
__slots__ = ['a']
class B(A):
__slots__ = ['b1', 'b2']
class C(B):
pass
> raises(TypeError, 'C.__bases__ = (A,)')
E TypeError: 'C.__bases__ = (A,)' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:430: TypeError
______________________ test_mutable_bases_versus_weakref _______________________
def test_mutable_bases_versus_weakref():
class A(object):
__slots__ = ['a']
class B(A):
__slots__ = ['__weakref__']
class C(B):
pass
> raises(TypeError, 'C.__bases__ = (A,)')
E TypeError: 'C.__bases__ = (A,)' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:439: TypeError
______________________ test_mutable_bases_versus_slots_2 _______________________
def test_mutable_bases_versus_slots_2():
class A(object):
__slots__ = ['a']
class B(A):
__slots__ = ['b1', 'b2']
class C(B):
__slots__ = ['c']
> raises(TypeError, 'C.__bases__ = (A,)')
E TypeError: 'C.__bases__ = (A,)' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:462: TypeError
_______________________ test_mutable_bases_keeping_slots _______________________
def test_mutable_bases_keeping_slots():
class A(object):
__slots__ = ['a']
class B(A):
__slots__ = []
class C(B):
__slots__ = ['c']
c = C()
c.a = 42
c.c = 85
assert C.__mro__ == (C, B, A, object)
C.__bases__ = (A,)
assert C.__mro__ == (C, A, object)
assert c.a == 42
assert c.c == 85
class D(A):
__slots__ = []
C.__bases__ = (B, D)
assert C.__mro__ == (C, B, D, A, object)
assert c.a == 42
assert c.c == 85
> raises(TypeError, 'C.__bases__ = (B, D, B)')
E TypeError: 'C.__bases__ = (B, D, B)' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:486: TypeError
_______________________________ test_invalid_mro _______________________________
def test_invalid_mro():
class A(object):
pass
> raises(TypeError, "class B(A, A): pass")
E TypeError: 'class B(A, A): pass' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:812: TypeError
______________________________ test_set___class__ ______________________________
def test_set___class__():
> raises(TypeError, "1 .__class__ = int")
E TypeError: '1 .__class__ = int' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:876: TypeError
__________________________________ test_name ___________________________________
def test_name():
class Abc(object):
pass
assert Abc.__name__ == 'Abc'
Abc.__name__ = 'Def'
assert Abc.__name__ == 'Def'
> raises(TypeError, "Abc.__name__ = 42")
E TypeError: 'Abc.__name__ = 42' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:997: TypeError
____________________________ test_immutable_builtin ____________________________
def test_immutable_builtin():
raises(TypeError, setattr, list, 'append', 42)
raises(TypeError, setattr, list, 'foobar', 42)
raises(TypeError, delattr, dict, 'keys')
> raises(TypeError, 'int.__dict__["a"] = 1')
E TypeError: 'int.__dict__["a"] = 1' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:1118: TypeError
_______________________________ test_change_dict _______________________________
def test_change_dict():
class A(object):
pass
a = A()
A.x = 1
assert A.__dict__["x"] == 1
> raises(AttributeError, "del A.__dict__")
E TypeError: 'del A.__dict__' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:1168: TypeError
=============================== warnings summary ===============================
pypy-venv/lib/pypy3.12/site-packages/_pytest/assertion/rewrite.py:689: 25 warnings
/build_dir/pypy-c-jit-linux-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
/build_dir/pypy-c-jit-linux-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: 7776 warnings
/build_dir/pypy-c-jit-linux-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: 7776 warnings
/build_dir/pypy-c-jit-linux-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: 5124 warnings
/build_dir/pypy-c-jit-linux-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: 5124 warnings
/build_dir/pypy-c-jit-linux-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: 28132 warnings
/build_dir/pypy-c-jit-linux-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: 5468 warnings
/build_dir/pypy-c-jit-linux-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: 5624 warnings
/build_dir/pypy-c-jit-linux-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: 5608 warnings
/build_dir/pypy-c-jit-linux-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: 103 warnings
/build_dir/pypy-c-jit-linux-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: 51 warnings
/build_dir/pypy-c-jit-linux-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
/build_dir/pypy-c-jit-linux-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
/build_dir/pypy-c-jit-linux-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
/build_dir/pypy-c-jit-linux-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
/build_dir/pypy-c-jit-linux-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
/build_dir/pypy-c-jit-linux-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
/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/lib/pypy3.12/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: : <function test_buggy_case.<locals>.A.__del__ at 0x0000000005704020>
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-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 0x0000000003fed790>
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-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))
-- Docs: https://docs.pytest.org/en/stable/warnings.html
---- generated xml file: /build_dir/pypy-c-jit-linux-x86-64/venv/test-D.log ----
=========================== short test summary info ============================
FAILED ../build/pypy/module/_socket/test/apptest_socket.py::test_create_alg
FAILED ../build/pypy/module/_socket/test/apptest_socket.py::test_sendmsg_afalg_args
FAILED ../build/pypy/module/_socket/test/apptest_socket.py::test_sendmsg_afalg_aes_cbc
FAILED ../build/pypy/module/_socket/test/apptest_socket.py::test_setsockopt_aead
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_abstract_methods
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_attribute_error
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_mutable_bases_versus_nonheap_types
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_mutable_bases_versus_slots
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_mutable_bases_versus_weakref
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_mutable_bases_versus_slots_2
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_mutable_bases_keeping_slots
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_invalid_mro
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_set___class__
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_name - Ty...
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_immutable_builtin
FAILED ../build/pypy/objspace/std/test/apptest_typeobjject.py::test_change_dict
========= 16 failed, 2195 passed, 18 skipped, 70843 warnings in 37.96s =========
program finished with exit code 1
elapsedTime=39.613405