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.17 57960 22
SSH_CONNECTION=10.0.0.17 57960 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-8.0.0-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 F [ 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..........................F................................ [ 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_get_hashed_dir ______________________________
@pytest.mark.pypy_only
def test_get_hashed_dir():
> import _testcapi #make sure _testcapi is built
../build/extra_tests/test_testcapi.py:7:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
import imp
import os
try:
import cpyext
except ImportError:
> raise ImportError("No module named '_testcapi'")
E ImportError: No module named '_testcapi'
../build/lib_pypy/_testcapi.py:7: ImportError
________________________ test_sampling_inside_callback _________________________
tmpdir = local('/private/tmp/buildbot-x86_64/pytest-of-matti/pytest-45/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 0x00007f7bac12d478>
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-18/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-18/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-18/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 0x00007f7baac6e8e0>
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-18/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-18/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-18/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 0x00007f7baa6af9b8>
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-18/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-18/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-18/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 0x00007f7babe15f30>
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-18/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-18/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-18/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 0x00007f7b99f06de8>
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-18/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-18/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-18/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 0x00007f7b98cde3a0>
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-18/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-18/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-18/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 0x00007f7ba904f868>
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-18/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-18/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-18/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
______________________________ test_get_set_errno ______________________________
def test_get_set_errno():
ffi = FFI()
ffi.cdef("int foo(int);")
> lib = ffi.verify("""
static int foo(int x)
{
errno += 1;
return x * 7;
}
""")
../build/extra_tests/cffi_tests/cffi1/test_verify1.py:780:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/cffi1/test_verify1.py:33: in verify
extra_compile_args=self._extra_compile_args, **kwds)
../build/extra_tests/cffi_tests/support.py:82: in _verify
outputfilename = recompile(ffi, module_name, preamble, *args, **kwds)
../build/lib_pypy/cffi/recompiler.py:1582: in recompile
compiler_verbose, debug)
../build/lib_pypy/cffi/ffiplatform.py:20: in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '.'
ext = <setuptools.extension.Extension instance at 0x00007f7ba8ac0e20>
compiler_verbose = 1, debug = 0
def _build(tmpdir, ext, compiler_verbose=0, debug=None):
# XXX compact but horrible :-(
from cffi._shimmed_dist_utils import Distribution, CompileError, LinkError, set_threshold, set_verbosity
dist = Distribution({'ext_modules': [ext]})
dist.parse_config_files()
options = dist.get_option_dict('build_ext')
if debug is None:
debug = sys.flags.debug
options['debug'] = ('ffiplatform', debug)
options['force'] = ('ffiplatform', True)
options['build_lib'] = ('ffiplatform', tmpdir)
options['build_temp'] = ('ffiplatform', tmpdir)
#
try:
old_level = set_threshold(0) or 0
try:
set_verbosity(compiler_verbose)
dist.run_command('build_ext')
cmd_obj = dist.get_command_obj('build_ext')
[soname] = cmd_obj.get_outputs()
finally:
set_threshold(old_level)
except (CompileError, LinkError) as e:
> raise VerificationError('%s: %s' % (e.__class__.__name__, e))
E VerificationError: CompileError: command 'cc' failed with exit status 1
../build/lib_pypy/cffi/ffiplatform.py:54: VerificationError
----------------------------- Captured stdout call -----------------------------
generating /tmp/buildbot-x86_64/ffi-18/verify220.c
setting the current directory to '/tmp/buildbot-x86_64/ffi-18'
running build_ext
building 'verify220' 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 verify220.c -o ./verify220.o -Werror -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unreachable-code -Qunused-arguments
----------------------------- Captured stderr call -----------------------------
verify220.c:576:13: error: use of undeclared identifier 'errno'
576 | errno += 1;
| ^
1 error generated.
_____________________________ TestBasic.test_empty _____________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f7b9a480360>
def test_empty(self):
> empty_cffi = self.prepare_module('empty')
../build/extra_tests/cffi_tests/embedding/test_basic.py:183:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f7b9a480360>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_empty/empty.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_empty/empty.py']
E
E generating ./_empty_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_empty'
E running build_ext
E building '_empty_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: OSError
---------------------------- Captured stdout setup -----------------------------
generating /tmp/buildbot-x86_64/ffi-18/embedding/_test_lib_python_found.c
setting the current directory to '/tmp/buildbot-x86_64/ffi-18/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-80.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-18/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-18/embedding/test_empty/empty.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_empty', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_empty_cffi.c:1238:23: error: use of undeclared identifier 'errno'
1238 | int current_err = errno;
| ^
_empty_cffi.c:1251:5: error: use of undeclared identifier 'errno'
1251 | errno = current_err;
| ^
_empty_cffi.c:1288:9: error: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1288 | abort();
| ^
_empty_cffi.c:1288:9: note: include the header <stdlib.h> or explicitly provide a declaration for 'abort'
3 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_empty/empty.py", line 25, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
_____________________________ TestBasic.test_basic _____________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f7b9a44c060>
def test_basic(self):
> add1_cffi = self.prepare_module('add1')
../build/extra_tests/cffi_tests/embedding/test_basic.py:189:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f7b9a44c060>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_basic/add1.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_basic/add1.py']
E
E generating ./_add1_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_basic'
E running build_ext
E building '_add1_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_basic/add1.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_basic', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add1_cffi.c:1297:23: error: use of undeclared identifier 'errno'
1297 | int current_err = errno;
| ^
_add1_cffi.c:1310:5: error: use of undeclared identifier 'errno'
1310 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_basic/add1.py", line 45, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
__________________________ TestBasic.test_two_modules __________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f7ba9c200a0>
def test_two_modules(self):
> add1_cffi = self.prepare_module('add1')
../build/extra_tests/cffi_tests/embedding/test_basic.py:198:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f7ba9c200a0>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_two_modules/add1.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_two_modules/add1.py']
E
E generating ./_add1_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_two_modules'
E running build_ext
E building '_add1_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_two_modules/add1.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_two_modules', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add1_cffi.c:1297:23: error: use of undeclared identifier 'errno'
1297 | int current_err = errno;
| ^
_add1_cffi.c:1310:5: error: use of undeclared identifier 'errno'
1310 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_two_modules/add1.py", line 45, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
________________________ TestBasic.test_init_time_error ________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f7b99aa3420>
def test_init_time_error(self):
> initerror_cffi = self.prepare_module('initerror')
../build/extra_tests/cffi_tests/embedding/test_basic.py:209:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f7b99aa3420>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_init_time_error/initerror.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_init_time_error/initerror.py']
E
E generating ./_initerror_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_init_time_error'
E running build_ext
E building '_initerror_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_init_time_error/initerror.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_init_time_error', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_initerror_cffi.c:1240:23: error: use of undeclared identifier 'errno'
1240 | int current_err = errno;
| ^
_initerror_cffi.c:1253:5: error: use of undeclared identifier 'errno'
1253 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_init_time_error/initerror.py", line 25, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
____________________ TestBasic.test_embedding_with_unicode _____________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f7bac4fe9e0>
def test_embedding_with_unicode(self):
> withunicode_cffi = self.prepare_module('withunicode')
../build/extra_tests/cffi_tests/embedding/test_basic.py:215:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00007f7bac4fe9e0>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_embedding_with_unicode/withunicode.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_embedding_with_unicode/withunicode.py']
E
E generating ./_withunicode_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_embedding_with_unicode'
E running build_ext
E building '_withunicode_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_embedding_with_unicode/withunicode.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_embedding_with_unicode', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_withunicode_cffi.c:1251:23: error: use of undeclared identifier 'errno'
1251 | int current_err = errno;
| ^
_withunicode_cffi.c:1264:5: error: use of undeclared identifier 'errno'
1264 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_embedding_with_unicode/withunicode.py", line 34, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
__________________ TestPerformance.test_perf_single_threaded ___________________
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f7bacd20420>
def test_perf_single_threaded(self):
> perf_cffi = self.prepare_module('perf')
../build/extra_tests/cffi_tests/embedding/test_performance.py:12:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f7bacd20420>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_single_threaded/perf.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_single_threaded/perf.py']
E
E generating ./_perf_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_single_threaded'
E running build_ext
E building '_perf_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_perf_single_threaded/perf.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_single_threaded', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_perf_cffi.c:1249:23: error: use of undeclared identifier 'errno'
1249 | int current_err = errno;
| ^
_perf_cffi.c:1262:5: error: use of undeclared identifier 'errno'
1262 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_single_threaded/perf.py", line 29, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
____________________ TestPerformance.test_perf_in_1_thread _____________________
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f7ba9b46760>
def test_perf_in_1_thread(self):
> perf_cffi = self.prepare_module('perf')
../build/extra_tests/cffi_tests/embedding/test_performance.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f7ba9b46760>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_1_thread/perf.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_1_thread/perf.py']
E
E generating ./_perf_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_1_thread'
E running build_ext
E building '_perf_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_perf_in_1_thread/perf.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_1_thread', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_perf_cffi.c:1249:23: error: use of undeclared identifier 'errno'
1249 | int current_err = errno;
| ^
_perf_cffi.c:1262:5: error: use of undeclared identifier 'errno'
1262 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_1_thread/perf.py", line 29, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
____________________ TestPerformance.test_perf_in_2_threads ____________________
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f7ba9f27d60>
def test_perf_in_2_threads(self):
> perf_cffi = self.prepare_module('perf')
../build/extra_tests/cffi_tests/embedding/test_performance.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f7ba9f27d60>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_2_threads/perf.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_2_threads/perf.py']
E
E generating ./_perf_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_2_threads'
E running build_ext
E building '_perf_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_perf_in_2_threads/perf.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_2_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_perf_cffi.c:1249:23: error: use of undeclared identifier 'errno'
1249 | int current_err = errno;
| ^
_perf_cffi.c:1262:5: error: use of undeclared identifier 'errno'
1262 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_2_threads/perf.py", line 29, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
____________________ TestPerformance.test_perf_in_4_threads ____________________
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f7bacee15e0>
def test_perf_in_4_threads(self):
> perf_cffi = self.prepare_module('perf')
../build/extra_tests/cffi_tests/embedding/test_performance.py:38:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f7bacee15e0>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_4_threads/perf.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_4_threads/perf.py']
E
E generating ./_perf_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_4_threads'
E running build_ext
E building '_perf_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_perf_in_4_threads/perf.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_4_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_perf_cffi.c:1249:23: error: use of undeclared identifier 'errno'
1249 | int current_err = errno;
| ^
_perf_cffi.c:1262:5: error: use of undeclared identifier 'errno'
1262 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_4_threads/perf.py", line 29, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
____________________ TestPerformance.test_perf_in_8_threads ____________________
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f7b882dea60>
def test_perf_in_8_threads(self):
> perf_cffi = self.prepare_module('perf')
../build/extra_tests/cffi_tests/embedding/test_performance.py:47:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f7b882dea60>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_8_threads/perf.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_8_threads/perf.py']
E
E generating ./_perf_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_8_threads'
E running build_ext
E building '_perf_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_perf_in_8_threads/perf.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_8_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_perf_cffi.c:1249:23: error: use of undeclared identifier 'errno'
1249 | int current_err = errno;
| ^
_perf_cffi.c:1262:5: error: use of undeclared identifier 'errno'
1262 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_perf_in_8_threads/perf.py", line 29, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
_________________________ TestRecursive.test_recursive _________________________
self = <extra_tests.cffi_tests.embedding.test_recursive.TestRecursive instance at 0x00007f7b99db5620>
def test_recursive(self):
> add_recursive_cffi = self.prepare_module('add_recursive')
../build/extra_tests/cffi_tests/embedding/test_recursive.py:7:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_recursive.TestRecursive instance at 0x00007f7b99db5620>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_recursive/add_recursive.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_recursive/add_recursive.py']
E
E generating ./_add_recursive_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_recursive'
E running build_ext
E building '_add_recursive_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_recursive/add_recursive.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_recursive', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add_recursive_cffi.c:1270:23: error: use of undeclared identifier 'errno'
1270 | int current_err = errno;
| ^
_add_recursive_cffi.c:1283:5: error: use of undeclared identifier 'errno'
1283 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_recursive/add_recursive.py", line 41, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
___________________ TestThread.test_first_calls_in_parallel ____________________
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f7bac10f4a0>
def test_first_calls_in_parallel(self):
> add1_cffi = self.prepare_module('add1')
../build/extra_tests/cffi_tests/embedding/test_thread.py:7:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f7bac10f4a0>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_first_calls_in_parallel/add1.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_first_calls_in_parallel/add1.py']
E
E generating ./_add1_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_first_calls_in_parallel'
E running build_ext
E building '_add1_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_first_calls_in_parallel/add1.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_first_calls_in_parallel', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add1_cffi.c:1297:23: error: use of undeclared identifier 'errno'
1297 | int current_err = errno;
| ^
_add1_cffi.c:1310:5: error: use of undeclared identifier 'errno'
1310 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_first_calls_in_parallel/add1.py", line 45, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
_________ TestThread.test_init_different_modules_in_different_threads __________
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f7ba99134a0>
def test_init_different_modules_in_different_threads(self):
> add1_cffi = self.prepare_module('add1')
../build/extra_tests/cffi_tests/embedding/test_thread.py:22:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f7ba99134a0>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_init_different_modules_in_different_threads/add1.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_init_different_modules_in_different_threads/add1.py']
E
E generating ./_add1_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_init_different_modules_in_different_threads'
E running build_ext
E building '_add1_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_init_different_modules_in_different_threads/add1.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_init_different_modules_in_different_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add1_cffi.c:1297:23: error: use of undeclared identifier 'errno'
1297 | int current_err = errno;
| ^
_add1_cffi.c:1310:5: error: use of undeclared identifier 'errno'
1310 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_init_different_modules_in_different_threads/add1.py", line 45, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
__________________________ TestThread.test_alt_issue ___________________________
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f7b985abba0>
def test_alt_issue(self):
> add1_cffi = self.prepare_module('add1')
../build/extra_tests/cffi_tests/embedding/test_thread.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f7b985abba0>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_alt_issue/add1.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_alt_issue/add1.py']
E
E generating ./_add1_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_alt_issue'
E running build_ext
E building '_add1_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_alt_issue/add1.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_alt_issue', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add1_cffi.c:1297:23: error: use of undeclared identifier 'errno'
1297 | int current_err = errno;
| ^
_add1_cffi.c:1310:5: error: use of undeclared identifier 'errno'
1310 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_alt_issue/add1.py", line 45, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
____________________ TestThread.test_load_in_parallel_more _____________________
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f7bace2aba0>
def test_load_in_parallel_more(self):
> add2_cffi = self.prepare_module('add2')
../build/extra_tests/cffi_tests/embedding/test_thread.py:56:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x00007f7bace2aba0>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_load_in_parallel_more/add2.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_load_in_parallel_more/add2.py']
E
E generating ./_add2_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_load_in_parallel_more'
E running build_ext
E building '_add2_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_load_in_parallel_more/add2.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_load_in_parallel_more', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add2_cffi.c:1270:23: error: use of undeclared identifier 'errno'
1270 | int current_err = errno;
| ^
_add2_cffi.c:1283:5: error: use of undeclared identifier 'errno'
1283 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_load_in_parallel_more/add2.py", line 37, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
______________________ TestThreadLocal.test_thread_local _______________________
self = <extra_tests.cffi_tests.embedding.test_tlocal.TestThreadLocal instance at 0x00007f7babfafae0>
def test_thread_local(self):
> tlocal_cffi = self.prepare_module('tlocal')
../build/extra_tests/cffi_tests/embedding/test_tlocal.py:7:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/embedding/test_basic.py:97: in prepare_module
output = self._run([sys.executable, pathname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <extra_tests.cffi_tests.embedding.test_tlocal.TestThreadLocal instance at 0x00007f7babfafae0>
args = ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_thread_local/tlocal.py']
def _run(self, args):
popen = self._run_base(args, cwd=self.get_path(),
stdout=subprocess.PIPE,
universal_newlines=True)
output, _ = popen.communicate()
err = popen.returncode
if err:
raise OSError(("popen failed with exit code %r: %r\n\n%s" % (
> err, args, output)).rstrip())
E OSError: popen failed with exit code 1: ['/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-18/embedding/test_thread_local/tlocal.py']
E
E generating ./_tlocal_cffi.c
E the current directory is '/private/tmp/buildbot-x86_64/ffi-18/embedding/test_thread_local'
E running build_ext
E building '_tlocal_cffi' extension
E 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
../build/extra_tests/cffi_tests/embedding/test_basic.py:68: 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-18/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-18/embedding/test_thread_local/tlocal.py'], {'cwd': '/tmp/buildbot-x86_64/ffi-18/embedding/test_thread_local', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_tlocal_cffi.c:1280:23: error: use of undeclared identifier 'errno'
1280 | int current_err = errno;
| ^
_tlocal_cffi.c:1293:5: error: use of undeclared identifier 'errno'
1293 | errno = current_err;
| ^
2 errors generated.
Traceback (most recent call last):
File "/tmp/buildbot-x86_64/ffi-18/embedding/test_thread_local/tlocal.py", line 41, in <module>
fn = ffi.compile(verbose=True)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile
compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: CompileError: command 'cc' failed with exit status 1
- 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_testcapi.py::test_get_hashed_dir
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/cffi1/test_verify1.py::test_get_set_errno
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 ===========================
24.09s call cffi_tests/cffi1/test_verify1.py::test_struct_float_vs_int
23.24s call cffi_tests/cffi0/test_verify.py::test_struct_float_vs_int
23.19s call cffi_tests/cffi0/test_verify2.py::test_struct_float_vs_int
23.17s call cffi_tests/cffi0/test_vgen.py::test_struct_float_vs_int
23.14s call cffi_tests/cffi0/test_vgen2.py::test_struct_float_vs_int
11.25s call cffi_tests/cffi1/test_verify1.py::test_struct_bad_sized_integer
10.85s call cffi_tests/cffi0/test_verify.py::test_struct_bad_sized_integer
10.11s call cffi_tests/cffi0/test_vgen.py::test_struct_bad_sized_integer
9.59s call test_binop_overriding.py::test_binop_combinations_more_exhaustive
8.95s call cffi_tests/cffi0/test_vgen.py::test_ffi_new_with_cycles
8.86s call cffi_tests/cffi1/test_verify1.py::test_ffi_new_with_cycles
8.83s call cffi_tests/cffi0/test_verify.py::test_ffi_new_with_cycles
8.54s call cffi_tests/cffi0/test_vgen2.py::test_ffi_new_with_cycles
8.49s call cffi_tests/cffi1/test_verify1.py::test_global_const_int_size
8.36s call cffi_tests/cffi0/test_verify2.py::test_ffi_new_with_cycles
8.09s call cffi_tests/cffi0/test_verify.py::test_global_const_int_size
7.47s call cffi_tests/cffi0/test_vgen.py::test_global_const_int_size
7.24s call cffi_tests/cffi1/test_verify1.py::test_cannot_pass_float
6.92s call cffi_tests/cffi0/test_verify.py::test_cannot_pass_float
6.44s call cffi_tests/cffi0/test_vgen.py::test_cannot_pass_float
=============================== 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
= 26 failed, 2244 passed, 202 skipped, 8 xfailed, 1 xpassed, 8 warnings in 816.74 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=817.345846