pypy-venv/bin/pypy -m pytest ../build/extra_tests --junitxml=extra.log --durations=20 -raw "" ""
in dir /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv (timeout 1200 secs)
watching logfiles {'pytestLog': 'extra.log'}
argv: ['pypy-venv/bin/pypy', '-m', 'pytest', '../build/extra_tests', '--junitxml=extra.log', '--durations=20', '-raw', '', '']
environment:
HOME=/Users/matti
HOMEBREW_CELLAR=/opt/homebrew_x86_64/Cellar
HOMEBREW_PREFIX=/opt/homebrew_x86_64
HOMEBREW_REPOSITORY=/opt/homebrew_x86_64
INFOPATH=/opt/homebrew_x86_64/share/info:
LANG=en_US.UTF-8
LC_ADDRESS=en_AU.UTF-8
LC_IDENTIFICATION=en_AU.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LC_MONETARY=en_AU.UTF-8
LC_NAME=en_AU.UTF-8
LC_NUMERIC=en_AU.UTF-8
LC_PAPER=en_AU.UTF-8
LC_TELEPHONE=en_AU.UTF-8
LC_TIME=en_AU.UTF-8
LOGNAME=matti
OLDPWD=/Users/matti
PATH=/Users/matti/oss/pypy-x86_64-buildbot/bin:/opt/homebrew_x86_64/bin:/opt/homebrew_x86_64/sbin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
PKG_CONFIG_PATH=/opt/homebrew_x86_64/opt/openssl@1.1/lib/pkgconfig
PWD=/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv
PYPY_USESSION_DIR=/tmp/buildbot-x86_64
SHELL=/bin/zsh
SHLVL=2
SSH_CLIENT=10.0.0.15 58962 22
SSH_CONNECTION=10.0.0.15 58962 10.0.0.16 22
SSH_TTY=/dev/ttys000
TERM=xterm-256color
TMPDIR=/tmp/buildbot-x86_64
USER=matti
_=/Users/matti/oss/pypy-x86_64-buildbot/bin/buildslave
using PTY: False
/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/site-packages/hypothesis/extra/pytestplugin.py:61: HypothesisWarning:
You are using Pytest version 4.0.0. Hypothesis tests work with any test
runner, but our Pytest plugin requires Pytest 4.3 or newer.
Note that the Pytest developers no longer support this version either!
Disabling the Hypothesis pytest plugin...
warnings.warn(PYTEST_TOO_OLD_MESSAGE % (pytest.__version__,), HypothesisWarning)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.23-alpha], pytest-4.0.0, py-1.11.0, pluggy-0.13.1
rootdir: /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests, inifile: pytest.ini
plugins: hypothesis-4.57.1
collected 2479 items / 2 skipped
../build/extra_tests/test_binop_overriding.py .... [ 0%]
../build/extra_tests/test_bytes.py .......... [ 0%]
../build/extra_tests/test_cPickle.py ... [ 0%]
../build/extra_tests/test_cStringIO.py . [ 0%]
../build/extra_tests/test_code.py . [ 0%]
../build/extra_tests/test_datetime.py .................................. [ 2%]
[ 2%]
../build/extra_tests/test_dbm.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_greenlet_thread.py .....ss [ 3%]
../build/extra_tests/test_greenlet_tracing.py .. [ 3%]
../build/extra_tests/test_grp.py ... [ 3%]
../build/extra_tests/test_interpreter.py . [ 3%]
../build/extra_tests/test_itertools.py ... [ 3%]
../build/extra_tests/test_jit.py ... [ 3%]
../build/extra_tests/test_json.py ..... [ 3%]
../build/extra_tests/test_os.py ......... [ 4%]
../build/extra_tests/test_posix_extra.py . [ 4%]
../build/extra_tests/test_pypy_modules.py .............................. [ 5%]
........ [ 5%]
../build/extra_tests/test_pypy_remote_debug.py sssssssssssssssss [ 6%]
../build/extra_tests/test_pypy_util_cffi.py . [ 6%]
../build/extra_tests/test_semlock.py . [ 6%]
../build/extra_tests/test_sqlite3.py .......................... [ 7%]
../build/extra_tests/test_startup.py .. [ 7%]
../build/extra_tests/test_string.py . [ 7%]
../build/extra_tests/test_stringio.py ... [ 7%]
../build/extra_tests/test_structseq.py ...... [ 8%]
../build/extra_tests/test_syslog.py . [ 8%]
../build/extra_tests/test_testcapi.py . [ 8%]
../build/extra_tests/test_textio.py . [ 8%]
../build/extra_tests/test_unicode.py .......................... [ 9%]
../build/extra_tests/test_vmprof_greenlet.py F [ 9%]
../build/extra_tests/cffi_tests/test_c.py .............................. [ 10%]
............................sssssssssssssss.sss...sss.s................. [ 13%]
....................s.............s......s..s....................s...... [ 16%]
............s..........s........................s...... [ 18%]
../build/extra_tests/cffi_tests/test_version.py .s [ 18%]
../build/extra_tests/cffi_tests/cffi0/test_cdata.py . [ 18%]
../build/extra_tests/cffi_tests/cffi0/test_ctypes.py ..................s [ 19%]
...............s.s.s.......s.........................sssssss..s..s...... [ 22%]
.......................................ssssssss. [ 24%]
../build/extra_tests/cffi_tests/cffi0/test_ffi_backend.py .............. [ 24%]
.....................................................................s.. [ 27%]
.s....................................................................ss [ 30%]
ss..s...s...........ss...................s.s...s................... [ 33%]
../build/extra_tests/cffi_tests/cffi0/test_function.py ......ssss..s.s.s [ 34%]
.s.s..ss..sss..ss [ 34%]
../build/extra_tests/cffi_tests/cffi0/test_model.py ............. [ 35%]
../build/extra_tests/cffi_tests/cffi0/test_ownlib.py .sss...sssss [ 35%]
../build/extra_tests/cffi_tests/cffi0/test_parsing.py .................. [ 36%]
.......s........... [ 37%]
../build/extra_tests/cffi_tests/cffi0/test_platform.py .... [ 37%]
../build/extra_tests/cffi_tests/cffi0/test_unicode_literals.py ......... [ 37%]
... [ 37%]
../build/extra_tests/cffi_tests/cffi0/test_verify.py ....sssss...s...... [ 38%]
s......s.....s.......................................................... [ 41%]
............................s..........................s...s............ [ 44%]
ss... [ 44%]
../build/extra_tests/cffi_tests/cffi0/test_verify2.py ....sssss...s..... [ 45%]
.s......s.....s......................................................... [ 48%]
.............................s..........................s...s........... [ 51%]
.ss... [ 51%]
../build/extra_tests/cffi_tests/cffi0/test_version.py sssss [ 51%]
../build/extra_tests/cffi_tests/cffi0/test_vgen.py ....sssss...s......s. [ 52%]
.....s.....s............................................................ [ 55%]
..........................s..........................s...s............ss [ 58%]
... [ 58%]
../build/extra_tests/cffi_tests/cffi0/test_vgen2.py ....sssss...s......s [ 59%]
......s.....s........................................................... [ 62%]
...........................s..........................s...s............s [ 65%]
s... [ 65%]
../build/extra_tests/cffi_tests/cffi0/test_zdistutils.py ............... [ 65%]
....................... [ 66%]
../build/extra_tests/cffi_tests/cffi0/test_zintegration.py FFFFFFF. [ 67%]
../build/extra_tests/cffi_tests/cffi1/test_cffi_binary.py s [ 67%]
../build/extra_tests/cffi_tests/cffi1/test_commontypes.py ss. [ 67%]
../build/extra_tests/cffi_tests/cffi1/test_dlopen.py ............... [ 67%]
../build/extra_tests/cffi_tests/cffi1/test_dlopen_unicode_literals.py .. [ 67%]
............. [ 68%]
../build/extra_tests/cffi_tests/cffi1/test_ffi_obj.py .................. [ 69%]
...........s............. [ 70%]
../build/extra_tests/cffi_tests/cffi1/test_function_args.py s [ 70%]
../build/extra_tests/cffi_tests/cffi1/test_new_ffi_1.py ................ [ 70%]
.................................................................s...s.. [ 73%]
.................................... [ 75%]
../build/extra_tests/cffi_tests/cffi1/test_pkgconfig.py ... [ 75%]
../build/extra_tests/cffi_tests/cffi1/test_re_python.py ................ [ 75%]
..... [ 76%]
../build/extra_tests/cffi_tests/cffi1/test_realize_c_type.py ......... [ 76%]
../build/extra_tests/cffi_tests/cffi1/test_recompiler.py ............... [ 77%]
........................................................................ [ 80%]
...............................................s.....s.................. [ 82%]
........ [ 83%]
../build/extra_tests/cffi_tests/cffi1/test_unicode_literals.py ....... [ 83%]
../build/extra_tests/cffi_tests/cffi1/test_verify1.py ...sssss...s...... [ 84%]
............s........................................................... [ 87%]
...............s.....xxxs...x......................s...s....s...sss. [ 89%]
../build/extra_tests/cffi_tests/cffi1/test_zdist.py .................... [ 90%]
... [ 90%]
../build/extra_tests/cffi_tests/embedding/test_basic.py FFFFF [ 91%]
../build/extra_tests/cffi_tests/embedding/test_performance.py FFFFF [ 91%]
../build/extra_tests/cffi_tests/embedding/test_recursive.py F [ 91%]
../build/extra_tests/cffi_tests/embedding/test_thread.py FFFF [ 91%]
../build/extra_tests/cffi_tests/embedding/test_tlocal.py F [ 91%]
../build/extra_tests/ctypes_tests/test_anon.py .. [ 91%]
../build/extra_tests/ctypes_tests/test_array.py ...... [ 91%]
../build/extra_tests/ctypes_tests/test_base.py ... [ 91%]
../build/extra_tests/ctypes_tests/test_bitfields.py ... [ 92%]
../build/extra_tests/ctypes_tests/test_buffers.py ..................... [ 92%]
../build/extra_tests/ctypes_tests/test_callback_traceback.py . [ 92%]
../build/extra_tests/ctypes_tests/test_callbacks.py .................... [ 93%]
.......... [ 94%]
../build/extra_tests/ctypes_tests/test_cast.py .... [ 94%]
../build/extra_tests/ctypes_tests/test_errno.py . [ 94%]
../build/extra_tests/ctypes_tests/test_extra.py ............... [ 94%]
../build/extra_tests/ctypes_tests/test_funcptr.py . [ 94%]
../build/extra_tests/ctypes_tests/test_functions.py .............xx... [ 95%]
../build/extra_tests/ctypes_tests/test_guess_argtypes.py .. [ 95%]
../build/extra_tests/ctypes_tests/test_keepalive.py ................. [ 96%]
../build/extra_tests/ctypes_tests/test_loading.py . [ 96%]
../build/extra_tests/ctypes_tests/test_numbers.py ...............xX [ 97%]
../build/extra_tests/ctypes_tests/test_parameters.py .. [ 97%]
../build/extra_tests/ctypes_tests/test_pointers.py .................... [ 98%]
../build/extra_tests/ctypes_tests/test_prototypes.py ..... [ 98%]
../build/extra_tests/ctypes_tests/test_structures.py ................ [ 98%]
../build/extra_tests/ctypes_tests/test_unions.py .. [ 99%]
../build/extra_tests/ctypes_tests/test_values.py . [ 99%]
../build/extra_tests/ctypes_tests/test_win32.py s [ 99%]
../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 s [ 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 [ 99%]
../build/extra_tests/test_pyrepl/test_wishes.py . [100%]
=================================== FAILURES ===================================
________________________ test_sampling_inside_callback _________________________
tmpdir = local('/private/tmp/buildbot-x86_64/pytest-of-matti/pytest-1/test_sampling_inside_callback0')
@pytest.mark.xfail(IS_32_BIT, reason="vmprof fails to write profiles with negative addresses")
def test_sampling_inside_callback(tmpdir):
# see also test_sampling_inside_callback inside
# pypy/module/_continuation/test/test_stacklet.py
#
G = greenlet.greenlet(cpuburn)
fname = tmpdir.join('log.vmprof')
with fname.open('w+b') as f:
vmprof.enable(f.fileno(), 1/250.0)
G.switch(0.1)
vmprof.disable()
samples = count_samples(str(fname))
# 0.1 seconds at 250Hz should be 25 samples
> assert 23 < samples < 27
E assert 23 < 10
../build/extra_tests/test_vmprof_greenlet.py:33: AssertionError
_____________________ TestZIntegration.test_infrastructure _____________________
self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x00007f90bb83f280>
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:26: in create_venv
str(tmpdir)])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/infrastructure-cpy'],)
kwargs = {}, retcode = 1
cmd = ['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/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 Popen constructor. 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 CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/infrastructure-cpy']' returned non-zero exit status 1
../build/lib-python/2.7/subprocess.py:190: CalledProcessError
----------------------------- Captured stdout call -----------------------------
RuntimeError: failed to detect pypy2.7.18-64|pypy2.7.18|pypy2.7-64|pypy2.7|pypy2-64|pypy2|pypy-64|pypy|python2.7.18-64|python2.7.18|python2.7-64|python2.7|python2-64|python2|python-64|python in /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/bin:/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build
____________________ TestZIntegration.test_distutils_module ____________________
self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x00007f90183bce20>
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:26: in create_venv
str(tmpdir)])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/distutils_module-cpy'],)
kwargs = {}, retcode = 1
cmd = ['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/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 Popen constructor. 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 CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/distutils_module-cpy']' returned non-zero exit status 1
../build/lib-python/2.7/subprocess.py:190: CalledProcessError
----------------------------- Captured stdout call -----------------------------
RuntimeError: failed to detect pypy2.7.18-64|pypy2.7.18|pypy2.7-64|pypy2.7|pypy2-64|pypy2|pypy-64|pypy|python2.7.18-64|python2.7.18|python2.7-64|python2.7|python2-64|python2|python-64|python in /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/bin:/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build
__________________ TestZIntegration.test_distutils_package_1 ___________________
self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x00007f90885e7910>
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:26: in create_venv
str(tmpdir)])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/distutils_package_1-cpy'],)
kwargs = {}, retcode = 1
cmd = ['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/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 Popen constructor. 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 CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/distutils_package_1-cpy']' returned non-zero exit status 1
../build/lib-python/2.7/subprocess.py:190: CalledProcessError
----------------------------- Captured stdout call -----------------------------
RuntimeError: failed to detect pypy2.7.18-64|pypy2.7.18|pypy2.7-64|pypy2.7|pypy2-64|pypy2|pypy-64|pypy|python2.7.18-64|python2.7.18|python2.7-64|python2.7|python2-64|python2|python-64|python in /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/bin:/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build
__________________ TestZIntegration.test_distutils_package_2 ___________________
self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x00007f90bae45f68>
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:26: in create_venv
str(tmpdir)])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/distutils_package_2-cpy'],)
kwargs = {}, retcode = 1
cmd = ['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/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 Popen constructor. 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 CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/distutils_package_2-cpy']' returned non-zero exit status 1
../build/lib-python/2.7/subprocess.py:190: CalledProcessError
----------------------------- Captured stdout call -----------------------------
RuntimeError: failed to detect pypy2.7.18-64|pypy2.7.18|pypy2.7-64|pypy2.7|pypy2-64|pypy2|pypy-64|pypy|python2.7.18-64|python2.7.18|python2.7-64|python2.7|python2-64|python2|python-64|python in /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/bin:/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build
___________________ TestZIntegration.test_setuptools_module ____________________
self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x00007f9088414ec8>
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:26: in create_venv
str(tmpdir)])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/setuptools_module-cpy'],)
kwargs = {}, retcode = 1
cmd = ['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/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 Popen constructor. 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 CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/setuptools_module-cpy']' returned non-zero exit status 1
../build/lib-python/2.7/subprocess.py:190: CalledProcessError
----------------------------- Captured stdout call -----------------------------
RuntimeError: failed to detect pypy2.7.18-64|pypy2.7.18|pypy2.7-64|pypy2.7|pypy2-64|pypy2|pypy-64|pypy|python2.7.18-64|python2.7.18|python2.7-64|python2.7|python2-64|python2|python-64|python in /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/bin:/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build
__________________ TestZIntegration.test_setuptools_package_1 __________________
self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x00007f90bbb61558>
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:26: in create_venv
str(tmpdir)])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/setuptools_package_1-cpy'],)
kwargs = {}, retcode = 1
cmd = ['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/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 Popen constructor. 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 CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/setuptools_package_1-cpy']' returned non-zero exit status 1
../build/lib-python/2.7/subprocess.py:190: CalledProcessError
----------------------------- Captured stdout call -----------------------------
RuntimeError: failed to detect pypy2.7.18-64|pypy2.7.18|pypy2.7-64|pypy2.7|pypy2-64|pypy2|pypy-64|pypy|python2.7.18-64|python2.7.18|python2.7-64|python2.7|python2-64|python2|python-64|python in /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/bin:/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build
__________________ TestZIntegration.test_setuptools_package_2 __________________
self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x00007f90baba2870>
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:26: in create_venv
str(tmpdir)])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/setuptools_package_2-cpy'],)
kwargs = {}, retcode = 1
cmd = ['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/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 Popen constructor. 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 CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/setuptools_package_2-cpy']' returned non-zero exit status 1
../build/lib-python/2.7/subprocess.py:190: CalledProcessError
----------------------------- Captured stdout call -----------------------------
RuntimeError: failed to detect pypy2.7.18-64|pypy2.7.18|pypy2.7-64|pypy2.7|pypy2-64|pypy2|pypy-64|pypy|python2.7.18-64|python2.7.18|python2.7-64|python2.7|python2-64|python2|python-64|python in /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/bin:/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build
_____________________________ TestBasic.test_empty _____________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f9018c1a2e0>
def test_empty(self):
empty_cffi = self.prepare_module('empty')
self.compile('empty-test', [empty_cffi])
> output = self.execute('empty-test')
../build/extra_tests/cffi_tests/embedding/test_basic.py:185:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f9018c1a2e0>
name = 'empty-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_empty/./empty-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
---------------------------- Captured stdout setup -----------------------------
generating /tmp/buildbot-x86_64/ffi-0/embedding/_test_lib_python_found.c
setting the current directory to '/tmp/buildbot-x86_64/ffi-0/embedding'
running build_ext
building '_test_lib_python_found' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _test_lib_python_found.c -o ./_test_lib_python_found.o
cc -pthread -shared -undefined dynamic_lookup ./_test_lib_python_found.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_test_lib_python_found.pypy-73.so
---------------------------- Captured stderr setup -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_empty'
* setting env var 'PYTHONPATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests:'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_empty/empty.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_empty', 'stdout': -1, 'universal_newlines': True})
generating ./_empty_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_empty'
running build_ext
building '_empty_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _empty_cffi.c -o ./_empty_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_empty_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_empty_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_empty/_empty_cffi.dylib
compiling empty-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_empty/_empty_cffi.dylib']
running 'empty-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_empty'
('RUNNING:', ['./empty-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_empty', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39656]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <08DD2E85-EAD6-358B-BAA7-4A20733A1CB4> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_empty/_empty_cffi.dylib
Reason: no LC_RPATH's found
_____________________________ TestBasic.test_basic _____________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f901879f1e0>
def test_basic(self):
add1_cffi = self.prepare_module('add1')
self.compile('add1-test', [add1_cffi])
> output = self.execute('add1-test')
../build/extra_tests/cffi_tests/embedding/test_basic.py:191:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f901879f1e0>
name = 'add1-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_basic/./add1-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_basic'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_basic/add1.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_basic', 'stdout': -1, 'universal_newlines': True})
generating ./_add1_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_basic'
running build_ext
building '_add1_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _add1_cffi.c -o ./_add1_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_add1_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_add1_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_basic/_add1_cffi.dylib
compiling add1-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_basic/_add1_cffi.dylib']
running 'add1-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_basic'
('RUNNING:', ['./add1-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_basic', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39670]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <6055C714-7B18-3AC6-AB99-C20D3387E981> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_basic/_add1_cffi.dylib
Reason: no LC_RPATH's found
__________________________ TestBasic.test_two_modules __________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f90a82b9360>
def test_two_modules(self):
add1_cffi = self.prepare_module('add1')
add2_cffi = self.prepare_module('add2')
self.compile('add2-test', [add1_cffi, add2_cffi])
> output = self.execute('add2-test')
../build/extra_tests/cffi_tests/embedding/test_basic.py:201:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f90a82b9360>
name = 'add2-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules/./add2-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules/add1.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules', 'stdout': -1, 'universal_newlines': True})
generating ./_add1_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules'
running build_ext
building '_add1_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _add1_cffi.c -o ./_add1_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_add1_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_add1_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules/_add1_cffi.dylib
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules/add2.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules', 'stdout': -1, 'universal_newlines': True})
generating ./_add2_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules'
running build_ext
building '_add2_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _add2_cffi.c -o ./_add2_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_add2_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_add2_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules/_add2_cffi.dylib
compiling add2-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules/_add1_cffi.dylib', '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules/_add2_cffi.dylib']
running 'add2-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules'
('RUNNING:', ['./add2-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39691]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <6055C714-7B18-3AC6-AB99-C20D3387E981> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules/_add1_cffi.dylib
Reason: no LC_RPATH's foundLibrary not loaded: @rpath/libpypy-c.dylib
Referenced from: <59AC47CA-3906-34B6-9FEC-E16F7516BACB> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_two_modules/_add2_cffi.dylib
Reason: no LC_RPATH's found
________________________ TestBasic.test_init_time_error ________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f90b96e38e0>
def test_init_time_error(self):
initerror_cffi = self.prepare_module('initerror')
self.compile('add1-test', [initerror_cffi])
> output = self.execute('add1-test')
../build/extra_tests/cffi_tests/embedding/test_basic.py:211:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f90b96e38e0>
name = 'add1-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_time_error/./add1-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_init_time_error'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_time_error/initerror.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_time_error', 'stdout': -1, 'universal_newlines': True})
generating ./_initerror_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_time_error'
running build_ext
building '_initerror_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _initerror_cffi.c -o ./_initerror_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_initerror_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_initerror_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_time_error/_initerror_cffi.dylib
compiling add1-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_time_error/_initerror_cffi.dylib']
running 'add1-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_time_error'
('RUNNING:', ['./add1-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_time_error', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39706]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <532AD588-D49D-30BF-BB15-5465E729083D> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_time_error/_initerror_cffi.dylib
Reason: no LC_RPATH's found
____________________ TestBasic.test_embedding_with_unicode _____________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f9019b33d20>
def test_embedding_with_unicode(self):
withunicode_cffi = self.prepare_module('withunicode')
self.compile('add1-test', [withunicode_cffi])
> output = self.execute('add1-test')
../build/extra_tests/cffi_tests/embedding/test_basic.py:217:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f9019b33d20>
name = 'add1-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_embedding_with_unicode/./add1-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_embedding_with_unicode'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_embedding_with_unicode/withunicode.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_embedding_with_unicode', 'stdout': -1, 'universal_newlines': True})
generating ./_withunicode_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_embedding_with_unicode'
running build_ext
building '_withunicode_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _withunicode_cffi.c -o ./_withunicode_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_withunicode_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_withunicode_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_embedding_with_unicode/_withunicode_cffi.dylib
compiling add1-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_embedding_with_unicode/_withunicode_cffi.dylib']
running 'add1-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_embedding_with_unicode'
('RUNNING:', ['./add1-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_embedding_with_unicode', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39720]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <518CB76D-4C82-37C6-BAED-459F6FCE4129> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_embedding_with_unicode/_withunicode_cffi.dylib
Reason: no LC_RPATH's found
__________________ TestPerformance.test_perf_single_threaded ___________________
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f90a854e9e0>
def test_perf_single_threaded(self):
perf_cffi = self.prepare_module('perf')
self.compile('perf-test', [perf_cffi], opt=True)
> output = self.execute('perf-test')
../build/extra_tests/cffi_tests/embedding/test_performance.py:14:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f90a854e9e0>
name = 'perf-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_single_threaded/./perf-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_single_threaded'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_single_threaded/perf.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_single_threaded', 'stdout': -1, 'universal_newlines': True})
generating ./_perf_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_single_threaded'
running build_ext
building '_perf_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _perf_cffi.c -o ./_perf_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_perf_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_perf_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_single_threaded/_perf_cffi.dylib
compiling perf-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_single_threaded/_perf_cffi.dylib']
running 'perf-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_single_threaded'
('RUNNING:', ['./perf-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_single_threaded', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39734]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <175EF90D-6ED2-3B02-8FDB-9A8DBF225802> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_single_threaded/_perf_cffi.dylib
Reason: no LC_RPATH's found
____________________ TestPerformance.test_perf_in_1_thread _____________________
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f90bb8861a0>
def test_perf_in_1_thread(self):
perf_cffi = self.prepare_module('perf')
self.compile('perf-test', [perf_cffi], opt=True, threads=True,
defines={'PTEST_USE_THREAD': '1'})
> output = self.execute('perf-test')
../build/extra_tests/cffi_tests/embedding/test_performance.py:23:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f90bb8861a0>
name = 'perf-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_1_thread/./perf-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_1_thread'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_1_thread/perf.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_1_thread', 'stdout': -1, 'universal_newlines': True})
generating ./_perf_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_1_thread'
running build_ext
building '_perf_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _perf_cffi.c -o ./_perf_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_perf_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_perf_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_1_thread/_perf_cffi.dylib
compiling perf-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_1_thread/_perf_cffi.dylib']
running 'perf-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_1_thread'
('RUNNING:', ['./perf-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_1_thread', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39748]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <175EF90D-6ED2-3B02-8FDB-9A8DBF225802> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_1_thread/_perf_cffi.dylib
Reason: no LC_RPATH's found
____________________ TestPerformance.test_perf_in_2_threads ____________________
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f90980841a0>
def test_perf_in_2_threads(self):
perf_cffi = self.prepare_module('perf')
self.compile('perf-test', [perf_cffi], opt=True, threads=True,
defines={'PTEST_USE_THREAD': '2'})
> output = self.execute('perf-test')
../build/extra_tests/cffi_tests/embedding/test_performance.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f90980841a0>
name = 'perf-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_2_threads/./perf-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_2_threads'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_2_threads/perf.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_2_threads', 'stdout': -1, 'universal_newlines': True})
generating ./_perf_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_2_threads'
running build_ext
building '_perf_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _perf_cffi.c -o ./_perf_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_perf_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_perf_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_2_threads/_perf_cffi.dylib
compiling perf-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_2_threads/_perf_cffi.dylib']
running 'perf-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_2_threads'
('RUNNING:', ['./perf-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_2_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39762]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <175EF90D-6ED2-3B02-8FDB-9A8DBF225802> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_2_threads/_perf_cffi.dylib
Reason: no LC_RPATH's found
____________________ TestPerformance.test_perf_in_4_threads ____________________
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f9088b4fa60>
def test_perf_in_4_threads(self):
perf_cffi = self.prepare_module('perf')
self.compile('perf-test', [perf_cffi], opt=True, threads=True,
defines={'PTEST_USE_THREAD': '4'})
> output = self.execute('perf-test')
../build/extra_tests/cffi_tests/embedding/test_performance.py:41:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f9088b4fa60>
name = 'perf-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_4_threads/./perf-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_4_threads'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_4_threads/perf.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_4_threads', 'stdout': -1, 'universal_newlines': True})
generating ./_perf_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_4_threads'
running build_ext
building '_perf_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _perf_cffi.c -o ./_perf_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_perf_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_perf_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_4_threads/_perf_cffi.dylib
compiling perf-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_4_threads/_perf_cffi.dylib']
running 'perf-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_4_threads'
('RUNNING:', ['./perf-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_4_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39776]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <175EF90D-6ED2-3B02-8FDB-9A8DBF225802> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_4_threads/_perf_cffi.dylib
Reason: no LC_RPATH's found
____________________ TestPerformance.test_perf_in_8_threads ____________________
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f90bb9b00a0>
def test_perf_in_8_threads(self):
perf_cffi = self.prepare_module('perf')
self.compile('perf-test', [perf_cffi], opt=True, threads=True,
defines={'PTEST_USE_THREAD': '8'})
> output = self.execute('perf-test')
../build/extra_tests/cffi_tests/embedding/test_performance.py:50:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f90bb9b00a0>
name = 'perf-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_8_threads/./perf-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_8_threads'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_8_threads/perf.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_8_threads', 'stdout': -1, 'universal_newlines': True})
generating ./_perf_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_8_threads'
running build_ext
building '_perf_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _perf_cffi.c -o ./_perf_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_perf_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_perf_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_8_threads/_perf_cffi.dylib
compiling perf-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_8_threads/_perf_cffi.dylib']
running 'perf-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_8_threads'
('RUNNING:', ['./perf-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_8_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39790]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <175EF90D-6ED2-3B02-8FDB-9A8DBF225802> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_8_threads/_perf_cffi.dylib
Reason: no LC_RPATH's found
_________________________ TestRecursive.test_recursive _________________________
self = <extra_tests.cffi_tests.embedding.test_recursive.TestRecursive instance at 0x00007f90a87a0de0>
def test_recursive(self):
add_recursive_cffi = self.prepare_module('add_recursive')
self.compile('add_recursive-test', [add_recursive_cffi])
> output = self.execute('add_recursive-test')
../build/extra_tests/cffi_tests/embedding/test_recursive.py:9:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_recursive.TestRecursive instance at 0x00007f90a87a0de0>
name = 'add_recursive-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_recursive/./add_recursive-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_recursive'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_recursive/add_recursive.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_recursive', 'stdout': -1, 'universal_newlines': True})
generating ./_add_recursive_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_recursive'
running build_ext
building '_add_recursive_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _add_recursive_cffi.c -o ./_add_recursive_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_add_recursive_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_add_recursive_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_recursive/_add_recursive_cffi.dylib
compiling add_recursive-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_recursive/_add_recursive_cffi.dylib']
running 'add_recursive-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_recursive'
('RUNNING:', ['./add_recursive-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_recursive', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39804]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <D9A588DC-1547-3E59-83D3-B9BA6655FA1E> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_recursive/_add_recursive_cffi.dylib
Reason: no LC_RPATH's found
___________________ TestThread.test_first_calls_in_parallel ____________________
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f90bab15160>
def test_first_calls_in_parallel(self):
add1_cffi = self.prepare_module('add1')
self.compile('thread1-test', [add1_cffi], threads=True)
for i in range(20):
> output = self.execute('thread1-test')
../build/extra_tests/cffi_tests/embedding/test_thread.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f90bab15160>
name = 'thread1-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_first_calls_in_parallel/./thread1-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_first_calls_in_parallel'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_first_calls_in_parallel/add1.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_first_calls_in_parallel', 'stdout': -1, 'universal_newlines': True})
generating ./_add1_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_first_calls_in_parallel'
running build_ext
building '_add1_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _add1_cffi.c -o ./_add1_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_add1_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_add1_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_first_calls_in_parallel/_add1_cffi.dylib
compiling thread1-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_first_calls_in_parallel/_add1_cffi.dylib']
running 'thread1-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_first_calls_in_parallel'
('RUNNING:', ['./thread1-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_first_calls_in_parallel', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39818]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <6055C714-7B18-3AC6-AB99-C20D3387E981> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_first_calls_in_parallel/_add1_cffi.dylib
Reason: no LC_RPATH's found
_________ TestThread.test_init_different_modules_in_different_threads __________
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f90b9a247e0>
def test_init_different_modules_in_different_threads(self):
add1_cffi = self.prepare_module('add1')
add2_cffi = self.prepare_module('add2')
self.compile('thread2-test', [add1_cffi, add2_cffi], threads=True)
for i in range(3):
> output = self.execute('thread2-test')
../build/extra_tests/cffi_tests/embedding/test_thread.py:26:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f90b9a247e0>
name = 'thread2-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads/./thread2-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads/add1.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads', 'stdout': -1, 'universal_newlines': True})
generating ./_add1_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads'
running build_ext
building '_add1_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _add1_cffi.c -o ./_add1_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_add1_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_add1_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads/_add1_cffi.dylib
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads/add2.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads', 'stdout': -1, 'universal_newlines': True})
generating ./_add2_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads'
running build_ext
building '_add2_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _add2_cffi.c -o ./_add2_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_add2_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_add2_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads/_add2_cffi.dylib
compiling thread2-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads/_add1_cffi.dylib', '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads/_add2_cffi.dylib']
running 'thread2-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads'
('RUNNING:', ['./thread2-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39839]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <6055C714-7B18-3AC6-AB99-C20D3387E981> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads/_add1_cffi.dylib
Reason: no LC_RPATH's foundLibrary not loaded: @rpath/libpypy-c.dylib
Referenced from: <59AC47CA-3906-34B6-9FEC-E16F7516BACB> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_init_different_modules_in_different_threads/_add2_cffi.dylib
Reason: no LC_RPATH's found
__________________________ TestThread.test_alt_issue ___________________________
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f90bad469e0>
def test_alt_issue(self):
add1_cffi = self.prepare_module('add1')
add2_cffi = self.prepare_module('add2')
self.compile('thread2-test', [add1_cffi, add2_cffi],
threads=True, defines={'T2TEST_AGAIN_ADD1': '1'})
> output = self.execute('thread2-test')
../build/extra_tests/cffi_tests/embedding/test_thread.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f90bad469e0>
name = 'thread2-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue/./thread2-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue/add1.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue', 'stdout': -1, 'universal_newlines': True})
generating ./_add1_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue'
running build_ext
building '_add1_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _add1_cffi.c -o ./_add1_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_add1_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_add1_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue/_add1_cffi.dylib
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue/add2.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue', 'stdout': -1, 'universal_newlines': True})
generating ./_add2_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue'
running build_ext
building '_add2_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _add2_cffi.c -o ./_add2_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_add2_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_add2_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue/_add2_cffi.dylib
compiling thread2-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue/_add1_cffi.dylib', '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue/_add2_cffi.dylib']
running 'thread2-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue'
('RUNNING:', ['./thread2-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39861]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <6055C714-7B18-3AC6-AB99-C20D3387E981> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue/_add1_cffi.dylib
Reason: no LC_RPATH's foundLibrary not loaded: @rpath/libpypy-c.dylib
Referenced from: <59AC47CA-3906-34B6-9FEC-E16F7516BACB> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_alt_issue/_add2_cffi.dylib
Reason: no LC_RPATH's found
____________________ TestThread.test_load_in_parallel_more _____________________
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f90a83d9b20>
def test_load_in_parallel_more(self):
add2_cffi = self.prepare_module('add2')
add3_cffi = self.prepare_module('add3')
self.compile('thread3-test', [add2_cffi, add3_cffi], threads=True)
for i in range(150):
> output = self.execute('thread3-test')
../build/extra_tests/cffi_tests/embedding/test_thread.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f90a83d9b20>
name = 'thread3-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more/./thread3-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more/add2.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more', 'stdout': -1, 'universal_newlines': True})
generating ./_add2_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more'
running build_ext
building '_add2_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _add2_cffi.c -o ./_add2_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_add2_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_add2_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more/_add2_cffi.dylib
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more/add3.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more', 'stdout': -1, 'universal_newlines': True})
generating ./_add3_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more'
running build_ext
building '_add3_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _add3_cffi.c -o ./_add3_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_add3_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_add3_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more/_add3_cffi.dylib
compiling thread3-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more/_add2_cffi.dylib', '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more/_add3_cffi.dylib']
running 'thread3-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more'
('RUNNING:', ['./thread3-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39883]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <59AC47CA-3906-34B6-9FEC-E16F7516BACB> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more/_add2_cffi.dylib
Reason: no LC_RPATH's foundLibrary not loaded: @rpath/libpypy-c.dylib
Referenced from: <9C594951-4541-34D6-A020-B47F1349B527> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_load_in_parallel_more/_add3_cffi.dylib
Reason: no LC_RPATH's found
______________________ TestThreadLocal.test_thread_local _______________________
self = <extra_tests.cffi_tests.embedding.test_tlocal.TestThreadLocal instance at 0x00007f90ba9910e0>
def test_thread_local(self):
tlocal_cffi = self.prepare_module('tlocal')
self.compile('tlocal-test', [tlocal_cffi], threads=True)
for i in range(10):
> output = self.execute('tlocal-test')
../build/extra_tests/cffi_tests/embedding/test_tlocal.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_tlocal.TestThreadLocal instance at 0x00007f90ba9910e0>
name = 'tlocal-test'
def execute(self, name):
path = self.get_path()
print('running %r in %r' % (name, path))
executable_name = name
if sys.platform == 'win32':
executable_name = os.path.join(path, executable_name + '.exe')
else:
executable_name = os.path.join('.', executable_name)
popen = self._run_base([executable_name], cwd=path,
stdout=subprocess.PIPE,
universal_newlines=True)
result, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError("%r failed with exit code %r" % (
> os.path.join(path, executable_name), err))
E OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_thread_local/./tlocal-test' failed with exit code -6
../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin:/tmp/buildbot-x86_64/ffi-0/embedding/test_thread_local'
('RUNNING:', ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/embedding/test_thread_local/tlocal.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_thread_local', 'stdout': -1, 'universal_newlines': True})
generating ./_tlocal_cffi.c
the current directory is '/private/tmp/buildbot-x86_64/ffi-0/embedding/test_thread_local'
running build_ext
building '_tlocal_cffi' extension
cc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/include -c _tlocal_cffi.c -o ./_tlocal_cffi.o
cc -pthread -shared -undefined dynamic_lookup ./_tlocal_cffi.o -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin -L/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_tlocal_cffi.dylib
FILENAME: /private/tmp/buildbot-x86_64/ffi-0/embedding/test_thread_local/_tlocal_cffi.dylib
compiling tlocal-test with ['/private/tmp/buildbot-x86_64/ffi-0/embedding/test_thread_local/_tlocal_cffi.dylib']
running 'tlocal-test' in '/tmp/buildbot-x86_64/ffi-0/embedding/test_thread_local'
('RUNNING:', ['./tlocal-test'], {'cwd': '/tmp/buildbot-x86_64/ffi-0/embedding/test_thread_local', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
ld: warning: search path '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/pypy/goal' not found
dyld[39898]: Library not loaded: @rpath/libpypy-c.dylib
Referenced from: <F497B88E-038C-3032-91CA-875E791868EA> /private/tmp/buildbot-x86_64/ffi-0/embedding/test_thread_local/_tlocal_cffi.dylib
Reason: no LC_RPATH's found
- generated xml file: /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/extra.log -
=========================== short test summary info ============================
FAIL ../build/extra_tests/test_vmprof_greenlet.py::test_sampling_inside_callback
FAIL ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_infrastructure
FAIL ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_distutils_module
FAIL ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_distutils_package_1
FAIL ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_distutils_package_2
FAIL ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_setuptools_module
FAIL ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_setuptools_package_1
FAIL ../build/extra_tests/cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_setuptools_package_2
FAIL ../build/extra_tests/cffi_tests/embedding/test_basic.py::TestBasic::test_empty
FAIL ../build/extra_tests/cffi_tests/embedding/test_basic.py::TestBasic::test_basic
FAIL ../build/extra_tests/cffi_tests/embedding/test_basic.py::TestBasic::test_two_modules
FAIL ../build/extra_tests/cffi_tests/embedding/test_basic.py::TestBasic::test_init_time_error
FAIL ../build/extra_tests/cffi_tests/embedding/test_basic.py::TestBasic::test_embedding_with_unicode
FAIL ../build/extra_tests/cffi_tests/embedding/test_performance.py::TestPerformance::test_perf_single_threaded
FAIL ../build/extra_tests/cffi_tests/embedding/test_performance.py::TestPerformance::test_perf_in_1_thread
FAIL ../build/extra_tests/cffi_tests/embedding/test_performance.py::TestPerformance::test_perf_in_2_threads
FAIL ../build/extra_tests/cffi_tests/embedding/test_performance.py::TestPerformance::test_perf_in_4_threads
FAIL ../build/extra_tests/cffi_tests/embedding/test_performance.py::TestPerformance::test_perf_in_8_threads
FAIL ../build/extra_tests/cffi_tests/embedding/test_recursive.py::TestRecursive::test_recursive
FAIL ../build/extra_tests/cffi_tests/embedding/test_thread.py::TestThread::test_first_calls_in_parallel
FAIL ../build/extra_tests/cffi_tests/embedding/test_thread.py::TestThread::test_init_different_modules_in_different_threads
FAIL ../build/extra_tests/cffi_tests/embedding/test_thread.py::TestThread::test_alt_issue
FAIL ../build/extra_tests/cffi_tests/embedding/test_thread.py::TestThread::test_load_in_parallel_more
FAIL ../build/extra_tests/cffi_tests/embedding/test_tlocal.py::TestThreadLocal::test_thread_local
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_parse_c_type.py:11: not available on pypy
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/ctypes_tests/test_commethods.py:11: could not import 'skip_the_whole_module'
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/test_dbm.py:79: test may fail on CPython too
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/test_greenlet_thread.py:106: not implemented on PyPy
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/test_greenlet_thread.py:128: not implemented on PyPy
SKIP [15] test_pypy_remote_debug.py: only works on linux so far
SKIP [1] test_pypy_remote_debug.py:275: not implemented
SKIP [1] test_pypy_remote_debug.py:287: not implemented
SKIP [20] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/test_c.py:24: _testunc() not available
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/test_c.py:1207: untested
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/test_c.py:1299: untested
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/test_c.py:1312: untested
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/test_c.py:1324: untested
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/test_c.py:1355: XXX not written for Python 2
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/test_c.py:2573: later
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/test_c.py:3069: GetLastError(): only for Windows
SKIP [1] cffi_tests/test_c.py: PyPy2.7 does not warn
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/test_c.py:3775: not for pypy
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/test_c.py:4429: pypy's bytearray are never locked
SKIP [1] cffi_tests/test_version.py:16: upstream is python3-only
SKIP [5] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:332: NotImplementedError: wchar_t
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1174: buffer() with ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1194: buffer() with ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1211: buffer() with ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1230: buffer() with ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1242: buffer() with ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1261: buffer() with ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1284: buffer() with ctypes backend
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1313: later?
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1373: callback with '...'
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:17: ctypes backend: not supported: initializers for function pointers
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:21: ctypes backend: not supported: passing a list for a pointer argument
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:25: ctypes backend: not supported: passing a list for a pointer argument
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:29: ctypes backend: not supported: casting to array
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:32: ctypes backend: not supported: nested anonymous struct
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:35: ctypes backend: not supported: nested anonymous struct
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:38: ctypes backend: not supported: nested anonymous union
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:41: ctypes backend: not supported: nested anonymous union
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:108: win32 only
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:121: probably no symbol 'stderr' in the lib
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:138: probably no symbol 'stderr' in the lib
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:155: probably no symbol 'stderr' in the lib
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:222: probably no symbol 'stderr' in the lib
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:282: probably no symbol 'stdout' in the lib
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:441: Windows-only test
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:456: Windows-only test
SKIP [1] cffi_tests/cffi0/test_ffi_backend.py:285: condition: (sys.platform == 'darwin' and platform.machine() == 'arm64') or not platform.machine().startswith(('arm', 'aarch64'))
SKIP [1] cffi_tests/cffi0/test_ffi_backend.py:315: condition: (sys.platform == 'darwin' and platform.machine() == 'arm64') or not platform.machine().startswith(('arm', 'aarch64'))
SKIP [1] cffi_tests/cffi0/test_ffi_backend.py:367: condition: sys.platform != 'win32'
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:254: not supported with the ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:311: ctypes limitation on pypy
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:335: FILE not supported with the ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:374: not supported by the ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:384: not supported by the ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:418: seems to fail with the ctypes backend on windows
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:534: not with the ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:552: the ctypes backend doesn't support this
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:204: XXX errno issue with ctypes on pypy?
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:227: not supported by the ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:239: not supported by the ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:338: not implemented with the ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:356: not implemented with the ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:371: fails with the ctypes backend on some architectures
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:397: not for the ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:421: not working on win32 on the ctypes backend
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_parsing.py:411: Only for Windows
SKIP [24] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:94: needs GCC
SKIP [4] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:286: not implemented in verify(): complex types
SKIP [4] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:406: XXX test or fully prevent char16_t and char32_t from working in ffi.verify() mode
SKIP [4] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:445: ignored so far
SKIP [4] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:1640: likely, we cannot assign to stdout
SKIP [4] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:2150: win32-only test
SKIP [4] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:2225: win32-only test
SKIP [8] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:2489: only running the memory-intensive test on Linux
SKIP [5] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi0/test_version.py:10: this is embedded version
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_cffi_binary.py:10: _cffi_backend module is built-in
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_commontypes.py:13: cannot find ../c/commontypes.c
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_ffi_obj.py:338: for windows
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_function_args.py:16: this test is skipped because it keeps finding failures in libffi, instead of cffi
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_new_ffi_1.py:1270: later?
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_new_ffi_1.py:1326: callback with '...'
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_recompiler.py:2019: can currently declare a function with an opaque struct as argument, but AFAICT it's impossible to call it later
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_recompiler.py:2086: only for MSVC
SKIP [6] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:68: needs GCC
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:419: ignored so far
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:1405: not available
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:1601: likely, we cannot assign to stdout
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:2107: win32-only test
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:2183: win32-only test
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:2257: Windows only
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:2307: Windows only
SKIP [2] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:2321: only running the memory-intensive test on Linux
SKIP [1] ctypes_tests/test_win32.py:7: condition: sys.platform != 'win32'
SKIP [1] test_pyrepl/test_bugs.py:49: condition: os.name != 'posix' or 'darwin' in sys.platform or 'kfreebsd' in sys.platform
SKIP [1] /Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/extra_tests/test_pyrepl/test_functional.py:16: no pexpect module
SKIP [1] test_pyrepl/test_readline.py:6: 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
========================== slowest 20 test durations ===========================
27.19s call cffi_tests/cffi1/test_verify1.py::test_struct_float_vs_int
23.35s call cffi_tests/cffi0/test_verify.py::test_struct_float_vs_int
23.33s call cffi_tests/cffi0/test_vgen.py::test_struct_float_vs_int
23.30s call cffi_tests/cffi0/test_vgen2.py::test_struct_float_vs_int
23.28s call cffi_tests/cffi0/test_verify2.py::test_struct_float_vs_int
11.74s call cffi_tests/cffi1/test_verify1.py::test_struct_bad_sized_integer
11.03s call cffi_tests/cffi0/test_verify.py::test_struct_bad_sized_integer
10.08s call cffi_tests/cffi0/test_vgen.py::test_struct_bad_sized_integer
9.33s call cffi_tests/cffi0/test_vgen.py::test_ffi_new_with_cycles
9.15s call cffi_tests/cffi1/test_verify1.py::test_ffi_new_with_cycles
9.15s call cffi_tests/cffi0/test_verify.py::test_ffi_new_with_cycles
8.88s call cffi_tests/cffi1/test_verify1.py::test_global_const_int_size
8.87s call cffi_tests/cffi0/test_vgen2.py::test_ffi_new_with_cycles
8.71s call cffi_tests/cffi0/test_verify2.py::test_ffi_new_with_cycles
8.16s call cffi_tests/cffi0/test_verify.py::test_global_const_int_size
7.56s call cffi_tests/cffi1/test_verify1.py::test_cannot_pass_float
7.48s call cffi_tests/cffi0/test_vgen.py::test_global_const_int_size
7.01s call cffi_tests/cffi0/test_verify.py::test_cannot_pass_float
6.67s call test_binop_overriding.py::test_binop_combinations_more_exhaustive
6.46s call cffi_tests/cffi0/test_ffi_backend.py::TestBitfield::test_bitfield_reuse_if_enough_space
=============================== warnings summary ===============================
test_pypy_modules.py::test_expected_modules[MimeWriter]
/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/2.7/importlib/__init__.py:37: DeprecationWarning: the MimeWriter module is deprecated; use the email package instead
__import__(name)
test_pypy_modules.py::test_expected_modules[compiler]
/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/2.7/importlib/__init__.py:37: DeprecationWarning: The compiler package is deprecated and removed in Python 3.x.
__import__(name)
test_pypy_modules.py::test_expected_modules[mhlib]
/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/2.7/mhlib.py:83: DeprecationWarning: the multifile module has been deprecated since Python 2.5
import multifile
test_pypy_modules.py::test_expected_modules[sre]
/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/2.7/importlib/__init__.py:37: DeprecationWarning: The sre module is deprecated, please import re.
__import__(name)
test_pypy_modules.py::test_expected_modules[sets]
/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/2.7/importlib/__init__.py:37: DeprecationWarning: the sets module is deprecated
__import__(name)
test_pypy_modules.py::test_expected_modules[xmllib]
/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/2.7/importlib/__init__.py:37: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead.
__import__(name)
cffi_tests/test_c.py::test_cast_with_functionptr
/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/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_parsing.py::test_missing_newline_bug
/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/cparser.py:437: 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().
"#pragma in cdef() are entirely ignored. "
-- Docs: https://docs.pytest.org/en/latest/warnings.html
= 24 failed, 2246 passed, 202 skipped, 8 xfailed, 1 xpassed, 8 warnings in 871.07 seconds =
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=871.695605