pypy-venv/bin/pypy3 -m pytest ../build/extra_tests --junitxml=extra.log --durations=20 -raw -n 0 in dir /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv (timeout 1200 secs) watching logfiles {'pytestLog': 'extra.log'} argv: ['pypy-venv/bin/pypy3', '-m', 'pytest', '../build/extra_tests', '--junitxml=extra.log', '--durations=20', '-raw', '-n', '0'] environment: HOME=/Users/matti HOMEBREW_CELLAR=/opt/homebrew/Cellar HOMEBREW_PREFIX=/opt/homebrew HOMEBREW_REPOSITORY=/opt/homebrew INFOPATH=/opt/homebrew/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-arm64-buildbot/bin:/opt/homebrew/bin:/opt/homebrew/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/Cellar/openssl@1.1/1.1.1t/lib/pkgconfig PWD=/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv PYPY_USESSION_DIR=/tmp/buildbot-arm64 SHELL=/bin/zsh SHLVL=2 SSH_CLIENT=10.0.0.20 54836 22 SSH_CONNECTION=10.0.0.20 54836 10.0.0.16 22 SSH_TTY=/dev/ttys000 TERM=tmux-256color TMPDIR=/tmp/buildbot-arm64 USER=matti _=/Users/matti/oss/pypy-arm64-buildbot/bin/buildslave using PTY: False ============================= test session starts ============================== platform darwin -- Python 3.11.15[pypy-7.3.24-alpha], pytest-6.2.5, py-1.11.0, pluggy-1.6.0 rootdir: /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests, configfile: pytest.ini plugins: hypothesis-6.36.2, xdist-3.5.0 collected 3197 items / 4 skipped / 3193 selected ../build/extra_tests/test__posixshmem.py . [ 0%] ../build/extra_tests/test_asyncio.py ... [ 0%] ../build/extra_tests/test_binop_overriding.py .... [ 0%] ../build/extra_tests/test_bufferedreader.py ..... [ 0%] ../build/extra_tests/test_bytes.py .......... [ 0%] ../build/extra_tests/test_capi.py . [ 0%] ../build/extra_tests/test_code.py . [ 0%] ../build/extra_tests/test_collections.py .. [ 0%] ../build/extra_tests/test_complexobject.py . [ 0%] ../build/extra_tests/test_contextvars.py . [ 0%] ../build/extra_tests/test_datetime.py .................................. [ 1%] . [ 2%] ../build/extra_tests/test_dbm.py ........ [ 2%] ../build/extra_tests/test_decimal.py ........... [ 2%] ../build/extra_tests/test_dis.py s [ 2%] ../build/extra_tests/test_functools.py .. [ 2%] ../build/extra_tests/test_gc.py ... [ 2%] ../build/extra_tests/test_gdbm.py ... [ 2%] ../build/extra_tests/test_generic_alias.py ............................. [ 3%] ............ [ 4%] ../build/extra_tests/test_greenlet_contextvars.py .......... [ 4%] ../build/extra_tests/test_greenlet_thread.py .....ss [ 4%] ../build/extra_tests/test_greenlet_tracing.py .. [ 4%] ../build/extra_tests/test_grp.py ... [ 4%] ../build/extra_tests/test_hashlib.py ... [ 4%] ../build/extra_tests/test_heapq.py ... [ 5%] ../build/extra_tests/test_immutables_map.py ............................ [ 5%] ............................. [ 6%] ../build/extra_tests/test_import.py . [ 6%] ../build/extra_tests/test_inspect.py .... [ 6%] ../build/extra_tests/test_interpreter.py . [ 7%] ../build/extra_tests/test_itertools.py ... [ 7%] ../build/extra_tests/test_jit.py ... [ 7%] ../build/extra_tests/test_json.py ..... [ 7%] ../build/extra_tests/test_linecache.py . [ 7%] ../build/extra_tests/test_lzma.py . [ 7%] ../build/extra_tests/test_modules.py . [ 7%] ../build/extra_tests/test_os.py ......... [ 7%] ../build/extra_tests/test_posix.py .... [ 7%] ../build/extra_tests/test_posix_extra.py . [ 7%] ../build/extra_tests/test_pyexpat.py . [ 7%] ../build/extra_tests/test_pypy_modules.py .............................. [ 8%] [ 8%] ../build/extra_tests/test_pypy_remote_debug.py sssssssssssssssss [ 9%] ../build/extra_tests/test_pypy_util_cffi.py . [ 9%] ../build/extra_tests/test_recursion.py s [ 9%] ../build/extra_tests/test_scandir.py ................... [ 10%] ../build/extra_tests/test_semlock.py . [ 10%] ../build/extra_tests/test_sqlite3.py ................................... [ 11%] ..................................... [ 12%] ../build/extra_tests/test_ssl.py . [ 12%] ../build/extra_tests/test_startup.py ... [ 12%] ../build/extra_tests/test_stringio.py ... [ 12%] ../build/extra_tests/test_structseq.py ...... [ 12%] ../build/extra_tests/test_sysconfig.py . [ 12%] ../build/extra_tests/test_syslog.py . [ 12%] ../build/extra_tests/test_textio.py . [ 12%] ../build/extra_tests/test_tk.py . [ 12%] ../build/extra_tests/test_traceback_suggestions.py ............ [ 13%] ../build/extra_tests/test_unicode.py .......................... [ 14%] ../build/extra_tests/test_venv.py .. [ 14%] ../build/extra_tests/test_weakref.py .. [ 14%] ../build/extra_tests/cffi_tests/test_c.py .............................. [ 15%] ............................sssssssssssssss.sss...sss.s................. [ 17%] ....................s.............s......s..s................s...s...... [ 19%] ............s..........s........................s...... [ 21%] ../build/extra_tests/cffi_tests/test_version.py .. [ 21%] ../build/extra_tests/cffi_tests/cffi0/test_cdata.py . [ 21%] ../build/extra_tests/cffi_tests/cffi0/test_ctypes.py ..................s [ 22%] ...............s.s.s.......s.........................sssssss..s..s...... [ 24%] .......................................sssssssss [ 25%] ../build/extra_tests/cffi_tests/cffi0/test_ffi_backend.py .............. [ 26%] .....................................................................s.. [ 28%] .s....................................................................ss [ 30%] ss..s...s...........ss..................FsFs...s................... [ 32%] ../build/extra_tests/cffi_tests/cffi0/test_function.py ......ssss..s.s.s [ 33%] .s.s..ss..sss..ss [ 33%] ../build/extra_tests/cffi_tests/cffi0/test_model.py ............. [ 34%] ../build/extra_tests/cffi_tests/cffi0/test_ownlib.py .sss...sssss [ 34%] ../build/extra_tests/cffi_tests/cffi0/test_parsing.py .................. [ 35%] .......s........... [ 35%] ../build/extra_tests/cffi_tests/cffi0/test_platform.py .... [ 35%] ../build/extra_tests/cffi_tests/cffi0/test_unicode_literals.py ......... [ 36%] ... [ 36%] ../build/extra_tests/cffi_tests/cffi0/test_verify.py ....sssss...s...... [ 36%] s......s.....s.........................................F.F.............. [ 39%] .....................s......s..........................s...s............ [ 41%] ss.... [ 41%] ../build/extra_tests/cffi_tests/cffi0/test_version.py sssss [ 41%] ../build/extra_tests/cffi_tests/cffi0/test_vgen.py ....sssss...s......s. [ 42%] .....s.....s.........................................F.F................ [ 44%] ...................s......s..........................s...s............ss [ 46%] .... [ 47%] ../build/extra_tests/cffi_tests/cffi0/test_zdistutils.py ............... [ 47%] ....................... [ 48%] ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py FFFFFFF. [ 48%] ../build/extra_tests/cffi_tests/cffi1/test_cffi_binary.py s [ 48%] ../build/extra_tests/cffi_tests/cffi1/test_commontypes.py ss. [ 48%] ../build/extra_tests/cffi_tests/cffi1/test_dlopen.py ............... [ 49%] ../build/extra_tests/cffi_tests/cffi1/test_dlopen_unicode_literals.py .. [ 49%] ............. [ 49%] ../build/extra_tests/cffi_tests/cffi1/test_ffi_obj.py .................. [ 50%] ...........s............. [ 50%] ../build/extra_tests/cffi_tests/cffi1/test_function_args.py s [ 50%] ../build/extra_tests/cffi_tests/cffi1/test_new_ffi_1.py ................ [ 51%] .................................................................s...s.. [ 53%] .................................... [ 54%] ../build/extra_tests/cffi_tests/cffi1/test_pkgconfig.py ... [ 54%] ../build/extra_tests/cffi_tests/cffi1/test_re_python.py ................ [ 55%] ..... [ 55%] ../build/extra_tests/cffi_tests/cffi1/test_realize_c_type.py ......... [ 55%] ../build/extra_tests/cffi_tests/cffi1/test_recompiler.py ............... [ 56%] ..................................................s..................... [ 58%] ...............................................s.....s.................. [ 60%] ........ [ 61%] ../build/extra_tests/cffi_tests/cffi1/test_unicode_literals.py ....... [ 61%] ../build/extra_tests/cffi_tests/cffi1/test_verify1.py ...sssss...s...... [ 61%] ............s.......................................F.F................. [ 64%] ...............s..s..xxxs...x......................s...s....s...sss. [ 66%] ../build/extra_tests/cffi_tests/cffi1/test_zdist.py .................... [ 66%] ... [ 66%] ../build/extra_tests/cffi_tests/embedding/test_basic.py sssss [ 67%] ../build/extra_tests/cffi_tests/embedding/test_performance.py sssss [ 67%] ../build/extra_tests/cffi_tests/embedding/test_recursive.py s [ 67%] ../build/extra_tests/cffi_tests/embedding/test_thread.py ssss [ 67%] ../build/extra_tests/cffi_tests/embedding/test_tlocal.py s [ 67%] ../build/extra_tests/ctypes_tests/test_anon.py .. [ 67%] ../build/extra_tests/ctypes_tests/test_array.py ....... [ 67%] ../build/extra_tests/ctypes_tests/test_base.py ... [ 67%] ../build/extra_tests/ctypes_tests/test_bitfields.py ... [ 67%] ../build/extra_tests/ctypes_tests/test_buffers.py ..................... [ 68%] ../build/extra_tests/ctypes_tests/test_callback_traceback.py . [ 68%] ../build/extra_tests/ctypes_tests/test_callbacks.py .................... [ 69%] .......... [ 69%] ../build/extra_tests/ctypes_tests/test_cast.py ..... [ 69%] ../build/extra_tests/ctypes_tests/test_errno.py . [ 69%] ../build/extra_tests/ctypes_tests/test_extra.py ............... [ 70%] ../build/extra_tests/ctypes_tests/test_funcptr.py . [ 70%] ../build/extra_tests/ctypes_tests/test_functions.py .....F.F.....xx... [ 70%] ../build/extra_tests/ctypes_tests/test_guess_argtypes.py .. [ 70%] ../build/extra_tests/ctypes_tests/test_keepalive.py .................. [ 71%] ../build/extra_tests/ctypes_tests/test_loading.py . [ 71%] ../build/extra_tests/ctypes_tests/test_numbers.py ...............xX [ 71%] ../build/extra_tests/ctypes_tests/test_parameters.py .. [ 72%] ../build/extra_tests/ctypes_tests/test_pointers.py ..................... [ 72%] [ 72%] ../build/extra_tests/ctypes_tests/test_prototypes.py ..... [ 72%] ../build/extra_tests/ctypes_tests/test_structures.py .................. [ 73%] ../build/extra_tests/ctypes_tests/test_unions.py .. [ 73%] ../build/extra_tests/ctypes_tests/test_values.py . [ 73%] ../build/extra_tests/ctypes_tests/test_win32.py s [ 73%] ../build/extra_tests/hpy_tests/test_dist_info.py .. [ 73%] ../build/extra_tests/hpy_tests/_vendored/test_00_basic.py .............. [ 74%] .......................................... [ 75%] ../build/extra_tests/hpy_tests/_vendored/test_argparse.py .............. [ 75%] ........................................................................ [ 78%] .... [ 78%] ../build/extra_tests/hpy_tests/_vendored/test_call.py .......... [ 78%] ../build/extra_tests/hpy_tests/_vendored/test_capsule.py .......... [ 78%] ../build/extra_tests/hpy_tests/_vendored/test_capsule_legacy.py .. [ 78%] ../build/extra_tests/hpy_tests/_vendored/test_contextvar.py .. [ 78%] ../build/extra_tests/hpy_tests/_vendored/test_cpy_compat.py ............ [ 79%] ...... [ 79%] ../build/extra_tests/hpy_tests/_vendored/test_eval.py .... [ 79%] ../build/extra_tests/hpy_tests/_vendored/test_helpers.py ...... [ 79%] ../build/extra_tests/hpy_tests/_vendored/test_hpybuildvalue.py ......... [ 80%] ..... [ 80%] ../build/extra_tests/hpy_tests/_vendored/test_hpybytes.py ............ [ 80%] ../build/extra_tests/hpy_tests/_vendored/test_hpydict.py ............ [ 80%] ../build/extra_tests/hpy_tests/_vendored/test_hpyerr.py ................ [ 81%] ...................... [ 82%] ../build/extra_tests/hpy_tests/_vendored/test_hpyfield.py ssss........ss [ 82%] ss.. [ 82%] ../build/extra_tests/hpy_tests/_vendored/test_hpyglobal.py .. [ 82%] ../build/extra_tests/hpy_tests/_vendored/test_hpyimport.py .. [ 82%] ../build/extra_tests/hpy_tests/_vendored/test_hpyiter.py .... [ 82%] ../build/extra_tests/hpy_tests/_vendored/test_hpylist.py .......... [ 83%] ../build/extra_tests/hpy_tests/_vendored/test_hpylong.py ............... [ 83%] ..................... [ 84%] ../build/extra_tests/hpy_tests/_vendored/test_hpymodule.py ............. [ 84%] ... [ 84%] ../build/extra_tests/hpy_tests/_vendored/test_hpyslice.py ...... [ 85%] ../build/extra_tests/hpy_tests/_vendored/test_hpystructseq.py .... [ 85%] ../build/extra_tests/hpy_tests/_vendored/test_hpytuple.py ........ [ 85%] ../build/extra_tests/hpy_tests/_vendored/test_hpytype.py ............... [ 85%] .ss.................................................... [ 87%] ../build/extra_tests/hpy_tests/_vendored/test_hpytype_legacy.py ........ [ 87%] ........ss..............................................ssssss.......... [ 90%] [ 90%] ../build/extra_tests/hpy_tests/_vendored/test_hpyunicode.py ............ [ 90%] .............................. [ 91%] ../build/extra_tests/hpy_tests/_vendored/test_importing.py ... [ 91%] ../build/extra_tests/hpy_tests/_vendored/test_legacy_forbidden.py ..ss [ 91%] ../build/extra_tests/hpy_tests/_vendored/test_number.py ................ [ 92%] .. [ 92%] ../build/extra_tests/hpy_tests/_vendored/test_object.py ................ [ 92%] .................................. [ 93%] ../build/extra_tests/hpy_tests/_vendored/test_slots.py ................. [ 94%] ......................... [ 95%] ../build/extra_tests/hpy_tests/_vendored/test_slots_legacy.py .......... [ 95%] .......................................... [ 96%] ../build/extra_tests/hpy_tests/_vendored/test_support.py .. [ 96%] ../build/extra_tests/hpy_tests/_vendored/test_tracker.py ............ [ 97%] ../build/extra_tests/hpy_tests/_vendored/debug/test_builder_invalid.py . [ 97%] ... [ 97%] ../build/extra_tests/hpy_tests/_vendored/debug/test_charptr.py ..... [ 97%] ../build/extra_tests/hpy_tests/_vendored/debug/test_context_reuse.py . [ 97%] ../build/extra_tests/hpy_tests/_vendored/debug/test_handles_invalid.py . [ 97%] ss... [ 97%] ../build/extra_tests/hpy_tests/_vendored/debug/test_handles_leak.py .... [ 97%] ......... [ 98%] ../build/extra_tests/hpy_tests/_vendored/debug/test_misc.py ..... [ 98%] ../build/extra_tests/hpy_tests/_vendored/hpy_devel/test_abitag.py ... [ 98%] ../build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py FF. [ 98%] ...FF..sFs. [ 98%] ../build/extra_tests/hpy_tests/_vendored/trace/test_trace.py ... [ 98%] ../build/extra_tests/test_pyrepl/test_basic.py .............. [ 99%] ../build/extra_tests/test_pyrepl/test_bugs.py x.s [ 99%] ../build/extra_tests/test_pyrepl/test_functional.py ............ [ 99%] ../build/extra_tests/test_pyrepl/test_keymap.py . [ 99%] ../build/extra_tests/test_pyrepl/test_reader.py . [ 99%] ../build/extra_tests/test_pyrepl/test_readline.py s... [100%] =================================== FAILURES =================================== ________________ TestBitfield.test_bitfield_anonymous_no_align _________________ self = <extra_tests.cffi_tests.cffi0.test_ffi_backend.TestBitfield object at 0x0000000143145d70> @pytest.mark.skipif( "not (sys.platform == 'darwin' and platform.machine() == 'arm64')" " and " "platform.machine().startswith(('arm', 'aarch64'))") def test_bitfield_anonymous_no_align(self): L = FFI().alignof("long long") > self.check("char y; int :1;", 0, 1, 2) ../build/extra_tests/cffi_tests/cffi0/test_ffi_backend.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <extra_tests.cffi_tests.cffi0.test_ffi_backend.TestBitfield object at 0x0000000143145d70> source = 'char y; int :1;', expected_ofs_y = 0, expected_align = 1 expected_size = 2 def check(self, source, expected_ofs_y, expected_align, expected_size): # NOTE: 'expected_*' is the numbers expected from GCC. # The numbers expected from MSVC are not explicitly written # in this file, and will just be taken from the compiler. ffi = FFI() ffi.cdef("struct s1 { %s };" % source) ctype = ffi.typeof("struct s1") # verify the information with gcc ffi1 = FFI() ffi1.cdef(""" static const int Gofs_y, Galign, Gsize; struct s1 *try_with_value(int fieldnum, long long value); """) fnames = [name for name, cfield in ctype.fields if name and cfield.bitsize > 0] setters = ['case %d: s.%s = value; break;' % iname for iname in enumerate(fnames)] lib = ffi1.verify(""" #include <string.h> struct s1 { %s }; struct sa { char a; struct s1 b; }; #define Gofs_y offsetof(struct s1, y) #define Galign offsetof(struct sa, b) #define Gsize sizeof(struct s1) struct s1 *try_with_value(int fieldnum, long long value) { static struct s1 s; memset(&s, 0, sizeof(s)); switch (fieldnum) { %s } return &s; } """ % (source, ' '.join(setters))) if sys.platform == 'win32': expected_ofs_y = lib.Gofs_y expected_align = lib.Galign expected_size = lib.Gsize else: assert (lib.Gofs_y, lib.Galign, lib.Gsize) == ( expected_ofs_y, expected_align, expected_size) # the real test follows assert ffi.offsetof("struct s1", "y") == expected_ofs_y > assert ffi.alignof("struct s1") == expected_align E AssertionError: assert 4 == 1 E + where 4 = <bound method FFI.alignof of <cffi.api.FFI object at 0x0000000143145da8>>('struct s1') E + where <bound method FFI.alignof of <cffi.api.FFI object at 0x0000000143145da8>> = <cffi.api.FFI object at 0x0000000143145da8>.alignof ../build/extra_tests/cffi_tests/cffi0/test_ffi_backend.py:224: AssertionError _______________________ TestBitfield.test_bitfield_zero ________________________ self = <extra_tests.cffi_tests.cffi0.test_ffi_backend.TestBitfield object at 0x00000001415da100> @pytest.mark.skipif( "not (sys.platform == 'darwin' and platform.machine() == 'arm64')" " and " "platform.machine().startswith(('arm', 'aarch64'))") def test_bitfield_zero(self): L = FFI().alignof("long long") > self.check("char y; int :0;", 0, 1, 4) ../build/extra_tests/cffi_tests/cffi0/test_ffi_backend.py:307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <extra_tests.cffi_tests.cffi0.test_ffi_backend.TestBitfield object at 0x00000001415da100> source = 'char y; int :0;', expected_ofs_y = 0, expected_align = 1 expected_size = 4 def check(self, source, expected_ofs_y, expected_align, expected_size): # NOTE: 'expected_*' is the numbers expected from GCC. # The numbers expected from MSVC are not explicitly written # in this file, and will just be taken from the compiler. ffi = FFI() ffi.cdef("struct s1 { %s };" % source) ctype = ffi.typeof("struct s1") # verify the information with gcc ffi1 = FFI() ffi1.cdef(""" static const int Gofs_y, Galign, Gsize; struct s1 *try_with_value(int fieldnum, long long value); """) fnames = [name for name, cfield in ctype.fields if name and cfield.bitsize > 0] setters = ['case %d: s.%s = value; break;' % iname for iname in enumerate(fnames)] lib = ffi1.verify(""" #include <string.h> struct s1 { %s }; struct sa { char a; struct s1 b; }; #define Gofs_y offsetof(struct s1, y) #define Galign offsetof(struct sa, b) #define Gsize sizeof(struct s1) struct s1 *try_with_value(int fieldnum, long long value) { static struct s1 s; memset(&s, 0, sizeof(s)); switch (fieldnum) { %s } return &s; } """ % (source, ' '.join(setters))) if sys.platform == 'win32': expected_ofs_y = lib.Gofs_y expected_align = lib.Galign expected_size = lib.Gsize else: assert (lib.Gofs_y, lib.Galign, lib.Gsize) == ( expected_ofs_y, expected_align, expected_size) # the real test follows assert ffi.offsetof("struct s1", "y") == expected_ofs_y > assert ffi.alignof("struct s1") == expected_align E AssertionError: assert 4 == 1 E + where 4 = <bound method FFI.alignof of <cffi.api.FFI object at 0x00000001415da138>>('struct s1') E + where <bound method FFI.alignof of <cffi.api.FFI object at 0x00000001415da138>> = <cffi.api.FFI object at 0x00000001415da138>.alignof ../build/extra_tests/cffi_tests/cffi0/test_ffi_backend.py:224: AssertionError _________________________________ test_varargs _________________________________ def test_varargs(): ffi = FFI() ffi.cdef("int foo(int x, ...);") lib = ffi.verify(""" int foo(int x, ...) { va_list vargs; va_start(vargs, x); x -= va_arg(vargs, int); x -= va_arg(vargs, int); va_end(vargs); return x; } """) > assert lib.foo(50, ffi.cast("int", 5), ffi.cast("int", 3)) == 42 E AssertionError: assert 50 == 42 E + where 50 = <cdata 'int(*)(int, ...)' 0x102d43f70>(50, <cdata 'int' 5>, <cdata 'int' 3>) E + where <cdata 'int(*)(int, ...)' 0x102d43f70> = <module ''>.foo E + and <cdata 'int' 5> = <bound method FFI.cast of <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x0000000155744bf0>>('int', 5) E + where <bound method FFI.cast of <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x0000000155744bf0>> = <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x0000000155744bf0>.cast E + and <cdata 'int' 3> = <bound method FFI.cast of <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x0000000155744bf0>>('int', 3) E + where <bound method FFI.cast of <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x0000000155744bf0>> = <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x0000000155744bf0>.cast ../build/extra_tests/cffi_tests/cffi0/test_verify.py:1051: AssertionError _____________________________ test_varargs_struct ______________________________ def test_varargs_struct(): ffi = FFI() ffi.cdef("struct foo_s { char a; int b; }; int foo(int x, ...);") lib = ffi.verify(""" struct foo_s { char a; int b; }; int foo(int x, ...) { va_list vargs; struct foo_s s; va_start(vargs, x); s = va_arg(vargs, struct foo_s); va_end(vargs); return s.a - s.b; } """) s = ffi.new("struct foo_s *", [b'B', 1]) > assert lib.foo(50, s[0]) == ord('A') E AssertionError: assert 0 == 65 E + where 0 = <cdata 'int(*)(int, ...)' 0x102d4bf34>(50, <cdata 'struct foo_s' owning 8 bytes>) E + where <cdata 'int(*)(int, ...)' 0x102d4bf34> = <module ''>.foo E + and 65 = ord('A') ../build/extra_tests/cffi_tests/cffi0/test_verify.py:1081: AssertionError _________________________________ test_varargs _________________________________ def test_varargs(): ffi = FFI() ffi.cdef("int foo(int x, ...);") lib = ffi.verify(""" int foo(int x, ...) { va_list vargs; va_start(vargs, x); x -= va_arg(vargs, int); x -= va_arg(vargs, int); va_end(vargs); return x; } """) > assert lib.foo(50, ffi.cast("int", 5), ffi.cast("int", 3)) == 42 E AssertionError: assert 50 == 42 E + where 50 = <cdata 'int(*)(int, ...)' 0x10386ff70>(50, <cdata 'int' 5>, <cdata 'int' 3>) E + where <cdata 'int(*)(int, ...)' 0x10386ff70> = <module ''>.foo E + and <cdata 'int' 5> = <bound method FFI.cast of <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x000000015516ee90>>('int', 5) E + where <bound method FFI.cast of <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x000000015516ee90>> = <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x000000015516ee90>.cast E + and <cdata 'int' 3> = <bound method FFI.cast of <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x000000015516ee90>>('int', 3) E + where <bound method FFI.cast of <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x000000015516ee90>> = <extra_tests.cffi_tests.cffi0.test_verify.FFI object at 0x000000015516ee90>.cast ../build/extra_tests/cffi_tests/cffi0/test_verify.py:1051: AssertionError _____________________________ test_varargs_struct ______________________________ def test_varargs_struct(): ffi = FFI() ffi.cdef("struct foo_s { char a; int b; }; int foo(int x, ...);") lib = ffi.verify(""" struct foo_s { char a; int b; }; int foo(int x, ...) { va_list vargs; struct foo_s s; va_start(vargs, x); s = va_arg(vargs, struct foo_s); va_end(vargs); return s.a - s.b; } """) s = ffi.new("struct foo_s *", [b'B', 1]) > assert lib.foo(50, s[0]) == ord('A') E AssertionError: assert 0 == 65 E + where 0 = <cdata 'int(*)(int, ...)' 0x103877f34>(50, <cdata 'struct foo_s' owning 8 bytes>) E + where <cdata 'int(*)(int, ...)' 0x103877f34> = <module ''>.foo E + and 65 = ord('A') ../build/extra_tests/cffi_tests/cffi0/test_verify.py:1081: AssertionError _____________________ TestZIntegration.test_infrastructure _____________________ self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x0000000140d0dbe8> def test_infrastructure(self): > run_setup_and_program('infrastructure', ''' import snip_infrastructure assert snip_infrastructure.func() == 42 ''') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:109: in run_setup_and_program venv_dir = create_venv(dirname + '-cpy') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:22: in create_venv subprocess.check_call(['virtualenv', _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/infrastructure-cpy'],) kwargs = {}, retcode = 1 cmd = ['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/infrastructure-cpy'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/infrastructure-cpy']' returned non-zero exit status 1. ../build/lib-python/3/subprocess.py:413: CalledProcessError ----------------------------- Captured stdout call ----------------------------- RuntimeError: failed to detect pypy3.11.15-64|pypy3.11.15|pypy3.11-64|pypy3.11|pypy3-64|pypy3|pypy-64|pypy|python3.11.15-64|python3.11.15|python3.11-64|python3.11|python3-64|python3|python-64|python in /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/bin:/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build ____________________ TestZIntegration.test_distutils_module ____________________ self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x0000000140d82288> def test_distutils_module(self): > run_setup_and_program("distutils_module", ''' import snip_basic_verify p = snip_basic_verify.C.getpwuid(0) assert snip_basic_verify.ffi.string(p.pw_name) == b"root" ''') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:136: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:109: in run_setup_and_program venv_dir = create_venv(dirname + '-cpy') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:22: in create_venv subprocess.check_call(['virtualenv', _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/distutils_module-cpy'],) kwargs = {}, retcode = 1 cmd = ['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/distutils_module-cpy'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/distutils_module-cpy']' returned non-zero exit status 1. ../build/lib-python/3/subprocess.py:413: CalledProcessError ----------------------------- Captured stdout call ----------------------------- RuntimeError: failed to detect pypy3.11.15-64|pypy3.11.15|pypy3.11-64|pypy3.11|pypy3-64|pypy3|pypy-64|pypy|python3.11.15-64|python3.11.15|python3.11-64|python3.11|python3-64|python3|python-64|python in /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/bin:/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build __________________ TestZIntegration.test_distutils_package_1 ___________________ self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x00000001414cc218> def test_distutils_package_1(self): > run_setup_and_program("distutils_package_1", ''' import snip_basic_verify1 p = snip_basic_verify1.C.getpwuid(0) assert snip_basic_verify1.ffi.string(p.pw_name) == b"root" ''') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:109: in run_setup_and_program venv_dir = create_venv(dirname + '-cpy') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:22: in create_venv subprocess.check_call(['virtualenv', _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/distutils_package_1-cpy'],) kwargs = {}, retcode = 1 cmd = ['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/distutils_package_1-cpy'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/distutils_package_1-cpy']' returned non-zero exit status 1. ../build/lib-python/3/subprocess.py:413: CalledProcessError ----------------------------- Captured stdout call ----------------------------- RuntimeError: failed to detect pypy3.11.15-64|pypy3.11.15|pypy3.11-64|pypy3.11|pypy3-64|pypy3|pypy-64|pypy|python3.11.15-64|python3.11.15|python3.11-64|python3.11|python3-64|python3|python-64|python in /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/bin:/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build __________________ TestZIntegration.test_distutils_package_2 ___________________ self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x00000001301779f0> def test_distutils_package_2(self): > run_setup_and_program("distutils_package_2", ''' import snip_basic_verify2 p = snip_basic_verify2.C.getpwuid(0) assert snip_basic_verify2.ffi.string(p.pw_name) == b"root" ''') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:109: in run_setup_and_program venv_dir = create_venv(dirname + '-cpy') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:22: in create_venv subprocess.check_call(['virtualenv', _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/distutils_package_2-cpy'],) kwargs = {}, retcode = 1 cmd = ['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/distutils_package_2-cpy'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/distutils_package_2-cpy']' returned non-zero exit status 1. ../build/lib-python/3/subprocess.py:413: CalledProcessError ----------------------------- Captured stdout call ----------------------------- RuntimeError: failed to detect pypy3.11.15-64|pypy3.11.15|pypy3.11-64|pypy3.11|pypy3-64|pypy3|pypy-64|pypy|python3.11.15-64|python3.11.15|python3.11-64|python3.11|python3-64|python3|python-64|python in /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/bin:/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build ___________________ TestZIntegration.test_setuptools_module ____________________ self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x0000000141da6db0> def test_setuptools_module(self): > run_setup_and_program("setuptools_module", ''' import snip_setuptools_verify p = snip_setuptools_verify.C.getpwuid(0) assert snip_setuptools_verify.ffi.string(p.pw_name) == b"root" ''') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:157: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:109: in run_setup_and_program venv_dir = create_venv(dirname + '-cpy') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:22: in create_venv subprocess.check_call(['virtualenv', _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/setuptools_module-cpy'],) kwargs = {}, retcode = 1 cmd = ['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/setuptools_module-cpy'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/setuptools_module-cpy']' returned non-zero exit status 1. ../build/lib-python/3/subprocess.py:413: CalledProcessError ----------------------------- Captured stdout call ----------------------------- RuntimeError: failed to detect pypy3.11.15-64|pypy3.11.15|pypy3.11-64|pypy3.11|pypy3-64|pypy3|pypy-64|pypy|python3.11.15-64|python3.11.15|python3.11-64|python3.11|python3-64|python3|python-64|python in /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/bin:/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build __________________ TestZIntegration.test_setuptools_package_1 __________________ self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x0000000154cc4c28> def test_setuptools_package_1(self): > run_setup_and_program("setuptools_package_1", ''' import snip_setuptools_verify1 p = snip_setuptools_verify1.C.getpwuid(0) assert snip_setuptools_verify1.ffi.string(p.pw_name) == b"root" ''') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:164: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:109: in run_setup_and_program venv_dir = create_venv(dirname + '-cpy') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:22: in create_venv subprocess.check_call(['virtualenv', _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/setuptools_package_1-cpy'],) kwargs = {}, retcode = 1 cmd = ['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/setuptools_package_1-cpy'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/setuptools_package_1-cpy']' returned non-zero exit status 1. ../build/lib-python/3/subprocess.py:413: CalledProcessError ----------------------------- Captured stdout call ----------------------------- RuntimeError: failed to detect pypy3.11.15-64|pypy3.11.15|pypy3.11-64|pypy3.11|pypy3-64|pypy3|pypy-64|pypy|python3.11.15-64|python3.11.15|python3.11-64|python3.11|python3-64|python3|python-64|python in /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/bin:/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build __________________ TestZIntegration.test_setuptools_package_2 __________________ self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x0000000154d516a8> def test_setuptools_package_2(self): > run_setup_and_program("setuptools_package_2", ''' import snip_setuptools_verify2 p = snip_setuptools_verify2.C.getpwuid(0) assert snip_setuptools_verify2.ffi.string(p.pw_name) == b"root" ''') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:171: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:109: in run_setup_and_program venv_dir = create_venv(dirname + '-cpy') ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:22: in create_venv subprocess.check_call(['virtualenv', _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/setuptools_package_2-cpy'],) kwargs = {}, retcode = 1 cmd = ['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/setuptools_package_2-cpy'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-30/setuptools_package_2-cpy']' returned non-zero exit status 1. ../build/lib-python/3/subprocess.py:413: CalledProcessError ----------------------------- Captured stdout call ----------------------------- RuntimeError: failed to detect pypy3.11.15-64|pypy3.11.15|pypy3.11-64|pypy3.11|pypy3-64|pypy3|pypy-64|pypy|python3.11.15-64|python3.11.15|python3.11-64|python3.11|python3-64|python3|python-64|python in /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/bin:/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build _________________________________ test_varargs _________________________________ def test_varargs(): ffi = FFI() ffi.cdef("int foo(int x, ...);") lib = ffi.verify(""" int foo(int x, ...) { va_list vargs; va_start(vargs, x); x -= va_arg(vargs, int); x -= va_arg(vargs, int); va_end(vargs); return x; } """) > assert lib.foo(50, ffi.cast("int", 5), ffi.cast("int", 3)) == 42 E AssertionError: assert 50 == 42 E + where 50 = <cdata 'int(*)(int, ...)' 0x10dae7f50>(50, <cdata 'int' 5>, <cdata 'int' 3>) E + where <cdata 'int(*)(int, ...)' 0x10dae7f50> = <Lib object for 'verify233'>.foo E + and <cdata 'int' 5> = <bound method FFI.cast of <_cffi_backend.FFI object at 0x0000000154cd6700>>('int', 5) E + where <bound method FFI.cast of <_cffi_backend.FFI object at 0x0000000154cd6700>> = <extra_tests.cffi_tests.cffi1.test_verify1.FFI object at 0x0000000153fb6b10>.cast E + and <cdata 'int' 3> = <bound method FFI.cast of <_cffi_backend.FFI object at 0x0000000154cd6700>>('int', 3) E + where <bound method FFI.cast of <_cffi_backend.FFI object at 0x0000000154cd6700>> = <extra_tests.cffi_tests.cffi1.test_verify1.FFI object at 0x0000000153fb6b10>.cast ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:1001: AssertionError ----------------------------- Captured stdout call ----------------------------- generating /tmp/buildbot-arm64/ffi-30/verify233.c setting the current directory to '/tmp/buildbot-arm64/ffi-30' ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running build_ext INFO root:build_ext.py:533 building 'verify233' extension INFO root:spawn.py:38 gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c verify233.c -o ./verify233.o -Werror -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unreachable-code -Qunused-arguments INFO root:spawn.py:38 clang -bundle -undefined dynamic_lookup ./verify233.o -o ./verify233.pypy311-pp73-darwin.so _____________________________ test_varargs_struct ______________________________ def test_varargs_struct(): ffi = FFI() ffi.cdef("struct foo_s { char a; int b; }; int foo(int x, ...);") lib = ffi.verify(""" struct foo_s { char a; int b; }; int foo(int x, ...) { va_list vargs; struct foo_s s; va_start(vargs, x); s = va_arg(vargs, struct foo_s); va_end(vargs); return s.a - s.b; } """) s = ffi.new("struct foo_s *", [b'B', 1]) > assert lib.foo(50, s[0]) == ord('A') E AssertionError: assert 0 == 65 E + where 0 = <cdata 'int(*)(int, ...)' 0x10db3bf50>(50, <cdata 'struct foo_s' owning 8 bytes>) E + where <cdata 'int(*)(int, ...)' 0x10db3bf50> = <Lib object for 'verify235'>.foo E + and 65 = ord('A') ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:1031: AssertionError ----------------------------- Captured stdout call ----------------------------- generating /tmp/buildbot-arm64/ffi-30/verify235.c setting the current directory to '/tmp/buildbot-arm64/ffi-30' ------------------------------ Captured log call ------------------------------- INFO root:dist.py:985 running build_ext INFO root:build_ext.py:533 building 'verify235' extension INFO root:spawn.py:38 gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c verify235.c -o ./verify235.o -Werror -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unreachable-code -Qunused-arguments INFO root:spawn.py:38 clang -bundle -undefined dynamic_lookup ./verify235.o -o ./verify235.pypy311-pp73-darwin.so _____________________________ test_call_some_args ______________________________ dll = <[TypeError("unsupported operand type(s) for &: '_rawffi.alt.CDLL' and 'int'") raised in repr()] CDLL object at 0x131902250> def test_call_some_args(dll): f = dll.my_strchr f.argtypes = [c_char_p] f.restype = c_char_p result = f(b"abcd", ord("b")) > assert result == b"bcd" E AssertionError: assert b'' == b'bcd' E Use -v to get the full diff ../build/extra_tests/ctypes_tests/test_functions.py:58: AssertionError ____________________________ test_keepalive_buffers ____________________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x0000000142b5a218> dll = <[TypeError("unsupported operand type(s) for &: '_rawffi.alt.CDLL' and 'int'") raised in repr()] CDLL object at 0x130231948> @pytest.mark.pypy_only def test_keepalive_buffers(monkeypatch, dll): import gc f = dll.my_strchr f.argtypes = [c_char_p] f.restype = c_char_p # orig__call_funcptr = f._call_funcptr def _call_funcptr(funcptr, *newargs): gc.collect() gc.collect() gc.collect() return orig__call_funcptr(funcptr, *newargs) monkeypatch.setattr(f, '_call_funcptr', _call_funcptr) # result = f(b"abcd", ord("b")) > assert result == b"bcd" E AssertionError: assert b'' == b'bcd' E Use -v to get the full diff ../build/extra_tests/ctypes_tests/test_functions.py:85: AssertionError ___________________ TestDistutils.test_cpymod_setup_install ____________________ self = <_vendored.hpy_devel.test_distutils.TestDistutils object at 0x000000015517ce58> def test_cpymod_setup_install(self): # CPython-only project, no hpy at all. This is a baseline to check # that everything works even without hpy. self.gen_setup_py(""" setup(name = "hpy_test_project", ext_modules = [cpymod], ) """) > self.python('setup.py', 'install') /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:125: in python proc.check_returncode() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = CompletedProcess(args=['/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_setup_install0/venv/bin/python', 'setup.py', 'install'], returncode=1) def check_returncode(self): """Raise CalledProcessError if the exit code is non-zero.""" if self.returncode: > raise CalledProcessError(self.returncode, self.args, self.stdout, self.stderr) E subprocess.CalledProcessError: Command '['/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_setup_install0/venv/bin/python', 'setup.py', 'install']' returned non-zero exit status 1. /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/subprocess.py:502: CalledProcessError ----------------------------- Captured stdout call ----------------------------- [RUN] /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_setup_install0/venv/bin/python setup.py install running install running bdist_egg running egg_info creating hpy_test_project.egg-info writing hpy_test_project.egg-info/PKG-INFO writing dependency_links to hpy_test_project.egg-info/dependency_links.txt writing top-level names to hpy_test_project.egg-info/top_level.txt writing manifest file 'hpy_test_project.egg-info/SOURCES.txt' reading manifest file 'hpy_test_project.egg-info/SOURCES.txt' writing manifest file 'hpy_test_project.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-11.0-arm64/egg running install_lib running build_ext building 'cpymod' extension creating build creating build/temp.macosx-11.0-arm64-pypy311 gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_setup_install0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c cpymod.c -o build/temp.macosx-11.0-arm64-pypy311/cpymod.o creating build/lib.macosx-11.0-arm64-pypy311 clang -bundle -undefined dynamic_lookup build/temp.macosx-11.0-arm64-pypy311/cpymod.o -o build/lib.macosx-11.0-arm64-pypy311/cpymod.pypy311-pp73-darwin.so creating build/bdist.macosx-11.0-arm64 creating build/bdist.macosx-11.0-arm64/egg copying build/lib.macosx-11.0-arm64-pypy311/cpymod.pypy311-pp73-darwin.so -> build/bdist.macosx-11.0-arm64/egg creating stub loader for cpymod.pypy311-pp73-darwin.so byte-compiling build/bdist.macosx-11.0-arm64/egg/cpymod.py to cpymod.pypy311.pyc creating build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/PKG-INFO -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/SOURCES.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/dependency_links.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/top_level.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO writing build/bdist.macosx-11.0-arm64/egg/EGG-INFO/native_libs.txt creating dist creating 'dist/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg' and adding 'build/bdist.macosx-11.0-arm64/egg' to it removing 'build/bdist.macosx-11.0-arm64/egg' (and everything under it) Processing hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg creating /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_setup_install0/venv/lib/pypy3.11/site-packages/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg Extracting hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg to /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_setup_install0/venv/lib/pypy3.11/site-packages Adding hpy-test-project 0.0.0 to easy-install.pth file Installed /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_setup_install0/venv/lib/pypy3.11/site-packages/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg Processing dependencies for hpy-test-project==0.0.0 Searching for hpy-test-project==0.0.0 Reading https://pypi.org/simple/hpy-test-project/ Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ ----------------------------- Captured stderr call ----------------------------- /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_setup_install0/venv/lib/pypy3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_setup_install0/venv/lib/pypy3.11/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! self.initialize_options() zip_safe flag not set; analyzing archive contents... __pycache__.cpymod.pypy311: module references __file__ Couldn't find index page for 'hpy-test-project' (maybe misspelled?) No local packages or working download links found for hpy-test-project==0.0.0 error: Could not find suitable distribution for Requirement.parse('hpy-test-project==0.0.0') ______ TestDistutils.test_cpymod_with_empty_hpy_ext_modules_setup_install ______ self = <_vendored.hpy_devel.test_distutils.TestDistutils object at 0x00000003e04e63d8> def test_cpymod_with_empty_hpy_ext_modules_setup_install(self): # if we have hpy_ext_modules=[] we trigger the hpy.devel monkey # patch. This checks that we don't ext_modules still works after that. self.gen_setup_py(""" setup(name = "hpy_test_project", ext_modules = [cpymod], hpy_ext_modules = [] ) """) > self.python('setup.py', 'install') /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:125: in python proc.check_returncode() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = CompletedProcess(args=['/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_with_empty_hpy_ext0/venv/bin/python', 'setup.py', 'install'], returncode=1) def check_returncode(self): """Raise CalledProcessError if the exit code is non-zero.""" if self.returncode: > raise CalledProcessError(self.returncode, self.args, self.stdout, self.stderr) E subprocess.CalledProcessError: Command '['/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_with_empty_hpy_ext0/venv/bin/python', 'setup.py', 'install']' returned non-zero exit status 1. /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/subprocess.py:502: CalledProcessError ----------------------------- Captured stdout call ----------------------------- [RUN] /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_with_empty_hpy_ext0/venv/bin/python setup.py install running install running bdist_egg running egg_info creating hpy_test_project.egg-info writing hpy_test_project.egg-info/PKG-INFO writing dependency_links to hpy_test_project.egg-info/dependency_links.txt writing top-level names to hpy_test_project.egg-info/top_level.txt writing manifest file 'hpy_test_project.egg-info/SOURCES.txt' reading manifest file 'hpy_test_project.egg-info/SOURCES.txt' writing manifest file 'hpy_test_project.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-11.0-arm64/egg running install_lib running build_ext building 'cpymod' extension creating build creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_with_empty_hpy_ext0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c cpymod.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/cpymod.o creating build/lib.macosx-11.0-arm64-pypy311-hpy-universal clang -bundle -undefined dynamic_lookup build/temp.macosx-11.0-arm64-pypy311-hpy-universal/cpymod.o -o build/lib.macosx-11.0-arm64-pypy311-hpy-universal/cpymod.pypy311-pp73-darwin.so creating build/bdist.macosx-11.0-arm64 creating build/bdist.macosx-11.0-arm64/egg copying build/lib.macosx-11.0-arm64-pypy311-hpy-universal/cpymod.pypy311-pp73-darwin.so -> build/bdist.macosx-11.0-arm64/egg creating stub loader for cpymod.pypy311-pp73-darwin.so byte-compiling build/bdist.macosx-11.0-arm64/egg/cpymod.py to cpymod.pypy311.pyc creating build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/PKG-INFO -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/SOURCES.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/dependency_links.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/top_level.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO writing build/bdist.macosx-11.0-arm64/egg/EGG-INFO/native_libs.txt creating dist creating 'dist/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg' and adding 'build/bdist.macosx-11.0-arm64/egg' to it removing 'build/bdist.macosx-11.0-arm64/egg' (and everything under it) Processing hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg creating /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_with_empty_hpy_ext0/venv/lib/pypy3.11/site-packages/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg Extracting hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg to /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_with_empty_hpy_ext0/venv/lib/pypy3.11/site-packages Adding hpy-test-project 0.0.0 to easy-install.pth file Installed /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_with_empty_hpy_ext0/venv/lib/pypy3.11/site-packages/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg Processing dependencies for hpy-test-project==0.0.0 Searching for hpy-test-project==0.0.0 Reading https://pypi.org/simple/hpy-test-project/ Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ ----------------------------- Captured stderr call ----------------------------- /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_with_empty_hpy_ext0/venv/lib/pypy3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_cpymod_with_empty_hpy_ext0/venv/lib/pypy3.11/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! self.initialize_options() zip_safe flag not set; analyzing archive contents... __pycache__.cpymod.pypy311: module references __file__ Couldn't find index page for 'hpy-test-project' (maybe misspelled?) No local packages or working download links found for hpy-test-project==0.0.0 error: Could not find suitable distribution for Requirement.parse('hpy-test-project==0.0.0') _______________ TestDistutils.test_hpymod_setup_install[hybrid] ________________ self = <_vendored.hpy_devel.test_distutils.TestDistutils object at 0x0000000156b38f38> hpy_abi = 'hybrid' def test_hpymod_setup_install(self, hpy_abi): # check that we can install hpy modules with setup.py install self.gen_setup_py(""" setup(name = "hpy_test_project", hpy_ext_modules = [hpymod], ) """) > self.python('setup.py', f'--hpy-abi={hpy_abi}', 'install') /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:125: in python proc.check_returncode() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = CompletedProcess(args=['/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/bin/python', 'setup.py', '--hpy-abi=hybrid', 'install'], returncode=1) def check_returncode(self): """Raise CalledProcessError if the exit code is non-zero.""" if self.returncode: > raise CalledProcessError(self.returncode, self.args, self.stdout, self.stderr) E subprocess.CalledProcessError: Command '['/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/bin/python', 'setup.py', '--hpy-abi=hybrid', 'install']' returned non-zero exit status 1. /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/subprocess.py:502: CalledProcessError ----------------------------- Captured stdout call ----------------------------- [RUN] /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/bin/python setup.py --hpy-abi=hybrid install running install running bdist_egg running egg_info creating hpy_test_project.egg-info writing hpy_test_project.egg-info/PKG-INFO writing dependency_links to hpy_test_project.egg-info/dependency_links.txt writing top-level names to hpy_test_project.egg-info/top_level.txt writing manifest file 'hpy_test_project.egg-info/SOURCES.txt' reading manifest file 'hpy_test_project.egg-info/SOURCES.txt' writing manifest file 'hpy_test_project.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-11.0-arm64/egg running install_lib running build_ext building 'hpymod' extension creating build creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64 creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64 creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/argparse.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/argparse.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/buildvalue.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/buildvalue.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/format.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/format.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/helpers.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/helpers.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/structseq.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/structseq.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c hpymod.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod.o creating build/lib.macosx-11.0-arm64-pypy311-hpy-hybrid clang -bundle -undefined dynamic_lookup build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/argparse.o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/buildvalue.o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/format.o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/helpers.o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/structseq.o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod.o -o build/lib.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod.hpy0-pypy311-pp73.so writing hpy universal stub loader for hpymod to build/lib.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod.py creating build/bdist.macosx-11.0-arm64 creating build/bdist.macosx-11.0-arm64/egg copying build/lib.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod.hpy0-pypy311-pp73.so -> build/bdist.macosx-11.0-arm64/egg copying build/lib.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod.py -> build/bdist.macosx-11.0-arm64/egg byte-compiling build/bdist.macosx-11.0-arm64/egg/hpymod.py to hpymod.pypy311.pyc creating stub loader for hpymod.hpy0-pypy311-pp73.so stub file already created for hpymod.hpy0-pypy311-pp73.so creating build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/PKG-INFO -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/SOURCES.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/dependency_links.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/top_level.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO writing build/bdist.macosx-11.0-arm64/egg/EGG-INFO/native_libs.txt creating dist creating 'dist/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg' and adding 'build/bdist.macosx-11.0-arm64/egg' to it removing 'build/bdist.macosx-11.0-arm64/egg' (and everything under it) Processing hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg Copying hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg to /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/lib/pypy3.11/site-packages Adding hpy-test-project 0.0.0 to easy-install.pth file Installed /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/lib/pypy3.11/site-packages/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg Processing dependencies for hpy-test-project==0.0.0 Searching for hpy-test-project==0.0.0 Reading https://pypi.org/simple/hpy-test-project/ Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ ----------------------------- Captured stderr call ----------------------------- /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/lib/pypy3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_hybr0/venv/lib/pypy3.11/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! self.initialize_options() zip_safe flag not set; analyzing archive contents... Couldn't find index page for 'hpy-test-project' (maybe misspelled?) No local packages or working download links found for hpy-test-project==0.0.0 error: Could not find suitable distribution for Requirement.parse('hpy-test-project==0.0.0') ______________ TestDistutils.test_hpymod_setup_install[universal] ______________ self = <_vendored.hpy_devel.test_distutils.TestDistutils object at 0x00000003e02dcc28> hpy_abi = 'universal' def test_hpymod_setup_install(self, hpy_abi): # check that we can install hpy modules with setup.py install self.gen_setup_py(""" setup(name = "hpy_test_project", hpy_ext_modules = [hpymod], ) """) > self.python('setup.py', f'--hpy-abi={hpy_abi}', 'install') /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:125: in python proc.check_returncode() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = CompletedProcess(args=['/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/bin/python', 'setup.py', '--hpy-abi=universal', 'install'], returncode=1) def check_returncode(self): """Raise CalledProcessError if the exit code is non-zero.""" if self.returncode: > raise CalledProcessError(self.returncode, self.args, self.stdout, self.stderr) E subprocess.CalledProcessError: Command '['/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/bin/python', 'setup.py', '--hpy-abi=universal', 'install']' returned non-zero exit status 1. /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/subprocess.py:502: CalledProcessError ----------------------------- Captured stdout call ----------------------------- [RUN] /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/bin/python setup.py --hpy-abi=universal install running install running bdist_egg running egg_info creating hpy_test_project.egg-info writing hpy_test_project.egg-info/PKG-INFO writing dependency_links to hpy_test_project.egg-info/dependency_links.txt writing top-level names to hpy_test_project.egg-info/top_level.txt writing manifest file 'hpy_test_project.egg-info/SOURCES.txt' reading manifest file 'hpy_test_project.egg-info/SOURCES.txt' writing manifest file 'hpy_test_project.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-11.0-arm64/egg running install_lib running build_ext building 'hpymod' extension creating build creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64 creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64 creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src creating build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_UNIVERSAL -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include/hpy/forbid_python_h -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/argparse.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/argparse.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_UNIVERSAL -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include/hpy/forbid_python_h -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/buildvalue.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/buildvalue.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_UNIVERSAL -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include/hpy/forbid_python_h -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/format.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/format.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_UNIVERSAL -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include/hpy/forbid_python_h -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/helpers.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/helpers.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_UNIVERSAL -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include/hpy/forbid_python_h -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/structseq.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/structseq.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_UNIVERSAL -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include/hpy/forbid_python_h -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c hpymod.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/hpymod.o creating build/lib.macosx-11.0-arm64-pypy311-hpy-universal clang -bundle -undefined dynamic_lookup build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/argparse.o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/buildvalue.o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/format.o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/helpers.o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/structseq.o build/temp.macosx-11.0-arm64-pypy311-hpy-universal/hpymod.o -o build/lib.macosx-11.0-arm64-pypy311-hpy-universal/hpymod.hpy0.so writing hpy universal stub loader for hpymod to build/lib.macosx-11.0-arm64-pypy311-hpy-universal/hpymod.py creating build/bdist.macosx-11.0-arm64 creating build/bdist.macosx-11.0-arm64/egg copying build/lib.macosx-11.0-arm64-pypy311-hpy-universal/hpymod.hpy0.so -> build/bdist.macosx-11.0-arm64/egg copying build/lib.macosx-11.0-arm64-pypy311-hpy-universal/hpymod.py -> build/bdist.macosx-11.0-arm64/egg byte-compiling build/bdist.macosx-11.0-arm64/egg/hpymod.py to hpymod.pypy311.pyc creating stub loader for hpymod.hpy0.so stub file already created for hpymod.hpy0.so creating build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/PKG-INFO -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/SOURCES.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/dependency_links.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/top_level.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO writing build/bdist.macosx-11.0-arm64/egg/EGG-INFO/native_libs.txt creating dist creating 'dist/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg' and adding 'build/bdist.macosx-11.0-arm64/egg' to it removing 'build/bdist.macosx-11.0-arm64/egg' (and everything under it) Processing hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg Copying hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg to /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/lib/pypy3.11/site-packages Adding hpy-test-project 0.0.0 to easy-install.pth file Installed /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/lib/pypy3.11/site-packages/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg Processing dependencies for hpy-test-project==0.0.0 Searching for hpy-test-project==0.0.0 Reading https://pypi.org/simple/hpy-test-project/ Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ ----------------------------- Captured stderr call ----------------------------- /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/lib/pypy3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_setup_install_univ0/venv/lib/pypy3.11/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! self.initialize_options() zip_safe flag not set; analyzing archive contents... Couldn't find index page for 'hpy-test-project' (maybe misspelled?) No local packages or working download links found for hpy-test-project==0.0.0 error: Could not find suitable distribution for Requirement.parse('hpy-test-project==0.0.0') ___________________ TestDistutils.test_hpymod_legacy[hybrid] ___________________ self = <_vendored.hpy_devel.test_distutils.TestDistutils object at 0x00000001549e9670> hpy_abi = 'hybrid' def test_hpymod_legacy(self, hpy_abi): if hpy_abi == 'universal': pytest.skip('only for cpython and hybrid ABIs') self.gen_setup_py(""" setup(name = "hpy_test_project", hpy_ext_modules = [hpymod_legacy], install_requires = [], ) """) > self.python('setup.py', f"--hpy-abi={hpy_abi}", 'install') /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:343: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:125: in python proc.check_returncode() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = CompletedProcess(args=['/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/bin/python', 'setup.py', '--hpy-abi=hybrid', 'install'], returncode=1) def check_returncode(self): """Raise CalledProcessError if the exit code is non-zero.""" if self.returncode: > raise CalledProcessError(self.returncode, self.args, self.stdout, self.stderr) E subprocess.CalledProcessError: Command '['/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/bin/python', 'setup.py', '--hpy-abi=hybrid', 'install']' returned non-zero exit status 1. /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/subprocess.py:502: CalledProcessError ----------------------------- Captured stdout call ----------------------------- [RUN] /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/bin/python setup.py --hpy-abi=hybrid install running install running bdist_egg running egg_info creating hpy_test_project.egg-info writing hpy_test_project.egg-info/PKG-INFO writing dependency_links to hpy_test_project.egg-info/dependency_links.txt writing top-level names to hpy_test_project.egg-info/top_level.txt writing manifest file 'hpy_test_project.egg-info/SOURCES.txt' reading manifest file 'hpy_test_project.egg-info/SOURCES.txt' writing manifest file 'hpy_test_project.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-11.0-arm64/egg running install_lib running build_ext building 'hpymod_legacy' extension creating build creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64 creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64 creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src creating build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/argparse.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/argparse.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/buildvalue.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/buildvalue.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/format.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/format.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/helpers.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/helpers.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/structseq.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/structseq.o gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -DHPY -DHPY_ABI_HYBRID -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/include -I/private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/include -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.11 -c hpymod_legacy.c -o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod_legacy.o creating build/lib.macosx-11.0-arm64-pypy311-hpy-hybrid clang -bundle -undefined dynamic_lookup build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/argparse.o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/buildvalue.o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/format.o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/helpers.o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/hpy/devel/src/runtime/structseq.o build/temp.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod_legacy.o -o build/lib.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod_legacy.hpy0-pypy311-pp73.so writing hpy universal stub loader for hpymod_legacy to build/lib.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod_legacy.py creating build/bdist.macosx-11.0-arm64 creating build/bdist.macosx-11.0-arm64/egg copying build/lib.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod_legacy.hpy0-pypy311-pp73.so -> build/bdist.macosx-11.0-arm64/egg copying build/lib.macosx-11.0-arm64-pypy311-hpy-hybrid/hpymod_legacy.py -> build/bdist.macosx-11.0-arm64/egg byte-compiling build/bdist.macosx-11.0-arm64/egg/hpymod_legacy.py to hpymod_legacy.pypy311.pyc creating stub loader for hpymod_legacy.hpy0-pypy311-pp73.so stub file already created for hpymod_legacy.hpy0-pypy311-pp73.so creating build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/PKG-INFO -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/SOURCES.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/dependency_links.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO copying hpy_test_project.egg-info/top_level.txt -> build/bdist.macosx-11.0-arm64/egg/EGG-INFO writing build/bdist.macosx-11.0-arm64/egg/EGG-INFO/native_libs.txt creating dist creating 'dist/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg' and adding 'build/bdist.macosx-11.0-arm64/egg' to it removing 'build/bdist.macosx-11.0-arm64/egg' (and everything under it) Processing hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg Copying hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg to /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/lib/pypy3.11/site-packages Adding hpy-test-project 0.0.0 to easy-install.pth file Installed /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/lib/pypy3.11/site-packages/hpy_test_project-0.0.0-py3.11-macosx-11.0-arm64.egg Processing dependencies for hpy-test-project==0.0.0 Searching for hpy-test-project==0.0.0 Reading https://pypi.org/simple/hpy-test-project/ Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ ----------------------------- Captured stderr call ----------------------------- /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/lib/pypy3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /private/tmp/buildbot-arm64/pytest-of-matti/pytest-76/test_hpymod_legacy_hybrid_0/venv/lib/pypy3.11/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! self.initialize_options() zip_safe flag not set; analyzing archive contents... Couldn't find index page for 'hpy-test-project' (maybe misspelled?) No local packages or working download links found for hpy-test-project==0.0.0 error: Could not find suitable distribution for Requirement.parse('hpy-test-project==0.0.0') =============================== warnings summary =============================== ../build/lib_pypy/cffi/_imp_emulation.py:4 /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/cffi/_imp_emulation.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses from imp import * cffi_tests/test_c.py::test_callback_return_type /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_callback_return_type.<locals>.cb at 0x0000000130c826e0>, trying to convert the result back to C:: None OverflowError: long too big to convert warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) cffi_tests/test_c.py::test_callback_returning_wchar_t /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_callback_returning_wchar_t.<locals>.cb at 0x00000001540a07a0>:: None Traceback (most recent call last): File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/cffi_tests/test_c.py", line 1723, in cb raise ValueError ValueError warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) cffi_tests/test_c.py::test_cast_with_functionptr /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/cffi_tests/test_c.py:2141: UserWarning: implicit cast from 'char *' to 'void(*)()' will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct) newp(BStructPtr, [cast(BCharP, 0)]) cffi_tests/cffi0/test_ffi_backend.py::TestFFI::test_callback_crash /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function BackendTests.test_callback_crash.<locals>.cb at 0x0000000141a68e60>:: None Traceback (most recent call last): File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/cffi_tests/cffi0/backend_tests.py", line 849, in cb raise Exception Exception warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) cffi_tests/cffi0/test_ffi_backend.py::TestFFI::test_callback_decorator /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function BackendTests.test_callback_decorator.<locals>.cb at 0x00000001301a60e0>, trying to convert the result back to C:: None OverflowError: int too large to convert to int warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) cffi_tests/cffi0/test_parsing.py::test_missing_newline_bug /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/cffi/cparser.py:436: UserWarning: #pragma in cdef() are entirely ignored. They should be removed for now, otherwise your code might behave differently in a future version of CFFI if #pragma support gets added. Note that '#pragma pack' needs to be replaced with the 'packed' keyword argument to cdef(). warnings.warn( cffi_tests/cffi1/test_ffi_obj.py::test_ffi_callback /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_ffi_callback.<locals>.<lambda> at 0x0000000141146f20>:: None Traceback (most recent call last): File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/cffi_tests/cffi1/test_ffi_obj.py", line 132, in <lambda> assert ffi.callback("int(int)", lambda x: x + "", error=-66)(10) == -66 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: unsupported operand type(s) for +: 'int' and 'str' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) cffi_tests/cffi1/test_ffi_obj.py::test_ffi_callback_decorator /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_ffi_callback_decorator.<locals>.<lambda> at 0x0000000152566ce0>:: None Traceback (most recent call last): File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/cffi_tests/cffi1/test_ffi_obj.py", line 138, in <lambda> assert deco(lambda x: x + "")(10) == -66 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: unsupported operand type(s) for +: 'int' and 'str' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) cffi_tests/cffi1/test_new_ffi_1.py::TestNewFFI1::test_callback_crash /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function TestNewFFI1.test_callback_crash.<locals>.cb at 0x00000001541659a0>:: None Traceback (most recent call last): File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/cffi_tests/cffi1/test_new_ffi_1.py", line 864, in cb raise Exception Exception warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) cffi_tests/cffi1/test_new_ffi_1.py::TestNewFFI1::test_callback_decorator /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function TestNewFFI1.test_callback_decorator.<locals>.cb at 0x000000015392ce60>, trying to convert the result back to C:: None OverflowError: int too large to convert to int warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) cffi_tests/cffi1/test_recompiler.py::test_macro_var_callback /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function test_macro_var_callback.<locals>.get_my_value at 0x0000000130ca06e0>, trying to convert the result back to C:: None TypeError: initializer for ctype 'int *' must be a cdata pointer, not str warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) hpy_tests/test_dist_info.py::test_get_distribution /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/extra_tests/hpy_tests/test_dist_info.py:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources -- Docs: https://docs.pytest.org/en/stable/warnings.html - generated xml file: /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/extra.log - ============================= slowest 20 durations ============================= 12.97s call cffi_tests/cffi0/test_verify.py::test_ffi_new_with_cycles 11.78s call cffi_tests/cffi1/test_verify1.py::test_ffi_new_with_cycles 11.59s call cffi_tests/cffi0/test_vgen.py::test_ffi_new_with_cycles 10.96s call hpy_tests/_vendored/hpy_devel/test_distutils.py::TestDistutils::test_hpymod_setup_install[hybrid] 10.90s call hpy_tests/_vendored/hpy_devel/test_distutils.py::TestDistutils::test_hpymod_setup_install[universal] 10.90s call hpy_tests/_vendored/hpy_devel/test_distutils.py::TestDistutils::test_hpymod_legacy[hybrid] 10.71s call hpy_tests/_vendored/hpy_devel/test_distutils.py::TestDistutils::test_cpymod_setup_install 10.51s call hpy_tests/_vendored/hpy_devel/test_distutils.py::TestDistutils::test_cpymod_with_empty_hpy_ext_modules_setup_install 8.88s call cffi_tests/cffi1/test_verify1.py::test_struct_float_vs_int 7.74s setup hpy_tests/_vendored/hpy_devel/test_distutils.py::TestDistutils::test_cpymod_setup_install 7.56s call cffi_tests/cffi0/test_verify.py::test_struct_float_vs_int 7.41s call test_venv.py::test_venv_of_venv 7.05s call cffi_tests/cffi0/test_vgen.py::test_struct_float_vs_int 5.76s call cffi_tests/cffi1/test_verify1.py::test_struct_bad_sized_integer 5.41s call cffi_tests/cffi0/test_vgen.py::test_struct_bad_sized_integer 5.06s call cffi_tests/cffi0/test_verify.py::test_struct_bad_sized_integer 5.01s call test_asyncio.py::test_async_for 4.94s call test_binop_overriding.py::test_binop_combinations_more_exhaustive 4.70s call test_bufferedreader.py::test_stateful[Stream] 4.47s call cffi_tests/cffi1/test_verify1.py::test_global_const_int_size =========================== short test summary info ============================ SKIPPED [1] ../build/extra_tests/test_msvcrt.py:4: could not import 'msvcrt': The 'msvcrt' module is only available on Windows SKIPPED [1] ../build/extra_tests/test_vmprof_greenlet.py:4: could not import 'vmprof': No module named 'vmprof' SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_parse_c_type.py:12: not available on pypy SKIPPED [1] ../build/extra_tests/ctypes_tests/test_commethods.py:10: could not import 'skip_the_whole_module': No module named 'skip_the_whole_module' SKIPPED [1] ../build/extra_tests/test_dis.py:14: PyPy does not really try to be compatible SKIPPED [1] ../build/extra_tests/test_greenlet_thread.py:105: not implemented on PyPy SKIPPED [1] ../build/extra_tests/test_greenlet_thread.py:127: not implemented on PyPy SKIPPED [15] ../build/extra_tests/test_pypy_remote_debug.py: only works on linux so far SKIPPED [1] ../build/extra_tests/test_pypy_remote_debug.py:276: not implemented SKIPPED [1] ../build/extra_tests/test_pypy_remote_debug.py:290: not implemented SKIPPED [1] ../build/extra_tests/test_recursion.py:21: fails on py3.10, fills up the logs, and crashes the buildbot summary SKIPPED [20] ../build/extra_tests/cffi_tests/test_c.py:23: _testunc() not available SKIPPED [1] ../build/extra_tests/cffi_tests/test_c.py:1206: untested SKIPPED [1] ../build/extra_tests/cffi_tests/test_c.py:1298: untested SKIPPED [1] ../build/extra_tests/cffi_tests/test_c.py:1311: untested SKIPPED [1] ../build/extra_tests/cffi_tests/test_c.py:1323: untested SKIPPED [1] ../build/extra_tests/cffi_tests/test_c.py: PyPy does not report a traceback SKIPPED [1] ../build/extra_tests/cffi_tests/test_c.py:2572: later SKIPPED [1] ../build/extra_tests/cffi_tests/test_c.py:2976: testing variadic broken on macos (issue 4937) SKIPPED [1] ../build/extra_tests/cffi_tests/test_c.py:3071: GetLastError(): only for Windows SKIPPED [1] ../build/extra_tests/cffi_tests/test_c.py: PyPy does not warn SKIPPED [1] ../build/extra_tests/cffi_tests/test_c.py:3777: not for pypy SKIPPED [1] ../build/extra_tests/cffi_tests/test_c.py:4431: pypy's bytearray are never locked SKIPPED [5] ../build/extra_tests/cffi_tests/cffi0/backend_tests.py:331: NotImplementedError: wchar_t SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/backend_tests.py:1173: buffer() with ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/backend_tests.py:1193: buffer() with ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/backend_tests.py:1210: buffer() with ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/backend_tests.py:1229: buffer() with ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/backend_tests.py:1241: buffer() with ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/backend_tests.py:1260: buffer() with ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/backend_tests.py:1283: buffer() with ctypes backend SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/backend_tests.py:1312: later? SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/backend_tests.py:1372: callback with '...' SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ctypes.py:16: ctypes backend: not supported: initializers for function pointers SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ctypes.py:20: ctypes backend: not supported: passing a list for a pointer argument SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ctypes.py:24: ctypes backend: not supported: passing a list for a pointer argument SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ctypes.py:28: ctypes backend: not supported: casting to array SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ctypes.py:31: ctypes backend: not supported: nested anonymous struct SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ctypes.py:34: ctypes backend: not supported: nested anonymous struct SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ctypes.py:37: ctypes backend: not supported: nested anonymous union SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ctypes.py:40: ctypes backend: not supported: nested anonymous union SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ctypes.py:44: ctypes backend: not supported in Python 3: CType SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_function.py:107: win32 only SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_function.py:120: probably no symbol 'stderr' in the lib SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_function.py:137: probably no symbol 'stderr' in the lib SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_function.py:154: probably no symbol 'stderr' in the lib SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_function.py:221: probably no symbol 'stderr' in the lib SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_function.py:281: probably no symbol 'stdout' in the lib SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_function.py:440: Windows-only test SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_function.py:455: Windows-only test SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ffi_backend.py:285: condition: (sys.platform == 'darwin' and platform.machine() == 'arm64') or not platform.machine().startswith(('arm', 'aarch64')) SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ffi_backend.py:315: condition: (sys.platform == 'darwin' and platform.machine() == 'arm64') or not platform.machine().startswith(('arm', 'aarch64')) SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ffi_backend.py:367: condition: sys.platform != 'win32' SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_function.py:253: not supported with the ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_function.py:310: ctypes limitation on pypy SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_function.py:334: FILE not supported with the ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_function.py:373: not supported by the ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_function.py:383: not supported by the ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_function.py:417: seems to fail with the ctypes backend on windows SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_function.py:533: not with the ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_function.py:551: the ctypes backend doesn't support this SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ownlib.py:208: XXX errno issue with ctypes on pypy? SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ownlib.py:231: not supported by the ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ownlib.py:243: not supported by the ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ownlib.py:342: not implemented with the ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ownlib.py:360: not implemented with the ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ownlib.py:375: fails with the ctypes backend on some architectures SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ownlib.py:401: not for the ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_ownlib.py:425: not working on win32 on the ctypes backend SKIPPED [1] ../build/extra_tests/cffi_tests/cffi0/test_parsing.py:410: Only for Windows SKIPPED [12] ../build/extra_tests/cffi_tests/cffi0/test_verify.py:104: needs GCC SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_verify.py:296: not implemented in verify(): complex types SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_verify.py:416: XXX test or fully prevent char16_t and char32_t from working in ffi.verify() mode SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_verify.py:455: ignored so far SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_verify.py:1546: long double doesn't have enough precision SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_verify.py:1650: likely, we cannot assign to stdout SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_verify.py:2160: win32-only test SKIPPED [2] ../build/extra_tests/cffi_tests/cffi0/test_verify.py:2237: win32-only test SKIPPED [4] ../build/extra_tests/cffi_tests/cffi0/test_verify.py:2501: only running the memory-intensive test on Linux SKIPPED [5] ../build/extra_tests/cffi_tests/cffi0/test_version.py:9: this is embedded version SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_cffi_binary.py:9: _cffi_backend module is built-in SKIPPED [2] ../build/extra_tests/cffi_tests/cffi1/test_commontypes.py:12: cannot find ../c/commontypes.c SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_ffi_obj.py:337: for windows SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_function_args.py:15: this test is skipped because it keeps finding failures in libffi, instead of cffi SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_new_ffi_1.py:1269: later? SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_new_ffi_1.py:1325: callback with '...' SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_recompiler.py:751: for python 2.x SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_recompiler.py:2018: can currently declare a function with an opaque struct as argument, but AFAICT it's impossible to call it later SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_recompiler.py:2085: only for MSVC SKIPPED [6] ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:67: needs GCC SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:418: ignored so far SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:1404: not available SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:1502: long double doesn't have enough precision SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:1600: likely, we cannot assign to stdout SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:2106: win32-only test SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:2182: win32-only test SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:2256: Windows only SKIPPED [1] ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:2306: Windows only SKIPPED [2] ../build/extra_tests/cffi_tests/cffi1/test_verify1.py:2320: only running the memory-intensive test on Linux SKIPPED [16] ../build/extra_tests/cffi_tests/embedding/test_basic.py:26: LinkError: command '/usr/bin/clang' failed with exit code 1 SKIPPED [1] ../build/extra_tests/ctypes_tests/test_win32.py:7: condition: sys.platform != 'win32' SKIPPED [2] ../build/extra_tests/hpy_tests/_vendored/test_hpyfield.py:111: CPython only SKIPPED [2] ../build/extra_tests/hpy_tests/_vendored/test_hpyfield.py:131: CPython only SKIPPED [2] ../build/extra_tests/hpy_tests/_vendored/test_hpyfield.py:254: CPython only SKIPPED [2] ../build/extra_tests/hpy_tests/_vendored/test_hpyfield.py:278: CPython only SKIPPED [4] ../build/extra_tests/hpy_tests/_vendored/test_hpytype.py:532: Skipped SKIPPED [2] ../build/extra_tests/hpy_tests/_vendored/test_hpytype_legacy.py:42: seems to cause segfault later in testing? SKIPPED [2] ../build/extra_tests/hpy_tests/_vendored/test_hpytype_legacy.py:85: seems to cause segfault later in testing? SKIPPED [2] ../build/extra_tests/hpy_tests/_vendored/test_hpytype_legacy.py:120: seems to cause segfault later in testing? SKIPPED [1] ../build/extra_tests/hpy_tests/_vendored/test_legacy_forbidden.py:39: linux only SKIPPED [1] ../build/extra_tests/hpy_tests/_vendored/test_legacy_forbidden.py:58: linux only SKIPPED [1] ../build/extra_tests/hpy_tests/_vendored/debug/test_handles_invalid.py:37: Cannot recover from use-after-close on pypy SKIPPED [1] ../build/extra_tests/hpy_tests/_vendored/debug/test_handles_invalid.py:111: It's impossible to recover from use-after-close on pypy SKIPPED [1] ../build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:297: cpython only SKIPPED [1] ../build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py:336: only for cpython and hybrid ABIs SKIPPED [1] ../build/extra_tests/test_pyrepl/test_bugs.py:49: condition: os.name != 'posix' or 'darwin' in sys.platform or 'kfreebsd' in sys.platform SKIPPED [1] ../build/extra_tests/test_pyrepl/test_readline.py:8: condition: os.name != 'posix' or 'darwin' in sys.platform or 'freebsd' in sys.platform XFAIL ../build/extra_tests/cffi_tests/cffi1/test_verify1.py::test_callback_in_thread reason: adapt or remove XFAIL ../build/extra_tests/cffi_tests/cffi1/test_verify1.py::test_keepalive_lib reason: adapt or remove XFAIL ../build/extra_tests/cffi_tests/cffi1/test_verify1.py::test_keepalive_ffi reason: adapt or remove XFAIL ../build/extra_tests/cffi_tests/cffi1/test_verify1.py::test_bad_global_array_with_dotdotdot_length reason: was detected only because 23 bytes cannot be divided by 4; redo more generally XFAIL ../build/extra_tests/ctypes_tests/test_functions.py::test_warnings warnings are disabled XFAIL ../build/extra_tests/ctypes_tests/test_functions.py::test_errcheck XFAIL ../build/extra_tests/ctypes_tests/test_numbers.py::test_no_missing_shape_to_ffi_type XFAIL ../build/extra_tests/test_pyrepl/test_bugs.py::test_transpose_at_start reason: [NOTRUN] event missing XPASS ../build/extra_tests/ctypes_tests/test_numbers.py::test_pointer_to_long_double FAILED ../build/extra_tests/cffi_tests/cffi0/test_ffi_backend.py::TestBitfield::test_bitfield_anonymous_no_align FAILED ../build/extra_tests/cffi_tests/cffi0/test_ffi_backend.py::TestBitfield::test_bitfield_zero FAILED ../build/extra_tests/cffi_tests/cffi0/test_verify.py::test_varargs - A... FAILED ../build/extra_tests/cffi_tests/cffi0/test_verify.py::test_varargs_struct FAILED ../build/extra_tests/cffi_tests/cffi0/test_vgen.py::test_varargs - Ass... FAILED ../build/extra_tests/cffi_tests/cffi0/test_vgen.py::test_varargs_struct FAILED ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_infrastructure FAILED ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_distutils_module FAILED ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_distutils_package_1 FAILED ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_distutils_package_2 FAILED ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_setuptools_module FAILED ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_setuptools_package_1 FAILED ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_setuptools_package_2 FAILED ../build/extra_tests/cffi_tests/cffi1/test_verify1.py::test_varargs - ... FAILED ../build/extra_tests/cffi_tests/cffi1/test_verify1.py::test_varargs_struct FAILED ../build/extra_tests/ctypes_tests/test_functions.py::test_call_some_args FAILED ../build/extra_tests/ctypes_tests/test_functions.py::test_keepalive_buffers FAILED ../build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py::TestDistutils::test_cpymod_setup_install FAILED ../build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py::TestDistutils::test_cpymod_with_empty_hpy_ext_modules_setup_install FAILED ../build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py::TestDistutils::test_hpymod_setup_install[hybrid] FAILED ../build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py::TestDistutils::test_hpymod_setup_install[universal] FAILED ../build/extra_tests/hpy_tests/_vendored/hpy_devel/test_distutils.py::TestDistutils::test_hpymod_legacy[hybrid] = 22 failed, 2949 passed, 221 skipped, 8 xfailed, 1 xpassed, 13 warnings in 836.67s (0:13:56) = n: 3 Arg 0: 13 Arg 1: 38 Arg 2: 100 n: 2 Arg 0: 13 Arg 1: 38 program finished with exit code 1 elapsedTime=837.002997