python testrunner/pypyjit_tests.py
in dir /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build (timeout 4000 secs)
watching logfiles {'pytestLog': 'pypyjit_new.log'}
argv: ['python', 'testrunner/pypyjit_tests.py']
environment:
FPATH=/opt/homebrew/share/zsh/site-functions:/usr/local/share/zsh/site-functions:/usr/share/zsh/site-functions:/usr/share/zsh/5.9/functions
HOME=/Users/matti
HOMEBREW_CELLAR=/opt/homebrew/Cellar
HOMEBREW_PREFIX=/opt/homebrew
HOMEBREW_REPOSITORY=/opt/homebrew
INFOPATH=/opt/homebrew/share/info:
LANG=en_US.UTF-8
LC_ADDRESS=en_AU.UTF-8
LC_IDENTIFICATION=en_AU.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LC_MONETARY=en_AU.UTF-8
LC_NAME=en_AU.UTF-8
LC_NUMERIC=en_AU.UTF-8
LC_PAPER=en_AU.UTF-8
LC_TELEPHONE=en_AU.UTF-8
LC_TIME=en_AU.UTF-8
LOGNAME=matti
OLDPWD=/Users/matti
PATH=/Users/matti/oss/pypy-arm64-buildbot/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
PKG_CONFIG_PATH=/opt/homebrew/Cellar/openssl@1.1/1.1.1t/lib/pkgconfig
PWD=/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build
PYPY_USESSION_DIR=/tmp/buildbot-arm64
SHELL=/bin/zsh
SHLVL=2
SSH_CLIENT=10.0.0.17 53538 22
SSH_CONNECTION=10.0.0.17 53538 10.0.0.16 22
SSH_TTY=/dev/ttys000
TERM=xterm-256color
TMPDIR=/tmp/buildbot-arm64/pytest
USER=matti
_=/Users/matti/oss/pypy-arm64-buildbot/bin/buildslave
using PTY: False
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-8.0.0-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
pytest-2.9.2 from /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build, inifile: pytest.ini
collected 1207 items
pypy/module/pypyjit/test_pypy_c/test_00_model.py .........................
pypy/module/pypyjit/test_pypy_c/test_alloc.py ...................................................
pypy/module/pypyjit/test_pypy_c/test_array.py ....s..
pypy/module/pypyjit/test_pypy_c/test_boolrewrite.py ......................................................................................................................................................................................................................................................................................................................................
pypy/module/pypyjit/test_pypy_c/test_buffers.py ..
pypy/module/pypyjit/test_pypy_c/test_bug.py s
pypy/module/pypyjit/test_pypy_c/test_call.py ..........................
pypy/module/pypyjit/test_pypy_c/test_containers.py ......................
pypy/module/pypyjit/test_pypy_c/test_cprofile.py .
pypy/module/pypyjit/test_pypy_c/test_exception.py .....
pypy/module/pypyjit/test_pypy_c/test_ffi.py s..s......
pypy/module/pypyjit/test_pypy_c/test_generators.py ...
pypy/module/pypyjit/test_pypy_c/test_getframe.py ..
pypy/module/pypyjit/test_pypy_c/test_globals.py .
pypy/module/pypyjit/test_pypy_c/test_import.py ..
pypy/module/pypyjit/test_pypy_c/test_instance.py ................
pypy/module/pypyjit/test_pypy_c/test_intbound.py .......................................................................................................F.....................................................................................................................................F............F.......F...............
pypy/module/pypyjit/test_pypy_c/test_jitlogparser.py s
pypy/module/pypyjit/test_pypy_c/test_math.py ..s..
pypy/module/pypyjit/test_pypy_c/test_micronumpy.py ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
pypy/module/pypyjit/test_pypy_c/test_min_max.py ...
pypy/module/pypyjit/test_pypy_c/test_misc.py .......................
pypy/module/pypyjit/test_pypy_c/test_shift.py ...........................................................................................................................................................................................................................
pypy/module/pypyjit/test_pypy_c/test_string.py ................
pypy/module/pypyjit/test_pypy_c/test_struct.py ......
pypy/module/pypyjit/test_pypy_c/test_thread.py ...
pypy/module/pypyjit/test_pypy_c/test_weakref.py .
=================================== FAILURES ===================================
____________________ TestIntbound.test_intbound_simple[103] ____________________
self = <pypy.module.pypyjit.test_pypy_c.test_intbound.TestIntbound object at 0x00000001518d0800>
src = '\n def f(i):\n a, b = 3, 3\n if i == 7:\...x:\n res[f(i)] += 1\n return res\n\n '
args = [], jitopts = {}
log1 = <pypy.module.pypyjit.test_pypy_c.model.Log object at 0x00000001535f7c20>
def run_and_check(self, src, args=[], **jitopts):
log1 = self.run(src, args, threshold=-1) # without the JIT
> log2 = self.run(src, args, **jitopts) # with the JIT
pypy/module/pypyjit/test_pypy_c/test_00_model.py:102:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.pypyjit.test_pypy_c.test_intbound.TestIntbound object at 0x00000001518d0800>
func_or_src = '\n def f(i):\n a, b = 3, 3\n if i == 7:\...x:\n res[f(i)] += 1\n return res\n\n '
args = [], import_site = False, discard_stdout_before_last_line = False
jitopts = {'disable_unrolling': 9999, 'threshold': 200}
src = <py._code.source.Source object at 0x00000001210c4db0>, funcname = 'main'
arglist = ''
f = <closed file '/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_simple.py', mode 'w' at 0x0000000140df35a0>
logfile = local('/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_simple.log')
cmdline = ['/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/pypy/goal/pypy-c', '-S', '--jit', 'threshold=200,disable_unrolling=9999', '/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_simple.py']
key = 'disable_unrolling'
def run(self, func_or_src, args=[], import_site=False,
discard_stdout_before_last_line=False, **jitopts):
jitopts.setdefault('threshold', 200)
jitopts.setdefault('disable_unrolling', 9999)
src = py.code.Source(func_or_src)
if isinstance(func_or_src, types.FunctionType):
funcname = func_or_src.func_name
else:
funcname = 'main'
# write the snippet
arglist = ', '.join(map(repr, args))
with self.filepath.open("w") as f:
# we don't want to see the small bridges created
# by the checkinterval reaching the limit
f.write("import sys\n")
f.write("sys.setcheckinterval(10000000)\n")
f.write(str(src) + "\n")
f.write("print %s(%s)\n" % (funcname, arglist))
#
# run a child pypy-c with logging enabled
logfile = self.filepath.new(ext='.log')
#
cmdline = [sys.executable]
if not import_site:
cmdline.append('-S')
if jitopts:
jitcmdline = ['%s=%s' % (key, value)
for key, value in jitopts.items()]
cmdline += ['--jit', ','.join(jitcmdline)]
cmdline.append(str(self.filepath))
#
env = os.environ.copy()
# TODO old logging system
env['PYPYLOG'] = self.log_string + ':' + str(logfile)
jitlogfile = str(logfile) + '.jlog'
env['JITLOG'] = str(jitlogfile)
pipe = subprocess.Popen(cmdline,
env=env,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
stdout, stderr = pipe.communicate()
if pipe.wait() < 0:
raise IOError("subprocess was killed by signal %d" % (
> pipe.returncode,))
E IOError: subprocess was killed by signal -10
pypy/module/pypyjit/test_pypy_c/test_00_model.py:71: IOError
__________________ TestIntbound.test_intbound_addsub_mix[93] ___________________
self = <pypy.module.pypyjit.test_pypy_c.test_intbound.TestIntbound object at 0x000000015182a9f8>
src = '\n def f(i):\n a, b = 3, 3\n if i == 5:\n ... for i in idx:\n res[f(i)] += 1\n return res\n\n '
args = [], jitopts = {}
def run_and_check(self, src, args=[], **jitopts):
> log1 = self.run(src, args, threshold=-1) # without the JIT
pypy/module/pypyjit/test_pypy_c/test_00_model.py:101:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.pypyjit.test_pypy_c.test_intbound.TestIntbound object at 0x000000015182a9f8>
func_or_src = '\n def f(i):\n a, b = 3, 3\n if i == 5:\n ... for i in idx:\n res[f(i)] += 1\n return res\n\n '
args = [], import_site = False, discard_stdout_before_last_line = False
jitopts = {'disable_unrolling': 9999, 'threshold': -1}
src = <py._code.source.Source object at 0x00000001523fa988>, funcname = 'main'
arglist = ''
f = <closed file '/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_addsub_mix.py', mode 'w' at 0x00000001302152a0>
logfile = local('/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_addsub_mix.log')
cmdline = ['/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/pypy/goal/pypy-c', '-S', '--jit', 'threshold=-1,disable_unrolling=9999', '/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_addsub_mix.py']
key = 'disable_unrolling'
def run(self, func_or_src, args=[], import_site=False,
discard_stdout_before_last_line=False, **jitopts):
jitopts.setdefault('threshold', 200)
jitopts.setdefault('disable_unrolling', 9999)
src = py.code.Source(func_or_src)
if isinstance(func_or_src, types.FunctionType):
funcname = func_or_src.func_name
else:
funcname = 'main'
# write the snippet
arglist = ', '.join(map(repr, args))
with self.filepath.open("w") as f:
# we don't want to see the small bridges created
# by the checkinterval reaching the limit
f.write("import sys\n")
f.write("sys.setcheckinterval(10000000)\n")
f.write(str(src) + "\n")
f.write("print %s(%s)\n" % (funcname, arglist))
#
# run a child pypy-c with logging enabled
logfile = self.filepath.new(ext='.log')
#
cmdline = [sys.executable]
if not import_site:
cmdline.append('-S')
if jitopts:
jitcmdline = ['%s=%s' % (key, value)
for key, value in jitopts.items()]
cmdline += ['--jit', ','.join(jitcmdline)]
cmdline.append(str(self.filepath))
#
env = os.environ.copy()
# TODO old logging system
env['PYPYLOG'] = self.log_string + ':' + str(logfile)
jitlogfile = str(logfile) + '.jlog'
env['JITLOG'] = str(jitlogfile)
pipe = subprocess.Popen(cmdline,
env=env,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
stdout, stderr = pipe.communicate()
if pipe.wait() < 0:
raise IOError("subprocess was killed by signal %d" % (
> pipe.returncode,))
E IOError: subprocess was killed by signal -10
pypy/module/pypyjit/test_pypy_c/test_00_model.py:71: IOError
__________________ TestIntbound.test_intbound_addsub_mix[106] __________________
self = <pypy.module.pypyjit.test_pypy_c.test_intbound.TestIntbound object at 0x000000015182a9f8>
src = '\n def f(i):\n a, b = 3, 3\n if i != 1:\n ... for i in idx:\n res[f(i)] += 1\n return res\n\n '
args = [], jitopts = {}
log1 = <pypy.module.pypyjit.test_pypy_c.model.Log object at 0x0000000140f07b78>
def run_and_check(self, src, args=[], **jitopts):
log1 = self.run(src, args, threshold=-1) # without the JIT
> log2 = self.run(src, args, **jitopts) # with the JIT
pypy/module/pypyjit/test_pypy_c/test_00_model.py:102:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.pypyjit.test_pypy_c.test_intbound.TestIntbound object at 0x000000015182a9f8>
func_or_src = '\n def f(i):\n a, b = 3, 3\n if i != 1:\n ... for i in idx:\n res[f(i)] += 1\n return res\n\n '
args = [], import_site = False, discard_stdout_before_last_line = False
jitopts = {'disable_unrolling': 9999, 'threshold': 200}
src = <py._code.source.Source object at 0x0000000140f07910>, funcname = 'main'
arglist = ''
f = <closed file '/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_addsub_mix.py', mode 'w' at 0x0000000130335a20>
logfile = local('/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_addsub_mix.log')
cmdline = ['/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/pypy/goal/pypy-c', '-S', '--jit', 'threshold=200,disable_unrolling=9999', '/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_addsub_mix.py']
key = 'disable_unrolling'
def run(self, func_or_src, args=[], import_site=False,
discard_stdout_before_last_line=False, **jitopts):
jitopts.setdefault('threshold', 200)
jitopts.setdefault('disable_unrolling', 9999)
src = py.code.Source(func_or_src)
if isinstance(func_or_src, types.FunctionType):
funcname = func_or_src.func_name
else:
funcname = 'main'
# write the snippet
arglist = ', '.join(map(repr, args))
with self.filepath.open("w") as f:
# we don't want to see the small bridges created
# by the checkinterval reaching the limit
f.write("import sys\n")
f.write("sys.setcheckinterval(10000000)\n")
f.write(str(src) + "\n")
f.write("print %s(%s)\n" % (funcname, arglist))
#
# run a child pypy-c with logging enabled
logfile = self.filepath.new(ext='.log')
#
cmdline = [sys.executable]
if not import_site:
cmdline.append('-S')
if jitopts:
jitcmdline = ['%s=%s' % (key, value)
for key, value in jitopts.items()]
cmdline += ['--jit', ','.join(jitcmdline)]
cmdline.append(str(self.filepath))
#
env = os.environ.copy()
# TODO old logging system
env['PYPYLOG'] = self.log_string + ':' + str(logfile)
jitlogfile = str(logfile) + '.jlog'
env['JITLOG'] = str(jitlogfile)
pipe = subprocess.Popen(cmdline,
env=env,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
stdout, stderr = pipe.communicate()
if pipe.wait() < 0:
raise IOError("subprocess was killed by signal %d" % (
> pipe.returncode,))
E IOError: subprocess was killed by signal -10
pypy/module/pypyjit/test_pypy_c/test_00_model.py:71: IOError
__________________ TestIntbound.test_intbound_addsub_mix[114] __________________
self = <pypy.module.pypyjit.test_pypy_c.test_intbound.TestIntbound object at 0x000000015182a9f8>
src = '\n def f(i):\n a, b = 3, 3\n if -2 * i < -4:\n ... for i in idx:\n res[f(i)] += 1\n return res\n\n '
args = [], jitopts = {}
log1 = <pypy.module.pypyjit.test_pypy_c.model.Log object at 0x0000000152c401e0>
def run_and_check(self, src, args=[], **jitopts):
log1 = self.run(src, args, threshold=-1) # without the JIT
> log2 = self.run(src, args, **jitopts) # with the JIT
pypy/module/pypyjit/test_pypy_c/test_00_model.py:102:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.pypyjit.test_pypy_c.test_intbound.TestIntbound object at 0x000000015182a9f8>
func_or_src = '\n def f(i):\n a, b = 3, 3\n if -2 * i < -4:\n ... for i in idx:\n res[f(i)] += 1\n return res\n\n '
args = [], import_site = False, discard_stdout_before_last_line = False
jitopts = {'disable_unrolling': 9999, 'threshold': 200}
src = <py._code.source.Source object at 0x0000000152c27c20>, funcname = 'main'
arglist = ''
f = <closed file '/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_addsub_mix.py', mode 'w' at 0x00000001409ed420>
logfile = local('/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_addsub_mix.log')
cmdline = ['/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/pypy/goal/pypy-c', '-S', '--jit', 'threshold=200,disable_unrolling=9999', '/tmp/buildbot-arm64/usession-main-1549/test-pypy-jit/test_intbound_addsub_mix.py']
key = 'disable_unrolling'
def run(self, func_or_src, args=[], import_site=False,
discard_stdout_before_last_line=False, **jitopts):
jitopts.setdefault('threshold', 200)
jitopts.setdefault('disable_unrolling', 9999)
src = py.code.Source(func_or_src)
if isinstance(func_or_src, types.FunctionType):
funcname = func_or_src.func_name
else:
funcname = 'main'
# write the snippet
arglist = ', '.join(map(repr, args))
with self.filepath.open("w") as f:
# we don't want to see the small bridges created
# by the checkinterval reaching the limit
f.write("import sys\n")
f.write("sys.setcheckinterval(10000000)\n")
f.write(str(src) + "\n")
f.write("print %s(%s)\n" % (funcname, arglist))
#
# run a child pypy-c with logging enabled
logfile = self.filepath.new(ext='.log')
#
cmdline = [sys.executable]
if not import_site:
cmdline.append('-S')
if jitopts:
jitcmdline = ['%s=%s' % (key, value)
for key, value in jitopts.items()]
cmdline += ['--jit', ','.join(jitcmdline)]
cmdline.append(str(self.filepath))
#
env = os.environ.copy()
# TODO old logging system
env['PYPYLOG'] = self.log_string + ':' + str(logfile)
jitlogfile = str(logfile) + '.jlog'
env['JITLOG'] = str(jitlogfile)
pipe = subprocess.Popen(cmdline,
env=env,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
stdout, stderr = pipe.communicate()
if pipe.wait() < 0:
raise IOError("subprocess was killed by signal %d" % (
> pipe.returncode,))
E IOError: subprocess was killed by signal -10
pypy/module/pypyjit/test_pypy_c/test_00_model.py:71: IOError
=========================== short test summary info ============================
FAIL pypy/module/pypyjit/test_pypy_c/test_intbound.py::TestIntbound::()::test_intbound_simple::[103]
FAIL pypy/module/pypyjit/test_pypy_c/test_intbound.py::TestIntbound::()::test_intbound_addsub_mix::[93]
FAIL pypy/module/pypyjit/test_pypy_c/test_intbound.py::TestIntbound::()::test_intbound_addsub_mix::[106]
FAIL pypy/module/pypyjit/test_pypy_c/test_intbound.py::TestIntbound::()::test_intbound_addsub_mix::[114]
============= 4 failed, 1041 passed, 162 skipped in 59.35 seconds ==============
program finished with exit code 1
elapsedTime=59.572043