pypy-venv/bin/pypy -m pytest ../build/extra_tests --junitxml=extra.log --durations=20 -raw "" ""
in dir /build_dir/pypy-c-jit-linux-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:
AUDITWHEEL_ARCH=x86_64
AUDITWHEEL_PLAT=manylinux2014_x86_64
AUDITWHEEL_POLICY=manylinux2014
DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root
HOME=/home/buildslave
HOSTNAME=255659ffae49
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LD_LIBRARY_PATH=/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64
LOGNAME=buildslave
PATH=/python27_virt/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig
PWD=/build_dir/pypy-c-jit-linux-x86-64/venv
PYPY_LOCALBASE=/usr/local
PYPY_MAKE_PORTABLE=1
PYPY_USESSION_DIR=/tmp/pytest
SHELL=/bin/bash
SHLVL=2
SSL_CERT_FILE=/opt/_internal/certs.pem
TERM=xterm
USER=buildslave
USE_CURL=1
_=/python27_virt/bin/buildslave
using PTY: False
/build_dir/pypy-c-jit-linux-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 linux2 -- Python 2.7.18[pypy-8.0.0-alpha], pytest-4.0.0, py-1.11.0, pluggy-0.13.1
rootdir: /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests, inifile: pytest.ini
plugins: hypothesis-4.57.1
collected 2480 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 ................. [ 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 . [ 9%]
../build/extra_tests/cffi_tests/test_c.py .............................. [ 10%]
............................sssssssssssssss.sss...s...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....................................................................s. [ 30%]
....................ss...................s.s...s................... [ 33%]
../build/extra_tests/cffi_tests/cffi0/test_function.py ......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 ................... [ 38%]
s......s.....s.......................................................... [ 41%]
.......................................................s...s............ [ 44%]
..... [ 44%]
../build/extra_tests/cffi_tests/cffi0/test_verify2.py .................. [ 45%]
.s......s.....s......................................................... [ 48%]
........................................................s...s........... [ 51%]
...... [ 51%]
../build/extra_tests/cffi_tests/cffi0/test_version.py sssss [ 51%]
../build/extra_tests/cffi_tests/cffi0/test_vgen.py ...................s. [ 52%]
.....s.....s............................................................ [ 55%]
.....................................................s...s.............. [ 58%]
... [ 58%]
../build/extra_tests/cffi_tests/cffi0/test_vgen2.py ...................s [ 59%]
......s.....s........................................................... [ 62%]
......................................................s...s............. [ 65%]
.... [ 65%]
../build/extra_tests/cffi_tests/cffi0/test_zdistutils.py ............... [ 65%]
....................... [ 66%]
../build/extra_tests/cffi_tests/cffi0/test_zintegration.py ........ [ 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 .................. [ 84%]
............s..........................F................................ [ 87%]
...............s.....xxx....x......................s...s....s...s... [ 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 . [ 95%]
../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.. [ 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 . [ 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_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 0x00000000027121e0>
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/ffi-27/verify232.c
setting the current directory to '/tmp/ffi-27'
running build_ext
building 'verify232' extension
cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-x86-64/build/include -c verify232.c -o ./verify232.o -Werror -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unreachable-code
----------------------------- Captured stderr call -----------------------------
verify232.c: In function \u2018foo\u2019:\nverify232.c:576:13: error: \u2018errno\u2019 undeclared (first use in this function)\n 576 | errno += 1;\n | ^~~~~\nverify232.c:288:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 287 | # include <stdint.h>\n +++ |+#include <errno.h>\n 288 | # if (defined (__SVR4) && defined (__sun)) || defined(_AIX) || defined(__hpux)\nverify232.c:576:13: note: each undeclared identifier is reported only once for each function it appears in\n 576 | errno += 1;\n | ^~~~~
_____________________________ TestBasic.test_empty _____________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x0000000005b117a0>
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 0x0000000005b117a0>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_empty/empty.py']
E
E generating ./_empty_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_empty'
E running build_ext
E building '_empty_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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/ffi-27/embedding/_test_lib_python_found.c
setting the current directory to '/tmp/ffi-27/embedding'
running build_ext
building '_test_lib_python_found' extension
cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-x86-64/build/include -c _test_lib_python_found.c -o ./_test_lib_python_found.o
cc -pthread -shared ./_test_lib_python_found.o -L/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin -L/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/pypy/goal -lpypy-c -o ./_test_lib_python_found.pypy-80.so
----------------------------- Captured stdout call -----------------------------
* setting env var 'LD_LIBRARY_PATH' to '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_empty:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
* setting env var 'PYTHONPATH' to '/build_dir/pypy-c-jit-linux-x86-64/build/extra_tests:'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_empty/empty.py'], {'cwd': '/tmp/ffi-27/embedding/test_empty', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_empty_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_empty_cffi.c:1238:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1238 | int current_err = errno;\n | ^~~~~\n_empty_cffi.c:645:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 644 | # include <pthread.h>\n +++ |+#include <errno.h>\n 645 | static pthread_mutex_t _cffi_embed_startup_lock;\n_empty_cffi.c:1238:23: note: each undeclared identifier is reported only once for each function it appears in\n 1238 | int current_err = errno;\n | ^~~~~\n_empty_cffi.c: In function \u2018initialize_my_empty_cffi\u2019:\n_empty_cffi.c:1288:9: warning: implicit declaration of function \u2018abort\u2019 [-Wimplicit-function-declaration]\n 1288 | abort();\n | ^~~~~\n_empty_cffi.c:1288:9: warning: incompatible implicit declaration of built-in function \u2018abort\u2019\n_empty_cffi.c:645:1: note: include \u2018<stdlib.h>\u2019 or provide a declaration of \u2018abort\u2019\n 644 | # include <pthread.h>\n +++ |+#include <stdlib.h>\n 645 | static pthread_mutex_t _cffi_embed_startup_lock;\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_empty/empty.py", line 25, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: CompileError: command 'cc' failed with exit status 1
_____________________________ TestBasic.test_basic _____________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x0000000006685660>
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 0x0000000006685660>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_basic/add1.py']
E
E generating ./_add1_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_basic'
E running build_ext
E building '_add1_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_basic:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_basic/add1.py'], {'cwd': '/tmp/ffi-27/embedding/test_basic', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add1_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_add1_cffi.c:1297:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1297 | int current_err = errno;\n | ^~~~~\n_add1_cffi.c:704:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 703 | # include <pthread.h>\n +++ |+#include <errno.h>\n 704 | static pthread_mutex_t _cffi_embed_startup_lock;\n_add1_cffi.c:1297:23: note: each undeclared identifier is reported only once for each function it appears in\n 1297 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_basic/add1.py", line 45, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: CompileError: command 'cc' failed with exit status 1
__________________________ TestBasic.test_two_modules __________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x0000000006a24fa0>
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 0x0000000006a24fa0>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_two_modules/add1.py']
E
E generating ./_add1_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_two_modules'
E running build_ext
E building '_add1_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_two_modules:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_two_modules/add1.py'], {'cwd': '/tmp/ffi-27/embedding/test_two_modules', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add1_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_add1_cffi.c:1297:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1297 | int current_err = errno;\n | ^~~~~\n_add1_cffi.c:704:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 703 | # include <pthread.h>\n +++ |+#include <errno.h>\n 704 | static pthread_mutex_t _cffi_embed_startup_lock;\n_add1_cffi.c:1297:23: note: each undeclared identifier is reported only once for each function it appears in\n 1297 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_two_modules/add1.py", line 45, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: CompileError: command 'cc' failed with exit status 1
________________________ TestBasic.test_init_time_error ________________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00000000058a27e0>
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 0x00000000058a27e0>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_init_time_error/initerror.py']
E
E generating ./_initerror_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_init_time_error'
E running build_ext
E building '_initerror_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_init_time_error:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_init_time_error/initerror.py'], {'cwd': '/tmp/ffi-27/embedding/test_init_time_error', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_initerror_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_initerror_cffi.c:1240:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1240 | int current_err = errno;\n | ^~~~~\n_initerror_cffi.c:647:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 646 | # include <pthread.h>\n +++ |+#include <errno.h>\n 647 | static pthread_mutex_t _cffi_embed_startup_lock;\n_initerror_cffi.c:1240:23: note: each undeclared identifier is reported only once for each function it appears in\n 1240 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_init_time_error/initerror.py", line 25, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: CompileError: command 'cc' failed with exit status 1
____________________ TestBasic.test_embedding_with_unicode _____________________
self = <extra_tests.cffi_tests.embedding.test_basic.TestBasic instance at 0x00000000063bc520>
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 0x00000000063bc520>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_embedding_with_unicode/withunicode.py']
E
E generating ./_withunicode_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_embedding_with_unicode'
E running build_ext
E building '_withunicode_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_embedding_with_unicode:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_embedding_with_unicode/withunicode.py'], {'cwd': '/tmp/ffi-27/embedding/test_embedding_with_unicode', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_withunicode_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_withunicode_cffi.c:1251:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1251 | int current_err = errno;\n | ^~~~~\n_withunicode_cffi.c:658:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 657 | # include <pthread.h>\n +++ |+#include <errno.h>\n 658 | static pthread_mutex_t _cffi_embed_startup_lock;\n_withunicode_cffi.c:1251:23: note: each undeclared identifier is reported only once for each function it appears in\n 1251 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_embedding_with_unicode/withunicode.py", line 34, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: CompileError: command 'cc' failed with exit status 1
__________________ TestPerformance.test_perf_single_threaded ___________________
self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x0000000006abb0e0>
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 0x0000000006abb0e0>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_perf_single_threaded/perf.py']
E
E generating ./_perf_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_perf_single_threaded'
E running build_ext
E building '_perf_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_perf_single_threaded:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_perf_single_threaded/perf.py'], {'cwd': '/tmp/ffi-27/embedding/test_perf_single_threaded', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_perf_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_perf_cffi.c:1249:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1249 | int current_err = errno;\n | ^~~~~\n_perf_cffi.c:656:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 655 | # include <pthread.h>\n +++ |+#include <errno.h>\n 656 | static pthread_mutex_t _cffi_embed_startup_lock;\n_perf_cffi.c:1249:23: note: each undeclared identifier is reported only once for each function it appears in\n 1249 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_perf_single_threaded/perf.py", line 29, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: 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 0x0000000007ef0be0>
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 0x0000000007ef0be0>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_perf_in_1_thread/perf.py']
E
E generating ./_perf_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_perf_in_1_thread'
E running build_ext
E building '_perf_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_perf_in_1_thread:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_perf_in_1_thread/perf.py'], {'cwd': '/tmp/ffi-27/embedding/test_perf_in_1_thread', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_perf_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_perf_cffi.c:1249:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1249 | int current_err = errno;\n | ^~~~~\n_perf_cffi.c:656:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 655 | # include <pthread.h>\n +++ |+#include <errno.h>\n 656 | static pthread_mutex_t _cffi_embed_startup_lock;\n_perf_cffi.c:1249:23: note: each undeclared identifier is reported only once for each function it appears in\n 1249 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_perf_in_1_thread/perf.py", line 29, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: 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 0x00000000036494a0>
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 0x00000000036494a0>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_perf_in_2_threads/perf.py']
E
E generating ./_perf_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_perf_in_2_threads'
E running build_ext
E building '_perf_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_perf_in_2_threads:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_perf_in_2_threads/perf.py'], {'cwd': '/tmp/ffi-27/embedding/test_perf_in_2_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_perf_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_perf_cffi.c:1249:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1249 | int current_err = errno;\n | ^~~~~\n_perf_cffi.c:656:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 655 | # include <pthread.h>\n +++ |+#include <errno.h>\n 656 | static pthread_mutex_t _cffi_embed_startup_lock;\n_perf_cffi.c:1249:23: note: each undeclared identifier is reported only once for each function it appears in\n 1249 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_perf_in_2_threads/perf.py", line 29, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: 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 0x00000000049aea60>
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 0x00000000049aea60>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_perf_in_4_threads/perf.py']
E
E generating ./_perf_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_perf_in_4_threads'
E running build_ext
E building '_perf_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_perf_in_4_threads:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_perf_in_4_threads/perf.py'], {'cwd': '/tmp/ffi-27/embedding/test_perf_in_4_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_perf_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_perf_cffi.c:1249:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1249 | int current_err = errno;\n | ^~~~~\n_perf_cffi.c:656:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 655 | # include <pthread.h>\n +++ |+#include <errno.h>\n 656 | static pthread_mutex_t _cffi_embed_startup_lock;\n_perf_cffi.c:1249:23: note: each undeclared identifier is reported only once for each function it appears in\n 1249 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_perf_in_4_threads/perf.py", line 29, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: 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 0x0000000002ea2fe0>
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 0x0000000002ea2fe0>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_perf_in_8_threads/perf.py']
E
E generating ./_perf_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_perf_in_8_threads'
E running build_ext
E building '_perf_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_perf_in_8_threads:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_perf_in_8_threads/perf.py'], {'cwd': '/tmp/ffi-27/embedding/test_perf_in_8_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_perf_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_perf_cffi.c:1249:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1249 | int current_err = errno;\n | ^~~~~\n_perf_cffi.c:656:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 655 | # include <pthread.h>\n +++ |+#include <errno.h>\n 656 | static pthread_mutex_t _cffi_embed_startup_lock;\n_perf_cffi.c:1249:23: note: each undeclared identifier is reported only once for each function it appears in\n 1249 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_perf_in_8_threads/perf.py", line 29, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: CompileError: command 'cc' failed with exit status 1
_________________________ TestRecursive.test_recursive _________________________
self = <extra_tests.cffi_tests.embedding.test_recursive.TestRecursive instance at 0x0000000003028ca0>
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 0x0000000003028ca0>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_recursive/add_recursive.py']
E
E generating ./_add_recursive_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_recursive'
E running build_ext
E building '_add_recursive_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_recursive:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_recursive/add_recursive.py'], {'cwd': '/tmp/ffi-27/embedding/test_recursive', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add_recursive_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_add_recursive_cffi.c:1270:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1270 | int current_err = errno;\n | ^~~~~\n_add_recursive_cffi.c:677:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 676 | # include <pthread.h>\n +++ |+#include <errno.h>\n 677 | static pthread_mutex_t _cffi_embed_startup_lock;\n_add_recursive_cffi.c:1270:23: note: each undeclared identifier is reported only once for each function it appears in\n 1270 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_recursive/add_recursive.py", line 41, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: 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 0x00000000056ae2a0>
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 0x00000000056ae2a0>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_first_calls_in_parallel/add1.py']
E
E generating ./_add1_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_first_calls_in_parallel'
E running build_ext
E building '_add1_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_first_calls_in_parallel:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_first_calls_in_parallel/add1.py'], {'cwd': '/tmp/ffi-27/embedding/test_first_calls_in_parallel', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add1_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_add1_cffi.c:1297:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1297 | int current_err = errno;\n | ^~~~~\n_add1_cffi.c:704:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 703 | # include <pthread.h>\n +++ |+#include <errno.h>\n 704 | static pthread_mutex_t _cffi_embed_startup_lock;\n_add1_cffi.c:1297:23: note: each undeclared identifier is reported only once for each function it appears in\n 1297 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_first_calls_in_parallel/add1.py", line 45, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: 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 0x0000000002dc3c60>
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 0x0000000002dc3c60>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_init_different_modules_in_different_threads/add1.py']
E
E generating ./_add1_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_init_different_modules_in_different_threads'
E running build_ext
E building '_add1_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_init_different_modules_in_different_threads:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_init_different_modules_in_different_threads/add1.py'], {'cwd': '/tmp/ffi-27/embedding/test_init_different_modules_in_different_threads', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add1_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_add1_cffi.c:1297:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1297 | int current_err = errno;\n | ^~~~~\n_add1_cffi.c:704:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 703 | # include <pthread.h>\n +++ |+#include <errno.h>\n 704 | static pthread_mutex_t _cffi_embed_startup_lock;\n_add1_cffi.c:1297:23: note: each undeclared identifier is reported only once for each function it appears in\n 1297 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_init_different_modules_in_different_threads/add1.py", line 45, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: CompileError: command 'cc' failed with exit status 1
__________________________ TestThread.test_alt_issue ___________________________
self = <extra_tests.cffi_tests.embedding.test_thread.TestThread instance at 0x0000000003724920>
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 0x0000000003724920>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_alt_issue/add1.py']
E
E generating ./_add1_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_alt_issue'
E running build_ext
E building '_add1_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_alt_issue:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_alt_issue/add1.py'], {'cwd': '/tmp/ffi-27/embedding/test_alt_issue', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add1_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_add1_cffi.c:1297:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1297 | int current_err = errno;\n | ^~~~~\n_add1_cffi.c:704:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 703 | # include <pthread.h>\n +++ |+#include <errno.h>\n 704 | static pthread_mutex_t _cffi_embed_startup_lock;\n_add1_cffi.c:1297:23: note: each undeclared identifier is reported only once for each function it appears in\n 1297 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_alt_issue/add1.py", line 45, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: 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 0x0000000007cc0460>
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 0x0000000007cc0460>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_load_in_parallel_more/add2.py']
E
E generating ./_add2_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_load_in_parallel_more'
E running build_ext
E building '_add2_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_load_in_parallel_more:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_load_in_parallel_more/add2.py'], {'cwd': '/tmp/ffi-27/embedding/test_load_in_parallel_more', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_add2_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_add2_cffi.c:1270:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1270 | int current_err = errno;\n | ^~~~~\n_add2_cffi.c:677:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 676 | # include <pthread.h>\n +++ |+#include <errno.h>\n 677 | static pthread_mutex_t _cffi_embed_startup_lock;\n_add2_cffi.c:1270:23: note: each undeclared identifier is reported only once for each function it appears in\n 1270 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_load_in_parallel_more/add2.py", line 37, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: CompileError: command 'cc' failed with exit status 1
______________________ TestThreadLocal.test_thread_local _______________________
self = <extra_tests.cffi_tests.embedding.test_tlocal.TestThreadLocal instance at 0x00000000115169a0>
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 0x00000000115169a0>
args = ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/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: ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_thread_local/tlocal.py']
E
E generating ./_tlocal_cffi.c
E the current directory is '/tmp/ffi-27/embedding/test_thread_local'
E running build_ext
E building '_tlocal_cffi' extension
E cc -pthread -DNDEBUG -O2 -fPIC -I/build_dir/pypy-c-jit-linux-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 '/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin:/tmp/ffi-27/embedding/test_thread_local:/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64'
('RUNNING:', ['/build_dir/pypy-c-jit-linux-x86-64/venv/pypy-venv/bin/pypy', '/tmp/ffi-27/embedding/test_thread_local/tlocal.py'], {'cwd': '/tmp/ffi-27/embedding/test_thread_local', 'stdout': -1, 'universal_newlines': True})
----------------------------- Captured stderr call -----------------------------
_tlocal_cffi.c: In function \u2018_cffi_start_and_call_python\u2019:\n_tlocal_cffi.c:1280:23: error: \u2018errno\u2019 undeclared (first use in this function)\n 1280 | int current_err = errno;\n | ^~~~~\n_tlocal_cffi.c:687:1: note: \u2018errno\u2019 is defined in header \u2018<errno.h>\u2019; did you forget to \u2018#include <errno.h>\u2019?\n 686 | # include <pthread.h>\n +++ |+#include <errno.h>\n 687 | static pthread_mutex_t _cffi_embed_startup_lock;\n_tlocal_cffi.c:1280:23: note: each undeclared identifier is reported only once for each function it appears in\n 1280 | int current_err = errno;\n | ^~~~~\nTraceback (most recent call last):\n File "/tmp/ffi-27/embedding/test_thread_local/tlocal.py", line 41, in <module>\n fn = ffi.compile(verbose=True)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/api.py", line 729, in compile\n compiler_verbose=verbose, debug=debug, **kwds)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/recompiler.py", line 1582, in recompile\n compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 20, in compile\n outputfilename = _build(tmpdir, ext, compiler_verbose, debug)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/cffi/ffiplatform.py", line 54, in _build\n raise VerificationError('%s: %s' % (e.__class__.__name__, e))\nVerificationError: CompileError: command 'cc' failed with exit status 1
---- generated xml file: /build_dir/pypy-c-jit-linux-x86-64/venv/extra.log -----
=========================== short test summary info ============================
FAIL ../build/extra_tests/test_testcapi.py::test_get_hashed_dir
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] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_parse_c_type.py:11: not available on pypy
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/ctypes_tests/test_commethods.py:11: could not import 'skip_the_whole_module'
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/test_dbm.py:79: test may fail on CPython too
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/test_greenlet_thread.py:106: not implemented on PyPy
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/test_greenlet_thread.py:128: not implemented on PyPy
SKIP [22] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/test_c.py:24: _testunc() not available
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/test_c.py:1355: XXX not written for Python 2
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/test_c.py:2573: later
SKIP [1] /build_dir/pypy-c-jit-linux-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] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/test_c.py:3775: not for pypy
SKIP [1] /build_dir/pypy-c-jit-linux-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] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:332: NotImplementedError: wchar_t
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1174: buffer() with ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1194: buffer() with ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1211: buffer() with ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1230: buffer() with ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1242: buffer() with ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1261: buffer() with ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1284: buffer() with ctypes backend
SKIP [2] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1313: later?
SKIP [2] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/backend_tests.py:1373: callback with '...'
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:17: ctypes backend: not supported: initializers for function pointers
SKIP [1] /build_dir/pypy-c-jit-linux-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] /build_dir/pypy-c-jit-linux-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] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:29: ctypes backend: not supported: casting to array
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:32: ctypes backend: not supported: nested anonymous struct
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:35: ctypes backend: not supported: nested anonymous struct
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:38: ctypes backend: not supported: nested anonymous union
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ctypes.py:41: ctypes backend: not supported: nested anonymous union
SKIP [2] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:108: win32 only
SKIP [2] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:441: Windows-only test
SKIP [2] /build_dir/pypy-c-jit-linux-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] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:254: not supported with the ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:311: ctypes limitation on pypy
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:335: FILE not supported with the ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:374: not supported by the ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:384: not supported by the ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:418: seems to fail with the ctypes backend on windows
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:534: not with the ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_function.py:552: the ctypes backend doesn't support this
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:204: XXX errno issue with ctypes on pypy?
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:227: not supported by the ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:239: not supported by the ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:338: not implemented with the ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:356: not implemented with the ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:371: fails with the ctypes backend on some architectures
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:397: not for the ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_ownlib.py:421: not working on win32 on the ctypes backend
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_parsing.py:411: Only for Windows
SKIP [4] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:286: not implemented in verify(): complex types
SKIP [4] /build_dir/pypy-c-jit-linux-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] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:445: ignored so far
SKIP [4] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:2150: win32-only test
SKIP [4] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_verify.py:2225: win32-only test
SKIP [5] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi0/test_version.py:10: this is embedded version
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_cffi_binary.py:10: _cffi_backend module is built-in
SKIP [2] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_commontypes.py:13: cannot find ../c/commontypes.c
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_ffi_obj.py:338: for windows
SKIP [1] /build_dir/pypy-c-jit-linux-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] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_new_ffi_1.py:1270: later?
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_new_ffi_1.py:1326: callback with '...'
SKIP [1] /build_dir/pypy-c-jit-linux-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] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_recompiler.py:2086: only for MSVC
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:419: ignored so far
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:1405: not available
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:2107: win32-only test
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:2183: win32-only test
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:2257: Windows only
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/cffi_tests/cffi1/test_verify1.py:2307: Windows only
SKIP [1] ctypes_tests/test_win32.py:7: condition: sys.platform != 'win32'
SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/extra_tests/test_pyrepl/test_functional.py:16: no pexpect module
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 ===========================
16.33s call cffi_tests/cffi0/test_verify2.py::test_ffi_new_with_cycles
16.20s call cffi_tests/cffi0/test_verify.py::test_ffi_new_with_cycles
16.20s call cffi_tests/cffi0/test_vgen.py::test_ffi_new_with_cycles
16.07s call cffi_tests/cffi0/test_vgen2.py::test_ffi_new_with_cycles
15.71s call cffi_tests/cffi1/test_verify1.py::test_ffi_new_with_cycles
15.48s call cffi_tests/cffi0/test_verify2.py::test_ffi_gc_size_arg_2
15.47s call cffi_tests/cffi0/test_vgen.py::test_ffi_gc_size_arg_2
15.42s call cffi_tests/cffi0/test_vgen2.py::test_ffi_gc_size_arg_2
15.27s call cffi_tests/cffi0/test_verify.py::test_ffi_gc_size_arg_2
15.01s call cffi_tests/cffi1/test_verify1.py::test_ffi_gc_size_arg_2
9.32s call test_binop_overriding.py::test_binop_combinations_more_exhaustive
6.72s call cffi_tests/cffi0/test_verify.py::test_ffi_gc_size_arg
6.27s call cffi_tests/cffi0/test_vgen.py::test_ffi_gc_size_arg
6.14s call cffi_tests/cffi0/test_vgen2.py::test_ffi_gc_size_arg
6.12s call cffi_tests/cffi1/test_verify1.py::test_struct_float_vs_int
6.01s call cffi_tests/cffi0/test_verify.py::test_struct_float_vs_int
5.98s call cffi_tests/cffi0/test_verify2.py::test_struct_float_vs_int
5.86s call cffi_tests/cffi0/test_vgen2.py::test_struct_float_vs_int
5.78s call cffi_tests/cffi0/test_vgen.py::test_struct_float_vs_int
5.67s call cffi_tests/cffi0/test_zintegration.py::TestZIntegration::test_distutils_package_1
=============================== warnings summary ===============================
test_pypy_modules.py::test_expected_modules[MimeWriter]
/build_dir/pypy-c-jit-linux-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]
/build_dir/pypy-c-jit-linux-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]
/build_dir/pypy-c-jit-linux-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]
/build_dir/pypy-c-jit-linux-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]
/build_dir/pypy-c-jit-linux-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]
/build_dir/pypy-c-jit-linux-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
/build_dir/pypy-c-jit-linux-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
/build_dir/pypy-c-jit-linux-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
= 18 failed, 2329 passed, 126 skipped, 8 xfailed, 1 xpassed, 8 warnings in 419.07 seconds =
n: 3
Arg 0: 13
Arg 1: 38
Arg 2: 100
n: 2
Arg 0: 13
Arg 1: 38
program finished with exit code 1
elapsedTime=419.546316