virt_test/bin/python testrunner/runner.py --logfile=testrun.log --config=pypy/testrunner_cfg.py '--config=~/machine_cfg.py' --root=pypy --timeout=4000
in dir /Users/matti/build-worker-arm64/own-macos-arm64/build (timeout 4000 secs)
watching logfiles {'pytestLog': 'testrun.log'}
argv: ['virt_test/bin/python', 'testrunner/runner.py', '--logfile=testrun.log', '--config=pypy/testrunner_cfg.py', '--config=~/machine_cfg.py', '--root=pypy', '--timeout=4000']
environment:
HOME=/Users/matti
HOMEBREW_CELLAR=/opt/homebrew/Cellar
HOMEBREW_PREFIX=/opt/homebrew
HOMEBREW_REPOSITORY=/opt/homebrew
INFOPATH=/opt/homebrew/share/info:
LANG=en_US.UTF-8
LC_ADDRESS=en_AU.UTF-8
LC_IDENTIFICATION=en_AU.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LC_MONETARY=en_AU.UTF-8
LC_NAME=en_AU.UTF-8
LC_NUMERIC=en_AU.UTF-8
LC_PAPER=en_AU.UTF-8
LC_TELEPHONE=en_AU.UTF-8
LC_TIME=en_AU.UTF-8
LOGNAME=matti
OLDPWD=/Users/matti
PATH=/Users/matti/oss/pypy-arm64-buildbot/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
PKG_CONFIG_PATH=/opt/homebrew/Cellar/openssl@1.1/1.1.1t/lib/pkgconfig
PWD=/Users/matti/build-worker-arm64/own-macos-arm64/build
PYPYCHERRYPICK=
PYPY_USESSION_DIR=/tmp/buildbot-arm64
PYTHONPATH=.:
SHELL=/bin/zsh
SHLVL=2
SSH_CLIENT=10.0.0.20 54836 22
SSH_CONNECTION=10.0.0.20 54836 10.0.0.16 22
SSH_TTY=/dev/ttys000
TERM=tmux-256color
TMPDIR=/tmp/buildbot-arm64/pytest
USER=matti
_=/Users/matti/oss/pypy-arm64-buildbot/bin/buildslave
using PTY: False
using config pypy/testrunner_cfg.py
using config /Users/matti/machine_cfg.py
running 3 parallel test workers
setting MAKEFLAGS to ' ' (space)
-- config/test
-- interpreter/astcompiler/test
-- interpreter/pyparser/test
-- interpreter/test
-- module/__builtin__/test
-- module/__pypy__/test
-- module/_ast/test
-- module/_cffi_backend/test
-- module/_codecs/test
-- module/_continuation/test
-- module/_cppyy/test
-- module/_csv/test
-- module/_demo/test
-- module/_file/test
-- module/_io/test
-- module/_jitlog/test
-- module/_locale/test
-- module/_lsprof/test
-- module/_md5/test
-- module/_minimal_curses/test
-- module/_multibytecodec/test
-- module/_multiprocessing/test
-- module/_pypyjson/test
-- module/_random/test
-- module/_rawffi/alt/test
-- module/_rawffi/test
-- module/_sha/test
-- module/_socket/test
-- module/_sre/test
-- module/_vmprof/test
-- module/_warnings/test
-- module/_weakref/test
-- module/_winreg/test
-- module/array/test
-- module/binascii/test
-- module/bz2/test
-- module/cStringIO/test
-- module/cmath/test
-- module/cpyext/test/test_abstract.py
-- module/cpyext/test/test_api.py
-- module/cpyext/test/test_arraymodule.py
-- module/cpyext/test/test_boolobject.py
-- module/cpyext/test/test_borrow.py
-- module/cpyext/test/test_bufferobject.py
-- module/cpyext/test/test_bytearrayobject.py
-- module/cpyext/test/test_bytesobject.py
-- module/cpyext/test/test_capsule.py
-- module/cpyext/test/test_cell.py
-- module/cpyext/test/test_classobject.py
-- module/cpyext/test/test_codecs.py
-- module/cpyext/test/test_complexobject.py
-- module/cpyext/test/test_cpyext.py
-- module/cpyext/test/test_datetime.py
-- module/cpyext/test/test_dictobject.py
-- module/cpyext/test/test_eval.py
-- module/cpyext/test/test_fileobject.py
-- module/cpyext/test/test_floatobject.py
-- module/cpyext/test/test_frameobject.py
-- module/cpyext/test/test_funcobject.py
-- module/cpyext/test/test_genobject.py
-- module/cpyext/test/test_getargs.py
-- module/cpyext/test/test_import.py
-- module/cpyext/test/test_intobject.py
-- module/cpyext/test/test_iterator.py
-- module/cpyext/test/test_listobject.py
-- module/cpyext/test/test_longobject.py
-- module/cpyext/test/test_mapping.py
-- module/cpyext/test/test_marshal.py
-- module/cpyext/test/test_memoryobject.py
-- module/cpyext/test/test_methodobject.py
-- module/cpyext/test/test_misc.py
-- module/cpyext/test/test_module.py
-- module/cpyext/test/test_ndarrayobject.py
-- module/cpyext/test/test_number.py
-- module/cpyext/test/test_object.py
-- module/cpyext/test/test_pycobject.py
-- module/cpyext/test/test_pyerrors.py
-- module/cpyext/test/test_pyfile.py
-- module/cpyext/test/test_pysignals.py
-- module/cpyext/test/test_pystate.py
-- module/cpyext/test/test_pystrtod.py
-- module/cpyext/test/test_sequence.py
-- module/cpyext/test/test_setobject.py
-- module/cpyext/test/test_sliceobject.py
-- module/cpyext/test/test_structseq.py
-- module/cpyext/test/test_sysmodule.py
-- module/cpyext/test/test_thread.py
-- module/cpyext/test/test_traceback.py
-- module/cpyext/test/test_translate.py
-- module/cpyext/test/test_tupleobject.py
-- module/cpyext/test/test_typeobject.py
-- module/cpyext/test/test_unicodeobject.py
-- module/cpyext/test/test_userslots.py
-- module/cpyext/test/test_version.py
-- module/cpyext/test/test_weakref.py
-- module/crypt/test
-- module/errno/test
-- module/exceptions/test
-- module/faulthandler/test
-- module/fcntl/test
-- module/gc/test
-- module/imp/test
-- module/itertools/test
-- module/marshal/test
-- module/math/test
-- module/micronumpy/test
-- module/mmap/test
-- module/operator/test
-- module/parser/test
-- module/posix/test
-- module/pwd/test
-- module/pyexpat/test
-- module/pypyjit/test
-- module/select/test
-- module/signal/test
-- module/struct/test
-- module/sys/test
-- module/termios/test
-- module/test_lib_pypy
-- module/thread/test
-- module/time/test
-- module/unicodedata/test
-- module/zipimport/test
-- module/zlib/test
-- objspace/fake/test
-- objspace/std/test
-- objspace/test
-- sandbox/test
-- tool/bench/test
-- tool/memusage/test
-- tool/pytest/test
-- tool/release/test
-- tool/test
-- total: 133 to run
++ 15:53:14 starting config/test [1 started in total]
++ 15:53:14 starting interpreter/astcompiler/test [2 started in total]
++ 15:53:14 starting interpreter/pyparser/test [3 started in total]
__ config/test [1 done in total, somefailed=False] ____________________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.py
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 157 items / 1 skipped
config/test/test_pypyoption.py ......................................... [ 26%]
........................................................................ [ 71%]
............................................ [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 157 passed, 1 skipped, 1 warnings in 10.53 seconds ==============
++ 15:53:26 starting interpreter/test [4 started in total]
__ interpreter/pyparser/test [2 done in total, somefailed=False] ______________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 119 items
interpreter/pyparser/test/test_automata.py ... [ 2%]
interpreter/pyparser/test/test_future.py ............................... [ 28%]
...... [ 33%]
interpreter/pyparser/test/test_gendfa.py . [ 34%]
interpreter/pyparser/test/test_metaparser.py ............... [ 47%]
interpreter/pyparser/test/test_parser.py ............. [ 57%]
interpreter/pyparser/test/test_parsestring.py ......... [ 65%]
interpreter/pyparser/test/test_pyparse.py .............................. [ 90%]
...... [ 95%]
interpreter/pyparser/test/test_pytokenizer.py ..... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=================== 119 passed, 1 warnings in 20.24 seconds ====================
++ 15:53:38 starting module/__builtin__/test [5 started in total]
__ interpreter/astcompiler/test [3 done in total, somefailed=False] ___________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.py
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 447 items
interpreter/astcompiler/test/apptest_misc.py . [ 0%]
interpreter/astcompiler/test/test_ast.py ....... [ 1%]
interpreter/astcompiler/test/test_astbuilder.py ........................ [ 7%]
............................. [ 13%]
interpreter/astcompiler/test/test_compiler.py .......................... [ 19%]
........................................................................ [ 35%]
........................................................................ [ 51%]
........................................................................ [ 67%]
........................................................................ [ 83%]
................................................ [ 94%]
interpreter/astcompiler/test/test_misc.py . [ 94%]
interpreter/astcompiler/test/test_symtable.py ....................... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=================== 447 passed, 1 warnings in 28.76 seconds ====================
++ 15:53:47 starting module/__pypy__/test [6 started in total]
__ module/__builtin__/test [4 done in total, somefailed=False] ________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 305 items
module/__builtin__/test/apptest_compile.py ........ [ 2%]
module/__builtin__/test/test_abstractinst.py ............ [ 6%]
module/__builtin__/test/test_apply.py ... [ 7%]
module/__builtin__/test/test_builtin.py ................................ [ 18%]
..............s..................... [ 29%]
module/__builtin__/test/test_classobj.py ............................... [ 40%]
............................ [ 49%]
module/__builtin__/test/test_descriptor.py .......................... [ 57%]
module/__builtin__/test/test_filter.py ........... [ 61%]
module/__builtin__/test/test_functional.py ............................. [ 70%]
.................... [ 77%]
module/__builtin__/test/test_minmax.py .......................... [ 85%]
module/__builtin__/test/test_range.py ........................ [ 93%]
module/__builtin__/test/test_rawinput.py ... [ 94%]
module/__builtin__/test/test_reduce.py .... [ 96%]
module/__builtin__/test/test_vars.py ... [ 97%]
module/__builtin__/test/test_zip.py ......... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 304 passed, 1 skipped, 1 warnings in 14.99 seconds ==============
++ 15:53:55 starting module/_ast/test [7 started in total]
__ module/__pypy__/test [5 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 68 items
module/__pypy__/test/test_builders.py ..... [ 7%]
module/__pypy__/test/test_bytebuffer.py .. [ 10%]
module/__pypy__/test/test_debug.py ....... [ 20%]
module/__pypy__/test/test_identitydict.py ...... [ 29%]
module/__pypy__/test/test_intop.py ........... [ 45%]
module/__pypy__/test/test_locals2fast.py ..... [ 52%]
module/__pypy__/test/test_magic.py .....s. [ 63%]
module/__pypy__/test/test_newmemoryview.py ... [ 67%]
module/__pypy__/test/test_os.py . [ 69%]
module/__pypy__/test/test_signal.py ....s [ 76%]
module/__pypy__/test/test_special.py ............s [ 95%]
module/__pypy__/test/test_time.py ... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 65 passed, 3 skipped, 1 warnings in 14.24 seconds ===============
++ 15:54:04 starting module/_cffi_backend/test [8 started in total]
__ module/_ast/test [6 done in total, somefailed=False] _______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 36 items
module/_ast/test/test_ast.py .................................... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 36 passed, 1 warnings in 8.57 seconds =====================
++ 15:54:06 starting module/_codecs/test [9 started in total]
__ module/_codecs/test [7 done in total, somefailed=False] ____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 65 items
module/_codecs/test/test_codecs.py ..................................... [ 56%]
........................... [ 98%]
module/_codecs/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 65 passed, 1 warnings in 14.86 seconds ====================
++ 15:54:23 starting module/_continuation/test [10 started in total]
__ module/_continuation/test [8 done in total, somefailed=True] _______________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 120 items
module/_continuation/test/test_generator.py ssss [ 3%]
module/_continuation/test/test_greenlet.py s.ssssss.sssssssssssssss.sss [ 26%]
module/_continuation/test/test_stacklet.py sssssssssssssss.sssssssssssss [ 50%]
ssssssssssE [ 59%]
module/_continuation/test/test_translated.py sssssssssssssssssssssssssss [ 81%]
ss [ 83%]
module/_continuation/test/test_zpickle.py ssssssssssssssssssss [100%]
==================================== ERRORS ====================================
______ ERROR at teardown of AppTestStacklet.test_sampling_inside_callback ______
self = <CallInfo when='teardown' exception: Invalid value for fakevmprof._ignore_sign...probably means that you called {start,stop}_sampling() a wrong number of times>
func = <function <lambda> at 0x0000000119326e30>, when = 'teardown'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_teardown'>, args = ()
kwargs = {'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': <AppTestMethod 'test_vmprof'>}
notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x0000000138c60720>
hook = <_HookCaller 'pytest_runtest_teardown'>
methods = [<HookImpl plugin_name='5253460384', plugin=<rpython.conftest.LeakFinder instance at 0x00000001392171a0>>, <HookImpl p...0e5718>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x000000011035de50>>]
kwargs = {'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': <AppTestMethod 'test_vmprof'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_teardown'>
methods = [<HookImpl plugin_name='5253460384', plugin=<rpython.conftest.LeakFinder instance at 0x00000001392171a0>>, <HookImpl p...0e5718>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x000000011035de50>>]
kwargs = {'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': <AppTestMethod 'test_vmprof'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5253460384', plugin=<rpython.conftest.LeakFinder instance at 0x00000001392171a0>>, <HookImpl p...0e5718>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x000000011035de50>>]
caller_kwargs = {'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': <AppTestMethod 'test_vmprof'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x0000000119466640>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5253460384', plugin=<rpython.conftest.LeakFinder instance at 0x00000001392171a0>>, <HookImpl p...0e5718>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x000000011035de50>>]
caller_kwargs = {'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': <AppTestMethod 'test_vmprof'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_sampling_inside_callback'>
nextitem = <AppTestMethod 'test_vmprof'>
def pytest_runtest_teardown(item, nextitem):
_update_current_test_var(item, "teardown")
> item.session._setupstate.teardown_exact(item, nextitem)
../_pytest/runner.py:136:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001103fa0c8>
item = <AppTestMethod 'test_sampling_inside_callback'>
nextitem = <AppTestMethod 'test_vmprof'>
def teardown_exact(self, item, nextitem):
needed_collectors = nextitem and nextitem.listchain() or []
> self._teardown_towards(needed_collectors)
../_pytest/runner.py:351:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001103fa0c8>
needed_collectors = [<Session 'build'>, <PyPyModule 'pypy/module/_continuation/test/test_translated.py'>, <AppClassCollector 'AppTestWrapper'>, <AppClassInstance '()'>, <AppTestMethod 'test_vmprof'>]
def _teardown_towards(self, needed_collectors):
exc = None
while self.stack:
if self.stack == needed_collectors[: len(self.stack)]:
break
try:
self._pop_and_teardown()
except TEST_OUTCOME:
# XXX Only first exception will be seen by user,
# ideally all should be reported.
if exc is None:
exc = sys.exc_info()
if exc:
> six.reraise(*exc)
../_pytest/runner.py:366:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001103fa0c8>
needed_collectors = [<Session 'build'>, <PyPyModule 'pypy/module/_continuation/test/test_translated.py'>, <AppClassCollector 'AppTestWrapper'>, <AppClassInstance '()'>, <AppTestMethod 'test_vmprof'>]
def _teardown_towards(self, needed_collectors):
exc = None
while self.stack:
if self.stack == needed_collectors[: len(self.stack)]:
break
try:
> self._pop_and_teardown()
../_pytest/runner.py:359:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001103fa0c8>
def _pop_and_teardown(self):
colitem = self.stack.pop()
> self._teardown_with_finalization(colitem)
../_pytest/runner.py:316:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001103fa0c8>
colitem = <AppTestMethod 'test_sampling_inside_callback'>
def _teardown_with_finalization(self, colitem):
> self._callfinalizers(colitem)
../_pytest/runner.py:334:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001103fa0c8>
colitem = <AppTestMethod 'test_sampling_inside_callback'>
def _callfinalizers(self, colitem):
finalizers = self._finalizers.pop(colitem, None)
exc = None
while finalizers:
fin = finalizers.pop()
try:
fin()
except TEST_OUTCOME:
# XXX Only first exception will be seen by user,
# ideally all should be reported.
if exc is None:
exc = sys.exc_info()
if exc:
> six.reraise(*exc)
../_pytest/runner.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001103fa0c8>
colitem = <AppTestMethod 'test_sampling_inside_callback'>
def _callfinalizers(self, colitem):
finalizers = self._finalizers.pop(colitem, None)
exc = None
while finalizers:
fin = finalizers.pop()
try:
> fin()
../_pytest/runner.py:324:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_functools.partial object at 0x00000001193abfa0>, fargs = ()
fkeywords = {'request': <SubRequest 'fakevmprof' for <AppTestMethod 'test_sampling_inside_callback'>>}
def __call__(self, *fargs, **fkeywords):
if self._keywords:
fkeywords = dict(self._keywords, **fkeywords)
> return self._func(*(self._args + fargs), **fkeywords)
../../../../oss/pypy-arm64-buildbot/lib_pypy/_functools.py:45:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FixtureDef argname='fakevmprof' scope='function' baseid='pypy/module/_continuation/test/test_stacklet.py'>
request = <SubRequest 'fakevmprof' for <AppTestMethod 'test_sampling_inside_callback'>>
def finish(self, request):
exceptions = []
try:
while self._finalizers:
try:
func = self._finalizers.pop()
func()
except: # noqa
exceptions.append(sys.exc_info())
if exceptions:
e = exceptions[0]
del exceptions # ensure we don't keep all frames alive because of the traceback
> six.reraise(*e)
../_pytest/fixtures.py:891:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FixtureDef argname='fakevmprof' scope='function' baseid='pypy/module/_continuation/test/test_stacklet.py'>
request = <SubRequest 'fakevmprof' for <AppTestMethod 'test_sampling_inside_callback'>>
def finish(self, request):
exceptions = []
try:
while self._finalizers:
try:
func = self._finalizers.pop()
> func()
../_pytest/fixtures.py:885:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <rpython.rlib.rvmprof.test.support.FakeVMProf object at 0x000000011938b440>
def check_status(self):
"""
To be called during test teardown
"""
if self._ignore_signals != 1:
msg = ('Invalid value for fakevmprof._ignore_signals: expected 1, '
'got %d. This probably means that you called '
'{start,stop}_sampling() a wrong number of times')
> raise ValueError(msg % self._ignore_signals)
E ValueError: Invalid value for fakevmprof._ignore_signals: expected 1, got 0. This probably means that you called {start,stop}_sampling() a wrong number of times
../rpython/rlib/rvmprof/test/support.py:37: ValueError
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========= 4 passed, 116 skipped, 1 warnings, 1 error in 12.60 seconds ==========
++ 15:54:38 starting module/_cppyy/test [11 started in total]
__ module/_cffi_backend/test [9 done in total, somefailed=True] _______________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 466 items
module/_cffi_backend/test/test_c.py .................................... [ 7%]
......................................F.....sss.s....................... [ 23%]
.............................s.....s...................s...s............ [ 38%]
.................s........................s...... [ 49%]
module/_cffi_backend/test/test_fastpath.py .................. [ 53%]
module/_cffi_backend/test/test_ffi_obj.py .............................. [ 59%]
............... [ 62%]
module/_cffi_backend/test/test_file.py s.. [ 63%]
module/_cffi_backend/test/test_parse_c_type.py ..............s... [ 67%]
module/_cffi_backend/test/test_re_python.py .................... [ 71%]
module/_cffi_backend/test/test_recompiler.py sssssssssssssssssssssssssss [ 77%]
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 92%]
sssssssssssssssssssssssss [ 98%]
module/_cffi_backend/test/test_unicode_literals.py ....... [ 99%]
module/_cffi_backend/test/test_wchar_helper.py . [ 99%]
module/_cffi_backend/test/test_ztranslation.py s [100%]
=================================== FAILURES ===================================
________________________ AppTestC.test_call_function_9 _________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000159a59c58>
def test_call_function_9(self):
import _all_test_c
> _all_test_c.test_call_function_9()
[/tmp/buildbot-arm64/usession-pytest3.10-1246/test_c/_test_c.py:224]:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def test_call_function_9():
BInt = new_primitive_type("int")
BFunc9 = new_function_type((BInt,), BInt, True) # vararg
f = cast(BFunc9, _testfunc(9))
assert f(0) == 0
> assert f(1, cast(BInt, 42)) == 42
E (application-level) AssertionError: assert -66666666 == 42
E + where -66666666 = <cdata 'int(*)(int, ...)' 0x104387d38>(1, <cdata 'int' 42>)
E + where <cdata 'int' 42> = cast(<ctype 'int'>, 42)
/tmp/buildbot-arm64/usession-pytest3.10-1246/test_c/_all_test_c.py:1195: AssertionError
=========================== short test summary info ============================
FAIL module/_cffi_backend/test/test_c.py::AppTestC::()::test_call_function_9
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
pypy/module/_cffi_backend/test/test_re_python.py::AppTestRecompilerPython::()::test_constant_1
/Users/matti/oss/pypy-arm64-buildbot/lib_pypy/cffi/cparser.py:154: UserWarning: String literal found in cdef() or type source. String literals are ignored here, but you should remove them anyway because some character sequences confuse pre-parsing.
warnings.warn("String literal found in cdef() or type source. "
/Users/matti/oss/pypy-arm64-buildbot/lib_pypy/cffi/cparser.py:165: UserWarning: Global variable 'globalvar42' in cdef(): for consistency with C it should have a storage class specifier (usually 'extern')
"(usually 'extern')" % (decl.name,))
/Users/matti/oss/pypy-arm64-buildbot/lib_pypy/cffi/cparser.py:165: UserWarning: Global variable 'no_such_globalvar' in cdef(): for consistency with C it should have a storage class specifier (usually 'extern')
"(usually 'extern')" % (decl.name,))
-- Docs: https://docs.pytest.org/en/latest/warnings.html
======== 1 failed, 328 passed, 137 skipped, 4 warnings in 55.73 seconds ========
++ 15:55:03 starting module/_csv/test [12 started in total]
__ module/_csv/test [10 done in total, somefailed=False] ______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
module/_csv/test/test_dialect.py ......... [ 39%]
module/_csv/test/test_reader.py ......... [ 78%]
module/_csv/test/test_writer.py .... [ 95%]
module/_csv/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 23 passed, 1 warnings in 7.55 seconds =====================
++ 15:55:11 starting module/_demo/test [13 started in total]
__ module/_demo/test [11 done in total, somefailed=False] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/_demo/test/test_import.py .. [ 66%]
module/_demo/test/test_sieve.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================== 3 passed, 1 warnings in 4.40 seconds =====================
++ 15:55:17 starting module/_file/test [14 started in total]
__ module/_file/test [12 done in total, somefailed=False] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 269 items
module/_file/test/test_file.py .....................s...sss...... [ 12%]
module/_file/test/test_file_extra.py ................................... [ 25%]
........................................................................ [ 52%]
.......................................................ss..............s [ 79%]
s..............ss..............ss..................... [ 99%]
module/_file/test/test_large_file.py .s [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 256 passed, 13 skipped, 1 warnings in 32.82 seconds ==============
++ 15:55:55 starting module/_io/test [15 started in total]
__ module/_cppyy/test [13 done in total, somefailed=False] ____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 191 items
module/_cppyy/test/test_advancedcpp.py sssssssssssssssssssssssss [ 13%]
module/_cppyy/test/test_boost.py sssss [ 15%]
module/_cppyy/test/test_cpp11features.py s.s [ 17%]
module/_cppyy/test/test_cppyy.py ........... [ 23%]
module/_cppyy/test/test_crossing.py ssss [ 25%]
module/_cppyy/test/test_datatypes.py .......sssssssssssssss [ 36%]
module/_cppyy/test/test_fragile.py sssssssssssss [ 43%]
module/_cppyy/test/test_helper.py ...... [ 46%]
module/_cppyy/test/test_operators.py sssssss [ 50%]
module/_cppyy/test/test_overloads.py sssssss [ 53%]
module/_cppyy/test/test_pythonify.py .....sssssssssssss [ 63%]
module/_cppyy/test/test_pythonization.py .ssssss [ 67%]
module/_cppyy/test/test_regression.py ss [ 68%]
module/_cppyy/test/test_stltypes.py sssssssssssssssssssssssss [ 81%]
module/_cppyy/test/test_templates.py sssssssssssssssssssssssssssssssss [ 98%]
module/_cppyy/test/test_zjit.py sss [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 31 passed, 160 skipped, 1 warnings in 66.74 seconds ==============
++ 15:55:58 starting module/_jitlog/test [16 started in total]
__ interpreter/test [14 done in total, somefailed=True] _______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 772 items
interpreter/test/apptest_class.py ............... [ 1%]
interpreter/test/apptest_exec.py ............................ [ 5%]
interpreter/test/apptest_function.py ........................s.......... [ 10%]
.................... [ 12%]
interpreter/test/apptest_generator.py .................................. [ 17%]
[ 17%]
interpreter/test/apptest_nestedscope.py ............. [ 18%]
interpreter/test/apptest_pyframe.py ............................. [ 22%]
interpreter/test/apptest_raise.py ..................... [ 25%]
interpreter/test/test_app_main.py ....ssssssssssssssssssssssssss.sssssss [ 30%]
.............F...F..s...... [ 33%]
interpreter/test/test_appinterp.py ............. [ 35%]
interpreter/test/test_argument.py ................................... [ 39%]
interpreter/test/test_buffer.py .. [ 40%]
interpreter/test/test_cellfamily.py ....... [ 41%]
interpreter/test/test_code.py ........ [ 42%]
interpreter/test/test_compiler.py ...................................... [ 47%]
........................................................................ [ 56%]
........... [ 57%]
interpreter/test/test_descrtypecheck.py .. [ 58%]
interpreter/test/test_error.py .......... [ 59%]
interpreter/test/test_exceptcomp.py ........... [ 60%]
interpreter/test/test_exec.py . [ 60%]
interpreter/test/test_executioncontext.py ................ [ 62%]
interpreter/test/test_extmodules.py . [ 63%]
interpreter/test/test_function.py .......... [ 64%]
interpreter/test/test_gateway.py ....................................... [ 69%]
.ss............ [ 71%]
interpreter/test/test_generator.py . [ 71%]
interpreter/test/test_interpreter.py .......................... [ 74%]
interpreter/test/test_main.py .... [ 75%]
interpreter/test/test_mixedmodule.py ...... [ 76%]
interpreter/test/test_module.py ........ [ 77%]
interpreter/test/test_objspace.py .............................. [ 81%]
interpreter/test/test_pycode.py . [ 81%]
interpreter/test/test_pyframe.py .. [ 81%]
interpreter/test/test_reverse_debugging.py .. [ 81%]
interpreter/test/test_special.py .. [ 81%]
interpreter/test/test_syntax.py ........................................ [ 87%]
............................ [ 90%]
interpreter/test/test_targetpypy.py .. [ 91%]
interpreter/test/test_typedef.py .................. [ 93%]
interpreter/test/test_unicodehelper.py .......... [ 94%]
interpreter/test/test_zpy.py ...... [ 95%]
interpreter/test/test_zzpickle_and_slow.py ...............s............. [ 99%]
...... [100%]
=================================== FAILURES ===================================
_______ TestNonInteractive.test_putenv_fires_interactive_within_process ________
self = <pypy.interpreter.test.test_app_main.TestNonInteractive instance at 0x000000013977c4a0>
@py.test.mark.skipif('sys.platform=="win32"', reason="windows, sendata, and quoting problems")
def test_putenv_fires_interactive_within_process(self):
try:
import __pypy__
except ImportError:
py.test.skip("This can be only tested on PyPy with real_getenv")
# should be noninteractive when piped in
data = 'import os\nos.putenv("PYTHONINSPECT", "1")\n'
self.run('', senddata=data, expect_prompt=False)
# should go interactive with -c
data = data.replace('\n', ';')
> self.run("-c '%s'" % data, expect_prompt=True)
interpreter/test/test_app_main.py:796:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
interpreter/test/test_app_main.py:680: in run
data, status = self.run_with_status_code(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.test.test_app_main.TestNonInteractive instance at 0x000000013977c4a0>
cmdline = '/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/app_main.py" -c \'import os;os.putenv("PYTHONINSPECT", "1");\''
senddata = '', expect_prompt = True, expect_banner = False, python_flags = ''
env = None
def run_with_status_code(self, cmdline, senddata='', expect_prompt=False,
expect_banner=False, python_flags='', env=None):
if os.name == 'nt':
if __pypy__ is None:
py.test.skip('app_main cannot run on non-pypy for windows')
cmdline = '%s %s "%s" %s %s' % (sys.executable, python_flags,
app_main, python_flags, cmdline)
print 'POPEN:', cmdline
process = subprocess.Popen(
cmdline,
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
shell=True, env=env,
universal_newlines=True
)
child_in, child_out_err = process.stdin, process.stdout
child_in.write(senddata)
child_in.close()
data = child_out_err.read()
child_out_err.close()
process.wait()
assert (banner in data) == expect_banner # no banner unless expected
> assert ('>>> ' in data) == expect_prompt # no prompt unless expected
E AssertionError
interpreter/test/test_app_main.py:676: AssertionError
----------------------------- Captured stdout call -----------------------------
POPEN: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/app_main.py"
POPEN: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/app_main.py" -c 'import os;os.putenv("PYTHONINSPECT", "1");'
___________________ TestNonInteractive.test_proper_sys_path ____________________
self = <pypy.interpreter.test.test_app_main.TestNonInteractive instance at 0x00000001580e1ea0>
tmpdir = local('/private/tmp/buildbot-arm64/pytest/pytest-of-matti/pytest-945/test_proper_sys_path0')
def test_proper_sys_path(self, tmpdir):
data = self.run('-c "import _ctypes"', python_flags='-S')
if data.startswith('Traceback'):
py.test.skip("'python -S' cannot import extension modules: "
"see probably http://bugs.python.org/issue586680")
@contextmanager
def chdir_and_unset_pythonpath(new_cwd):
old_cwd = new_cwd.chdir()
old_pythonpath = os.getenv('PYTHONPATH')
os.unsetenv('PYTHONPATH')
try:
yield
finally:
old_cwd.chdir()
# Can't call putenv with a None argument.
if old_pythonpath is not None:
os.putenv('PYTHONPATH', old_pythonpath)
# if we are running in a virtualenv, messing with site.py will
# make runpy.py and pkgutil unavailable. They are needed to run
# app_main. Copy them into the tmpdir
runpy_dir = os.path.dirname(runpy.__file__)
import pkgutil
pkgutil_dir = os.path.dirname(pkgutil.__file__)
shutil.copy(os.path.join(runpy_dir, 'runpy.py'), str(tmpdir))
shutil.copy(os.path.join(pkgutil_dir, 'pkgutil.py'), str(tmpdir))
tmpdir.join('site.py').write('print "SHOULD NOT RUN"')
runme_py = tmpdir.join('runme.py')
runme_py.write('print "some text"')
cmdline = str(runme_py)
with chdir_and_unset_pythonpath(tmpdir):
data = self.run(cmdline, python_flags='-S')
> assert data == "some text\n"
E AssertionError
interpreter/test/test_app_main.py:887: AssertionError
----------------------------- Captured stdout call -----------------------------
POPEN: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python -S "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/app_main.py" -S -c "import _ctypes"
POPEN: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python -S "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/app_main.py" -S /private/tmp/buildbot-arm64/pytest/pytest-of-matti/pytest-945/test_proper_sys_path0/runme.py
=========================== short test summary info ============================
FAIL interpreter/test/test_app_main.py::TestNonInteractive::()::test_putenv_fires_interactive_within_process
FAIL interpreter/test/test_app_main.py::TestNonInteractive::()::test_proper_sys_path
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
pypy/interpreter/test/test_app_main.py::TestInteraction::()::test_options_i_c_crashing
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/test/test_app_main.py:383: PytestWarning: Value of environment variable PYTHONPATH type should be str, but got None (type: NoneType); converted to str implicitly
monkeypatch.setenv('PYTHONPATH', None)
pypy/interpreter/test/test_app_main.py::TestInteraction::()::test_pythonstartup
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/test/test_app_main.py:416: PytestWarning: Value of environment variable PYTHONPATH type should be str, but got None (type: NoneType); converted to str implicitly
monkeypatch.setenv('PYTHONPATH', None)
pypy/interpreter/test/test_app_main.py::TestInteraction::()::test_pythonstartup_file1
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/test/test_app_main.py:436: PytestWarning: Value of environment variable PYTHONPATH type should be str, but got None (type: NoneType); converted to str implicitly
monkeypatch.setenv('PYTHONPATH', None)
pypy/interpreter/test/test_app_main.py::TestInteraction::()::test_pythonstartup_file2
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/test/test_app_main.py:450: PytestWarning: Value of environment variable PYTHONPATH type should be str, but got None (type: NoneType); converted to str implicitly
monkeypatch.setenv('PYTHONPATH', None)
pypy/interpreter/test/test_app_main.py::TestNonInteractive::()::test_non_interactive_stdout_fully_buffered
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/test/test_app_main.py:818: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module.
child_in, child_out_err = os.popen4(cmdline)
pypy/interpreter/test/test_app_main.py::TestNonInteractive::()::test_non_interactive_stdout_unbuffered
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/test/test_app_main.py:843: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module.
child_in, child_out_err = os.popen4(cmdline)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
======== 2 failed, 732 passed, 38 skipped, 7 warnings in 147.41 seconds ========
++ 15:55:59 starting module/_locale/test [17 started in total]
__ module/_jitlog/test [15 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/_jitlog/test/test__jitlog.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================== 1 passed, 1 warnings in 3.44 seconds =====================
++ 15:56:02 starting module/_lsprof/test [18 started in total]
__ module/_locale/test [16 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/_locale/test/test_locale.py ssssssssssssss [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 14 skipped, 1 warnings in 2.73 seconds ====================
++ 15:56:02 starting module/_md5/test [19 started in total]
__ module/_lsprof/test [17 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_lsprof/test/test_cprofile.py ...... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================== 6 passed, 1 warnings in 5.02 seconds =====================
++ 15:56:08 starting module/_minimal_curses/test [20 started in total]
__ module/_md5/test [18 done in total, somefailed=False] ______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_md5/test/test_md5.py .s.... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 5 passed, 1 skipped, 1 warnings in 6.17 seconds ================
++ 15:56:09 starting module/_multibytecodec/test [21 started in total]
__ module/_minimal_curses/test [19 done in total, somefailed=False] ___________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_minimal_curses/test/test_curses.py sss... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 3 passed, 3 skipped, 1 warnings in 16.22 seconds ===============
++ 15:56:25 starting module/_multiprocessing/test [22 started in total]
__ module/_multibytecodec/test [20 done in total, somefailed=True] ____________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 51 items
module/_multibytecodec/test/test_app_codecs.py ...............F [ 31%]
module/_multibytecodec/test/test_app_incremental.py ............ [ 54%]
module/_multibytecodec/test/test_app_stream.py ..... [ 64%]
module/_multibytecodec/test/test_c_codecs.py ................s [ 98%]
module/_multibytecodec/test/test_translation.py . [100%]
=================================== FAILURES ===================================
______________________ AppTestCodecs.test_streaming_codec ______________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000111144608>
def test_streaming_codec(self):
test_0 = u'\uc5fc\u76d0\u5869\u9e7d\u477c\u4e3d/\u3012'
test_1 = u'\u4ee4\u477c\u3080\u304b\u3057\u3080\u304b\u3057\u3042\u308b\u3068\u3053\u308d\u306b'
test_2 = u' foo = "Quoted string ****\u4ee4\u477c" '
ereplace = {'errors': 'replace'}
exml = {'errors': 'xmlcharrefreplace'}
for codec in ("iso-2022-jp", "iso-2022-jp-ext", "iso-2022-jp-1",
"iso-2022-jp-2", "iso-2022-jp-3", "iso-2022-jp-2004",
"iso-2022-kr",
):
out_1 = test_1.encode(codec, **ereplace).decode(codec, **ereplace)
> assert out_1.endswith(u'\u3080\u304b\u3057\u3080\u304b\u3057\u3042\u308b\u3068\u3053\u308d\u306b')
E (application-level) AssertionError: assert False
E + where False = <bound method unicode.endswith of u'\u4ee4?\u3080\u304b\u3080\u304b\u3042\u308b\u3068\u3053\u308d\u306b'>(u'\u3080\u304b\u3057\u3080\u304b\u3057\u3042\u308b\u3068\u3053\u308d\u306b')
E + where <bound method unicode.endswith of u'\u4ee4?\u3080\u304b\u3080\u304b\u3042\u308b\u3068\u3053\u308d\u306b'> = u'\u4ee4?\u3080\u304b\u3080\u304b\u3042\u308b\u3068\u3053\u308d\u306b'.endswith
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_multibytecodec/test/test_app_codecs.py:119]:14: AssertionError
=========================== short test summary info ============================
FAIL module/_multibytecodec/test/test_app_codecs.py::AppTestCodecs::()::test_streaming_codec
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========= 1 failed, 49 passed, 1 skipped, 1 warnings in 18.57 seconds ==========
++ 15:56:30 starting module/_pypyjson/test [23 started in total]
__ module/_io/test [21 done in total, somefailed=False] _______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 200 items
module/_io/test/apptest_bytesio.py ............ [ 6%]
module/_io/test/apptest_io.py ................................ [ 22%]
module/_io/test/apptest_stringio.py ......................... [ 34%]
module/_io/test/apptest_textio.py ........................... [ 48%]
module/_io/test/test_bufferedio.py ..................................... [ 66%]
......................................... [ 87%]
module/_io/test/test_fileio.py ...................... [ 98%]
module/_io/test/test_interp_textio.py .... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/site-packages/hypothesis/searchstrategy/strategies.py:285
/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/site-packages/hypothesis/searchstrategy/strategies.py:285: NonInteractiveExampleWarning: The `.example()` method is good for exploring strategies, but should only be used interactively. We recommend using `@given` for tests - it performs better, saves and replays failures to avoid flakiness, and reports minimal examples. (strategy: text())
NonInteractiveExampleWarning,
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=================== 200 passed, 2 warnings in 34.83 seconds ====================
++ 15:56:33 starting module/_random/test [24 started in total]
__ module/_pypyjson/test [22 done in total, somefailed=False] _________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items / 1 skipped
module/_pypyjson/test/test__pypyjson.py ................................ [ 76%]
.......... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 42 passed, 1 skipped, 1 warnings in 4.46 seconds ===============
++ 15:56:35 starting module/_rawffi/alt/test [25 started in total]
__ module/_random/test [23 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/_random/test/test_random.py ............. [ 92%]
module/_random/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 14 passed, 1 warnings in 8.05 seconds =====================
++ 15:56:41 starting module/_rawffi/test [26 started in total]
__ module/_rawffi/alt/test [24 done in total, somefailed=False] _______________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 73 items
module/_rawffi/alt/test/test_ffitype.py ..... [ 6%]
module/_rawffi/alt/test/test_funcptr.py ................................ [ 50%]
..ssssss.s [ 64%]
module/_rawffi/alt/test/test_struct.py ............... [ 84%]
module/_rawffi/alt/test/test_type_converter.py ........... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 66 passed, 7 skipped, 1 warnings in 6.73 seconds ===============
++ 15:56:44 starting module/_sha/test [27 started in total]
__ module/_sha/test [25 done in total, somefailed=False] ______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_sha/test/test_sha.py .s.... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 5 passed, 1 skipped, 1 warnings in 5.92 seconds ================
++ 15:56:50 starting module/_socket/test [28 started in total]
__ module/_multiprocessing/test [26 done in total, somefailed=True] ___________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 24 items
module/_multiprocessing/test/test_connection.py ..sss...... [ 45%]
module/_multiprocessing/test/test_interp_semaphore.py s [ 50%]
module/_multiprocessing/test/test_memory.py .. [ 58%]
module/_multiprocessing/test/test_semaphore.py Fssssss [ 87%]
module/_multiprocessing/test/test_win32.py ss [ 95%]
module/_multiprocessing/test/test_ztranslation.py . [100%]
=================================== FAILURES ===================================
____________________ AppTestSemaphore.test_semaphore_basic _____________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001422105d0>
def test_semaphore_basic(self):
from _multiprocessing import SemLock
import sys
assert SemLock.SEM_VALUE_MAX > 10
kind = self.SEMAPHORE
value = 1
maxvalue = 1
# the following line gets OSError: [Errno 38] Function not implemented
# if /dev/shm is not mounted on Linux
sem = SemLock(kind, value, maxvalue)
assert sem.kind == kind
assert sem.maxvalue == maxvalue
assert isinstance(sem.handle, (int, long))
assert sem._count() == 0
if sys.platform == 'darwin':
raises(NotImplementedError, 'sem._get_value()')
else:
assert sem._get_value() == 1
> assert sem._is_zero() == False
E (application-level) AssertionError: assert True == False
E + where True = <bound method SemLock._is_zero of <SemLock object at 0x0000000110e14bb8>>()
E + where <bound method SemLock._is_zero of <SemLock object at 0x0000000110e14bb8>> = <SemLock object at 0x0000000110e14bb8>._is_zero
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_multiprocessing/test/test_semaphore.py:30]:21: AssertionError
=========================== short test summary info ============================
FAIL module/_multiprocessing/test/test_semaphore.py::AppTestSemaphore::()::test_semaphore_basic
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========= 1 failed, 11 passed, 12 skipped, 1 warnings in 32.07 seconds =========
++ 15:56:58 starting module/_sre/test [29 started in total]
__ module/_rawffi/test [27 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 83 items
module/_rawffi/test/apptest_rawffi.py . [ 1%]
module/_rawffi/test/test__rawffi.py .....s.............................. [ 44%]
...............s..........s..... [ 83%]
module/_rawffi/test/test_exit.py . [ 84%]
module/_rawffi/test/test_nested.py ...... [ 91%]
module/_rawffi/test/test_struct.py ... [ 95%]
module/_rawffi/test/test_tracker.py ... [ 98%]
module/_rawffi/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 80 passed, 3 skipped, 1 warnings in 27.11 seconds ===============
n: 2
Arg 0: 3
Arg 1: 15
++ 15:57:09 starting module/_vmprof/test [30 started in total]
__ module/_sre/test [28 done in total, somefailed=False] ______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 139 items
module/_sre/test/test_app_sre.py ....................................... [ 28%]
........................................................................ [ 79%]
.... [ 82%]
module/_sre/test/test_sre_buf.py ........................ [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=================== 139 passed, 1 warnings in 15.69 seconds ====================
++ 15:57:15 starting module/_warnings/test [31 started in total]
__ module/_vmprof/test [29 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
module/_vmprof/test/test__vmprof.py ....s [ 71%]
module/_vmprof/test/test_direct.py .. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
/Users/matti/oss/pypy-arm64-buildbot/lib_pypy/cffi/cparser.py:165
/Users/matti/oss/pypy-arm64-buildbot/lib_pypy/cffi/cparser.py:165: UserWarning: Global variable 'buffer' in cdef(): for consistency with C it should have a storage class specifier (usually 'extern')
"(usually 'extern')" % (decl.name,))
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 6 passed, 1 skipped, 2 warnings in 8.11 seconds ================
++ 15:57:18 starting module/_weakref/test [32 started in total]
__ module/_warnings/test [30 done in total, somefailed=False] _________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
module/_warnings/test/apptest_warnings.py ........... [ 91%]
module/_warnings/test/test_warnings.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 12 passed, 1 warnings in 6.49 seconds =====================
++ 15:57:22 starting module/_winreg/test [33 started in total]
__ module/_winreg/test [31 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 1 skipped, 1 warnings in 0.15 seconds =====================
++ 15:57:23 starting module/array/test [34 started in total]
__ module/_weakref/test [32 done in total, somefailed=False] __________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
module/_weakref/test/test_weakref.py ....................s.............. [ 83%]
....... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 41 passed, 1 skipped, 1 warnings in 5.73 seconds ===============
++ 15:57:25 starting module/binascii/test [35 started in total]
__ module/binascii/test [33 done in total, somefailed=False] __________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/binascii/test/test_binascii.py .............. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 14 passed, 1 warnings in 4.85 seconds =====================
++ 15:57:30 starting module/bz2/test [36 started in total]
__ module/_socket/test [34 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 60 items
module/_socket/test/test_sock_app.py ..................s................ [ 58%]
........s....ss......... [ 98%]
module/_socket/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 56 passed, 4 skipped, 1 warnings in 56.18 seconds ===============
++ 15:57:49 starting module/cStringIO/test [37 started in total]
__ module/bz2/test [35 done in total, somefailed=True] ________________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 52 items
module/bz2/test/test_bz2_compdecomp.py ..s...........s... [ 34%]
module/bz2/test/test_bz2_file.py ..E............................... [ 98%]
module/bz2/test/test_large.py s [100%]
==================================== ERRORS ====================================
______________ ERROR at teardown of AppTestBZ2File.test_creation _______________
self = <CallInfo when='teardown' exception: >
func = <function <lambda> at 0x000000016007e890>, when = 'teardown'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_teardown'>, args = ()
kwargs = {'item': <AppTestMethod 'test_creation'>, 'nextitem': <AppTestMethod 'test_close'>}
notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x0000000138498790>
hook = <_HookCaller 'pytest_runtest_teardown'>
methods = [<HookImpl plugin_name='5788897504', plugin=<rpython.conftest.LeakFinder instance at 0x00000001590b90e0>>, <HookImpl p...10d910>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x000000015915e6e8>>]
kwargs = {'item': <AppTestMethod 'test_creation'>, 'nextitem': <AppTestMethod 'test_close'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_teardown'>
methods = [<HookImpl plugin_name='5788897504', plugin=<rpython.conftest.LeakFinder instance at 0x00000001590b90e0>>, <HookImpl p...10d910>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x000000015915e6e8>>]
kwargs = {'item': <AppTestMethod 'test_creation'>, 'nextitem': <AppTestMethod 'test_close'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5788897504', plugin=<rpython.conftest.LeakFinder instance at 0x00000001590b90e0>>, <HookImpl p...10d910>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x000000015915e6e8>>]
caller_kwargs = {'item': <AppTestMethod 'test_creation'>, 'nextitem': <AppTestMethod 'test_close'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x000000013982b6e0>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5788897504', plugin=<rpython.conftest.LeakFinder instance at 0x00000001590b90e0>>, <HookImpl p...10d910>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x000000015915e6e8>>]
caller_kwargs = {'item': <AppTestMethod 'test_creation'>, 'nextitem': <AppTestMethod 'test_close'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_creation'>, nextitem = <AppTestMethod 'test_close'>
def pytest_runtest_teardown(item, nextitem):
_update_current_test_var(item, "teardown")
> item.session._setupstate.teardown_exact(item, nextitem)
../_pytest/runner.py:136:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000159248410>
item = <AppTestMethod 'test_creation'>, nextitem = <AppTestMethod 'test_close'>
def teardown_exact(self, item, nextitem):
needed_collectors = nextitem and nextitem.listchain() or []
> self._teardown_towards(needed_collectors)
../_pytest/runner.py:351:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000159248410>
needed_collectors = [<Session 'build'>, <PyPyModule 'pypy/module/bz2/test/test_bz2_file.py'>, <AppClassCollector 'AppTestBZ2File'>, <AppClassInstance '()'>, <AppTestMethod 'test_close'>]
def _teardown_towards(self, needed_collectors):
exc = None
while self.stack:
if self.stack == needed_collectors[: len(self.stack)]:
break
try:
self._pop_and_teardown()
except TEST_OUTCOME:
# XXX Only first exception will be seen by user,
# ideally all should be reported.
if exc is None:
exc = sys.exc_info()
if exc:
> six.reraise(*exc)
../_pytest/runner.py:366:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000159248410>
needed_collectors = [<Session 'build'>, <PyPyModule 'pypy/module/bz2/test/test_bz2_file.py'>, <AppClassCollector 'AppTestBZ2File'>, <AppClassInstance '()'>, <AppTestMethod 'test_close'>]
def _teardown_towards(self, needed_collectors):
exc = None
while self.stack:
if self.stack == needed_collectors[: len(self.stack)]:
break
try:
> self._pop_and_teardown()
../_pytest/runner.py:359:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000159248410>
def _pop_and_teardown(self):
colitem = self.stack.pop()
> self._teardown_with_finalization(colitem)
../_pytest/runner.py:316:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000159248410>
colitem = <AppTestMethod 'test_creation'>
def _teardown_with_finalization(self, colitem):
> self._callfinalizers(colitem)
../_pytest/runner.py:334:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000159248410>
colitem = <AppTestMethod 'test_creation'>
def _callfinalizers(self, colitem):
finalizers = self._finalizers.pop(colitem, None)
exc = None
while finalizers:
fin = finalizers.pop()
try:
fin()
except TEST_OUTCOME:
# XXX Only first exception will be seen by user,
# ideally all should be reported.
if exc is None:
exc = sys.exc_info()
if exc:
> six.reraise(*exc)
../_pytest/runner.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000159248410>
colitem = <AppTestMethod 'test_creation'>
def _callfinalizers(self, colitem):
finalizers = self._finalizers.pop(colitem, None)
exc = None
while finalizers:
fin = finalizers.pop()
try:
> fin()
../_pytest/runner.py:324:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> return lambda: result(param_obj)
../_pytest/python.py:614:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.bz2.test.test_bz2_file.AppTestBZ2File instance at 0x0000000119916120>
fun = <bound method AppTestBZ2File.test_creation of <pypy.module.bz2.test.test_bz2_file.AppTestBZ2File instance at 0x0000000119916120>>
def teardown_method(self, fun):
from rpython.rtyper.lltypesystem import ll2ctypes
import gc
tries = 20
# remove the GC strings from ll2ctypes
for key, value in ll2ctypes.ALLOCATED.items():
if value._TYPE._gckind == 'gc':
del ll2ctypes.ALLOCATED[key]
#
while tries and ll2ctypes.ALLOCATED:
gc.collect() # to make sure we disallocate buffers
self.space.getexecutioncontext()._run_finalizers_now()
tries -= 1
> assert not ll2ctypes.ALLOCATED
E AssertionError
module/bz2/test/support.py:15: AssertionError
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
pypy/module/bz2/test/test_bz2_compdecomp.py::AppTestBZ2Compressor::()::test_compress
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/bz2/test/test_bz2_compdecomp.py:20: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import popen2
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========== 49 passed, 3 skipped, 2 warnings, 1 error in 18.02 seconds ==========
++ 15:57:51 starting module/cmath/test [38 started in total]
__ module/array/test [36 done in total, somefailed=True] ______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 49 items
module/array/test/test_array.py ..............E......................s.. [ 79%]
......... [ 97%]
module/array/test/test_ztranslation.py . [100%]
==================================== ERRORS ====================================
____________ ERROR at teardown of AppTestArray.test_reversingslice _____________
self = <CallInfo when='teardown' exception: {
<C object Array of Char {'nolength': T..._array.py", line 190, in setlen
rffi.CCHARP.TO, byte_size, flavor='raw')
}>
func = <function <lambda> at 0x0000000129c6e458>, when = 'teardown'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_teardown'>, args = ()
kwargs = {'item': <AppTestMethod 'test_reversingslice'>, 'nextitem': <AppTestMethod 'test_getslice_large_step'>}
notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x000000010849a758>
hook = <_HookCaller 'pytest_runtest_teardown'>
methods = [<HookImpl plugin_name='5238432928', plugin=<rpython.conftest.LeakFinder instance at 0x00000001383c24a0>>, <HookImpl p...3a4de8>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x00000001383e7b08>>]
kwargs = {'item': <AppTestMethod 'test_reversingslice'>, 'nextitem': <AppTestMethod 'test_getslice_large_step'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_teardown'>
methods = [<HookImpl plugin_name='5238432928', plugin=<rpython.conftest.LeakFinder instance at 0x00000001383c24a0>>, <HookImpl p...3a4de8>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x00000001383e7b08>>]
kwargs = {'item': <AppTestMethod 'test_reversingslice'>, 'nextitem': <AppTestMethod 'test_getslice_large_step'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5238432928', plugin=<rpython.conftest.LeakFinder instance at 0x00000001383c24a0>>, <HookImpl p...3a4de8>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x00000001383e7b08>>]
caller_kwargs = {'item': <AppTestMethod 'test_reversingslice'>, 'nextitem': <AppTestMethod 'test_getslice_large_step'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x00000001398124b8>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5238432928', plugin=<rpython.conftest.LeakFinder instance at 0x00000001383c24a0>>, <HookImpl p...3a4de8>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x00000001383e7b08>>]
caller_kwargs = {'item': <AppTestMethod 'test_reversingslice'>, 'nextitem': <AppTestMethod 'test_getslice_large_step'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <rpython.conftest.LeakFinder instance at 0x00000001383c24a0>
item = <AppTestMethod 'test_reversingslice'>
@pytest.hookimpl(trylast=True)
def pytest_runtest_teardown(self, item):
if not isinstance(item, py.test.collect.Function):
return
if (not getattr(item.obj, 'dont_track_allocations', False)
and leakfinder.TRACK_ALLOCATIONS):
kwds = {}
try:
kwds['do_collection'] = item.track_allocations_collect
except AttributeError:
pass
item._pypytest_leaks = leakfinder.stop_tracking_allocations(False,
**kwds)
else: # stop_tracking_allocations() already called
item._pypytest_leaks = None
# check for leaks, but only if the test passed so far
if getattr(item, '_success', False) and item._pypytest_leaks:
> raise leakfinder.MallocMismatch(item._pypytest_leaks)
E MallocMismatch: {
E
E <C object Array of Char {'nolength': True} at 0x600000926760>:
E <C object Array of Char {'nolength': True} at 0x600000925ec0>:
E <C object Array of Char {'nolength': True} at 0x6000009261e0>:
E <C object Array of Char {'nolength': True} at 0x6000009267c0>:
E <C object Array of Char {'nolength': True} at 0x6000009268e0>:
E <C object Array of Char {'nolength': True} at 0x600000926300>:
E <C object Array of Char {'nolength': True} at 0x600000925940>:
E <C object Array of Char {'nolength': True} at 0x600000926580>:
E <C object Array of Char {'nolength': True} at 0x600000b2e1d0>:
E <C object Array of Char {'nolength': True} at 0x600000926280>:
E <C object Array of Char {'nolength': True} at 0x600000925fe0>:
E <C object Array of Char {'nolength': True} at 0x600000b2ec40>:
E <C object Array of Char {'nolength': True} at 0x600000926920>:
E <C object Array of Char {'nolength': True} at 0x6000009263a0>:
E <C object Array of Char {'nolength': True} at 0x600000926020>:
E <C object Array of Char {'nolength': True} at 0x600000b2d5b0>:
E <C object Array of Char {'nolength': True} at 0x600000b2e0e0>:
E <C object Array of Char {'nolength': True} at 0x600000926540>:
E <C object Array of Char {'nolength': True} at 0x600000926840>:
E <C object Array of Char {'nolength': True} at 0x600000b2d730>:
E <C object Array of Char {'nolength': True} at 0x600000b2e380>:
E <C object Array of Char {'nolength': True} at 0x6000009244a0>:
E <C object Array of Char {'nolength': True} at 0x600000926600>:
E <C object Array of Char {'nolength': True} at 0x600000b28ca0>:
E <C object Array of Char {'nolength': True} at 0x600000b2ad90>:
E <C object Array of Char {'nolength': True} at 0x6000009266c0>:
E <C object Array of Char {'nolength': True} at 0x600000925a80>:
E <C object Array of Char {'nolength': True} at 0x600000b2db00>:
E <C object Array of Char {'nolength': True} at 0x600000b2e6a0>:
E <C object Array of Char {'nolength': True} at 0x6000009265c0>:
E <C object Array of Char {'nolength': True} at 0x600000926260>:
E <C object Array of Char {'nolength': True} at 0x600000b2f320>:
E <C object Array of Char {'nolength': True} at 0x600000b2fd20>:
E <C object Array of Char {'nolength': True} at 0x600000926ac0>:
E <C object Array of Char {'nolength': True} at 0x600000925d20>:
E <C object Array of Char {'nolength': True} at 0x600000b2ce50>:
E <C object Array of Char {'nolength': True} at 0x600000b2de20>:
E <C object Array of Char {'nolength': True} at 0x600000925e80>:
E <C object Array of Char {'nolength': True} at 0x6000009259a0>:
E <C object Array of Char {'nolength': True} at 0x600000b29600>:
E <C object Array of Char {'nolength': True} at 0x600000b2be30>:
E <C object Array of Char {'nolength': True} at 0x600000925680>:
E <C object Array of Char {'nolength': True} at 0x600000926a00>:
E <C object Array of Char {'nolength': True} at 0x6000009263e0>:
E <C object Array of Char {'nolength': True} at 0x600000b3e450>:
E <C object Array of Char {'nolength': True} at 0x6000007032d0>:
E <C object Array of Char {'nolength': True} at 0x6000007032a0>:
E <C object Array of Char {'nolength': True} at 0x6000009267e0>:
E <C object Array of Char {'nolength': True} at 0x600000924aa0>:
E <C object Array of Char {'nolength': True} at 0x6000009260a0>:
E <C object Array of Char {'nolength': True} at 0x60000093a6a0>:
E <C object Array of Char {'nolength': True} at 0x60000093a3e0>:
E <C object Array of Char {'nolength': True} at 0x60000093b1e0>:
E <C object Array of Char {'nolength': True} at 0x60000093b300>:
E <C object Array of Char {'nolength': True} at 0x60000093af80>:
E <C object Array of Char {'nolength': True} at 0x60000093b060>:
E <C object Array of Char {'nolength': True} at 0x60000093b120>:
E <C object Array of Char {'nolength': True} at 0x60000093b380>:
E <C object Array of Char {'nolength': True} at 0x60000093a8a0>:
E <C object Array of Char {'nolength': True} at 0x60000093aac0>:
E <C object Array of Char {'nolength': True} at 0x60000093ae00>:
E <C object Array of Char {'nolength': True} at 0x6000009396e0>:
E <C object Array of Char {'nolength': True} at 0x60000093aa00>:
E <C object Array of Char {'nolength': True} at 0x600000b29260>:
E <C object Array of Char {'nolength': True} at 0x600000705da0>:
E <C object Array of Char {'nolength': True} at 0x6000007072d0>:
E <C object Array of Char {'nolength': True} at 0x60000093b2e0>:
E <C object Array of Char {'nolength': True} at 0x60000093a4e0>:
E <C object Array of Char {'nolength': True} at 0x60000093b360>:
E <C object Array of Char {'nolength': True} at 0x60000093b3e0>:
E <C object Array of Char {'nolength': True} at 0x60000093b500>:
E <C object Array of Char {'nolength': True} at 0x60000093b240>:
E <C object Array of Char {'nolength': True} at 0x60000093b0a0>:
E <C object Array of Char {'nolength': True} at 0x60000093a200>:
E <C object Array of Char {'nolength': True} at 0x60000093b2a0>:
E <C object Array of Char {'nolength': True} at 0x60000093ae40>:
E <C object Array of Char {'nolength': True} at 0x60000093b0e0>:
E <C object Array of Char {'nolength': True} at 0x60000093b220>:
E <C object Array of Char {'nolength': True} at 0x60000093b000>:
E <C object Array of Char {'nolength': True} at 0x60000093b4a0>:
E <C object Array of Char {'nolength': True} at 0x600000b515a0>:
E <C object Array of Char {'nolength': True} at 0x60000093b0c0>:
E <C object Array of Char {'nolength': True} at 0x60000093b320>:
E <C object Array of Char {'nolength': True} at 0x600000b531c0>:
E <C object Array of Char {'nolength': True} at 0x60000093b460>:
E <C object Array of Char {'nolength': True} at 0x60000093b760>:
E <C object Array of Char {'nolength': True} at 0x60000093b3a0>:
E <C object Array of Char {'nolength': True} at 0x600000b29020>:
E <C object Array of Char {'nolength': True} at 0x600000b247b0>:
E <C object Array of Char {'nolength': True} at 0x60000093b4c0>:
E <C object Array of Char {'nolength': True} at 0x60000093abc0>:
E <C object Array of Char {'nolength': True} at 0x600000b28980>:
E <C object Array of Char {'nolength': True} at 0x600000b50260>:
E <C object Array of Char {'nolength': True} at 0x60000093a4c0>:
E <C object Array of Char {'nolength': True} at 0x60000093b260>:
E <C object Array of Char {'nolength': True} at 0x600000b50110>:
E <C object Array of Char {'nolength': True} at 0x600000b50de0>:
E <C object Array of Char {'nolength': True} at 0x600000939fe0>:
E <C object Array of Char {'nolength': True} at 0x60000093b400>:
E <C object Array of Char {'nolength': True} at 0x60000093b280>:
E <C object Array of Char {'nolength': True} at 0x60000093b740>:
E <C object Array of Char {'nolength': True} at 0x60000093b920>:
E <C object Array of Char {'nolength': True} at 0x60000093b2c0>:
E <C object Array of Char {'nolength': True} at 0x60000093b3c0>:
E <C object Array of Char {'nolength': True} at 0x60000093b1a0>:
E <C object Array of Char {'nolength': True} at 0x60000093b340>:
E <C object Array of Char {'nolength': True} at 0x60000093b440>:
E <C object Array of Char {'nolength': True} at 0x60000093b680>:
E <C object Array of Char {'nolength': True} at 0x60000093b820>:
E <C object Array of Char {'nolength': True} at 0x600000b2fd60>:
E <C object Array of Char {'nolength': True} at 0x60000093b040>:
E <C object Array of Char {'nolength': True} at 0x60000093b780>:
E <C object Array of Char {'nolength': True} at 0x600000b53980>:
E <C object Array of Char {'nolength': True} at 0x600000b2c6b0>:
E <C object Array of Char {'nolength': True} at 0x60000093b700>:
E <C object Array of Char {'nolength': True} at 0x60000093b660>:
E <C object Array of Char {'nolength': True} at 0x600000b50250>:
E <C object Array of Char {'nolength': True} at 0x600000b51450>:
E <C object Array of Char {'nolength': True} at 0x60000093a220>:
E <C object Array of Char {'nolength': True} at 0x60000093aee0>:
E <C object Array of Char {'nolength': True} at 0x600000b2a9a0>:
E <C object Array of Char {'nolength': True} at 0x600000b24290>:
E <C object Array of Char {'nolength': True} at 0x60000093b6e0>:
E <C object Array of Char {'nolength': True} at 0x60000093b140>:
E <C object Array of Char {'nolength': True} at 0x60000093baa0>:
E <C object Array of Char {'nolength': True} at 0x60000093bc00>:
E <C object Array of Char {'nolength': True} at 0x60000093b5e0>:
E <C object Array of Char {'nolength': True} at 0x60000093b020>:
E <C object Array of Char {'nolength': True} at 0x60000093ba20>:
E <C object Array of Char {'nolength': True} at 0x60000093bcc0>:
E <C object Array of Char {'nolength': True} at 0x60000093b880>:
E <C object Array of Char {'nolength': True} at 0x60000093ba40>:
E <C object Array of Char {'nolength': True} at 0x60000093bc80>:
E <C object Array of Char {'nolength': True} at 0x60000093bb80>:
E <C object Array of Char {'nolength': True} at 0x600000b52db0>:
E <C object Array of Char {'nolength': True} at 0x60000093b1c0>:
E <C object Array of Char {'nolength': True} at 0x60000093b8c0>:
E <C object Array of Char {'nolength': True} at 0x600000b50b30>:
E <C object Array of Char {'nolength': True} at 0x600000b524e0>:
E <C object Array of Char {'nolength': True} at 0x60000093b900>:
E <C object Array of Char {'nolength': True} at 0x60000093bb20>:
E <C object Array of Char {'nolength': True} at 0x600000b54f80>:
E <C object Array of Char {'nolength': True} at 0x600000b55700>:
E <C object Array of Char {'nolength': True} at 0x60000093b100>:
E <C object Array of Char {'nolength': True} at 0x60000093acc0>:
E <C object Array of Char {'nolength': True} at 0x600000b544c0>:
E <C object Array of Char {'nolength': True} at 0x600000b54ca0>:
E <C object Array of Char {'nolength': True} at 0x60000093bb60>:
E <C object Array of Char {'nolength': True} at 0x60000093b9a0>:
E <C object Array of Char {'nolength': True} at 0x600000b571c0>:
E <C object Array of Char {'nolength': True} at 0x600000b543a0>:
E <C object Array of Char {'nolength': True} at 0x60000093aea0>:
E <C object Array of Char {'nolength': True} at 0x60000093b160>:
E <C object Array of Char {'nolength': True} at 0x600000b56b80>:
E <C object Array of Char {'nolength': True} at 0x600000b57450>:
E <C object Array of Char {'nolength': True} at 0x60000093bc40>:
E <C object Array of Char {'nolength': True} at 0x60000093bba0>:
E <C object Array of Char {'nolength': True} at 0x60000093bae0>:
E <C object Array of Char {'nolength': True} at 0x60000093bde0>:
E <C object Array of Char {'nolength': True} at 0x600000937fe0>:
E <C object Array of Char {'nolength': True} at 0x600000913b20>:
E <C object Array of Char {'nolength': True} at 0x6000009138a0>:
E <C object Array of Char {'nolength': True} at 0x600000937d20>:
E <C object Array of Char {'nolength': True} at 0x600000913d40>:
E <C object Array of Char {'nolength': True} at 0x600000b54350>:
E <C object Array of Char {'nolength': True} at 0x600000707300>:
E <C object Array of Char {'nolength': True} at 0x600000707870>:
E <C object Array of Char {'nolength': True} at 0x6000009148e0>:
E <C object Array of Char {'nolength': True} at 0x6000009146e0>:
E <C object Array of Char {'nolength': True} at 0x600000914380>:
E <C object Array of Char {'nolength': True} at 0x60000091c380>:
E <C object Array of Char {'nolength': True} at 0x600000926860>:
E <C object Array of Char {'nolength': True} at 0x6000009263c0>:
E <C object Array of Char {'nolength': True} at 0x600000926520>:
E <C object Array of Char {'nolength': True} at 0x600000b57300>:
E <C object Array of Char {'nolength': True} at 0x600000b57e60>:
E <C object Array of Char {'nolength': True} at 0x600000926a80>:
E <C object Array of Char {'nolength': True} at 0x600000926660>:
E <C object Array of Char {'nolength': True} at 0x600000b556c0>:
E <C object Array of Char {'nolength': True} at 0x600000b562c0>:
E <C object Array of Char {'nolength': True} at 0x600000926b20>:
E <C object Array of Char {'nolength': True} at 0x6000009269e0>:
E <C object Array of Char {'nolength': True} at 0x600000b27b30>:
E <C object Array of Char {'nolength': True} at 0x600000b546a0>:
E <C object Array of Char {'nolength': True} at 0x600000926440>:
E <C object Array of Char {'nolength': True} at 0x600000926160>:
E <C object Array of Char {'nolength': True} at 0x600000926420>:
E <C object Array of Char {'nolength': True} at 0x600000926500>:
E <C object Array of Char {'nolength': True} at 0x600000926940>:
E <C object Array of Char {'nolength': True} at 0x600000926d20>:
E <C object Array of Char {'nolength': True} at 0x600000925360>:
E <C object Array of Char {'nolength': True} at 0x600000b54c80>:
E <C object Array of Char {'nolength': True} at 0x600000703450>:
E <C object Array of Char {'nolength': True} at 0x6000007031e0>:
E <C object Array of Char {'nolength': True} at 0x600000926be0>:
E <C object Array of Char {'nolength': True} at 0x6000009268a0>:
E <C object Array of Char {'nolength': True} at 0x600000926a20>:
E <C object Array of Char {'nolength': True} at 0x600000926ce0>:
E <C object Array of Char {'nolength': True} at 0x600000926f80>:
E <C object Array of Char {'nolength': True} at 0x600000929fc0>:
E <C object Array of Char {'nolength': True} at 0x600000928ea0>:
E <C object Array of Char {'nolength': True} at 0x600000b1e120>:
E <C object Array of Char {'nolength': True} at 0x600000b1c670>:
E <C object Array of Char {'nolength': True} at 0x60000092a1e0>:
E <C object Array of Char {'nolength': True} at 0x600000929e00>:
E <C object Array of Char {'nolength': True} at 0x600000b54180>:
E <C object Array of Char {'nolength': True} at 0x600000b559c0>:
E <C object Array of Char {'nolength': True} at 0x60000092a020>:
E <C object Array of Char {'nolength': True} at 0x60000092a2c0>:
E <C object Array of Char {'nolength': True} at 0x600000b1dd60>:
E <C object Array of Char {'nolength': True} at 0x600000b1f500>:
E <C object Array of Char {'nolength': True} at 0x6000009299c0>:
E <C object Array of Char {'nolength': True} at 0x600000929ca0>:
E <C object Array of Char {'nolength': True} at 0x600000b1e420>:
E <C object Array of Char {'nolength': True} at 0x600000b1d170>:
E <C object Array of Char {'nolength': True} at 0x600000929de0>:
E <C object Array of Char {'nolength': True} at 0x600000929d20>:
E <C object Array of Char {'nolength': True} at 0x60000092a120>:
E <C object Array of Char {'nolength': True} at 0x600000b0b390>:
E <C object Array of Char {'nolength': True} at 0x600000735ce0>:
E <C object Array of Char {'nolength': True} at 0x6000007034b0>:
E <C object Array of Char {'nolength': True} at 0x600000926980>:
E <C object Array of Char {'nolength': True} at 0x600000925180>:
E <C object Array of Char {'nolength': True} at 0x600000926380>:
E <C object Array of Char {'nolength': True} at 0x600000926f60>:
E <C object Array of Char {'nolength': True} at 0x600000926f00>:
E <C object Array of Char {'nolength': True} at 0x600000926ae0>:
E <C object Array of Char {'nolength': True} at 0x600000926d40>:
E <C object Array of Char {'nolength': True} at 0x600000926400>:
E <C object Array of Char {'nolength': True} at 0x600000926b60>:
E <C object Array of Char {'nolength': True} at 0x600000926de0>:
E <C object Array of Char {'nolength': True} at 0x600000927060>:
E <C object Array of Char {'nolength': True} at 0x600000926c00>:
E <C object Array of Char {'nolength': True} at 0x600000926c20>:
E <C object Array of Char {'nolength': True} at 0x600000927040>:
E <C object Array of Char {'nolength': True} at 0x600000926b40>:
E <C object Array of Char {'nolength': True} at 0x600000926040>:
E <C object Array of Char {'nolength': True} at 0x600000b5b4c0>:
E <C object Array of Char {'nolength': True} at 0x600000702ac0>:
E <C object Array of Char {'nolength': True} at 0x6000007038a0>:
E <C object Array of Char {'nolength': True} at 0x6000009252e0>:
E <C object Array of Char {'nolength': True} at 0x600000926d00>:
E <C object Array of Char {'nolength': True} at 0x600000926dc0>:
E <C object Array of Char {'nolength': True} at 0x600000926fe0>:
E <C object Array of Char {'nolength': True} at 0x600000926ea0>:
E <C object Array of Char {'nolength': True} at 0x600000927240>:
E <C object Array of Char {'nolength': True} at 0x600000925c00>:
E <C object Array of Char {'nolength': True} at 0x600000b5a0b0>:
E <C object Array of Char {'nolength': True} at 0x600000b5ab20>:
E <C object Array of Char {'nolength': True} at 0x600000927020>:
E <C object Array of Char {'nolength': True} at 0x600000927100>:
E <C object Array of Char {'nolength': True} at 0x600000b14ce0>:
E <C object Array of Char {'nolength': True} at 0x600000b090e0>:
E <C object Array of Char {'nolength': True} at 0x600000925ca0>:
E <C object Array of Char {'nolength': True} at 0x600000926fc0>:
E <C object Array of Char {'nolength': True} at 0x600000b5b0d0>:
E <C object Array of Char {'nolength': True} at 0x600000b580a0>:
E <C object Array of Char {'nolength': True} at 0x600000926a40>:
E <C object Array of Char {'nolength': True} at 0x600000926b80>:
E <C object Array of Char {'nolength': True} at 0x6000009266e0>:
E <C object Array of Char {'nolength': True} at 0x600000927140>:
E <C object Array of Char {'nolength': True} at 0x6000009273c0>:
E <C object Array of Char {'nolength': True} at 0x600000926c80>:
E <C object Array of Char {'nolength': True} at 0x600000926d60>:
E <C object Array of Char {'nolength': True} at 0x600000b1f9f0>:
E <C object Array of Char {'nolength': True} at 0x600000707390>:
E <C object Array of Char {'nolength': True} at 0x600000707930>:
E <C object Array of Char {'nolength': True} at 0x600000913a20>:
E <C object Array of Char {'nolength': True} at 0x600000913c80>:
E <C object Array of Char {'nolength': True} at 0x600000937f40>:
E <C object Array of Char {'nolength': True} at 0x60000093b980>:
E <C object Array of Char {'nolength': True} at 0x60000093b7e0>:
E <C object Array of Char {'nolength': True} at 0x60000093ae80>:
E <C object Array of Char {'nolength': True} at 0x60000093afa0>:
E <C object Array of Char {'nolength': True} at 0x600000b589b0>:
E <C object Array of Char {'nolength': True} at 0x600000b59ed0>:
E <C object Array of Char {'nolength': True} at 0x60000093be00>:
E <C object Array of Char {'nolength': True} at 0x60000093bec0>:
E <C object Array of Char {'nolength': True} at 0x600000b587f0>:
E <C object Array of Char {'nolength': True} at 0x600000b59c00>:
E <C object Array of Char {'nolength': True} at 0x60000093bbe0>:
E <C object Array of Char {'nolength': True} at 0x60000093be20>:
E <C object Array of Char {'nolength': True} at 0x600000b2b550>:
E <C object Array of Char {'nolength': True} at 0x600000b588f0>:
E <C object Array of Char {'nolength': True} at 0x60000093b8a0>:
E <C object Array of Char {'nolength': True} at 0x60000093b9c0>:
E <C object Array of Char {'nolength': True} at 0x600000b2eb10>:
E <C object Array of Char {'nolength': True} at 0x600000b087e0>:
E <C object Array of Char {'nolength': True} at 0x60000093bf00>:
E <C object Array of Char {'nolength': True} at 0x60000093b4e0>:
E <C object Array of Char {'nolength': True} at 0x60000093bd00>:
E <C object Array of Char {'nolength': True} at 0x600000b5c000>:
E <C object Array of Char {'nolength': True} at 0x60000071b060>:
E <C object Array of Char {'nolength': True} at 0x60000071b660>:
E <C object Array of Char {'nolength': True} at 0x60000091a120>:
E <C object Array of Char {'nolength': True} at 0x60000091a680>:
E <C object Array of Char {'nolength': True} at 0x600000919780>:
E <C object Array of Char {'nolength': True} at 0x60000091a4c0>:
E <C object Array of Char {'nolength': True} at 0x60000091a840>:
E <C object Array of Char {'nolength': True} at 0x60000091a9c0>:
E <C object Array of Char {'nolength': True} at 0x600000925c20>:
E <C object Array of Char {'nolength': True} at 0x600000926ca0>:
E <C object Array of Char {'nolength': True} at 0x600000926060>:
E <C object Array of Char {'nolength': True} at 0x600000926d80>:
E <C object Array of Char {'nolength': True} at 0x600000926e40>:
E <C object Array of Char {'nolength': True} at 0x6000009272a0>:
E <C object Array of Char {'nolength': True} at 0x600000927360>:
E <C object Array of Char {'nolength': True} at 0x600000926e20>:
E <C object Array of Char {'nolength': True} at 0x600000927260>:
E <C object Array of Char {'nolength': True} at 0x60000091a460>:
E <C object Array of Char {'nolength': True} at 0x600000b40590>:
E <C object Array of Char {'nolength': True} at 0x60000071b180>:
E <C object Array of Char {'nolength': True} at 0x60000071ae80>:
E <C object Array of Char {'nolength': True} at 0x60000091a220>:
E <C object Array of Char {'nolength': True} at 0x600000919d80>:
E <C object Array of Char {'nolength': True} at 0x60000091a780>:
E <C object Array of Char {'nolength': True} at 0x60000091a500>:
E <C object Array of Char {'nolength': True} at 0x60000091a600>:
E <C object Array of Char {'nolength': True} at 0x60000091a700>:
E <C object Array of Char {'nolength': True} at 0x60000091aa40>:
E <C object Array of Char {'nolength': True} at 0x600000919800>:
E <C object Array of Char {'nolength': True} at 0x60000091a720>:
E <C object Array of Char {'nolength': True} at 0x60000093b7c0>:
E <C object Array of Char {'nolength': True} at 0x60000093b960>:
E <C object Array of Char {'nolength': True} at 0x60000093ba00>:
E <C object Array of Char {'nolength': True} at 0x60000093bdc0>:
E <C object Array of Char {'nolength': True} at 0x60000093bc60>:
E <C object Array of Char {'nolength': True} at 0x600000b1dae0>:
E <C object Array of Char {'nolength': True} at 0x60000093bc20>:
E <C object Array of Char {'nolength': True} at 0x6000009271a0>:
E <C object Array of Char {'nolength': True} at 0x600000b5ec70>:
E <C object Array of Char {'nolength': True} at 0x60000091a960>:
E <C object Array of Char {'nolength': True} at 0x60000091aaa0>:
E <C object Array of Char {'nolength': True} at 0x60000091ac80>:
E <C object Array of Char {'nolength': True} at 0x600000b50870>:
E <C object Array of Char {'nolength': True} at 0x600000b00b90>:
E <C object Array of Char {'nolength': True} at 0x6000009200a0>:
E <C object Array of Char {'nolength': True} at 0x60000091c120>:
E <C object Array of Char {'nolength': True} at 0x600000b1fe30>:
E <C object Array of Char {'nolength': True} at 0x600000b005d0>:
E <C object Array of Char {'nolength': True} at 0x60000091c1e0>:
E <C object Array of Char {'nolength': True} at 0x600000929a80>:
E <C object Array of Char {'nolength': True} at 0x600000b23af0>:
E <C object Array of Char {'nolength': True} at 0x600000b595f0>:
E <C object Array of Char {'nolength': True} at 0x60000091a620>:
E <C object Array of Char {'nolength': True} at 0x60000091a7a0>:
E <C object Array of Char {'nolength': True} at 0x6000009143a0>:
E <C object Array of Char {'nolength': True} at 0x600000929980>:
E <C object Array of Char {'nolength': True} at 0x60000092a300>:
E <C object Array of Char {'nolength': True} at 0x60000092a340>:
E <C object Array of Char {'nolength': True} at 0x600000929fe0>:
E <C object Array of Char {'nolength': True} at 0x6000009297a0>:
E <C object Array of Char {'nolength': True} at 0x60000092a4a0>:
E <C object Array of Char {'nolength': True} at 0x600000b080d0>:
E <C object Array of Char {'nolength': True} at 0x60000092a140>:
E <C object Array of Char {'nolength': True} at 0x600000929b60>:
E <C object Array of Char {'nolength': True} at 0x600000b5b400>:
E <C object Array of Char {'nolength': True} at 0x60000092a200>:
E <C object Array of Char {'nolength': True} at 0x600000929e20>:
E <C object Array of Char {'nolength': True} at 0x60000092a220>:
E <C object Array of Char {'nolength': True} at 0x600000b44200>:
E <C object Array of Char {'nolength': True} at 0x600000b44980>:
E <C object Array of Char {'nolength': True} at 0x600000929680>:
E <C object Array of Char {'nolength': True} at 0x60000091c1c0>:
E <C object Array of Char {'nolength': True} at 0x600000b01070>:
E <C object Array of Char {'nolength': True} at 0x600000b30160>:
E <C object Array of Char {'nolength': True} at 0x60000091c2c0>:
E <C object Array of Char {'nolength': True} at 0x60000091c0e0>:
E <C object Array of Char {'nolength': True} at 0x600000b44640>:
E <C object Array of Char {'nolength': True} at 0x600000b446f0>:
E <C object Array of Char {'nolength': True} at 0x60000092a040>:
E <C object Array of Char {'nolength': True} at 0x600000920120>:
E <C object Array of Char {'nolength': True} at 0x600000b18a40>:
E <C object Array of Char {'nolength': True} at 0x600000b40110>:
E <C object Array of Char {'nolength': True} at 0x600000919ce0>:
E <C object Array of Char {'nolength': True} at 0x60000091a900>:
E <C object Array of Char {'nolength': True} at 0x600000b431b0>:
E <C object Array of Char {'nolength': True} at 0x600000b43b30>:
E <C object Array of Char {'nolength': True} at 0x60000091a800>:
E <C object Array of Char {'nolength': True} at 0x60000091a0e0>:
E <C object Array of Char {'nolength': True} at 0x600000b524d0>:
E <C object Array of Char {'nolength': True} at 0x600000b3ffc0>:
E <C object Array of Char {'nolength': True} at 0x6000009198e0>:
E <C object Array of Char {'nolength': True} at 0x60000091c480>:
E <C object Array of Char {'nolength': True} at 0x600000b5c0c0>:
E <C object Array of Char {'nolength': True} at 0x600000b5c3a0>:
E <C object Array of Char {'nolength': True} at 0x6000009272c0>:
E <C object Array of Char {'nolength': True} at 0x600000927400>:
E <C object Array of Char {'nolength': True} at 0x600000926da0>:
E <C object Array of Char {'nolength': True} at 0x600000b5f7c0>:
E <C object Array of Char {'nolength': True} at 0x6000009275e0>:
E <C object Array of Char {'nolength': True} at 0x600000914820>:
E <C object Array of Char {'nolength': True} at 0x600000914920>:
E <C object Array of Char {'nolength': True} at 0x600000926b00>:
E <C object Array of Char {'nolength': True} at 0x600000926740>:
E <C object Array of Char {'nolength': True} at 0x600000919f40>:
E ...
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 371, in descr_fromlist
E self.fromsequence(w_lst)
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 996, in fromsequence
E self.setlen(oldlen + len(lst))
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 190, in setlen
E rffi.CCHARP.TO, byte_size, flavor='raw')
E
E <C object Array of Char {'nolength': True} at 0x600000b2dc90>:
E <C object Array of Char {'nolength': True} at 0x600000b2d0b0>:
E <C object Array of Char {'nolength': True} at 0x600000b2d190>:
E <C object Array of Char {'nolength': True} at 0x600000b2a710>:
E <C object Array of Char {'nolength': True} at 0x600000b2d380>:
E <C object Array of Char {'nolength': True} at 0x600000b2ecf0>:
E <C object Array of Char {'nolength': True} at 0x600000b2c820>:
E <C object Array of Char {'nolength': True} at 0x600000b285d0>:
E <C object Array of Char {'nolength': True} at 0x600000b51140>:
E <C object Array of Char {'nolength': True} at 0x600000b2f680>:
E <C object Array of Char {'nolength': True} at 0x600000b2f3b0>:
E <C object Array of Char {'nolength': True} at 0x600000b513e0>:
E <C object Array of Char {'nolength': True} at 0x600000b51620>:
E <C object Array of Char {'nolength': True} at 0x600000b53410>:
E <C object Array of Char {'nolength': True} at 0x600000b508e0>:
E <C object Array of Char {'nolength': True} at 0x600000b2f670>:
E <C object Array of Char {'nolength': True} at 0x600000b52140>:
E <C object Array of Char {'nolength': True} at 0x600000b27f30>:
E <C object Array of Char {'nolength': True} at 0x600000b54b70>:
E <C object Array of Char {'nolength': True} at 0x600000b54020>:
E <C object Array of Char {'nolength': True} at 0x600000b56db0>:
E <C object Array of Char {'nolength': True} at 0x600000b566d0>:
E <C object Array of Char {'nolength': True} at 0x600000b55ec0>:
E <C object Array of Char {'nolength': True} at 0x600000b503e0>:
E <C object Array of Char {'nolength': True} at 0x600000b56d10>:
E <C object Array of Char {'nolength': True} at 0x600000b550b0>:
E <C object Array of Char {'nolength': True} at 0x600000b25840>:
E <C object Array of Char {'nolength': True} at 0x600000b57d10>:
E <C object Array of Char {'nolength': True} at 0x600000b1e470>:
E <C object Array of Char {'nolength': True} at 0x600000b547f0>:
E <C object Array of Char {'nolength': True} at 0x600000b1fb50>:
E <C object Array of Char {'nolength': True} at 0x600000b1e260>:
E <C object Array of Char {'nolength': True} at 0x600000b596c0>:
E <C object Array of Char {'nolength': True} at 0x600000b06640>:
E <C object Array of Char {'nolength': True} at 0x600000b5aba0>:
E <C object Array of Char {'nolength': True} at 0x600000b5bad0>:
E <C object Array of Char {'nolength': True} at 0x600000b582c0>:
E <C object Array of Char {'nolength': True} at 0x600000b15f80>:
E <C object Array of Char {'nolength': True} at 0x600000b2f050>:
E <C object Array of Char {'nolength': True} at 0x600000b534b0>:
E <C object Array of Char {'nolength': True} at 0x600000b0ca30>:
E <C object Array of Char {'nolength': True} at 0x600000b5b8c0>:
E <C object Array of Char {'nolength': True} at 0x600000b0d7f0>:
E <C object Array of Char {'nolength': True} at 0x600000b2eee0>:
E <C object Array of Char {'nolength': True} at 0x600000b0a660>:
E <C object Array of Char {'nolength': True} at 0x600000b5ba20>:
E <C object Array of Char {'nolength': True} at 0x600000b00a80>:
E <C object Array of Char {'nolength': True} at 0x600000b44230>:
E <C object Array of Char {'nolength': True} at 0x600000b18ae0>:
E <C object Array of Char {'nolength': True} at 0x600000b429c0>:
E <C object Array of Char {'nolength': True} at 0x600000b576e0>:
E <C object Array of Char {'nolength': True} at 0x600000b00af0>:
E ...
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 579, in descr_getitem
E return self.getitem_slice(space, w_idx)
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 1138, in getitem_slice
E w_a.setlen(size, overallocate=False)
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 190, in setlen
E rffi.CCHARP.TO, byte_size, flavor='raw')
E
E <C object Array of Char {'nolength': True} at 0x600000926800>:
E <C object Array of Char {'nolength': True} at 0x600000703000>:
E <C object Array of Char {'nolength': True} at 0x6000007062b0>:
E <C object Array of Char {'nolength': True} at 0x60000093a720>:
E <C object Array of Char {'nolength': True} at 0x600000706fd0>:
E <C object Array of Char {'nolength': True} at 0x600000702d00>:
E <C object Array of Char {'nolength': True} at 0x600000735980>:
E <C object Array of Char {'nolength': True} at 0x600000703210>:
E <C object Array of Char {'nolength': True} at 0x600000707000>:
E <C object Array of Char {'nolength': True} at 0x60000071ad30>:
E <C object Array of Char {'nolength': True} at 0x60000071adf0>:
E <C object Array of Char {'nolength': True} at 0x60000091a820>:
E <C object Array of Char {'nolength': True} at 0x600000929f20>:
E ...
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 1176, in setitem_slice
E self.fromsequence(w_lst)
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 996, in fromsequence
E self.setlen(oldlen + len(lst))
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 190, in setlen
E rffi.CCHARP.TO, byte_size, flavor='raw')
E }
../rpython/conftest.py:103: MallocMismatch
----------------------------- Captured stderr call -----------------------------
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001295e5248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129608c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009261e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129608cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009267c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129608db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009268e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129608de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296214e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129621520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129632db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129632de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2dc90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129632e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2e1d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129632e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129632e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129662090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2ec40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296620c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129662100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009263a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129663168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296631a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2d0b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129696988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2d5b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296969c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2e0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296969f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129696a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c3168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2d190>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c31a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2d730>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c31d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2e380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c3210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009244a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c3248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c3280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2a710>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c32b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b28ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296d2db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2ad90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296d2de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009266c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296d2e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ea5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2d380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ea608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2db00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ea640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2e6a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ea678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009265c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ebd38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ebd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2ecf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ebda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2f320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ebde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2fd20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ebe18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ebe50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ff7f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2c820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ff830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2ce50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ff868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2de20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ff8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ff8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009259a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ff910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b285d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ff948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b29600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129713360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2be30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129713398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001297133d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000703000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129713408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001297134b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009263e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129723280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b3e450>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001297232b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000007032d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001297462c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000007032a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129746b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009267e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129746b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000924aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129746c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009260a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001297765d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093a6a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139cfa2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093a3e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139cfa2f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139cfa3d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139cfa410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093af80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139cfb750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139cfb788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139cfb868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139cfb8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093a8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d04e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093aac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d04ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093ae00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d04fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000007062b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d18058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009396e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d18100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093aa00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d19788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b29260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d197c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000705da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d36368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000007072d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d363d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b2e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d36410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093a4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d377f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d37830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b3e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d37910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d37948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d5ab10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b0a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d5ab48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093a200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d5ac28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b2a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d6e6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093ae40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d6e7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139d6e800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139dfe090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139dfe0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b4a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139dfe1a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093a720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139dffa28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b51140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139dffa60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b515a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139dffa98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b0c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139dffad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e2cfe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b531c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e2d018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e2dc90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e2dd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b3a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e590f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2f680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e59130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b29020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e59168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b247b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e591a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e707c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093abc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e70800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2f3b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e70838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b28980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e70870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b50260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e708a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093a4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139e708e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139ea0330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b513e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139ea0368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b50110>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139eb5c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b50de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139eb5cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000939fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139eb5d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139eb5d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139ee3558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139ee3590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139ee3670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139ef0c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b3c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139ef0d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b1a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139ef0d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f32250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b51620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f33f68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f33fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f54020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f54058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2fd60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f54090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f55948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f72368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b53410>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f723a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b53980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f723d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2c6b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f73fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f94020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f94058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b508e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f94090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b50250>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f95168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b51450>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f951a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093a220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f951d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093aee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f95210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2f670>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f95248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2a9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f95280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b24290>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139f952b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b6e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fad248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fad280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093baa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fad360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bc00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fad398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b5e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fbca68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fbcaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093ba20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fbcb80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bcc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fbcbb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fca870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b52140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fca8e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093ba40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fca918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bc80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fca950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bb80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fe05d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b52db0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fe0608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b1c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fe1248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fe1c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b27f30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fe1cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b50b30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fe1d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b524e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fe1d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fe1d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bb20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0134e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b54b70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a013520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b54f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a013558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b55700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a013590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0135c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093acc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a013600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b54020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a013638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b544c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0210c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b54ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0210f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bb60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a021130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a021168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b56db0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0211a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b571c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0211d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b543a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0394b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093aea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0394e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a039520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b566d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a039558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b56b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a039590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b57450>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0395c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bc40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a049478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0494b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b55ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0494e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a049520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bde0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a049558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000937fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a049590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000913b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a0c84f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b503e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a12bd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009138a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a143718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000706fd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a143750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000937d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1437f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000913d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a17f088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b54350>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a17f980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000707300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1ae0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000707870>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1ae138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009148e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1ae170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009146e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1af670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000914380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1af6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091c380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1af788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1af7c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009263c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1c1130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1c1168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b56d10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1c11a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b57300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1c11d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b57e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1c1210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1d2cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1d2d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b550b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1d2d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b556c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1d2d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b562c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1d2db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1d2de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009269e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1e0720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b25840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1e0758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b27b30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1e0790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b546a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1e07c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1e0800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1e0838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b57d10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1e0870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1f04f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1f0528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1f0560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000702d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1f0598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a1f0640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a210170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b54c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2101a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000703450>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2116a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000007031e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012981c138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926be0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012981c170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009268a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012981cf00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012981cf38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012981d018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012981d050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131c3b9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000928ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131c49788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1e470>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131c497c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1e120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131c497f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1c670>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131c49830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000092a1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131c49868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131c498a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b547f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131c96f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b54180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131c96f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b559c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131caf980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000092a020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131caf9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000092a2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131caf9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1fb50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131cff478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1dd60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131cff4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1f500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131d30fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009299c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131d30fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131d49718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1e260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131d49750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1e420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131d49788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1d170>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131d497c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131d497f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000735980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131d49830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131d8b210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000092a120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131dac448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b0b390>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131dac480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000735ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131dad440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000007034b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131dad4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131dad4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131df4988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131df49c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131df4aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131df4ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e13e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e13e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e362c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e362f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e363d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000927060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e36410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e376e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e37718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000927040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e377f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000703210>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e37830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e46bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e47440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5b4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e47478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000702ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129896560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000007038a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298965d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009252e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129896608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298966e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129897b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129897c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129897c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000927240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129897d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298c3328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b596c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298c3360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5a0b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298c3398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5ab20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298c33d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000927020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298c3408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000927100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298c3440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b06640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298c3478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b14ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298d11d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b090e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298d1210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298d1248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298d1280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5aba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298d12b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5b0d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298d12f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b580a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298d1328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298e54b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298e54e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5bad0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298e5520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009266e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298e5558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000927140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298e5590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009273c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298e55c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000707000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298f3718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298f37c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129938020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1f9f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000109388410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000707390>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093ac448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000707930>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093ac4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000913a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093ac4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000913c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093ad830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000937f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093ad868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093ad948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093ad980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093ae80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093d0e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093afa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093d0ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b582c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093d0f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b589b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093d0f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b59ed0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093d0f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093be00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093d0fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093e2b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b15f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093e2b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b587f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093e2bb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b59c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093e2bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bbe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093e2c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093be20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093e2c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2f050>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093e2c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2b550>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093f48e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b588f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093f4918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093f4950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b9c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093f4988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b534b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093f49c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2eb10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093f49f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b087e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001093f4a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bf00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000109406d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000071ad30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000109406d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000109406e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bd00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a230c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5c000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a230c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000071b060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a231e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000071b660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a231e88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a231ec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a231fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000919780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a25f9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a25fad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a25fb08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a9c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a25fbe8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000925c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a26b590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a26b670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a26b6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a278c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a278c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009272a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a278d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000927360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a278d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a28e1a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000071adf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a28e1e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000927260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a28e288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a28f3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b40590>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a28fcc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000071b180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000010942c4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000071ae80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000010942cd78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000010942cdb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000919d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000010942ce90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000010942cec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001094529c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001094529f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000109452ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091aa40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000109452b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000919800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001094622f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000109462330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b7c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000109462410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093b960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000109462448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093ba00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000109474870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bdc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001094748a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bc60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2b49c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2b49f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b0ca30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2b4a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1dae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2b4a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000093bc20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2b4aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009271a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2ce448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5ec70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2ce480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2cfb40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091aaa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2cfbb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091ac80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2cfbe8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5b8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2cfc20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b50870>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2cfc58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b00b90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a2cfc90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009200a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a307a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091c120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a307a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b0d7f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a307a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b1fe30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a307ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b005d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a307b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091c1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a307b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a317a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b2eee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a317ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b23af0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a317b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b595f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a317b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a317b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a7a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013a317bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009143a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e63980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e639b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000092a300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e63a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000092a340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e63ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e797f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009297a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e79830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000092a4a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e79910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e79948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b0a660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e89478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b080d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e894b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000092a140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e894e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e90560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5b400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131e91fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000092a200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ebc020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ebd948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000092a220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ebd980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5ba20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ebd9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b44200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ee5360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b44980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ee5398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000929680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ee53d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091c1c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131efe640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b00a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131efe678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b01070>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131efe6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b30160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131efe6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091c2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131efe720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091c0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131efe758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b44230>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131efe790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b44640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131efe7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b446f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f10e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000092a040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f10e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000920120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f10e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b18ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f10ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b18a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f10f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b40110>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f10f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000919ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f21088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f210c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b429c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f210f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b431b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f21130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b43b30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f21168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f211a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091a0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f349f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b576e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f34a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b524d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f34a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b3ffc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f34aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009198e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f34ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000091c480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f34b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b00af0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f34b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5c0c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f34b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5c3a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f46c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009272c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f46cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000927400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131f46db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001299923d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000b5f7c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129992410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000009275e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129992448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000914820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129993638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000914920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129993670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001299c8870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000926740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a1c138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600000919f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a1d9b8> ignored
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========== 48 passed, 1 skipped, 1 warnings, 1 error in 25.58 seconds ==========
++ 15:57:51 starting module/cpyext/test/test_abstract.py [39 started in total]
__ module/cmath/test [37 done in total, somefailed=False] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
module/cmath/test/test_cmath.py ............... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 15 passed, 1 warnings in 3.61 seconds =====================
++ 15:57:55 starting module/cpyext/test/test_api.py [40 started in total]
__ module/cStringIO/test [38 done in total, somefailed=False] _________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
module/cStringIO/test/test_interp_stringio.py ............... [ 93%]
module/cStringIO/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 16 passed, 1 warnings in 6.91 seconds =====================
++ 15:57:58 starting module/cpyext/test/test_arraymodule.py [41 started in total]
__ module/cpyext/test/test_api.py [39 done in total, somefailed=False] ________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/cpyext/test/test_api.py .... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 4 passed, 1 warnings in 21.85 seconds =====================
++ 15:58:23 starting module/cpyext/test/test_boolobject.py [42 started in total]
__ module/cpyext/test/test_abstract.py [40 done in total, somefailed=False] ___
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
module/cpyext/test/test_abstract.py ....... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 7 passed, 1 warnings in 40.53 seconds =====================
++ 15:58:42 starting module/cpyext/test/test_borrow.py [43 started in total]
__ module/cpyext/test/test_boolobject.py [41 done in total, somefailed=False] _
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/cpyext/test/test_boolobject.py .... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 4 passed, 1 warnings in 39.73 seconds =====================
++ 15:59:14 starting module/cpyext/test/test_bufferobject.py [44 started in total]
__ module/cpyext/test/test_arraymodule.py [42 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
module/cpyext/test/test_arraymodule.py ..........x...... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 16 passed, 1 xfailed, 1 warnings in 73.46 seconds ===============
++ 15:59:18 starting module/cpyext/test/test_bytearrayobject.py [45 started in total]
__ module/cpyext/test/test_borrow.py [43 done in total, somefailed=False] _____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_borrow.py ... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 3 passed, 1 warnings in 39.33 seconds =====================
++ 15:59:27 starting module/cpyext/test/test_bytesobject.py [46 started in total]
__ module/cpyext/test/test_bufferobject.py [44 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/cpyext/test/test_bufferobject.py .... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 4 passed, 1 warnings in 37.70 seconds =====================
++ 15:59:59 starting module/cpyext/test/test_capsule.py [47 started in total]
__ module/cpyext/test/test_bytearrayobject.py [45 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_bytearrayobject.py ...... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 6 passed, 1 warnings in 39.37 seconds =====================
++ 16:00:02 starting module/cpyext/test/test_cell.py [48 started in total]
__ module/cpyext/test/test_bytesobject.py [46 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 25 items
module/cpyext/test/test_bytesobject.py ......................... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 25 passed, 1 warnings in 51.43 seconds ====================
++ 16:00:25 starting module/cpyext/test/test_classobject.py [49 started in total]
__ module/cpyext/test/test_capsule.py [47 done in total, somefailed=False] ____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/cpyext/test/test_capsule.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 1 passed, 1 warnings in 32.93 seconds =====================
++ 16:00:37 starting module/cpyext/test/test_codecs.py [50 started in total]
__ module/cpyext/test/test_cell.py [48 done in total, somefailed=False] _______
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/cpyext/test/test_cell.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 1 passed, 1 warnings in 32.30 seconds =====================
++ 16:00:40 starting module/cpyext/test/test_complexobject.py [51 started in total]
__ module/cpyext/test/test_classobject.py [49 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/cpyext/test/test_classobject.py ..... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 5 passed, 1 warnings in 31.69 seconds =====================
++ 16:01:03 starting module/cpyext/test/test_cpyext.py [52 started in total]
__ module/cpyext/test/test_codecs.py [50 done in total, somefailed=False] _____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/cpyext/test/test_codecs.py .. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 2 passed, 1 warnings in 21.06 seconds =====================
++ 16:01:05 starting module/cpyext/test/test_datetime.py [53 started in total]
__ module/cpyext/test/test_complexobject.py [51 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/cpyext/test/test_complexobject.py ..... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 5 passed, 1 warnings in 35.15 seconds =====================
++ 16:01:24 starting module/cpyext/test/test_dictobject.py [54 started in total]
__ module/cpyext/test/test_datetime.py [52 done in total, somefailed=True] ____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/cpyext/test/test_datetime.py .........F.... [100%]
=================================== FAILURES ===================================
__________________________ AppTestDatetime.test_CAPI ___________________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x0000000171f3aae8>, when = 'call'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <AppTestMethod 'test_CAPI'>}, notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x00000001401de678>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4989156128', plugin=<rpython.conftest.LeakFinder instance at 0x0000000129607b20>>, <HookImpl p...222db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000139146d78>>]
kwargs = {'item': <AppTestMethod 'test_CAPI'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4989156128', plugin=<rpython.conftest.LeakFinder instance at 0x0000000129607b20>>, <HookImpl p...222db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000139146d78>>]
kwargs = {'item': <AppTestMethod 'test_CAPI'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4989156128', plugin=<rpython.conftest.LeakFinder instance at 0x0000000129607b20>>, <HookImpl p...222db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000139146d78>>]
caller_kwargs = {'item': <AppTestMethod 'test_CAPI'>}, firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x0000000139ad8528>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4989156128', plugin=<rpython.conftest.LeakFinder instance at 0x0000000129607b20>>, <HookImpl p...222db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000139146d78>>]
caller_kwargs = {'item': <AppTestMethod 'test_CAPI'>}, firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_CAPI'>
def pytest_runtest_call(item):
_update_current_test_var(item, "call")
sys.last_type, sys.last_value, sys.last_traceback = (None, None, None)
try:
> item.runtest()
../_pytest/runner.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_CAPI'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_CAPI'>, space = StdObjSpace
target = <function test_CAPI at 0x0000000171f3ab60>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000012a536ad8>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000012a536ad8>,)
w_func = <Function test_CAPI>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000012a536ad8>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_CAPI>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000012a536ad8>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
Method = <class 'pypy.interpreter.function.Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, Method
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_CAPI>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000012a536ad8>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_CAPI, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_datetime.py:96]', line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_CAPI, fi...s-arm64/build/pypy/module/cpyext/test/test_datetime.py:96]', line 1> at line 27
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_CAPI, fi...s-arm64/build/pypy/module/cpyext/test/test_datetime.py:96]', line 1> at line 27
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_CAPI, fi...s-arm64/build/pypy/module/cpyext/test/test_datetime.py:96]', line 1> at line 27
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_CAPI, fi...s-arm64/build/pypy/module/cpyext/test/test_datetime.py:96]', line 1> at line 27
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_CAPI, fi...s-arm64/build/pypy/module/cpyext/test/test_datetime.py:96]', line 1> at line 27
pycode = <code object test_CAPI, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_datetime.py:96]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000172a230f8>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_CAPI, fi...s-arm64/build/pypy/module/cpyext/test/test_datetime.py:96]', line 1> at line 27
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00d\x03\x00g\x02\x00d\x04\x00d\x05\x00\xca\x02\x01}\x01\x00d\x06\x00d\x00\x00l\x...\x06\x00f\x05\x00k\x02\x00sc\x00t\x07\x00\x82\x01\x00|\x01\x00\xc9\x08\x00\xca\x00\x00\x01d\x00\x00S\x00\x01d\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000172a230f8>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_CAPI, fi...s-arm64/build/pypy/module/cpyext/test/test_datetime.py:96]', line 1> at line 27
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00d\x03\x00g\x02\x00d\x04\x00d\x05\x00\xca\x02\x01}\x01\x00d\x06\x00d\x00\x00l\x...\x06\x00f\x05\x00k\x02\x00sc\x00t\x07\x00\x82\x01\x00|\x01\x00\xc9\x08\x00\xca\x00\x00\x01d\x00\x00S\x00\x01d\x00\x00S'
next_instr = 27L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000172a230f8>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
ec.bytecode_only_trace(self)
next_instr = r_uint(self.last_instr)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
opcode = ord(co_code[next_instr])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CLASS.index:
self.BUILD_CLASS(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_CAPI, fi...s-arm64/build/pypy/module/cpyext/test/test_datetime.py:96]', line 1> at line 27
oparg = 258, ignored = (27L,), n_args = 2, n_kwargs = -1, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 1)
w_result = f.space.call_valuestack(
w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args + 2)
else:
keywords = [None] * n_kwargs
keywords_w = [None] * n_kwargs
while True:
n_kwargs -= 1
if n_kwargs < 0:
break
w_value = f.popvalue()
w_key = f.popvalue()
key = f.space.text_w(w_key)
keywords[n_kwargs] = key
keywords_w[n_kwargs] = w_value
arguments = f.popvalues(n) # includes w_self if it is not None
args = f.argument_factory(
arguments, keywords, keywords_w, None, None,
methodcall=w_self is not None)
if w_self is None:
f.popvalue_maybe_none() # removes w_self, which is None
w_callable = f.popvalue()
if f.get_is_being_profiled() and function.is_builtin_code(w_callable):
w_result = f.space.call_args_and_c_profile(f, w_callable, args)
else:
> w_result = f.space.call_args(w_callable, args)
objspace/std/callmethod.py:120:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_obj = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob...n '))])], ['prologue'], [W_BytesObject('#include "datetime.h"\n')])
def call_args(space, w_obj, args):
# two special cases for performance
if isinstance(w_obj, Function):
> return w_obj.call_args(args)
objspace/descroperation.py:186:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob...n '))])], ['prologue'], [W_BytesObject('#include "datetime.h"\n')])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000012a585868>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob...n '))])], ['prologue'], [W_BytesObject('#include "datetime.h"\n')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000012a585868>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob...n '))])], ['prologue'], [W_BytesObject('#include "datetime.h"\n')])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
w_result = activation._run(space, scope_w)
except DescrMismatch:
if w_obj is not None:
args = args.prepend(w_obj)
return self._type_unwrap_mismatch(space, args)
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000012a585868>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000012a585868>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob...n '))])], ['prologue'], [W_BytesObject('#include "datetime.h"\n')])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x000000012a585948>
space = StdObjSpace
scope_w = [W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...DateTimeAPI->T...TURN_NONE;\n '))]), W_BytesObject('#include "datetime.h"\n'), None, W_BytesObject(''), W_BoolObject(False)]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), scope_w[1], space.text_w(scope_w[2]), scope_w[3], space.text_w(scope_w[4]), space.bool_w(scope_w[5]))
<2451-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, modname = 'foo'
w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...DateTimeAPI->TZInfoType);\n Py_RETURN_NONE;\n '))])
prologue = '#include "datetime.h"\n', w_include_dirs = None, more_init = ''
PY_SSIZE_T_CLEAN = False
@unwrap_spec(modname='text', prologue='text',
more_init='text', PY_SSIZE_T_CLEAN=bool)
def import_extension(space, modname, w_functions, prologue="",
w_include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False):
functions = space.unwrap(w_functions)
include_dirs = _unwrap_include_dirs(space, w_include_dirs)
w_result = self.sys_info.import_extension(
modname, functions, prologue, include_dirs, more_init,
> PY_SSIZE_T_CLEAN)
module/cpyext/test/test_cpyext.py:347:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000012a584678>
modname = 'foo'
functions = [('get_types', 'METH_NOARGS', '\n PyDateTime_IMPORT;\n if (!PyDateTimeAPI) {\n ...DeltaType);\n Py_DECREF(PyDateTimeAPI->TZInfoType);\n Py_RETURN_NONE;\n ')]
prologue = '#include "datetime.h"\n', include_dirs = None, more_init = ''
PY_SSIZE_T_CLEAN = False
def import_extension(self, modname, functions, prologue="",
include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False):
body = prologue + make_methods(functions, modname)
init = """Py_InitModule("%s", methods);
""" % (modname,)
if more_init:
init += """#define INITERROR return
"""
init += more_init
return self.import_module(
name=modname, init=init, body=body, include_dirs=include_dirs,
> PY_SSIZE_T_CLEAN=PY_SSIZE_T_CLEAN)
tool/cpyext/extbuild.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000012a584678>
name = 'foo', init = 'Py_InitModule("foo", methods);\n '
body = '#include "datetime.h"\n\n static PyObject* foo_get_types(PyObject *self, PyObject *args)\n {\n \...)foo_get_types, METH_NOARGS},\n{"clear_types", (PyCFunction)foo_clear_types, METH_NOARGS},\n { NULL }\n };\n '
filename = None, include_dirs = None, PY_SSIZE_T_CLEAN = False
def import_module(self, name, init=None, body='', filename=None,
include_dirs=None, PY_SSIZE_T_CLEAN=False):
"""
init specifies the overall template of the module.
if init is None, the module source will be loaded from a file in this
test directory, give a name given by the filename parameter.
if filename is None, the module name will be used to construct the
filename.
"""
if init is not None:
code = make_source(name, init, body, PY_SSIZE_T_CLEAN)
kwds = dict(source_strings=[code])
else:
assert not PY_SSIZE_T_CLEAN
if filename is None:
filename = name
filename = HERE / (filename + ".c")
kwds = dict(source_files=[filename])
mod = self.compile_extension_module(
> name, include_dirs=include_dirs, **kwds)
tool/cpyext/extbuild.py:80:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000012a584678>
name = 'foo', include_dirs = []
source_files = [local('/tmp/buildbot-arm64/usession-pytest3.10-1302/foo-0/source_0.c')]
source_strings = ['\n \n #include <Python.h>\n /* fix for cpython 2.7 Python.h if running tests with -A\n since pypy co...};\n \n\n PyMODINIT_FUNC\n initfoo(void) {\n Py_InitModule("foo", methods);\n \n }\n ']
def compile_extension_module(self, name, include_dirs=None,
source_files=None, source_strings=None):
"""
Build an extension module and return the filename of the resulting
native code file.
name is the name of the module, possibly including dots if it is a
module inside a package.
"""
include_dirs = include_dirs or []
modname = name.split('.')[-1]
dirname = self.get_builddir(name=modname)
if source_strings:
assert not source_files
files = convert_sources_to_files(source_strings, dirname)
source_files = files
soname = c_compile(source_files, outputfilename=str(dirname / modname),
compile_extra=self.compile_extra,
link_extra=self.link_extra,
include_dirs=self.include_extra + include_dirs,
> libraries=self.extra_libs)
tool/cpyext/extbuild.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-pytest3.10-1302/foo-0/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-pytest3.10-1302/foo-0/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1302'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], library_dirs = []
def c_compile(cfilenames, outputfilename,
compile_extra=None, link_extra=None,
include_dirs=None, libraries=None, library_dirs=None):
compile_extra = compile_extra or []
link_extra = link_extra or []
include_dirs = include_dirs or []
libraries = libraries or []
library_dirs = library_dirs or []
if sys.platform == 'win32':
link_extra = link_extra + ['/DEBUG'] # generate .pdb file
if sys.platform == 'darwin':
# support Fink & Darwinports
for s in ('/sw/', '/opt/local/'):
if (s + 'include' not in include_dirs
and os.path.exists(s + 'include')):
include_dirs.append(s + 'include')
if s + 'lib' not in library_dirs and os.path.exists(s + 'lib'):
library_dirs.append(s + 'lib')
outputfilename = py.path.local(outputfilename).new(ext=so_ext)
saved_environ = os.environ.copy()
try:
_build(
cfilenames, outputfilename,
compile_extra, link_extra,
> include_dirs, libraries, library_dirs)
tool/cpyext/extbuild.py:191:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-pytest3.10-1302/foo-0/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-pytest3.10-1302/foo-0/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1302'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], library_dirs = []
def _build(cfilenames, outputfilename, compile_extra, link_extra,
include_dirs, libraries, library_dirs):
try:
# monkeypatch distutils for some versions of msvc compiler
import setuptools
except ImportError:
# XXX if this fails and is required,
# we must call pypy -mensurepip after translation
pass
from distutils.ccompiler import new_compiler
from distutils import sysconfig
# XXX for Darwin running old versions of CPython 2.7.x
sysconfig.get_config_vars()
compiler = new_compiler(force=1)
sysconfig.customize_compiler(compiler) # XXX
objects = []
for cfile in cfilenames:
cfile = py.path.local(cfile)
old = cfile.dirpath().chdir()
try:
res = compiler.compile([cfile.basename],
> include_dirs=include_dirs, extra_preargs=compile_extra)
tool/cpyext/extbuild.py:223:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x0000000171c1d420>
sources = ['source_0.c'], output_dir = None, macros = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1302'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
debug = 0, extra_preargs = [], extra_postargs = [], depends = None
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x0000000171c1d420>
obj = 'source_0.o', src = 'source_0.c', ext = '.c'
cc_args = ['-I/tmp/buildbot-arm64/usession-pytest3.10-1302', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/modul.../build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c', '-c']
extra_postargs = []
pp_opts = ['-I/tmp/buildbot-arm64/usession-pytest3.10-1302', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/modul...-arm64/build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/cpyext/test/test_datetime.py::AppTestDatetime::()::test_CAPI
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 13 passed, 1 warnings in 44.12 seconds ===============
++ 16:01:56 starting module/cpyext/test/test_eval.py [55 started in total]
__ module/cpyext/test/test_cpyext.py [53 done in total, somefailed=False] _____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 27 items
module/cpyext/test/test_cpyext.py ...s.........s............. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 25 passed, 2 skipped, 1 warnings in 59.50 seconds ===============
++ 16:02:09 starting module/cpyext/test/test_fileobject.py [56 started in total]
__ module/cpyext/test/test_dictobject.py [54 done in total, somefailed=True] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/cpyext/test/test_dictobject.py ...........F...... [100%]
=================================== FAILURES ===================================
_________________________ AppTestDictObject.test_iter __________________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x00000001417c83e0>, when = 'call'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <AppTestMethod 'test_iter'>}, notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x000000015081a838>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='5398134304', plugin=<rpython.conftest.LeakFinder instance at 0x0000000141c0fe20>>, <HookImpl p...dc50c0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000141c6c250>>]
kwargs = {'item': <AppTestMethod 'test_iter'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='5398134304', plugin=<rpython.conftest.LeakFinder instance at 0x0000000141c0fe20>>, <HookImpl p...dc50c0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000141c6c250>>]
kwargs = {'item': <AppTestMethod 'test_iter'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5398134304', plugin=<rpython.conftest.LeakFinder instance at 0x0000000141c0fe20>>, <HookImpl p...dc50c0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000141c6c250>>]
caller_kwargs = {'item': <AppTestMethod 'test_iter'>}, firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x0000000121bce790>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5398134304', plugin=<rpython.conftest.LeakFinder instance at 0x0000000141c0fe20>>, <HookImpl p...dc50c0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000141c6c250>>]
caller_kwargs = {'item': <AppTestMethod 'test_iter'>}, firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_iter'>
def pytest_runtest_call(item):
_update_current_test_var(item, "call")
sys.last_type, sys.last_value, sys.last_traceback = (None, None, None)
try:
> item.runtest()
../_pytest/runner.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_iter'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_iter'>, space = StdObjSpace
target = <function test_iter at 0x00000001417c8980>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001627cabf0>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001627cabf0>,)
w_func = <Function test_iter>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001627cabf0>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_iter>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001627cabf0>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
Method = <class 'pypy.interpreter.function.Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, Method
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_iter>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001627cabf0>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_iter, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_iter, fi...arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1> at line 3
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_iter, fi...arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1> at line 3
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_iter, fi...arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1> at line 3
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_iter, fi...arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1> at line 3
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_iter, fi...arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1> at line 3
pycode = <code object test_iter, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001221c0720>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_iter, fi...arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1> at line 3
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00g\x01\x00\xca\x02\x00}\x01\x00i\x00\x00d\x03\x00d\x04\x006d\x05\x00d\x06\x006}...0sY\x00t\x03\x00\x82\x01\x00\xcc\x12\x00|\x03\x00|\x02\x00k\x02\x00sn\x00t\x03\x00\x82\x01\x00d\x00\x00S\x00d\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001221c0720>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_iter, fi...arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1> at line 3
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00g\x01\x00\xca\x02\x00}\x01\x00i\x00\x00d\x03\x00d\x04\x006d\x05\x00d\x06\x006}...0sY\x00t\x03\x00\x82\x01\x00\xcc\x12\x00|\x03\x00|\x02\x00k\x02\x00sn\x00t\x03\x00\x82\x01\x00d\x00\x00S\x00d\x00\x00S'
next_instr = 18L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001221c0720>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
ec.bytecode_only_trace(self)
next_instr = r_uint(self.last_instr)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
opcode = ord(co_code[next_instr])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CLASS.index:
self.BUILD_CLASS(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_iter, fi...arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1> at line 3
oparg = 2, ignored = (18L,), n_args = 2, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args + 2)
objspace/std/callmethod.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_iter, fi...arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1> at line 3
dropvalues = 4, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_iter, fi...arm64/build/pypy/module/cpyext/test/test_dictobject.py:210]', line 1> at line 3
dropvalues = 4, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, f_0)
elif nargs == 2:
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, f_1, f_0)
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
frame.dropvalues(dropvalues)
return code.fastcall_3(self.space, self, f_2,
f_1, f_0)
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
f_3 = frame.peekvalue(3)
frame.dropvalues(dropvalues)
return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0)
elif (nargs | Code.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
return self._flat_pycall(code, nargs, frame, dropvalues)
elif fast_natural_arity & Code.FLATPYCALL:
natural_arity = fast_natural_arity & 0xff
if natural_arity > nargs >= natural_arity - len(self.defs_w):
assert isinstance(code, PyCode)
return self._flat_pycall_defaults(code, nargs, frame,
natural_arity - nargs, dropvalues)
elif fast_natural_arity == Code.PASSTHROUGHARGS1 and nargs >= 1:
assert isinstance(code, gateway.BuiltinCodePassThroughArguments1)
w_obj = frame.peekvalue(nargs-1)
args = frame.make_arguments(nargs-1)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:190:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... }\n }\n return copy;\n '))])])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000110218100>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... }\n }\n return copy;\n '))])])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000110218100>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... }\n }\n return copy;\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
w_result = activation._run(space, scope_w)
except DescrMismatch:
if w_obj is not None:
args = args.prepend(w_obj)
return self._type_unwrap_mismatch(space, args)
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000110218100>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000110218100>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... }\n }\n return copy;\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x00000001102181e0>
space = StdObjSpace
scope_w = [W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... ... }\n return copy;\n '))]), W_BytesObject(''), None, W_BytesObject(''), W_BoolObject(False)]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), scope_w[1], space.text_w(scope_w[2]), scope_w[3], space.text_w(scope_w[4]), space.bool_w(scope_w[5]))
<2557-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, modname = 'foo'
w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... }\n }\n return copy;\n '))])
prologue = '', w_include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False
@unwrap_spec(modname='text', prologue='text',
more_init='text', PY_SSIZE_T_CLEAN=bool)
def import_extension(space, modname, w_functions, prologue="",
w_include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False):
functions = space.unwrap(w_functions)
include_dirs = _unwrap_include_dirs(space, w_include_dirs)
w_result = self.sys_info.import_extension(
modname, functions, prologue, include_dirs, more_init,
> PY_SSIZE_T_CLEAN)
module/cpyext/test/test_cpyext.py:347:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x00000001627c0608>
modname = 'foo'
functions = [('copy', 'METH_O', '\n Py_ssize_t pos = 0;\n PyObject *key, *value;\n PyObject* c...opy);\n return NULL;\n }\n }\n return copy;\n ')]
prologue = '', include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False
def import_extension(self, modname, functions, prologue="",
include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False):
body = prologue + make_methods(functions, modname)
init = """Py_InitModule("%s", methods);
""" % (modname,)
if more_init:
init += """#define INITERROR return
"""
init += more_init
return self.import_module(
name=modname, init=init, body=body, include_dirs=include_dirs,
> PY_SSIZE_T_CLEAN=PY_SSIZE_T_CLEAN)
tool/cpyext/extbuild.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x00000001627c0608>
name = 'foo', init = 'Py_InitModule("foo", methods);\n '
body = '\n static PyObject* foo_copy(PyObject *self, PyObject *args)\n {\n \n Py_ssize_t pos... \n static PyMethodDef methods[] = {\n {"copy", (PyCFunction)foo_copy, METH_O},\n { NULL }\n };\n '
filename = None, include_dirs = None, PY_SSIZE_T_CLEAN = False
def import_module(self, name, init=None, body='', filename=None,
include_dirs=None, PY_SSIZE_T_CLEAN=False):
"""
init specifies the overall template of the module.
if init is None, the module source will be loaded from a file in this
test directory, give a name given by the filename parameter.
if filename is None, the module name will be used to construct the
filename.
"""
if init is not None:
code = make_source(name, init, body, PY_SSIZE_T_CLEAN)
kwds = dict(source_strings=[code])
else:
assert not PY_SSIZE_T_CLEAN
if filename is None:
filename = name
filename = HERE / (filename + ".c")
kwds = dict(source_files=[filename])
mod = self.compile_extension_module(
> name, include_dirs=include_dirs, **kwds)
tool/cpyext/extbuild.py:80:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x00000001627c0608>
name = 'foo', include_dirs = []
source_files = [local('/tmp/buildbot-arm64/usession-pytest3.10-1303/foo-3/source_0.c')]
source_strings = ['\n \n #include <Python.h>\n /* fix for cpython 2.7 Python.h if running tests with -A\n since pypy co...};\n \n\n PyMODINIT_FUNC\n initfoo(void) {\n Py_InitModule("foo", methods);\n \n }\n ']
def compile_extension_module(self, name, include_dirs=None,
source_files=None, source_strings=None):
"""
Build an extension module and return the filename of the resulting
native code file.
name is the name of the module, possibly including dots if it is a
module inside a package.
"""
include_dirs = include_dirs or []
modname = name.split('.')[-1]
dirname = self.get_builddir(name=modname)
if source_strings:
assert not source_files
files = convert_sources_to_files(source_strings, dirname)
source_files = files
soname = c_compile(source_files, outputfilename=str(dirname / modname),
compile_extra=self.compile_extra,
link_extra=self.link_extra,
include_dirs=self.include_extra + include_dirs,
> libraries=self.extra_libs)
tool/cpyext/extbuild.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-pytest3.10-1303/foo-3/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-pytest3.10-1303/foo-3/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1303'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], library_dirs = []
def c_compile(cfilenames, outputfilename,
compile_extra=None, link_extra=None,
include_dirs=None, libraries=None, library_dirs=None):
compile_extra = compile_extra or []
link_extra = link_extra or []
include_dirs = include_dirs or []
libraries = libraries or []
library_dirs = library_dirs or []
if sys.platform == 'win32':
link_extra = link_extra + ['/DEBUG'] # generate .pdb file
if sys.platform == 'darwin':
# support Fink & Darwinports
for s in ('/sw/', '/opt/local/'):
if (s + 'include' not in include_dirs
and os.path.exists(s + 'include')):
include_dirs.append(s + 'include')
if s + 'lib' not in library_dirs and os.path.exists(s + 'lib'):
library_dirs.append(s + 'lib')
outputfilename = py.path.local(outputfilename).new(ext=so_ext)
saved_environ = os.environ.copy()
try:
_build(
cfilenames, outputfilename,
compile_extra, link_extra,
> include_dirs, libraries, library_dirs)
tool/cpyext/extbuild.py:191:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-pytest3.10-1303/foo-3/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-pytest3.10-1303/foo-3/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1303'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], library_dirs = []
def _build(cfilenames, outputfilename, compile_extra, link_extra,
include_dirs, libraries, library_dirs):
try:
# monkeypatch distutils for some versions of msvc compiler
import setuptools
except ImportError:
# XXX if this fails and is required,
# we must call pypy -mensurepip after translation
pass
from distutils.ccompiler import new_compiler
from distutils import sysconfig
# XXX for Darwin running old versions of CPython 2.7.x
sysconfig.get_config_vars()
compiler = new_compiler(force=1)
sysconfig.customize_compiler(compiler) # XXX
objects = []
for cfile in cfilenames:
cfile = py.path.local(cfile)
old = cfile.dirpath().chdir()
try:
res = compiler.compile([cfile.basename],
> include_dirs=include_dirs, extra_preargs=compile_extra)
tool/cpyext/extbuild.py:223:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x00000001216bdfa0>
sources = ['source_0.c'], output_dir = None, macros = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1303'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
debug = 0, extra_preargs = [], extra_postargs = [], depends = None
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x00000001216bdfa0>
obj = 'source_0.o', src = 'source_0.c', ext = '.c'
cc_args = ['-I/tmp/buildbot-arm64/usession-pytest3.10-1303', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/modul.../build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c', '-c']
extra_postargs = []
pp_opts = ['-I/tmp/buildbot-arm64/usession-pytest3.10-1303', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/modul...-arm64/build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/cpyext/test/test_dictobject.py::AppTestDictObject::()::test_iter
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 17 passed, 1 warnings in 49.65 seconds ===============
++ 16:02:23 starting module/cpyext/test/test_floatobject.py [57 started in total]
__ module/cpyext/test/test_fileobject.py [55 done in total, somefailed=False] _
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/cpyext/test/test_fileobject.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 1 passed, 1 warnings in 31.89 seconds =====================
++ 16:02:47 starting module/cpyext/test/test_frameobject.py [58 started in total]
__ module/cpyext/test/test_eval.py [56 done in total, somefailed=False] _______
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 19 items
module/cpyext/test/test_eval.py ................... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 19 passed, 1 warnings in 47.31 seconds ====================
++ 16:02:55 starting module/cpyext/test/test_funcobject.py [59 started in total]
__ module/cpyext/test/test_floatobject.py [57 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
module/cpyext/test/test_floatobject.py ............... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 15 passed, 1 warnings in 47.08 seconds ====================
++ 16:03:21 starting module/cpyext/test/test_genobject.py [60 started in total]
__ module/cpyext/test/test_frameobject.py [58 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/cpyext/test/test_frameobject.py .. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 2 passed, 1 warnings in 33.75 seconds =====================
++ 16:03:25 starting module/cpyext/test/test_getargs.py [61 started in total]
__ module/cpyext/test/test_funcobject.py [59 done in total, somefailed=False] _
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
module/cpyext/test/test_funcobject.py ....... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 7 passed, 1 warnings in 24.36 seconds =====================
++ 16:03:27 starting module/cpyext/test/test_import.py [62 started in total]
__ module/cpyext/test/test_genobject.py [60 done in total, somefailed=False] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/cpyext/test/test_genobject.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 1 passed, 1 warnings in 20.41 seconds =====================
++ 16:03:49 starting module/cpyext/test/test_intobject.py [63 started in total]
__ module/cpyext/test/test_import.py [61 done in total, somefailed=False] _____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_import.py ...... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 6 passed, 1 warnings in 31.35 seconds =====================
++ 16:04:05 starting module/cpyext/test/test_iterator.py [64 started in total]
__ module/cpyext/test/test_getargs.py [62 done in total, somefailed=False] ____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
module/cpyext/test/test_getargs.py ........... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 11 passed, 1 warnings in 43.03 seconds ====================
++ 16:04:16 starting module/cpyext/test/test_listobject.py [65 started in total]
__ module/cpyext/test/test_intobject.py [63 done in total, somefailed=False] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/cpyext/test/test_intobject.py .......... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 10 passed, 1 warnings in 39.30 seconds ====================
++ 16:04:34 starting module/cpyext/test/test_longobject.py [66 started in total]
__ module/cpyext/test/test_iterator.py [64 done in total, somefailed=False] ___
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/cpyext/test/test_iterator.py ..... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 5 passed, 1 warnings in 34.01 seconds =====================
in sq_inplace_repeat, n=3
++ 16:04:50 starting module/cpyext/test/test_mapping.py [67 started in total]
__ module/cpyext/test/test_listobject.py [65 done in total, somefailed=True] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
module/cpyext/test/test_listobject.py ........F... [100%]
=================================== FAILURES ===================================
___________________ AppTestListObject.test_basic_listobject ____________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x0000000153687ad8>, when = 'call'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <AppTestMethod 'test_basic_listobject'>}, notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x0000000150bb2918>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='5112827616', plugin=<rpython.conftest.LeakFinder instance at 0x0000000130bf8ee0>>, <HookImpl p...40d018>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000130c1dd70>>]
kwargs = {'item': <AppTestMethod 'test_basic_listobject'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='5112827616', plugin=<rpython.conftest.LeakFinder instance at 0x0000000130bf8ee0>>, <HookImpl p...40d018>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000130c1dd70>>]
kwargs = {'item': <AppTestMethod 'test_basic_listobject'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5112827616', plugin=<rpython.conftest.LeakFinder instance at 0x0000000130bf8ee0>>, <HookImpl p...40d018>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000130c1dd70>>]
caller_kwargs = {'item': <AppTestMethod 'test_basic_listobject'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x00000001124e39b8>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5112827616', plugin=<rpython.conftest.LeakFinder instance at 0x0000000130bf8ee0>>, <HookImpl p...40d018>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000130c1dd70>>]
caller_kwargs = {'item': <AppTestMethod 'test_basic_listobject'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_basic_listobject'>
def pytest_runtest_call(item):
_update_current_test_var(item, "call")
sys.last_type, sys.last_value, sys.last_traceback = (None, None, None)
try:
> item.runtest()
../_pytest/runner.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_basic_listobject'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_basic_listobject'>, space = StdObjSpace
target = <function test_basic_listobject at 0x0000000112408b60>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001620a5c20>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001620a5c20>,)
w_func = <Function test_basic_listobject>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001620a5c20>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_basic_listobject>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001620a5c20>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
Method = <class 'pypy.interpreter.function.Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, Method
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_basic_listobject>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001620a5c20>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_basic_listobject, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_basic_li...arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1> at line 41
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_basic_li...arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1> at line 41
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_basic_li...arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1> at line 41
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_basic_li...arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1> at line 41
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_basic_li...arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1> at line 41
pycode = <code object test_basic_listobject, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000161ce64b8>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_basic_li...arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1> at line 41
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00|\x00\x00\xc9\x01\x00d\x02\x00d\x03\x00d\x04\x00d\x05\x00d\x06\x00d\x07\x00g\x05\...\x02\x00sS\x02t\x03\x00\x82\x01\x00\xcc\x15\x00|\x03\x00d\t\x00g\x01\x00k\x02\x00sk\x02t\x03\x00\x82\x01\x00d\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000161ce64b8>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_basic_li...arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1> at line 41
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00|\x00\x00\xc9\x01\x00d\x02\x00d\x03\x00d\x04\x00d\x05\x00d\x06\x00d\x07\x00g\x05\...\x02\x00sS\x02t\x03\x00\x82\x01\x00\xcc\x15\x00|\x03\x00d\t\x00g\x01\x00k\x02\x00sk\x02t\x03\x00\x82\x01\x00d\x00\x00S'
next_instr = 42L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000161ce64b8>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
ec.bytecode_only_trace(self)
next_instr = r_uint(self.last_instr)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
opcode = ord(co_code[next_instr])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CLASS.index:
self.BUILD_CLASS(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_basic_li...arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1> at line 41
oparg = 2, ignored = (42L,), n_args = 2, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args + 2)
objspace/std/callmethod.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_basic_li...arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1> at line 41
dropvalues = 4, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_basic_li...arm64/build/pypy/module/cpyext/test/test_listobject.py:70]', line 1> at line 41
dropvalues = 4, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, f_0)
elif nargs == 2:
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, f_1, f_0)
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
frame.dropvalues(dropvalues)
return code.fastcall_3(self.space, self, f_2,
f_1, f_0)
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
f_3 = frame.peekvalue(3)
frame.dropvalues(dropvalues)
return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0)
elif (nargs | Code.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
return self._flat_pycall(code, nargs, frame, dropvalues)
elif fast_natural_arity & Code.FLATPYCALL:
natural_arity = fast_natural_arity & 0xff
if natural_arity > nargs >= natural_arity - len(self.defs_w):
assert isinstance(code, PyCode)
return self._flat_pycall_defaults(code, nargs, frame,
natural_arity - nargs, dropvalues)
elif fast_natural_arity == Code.PASSTHROUGHARGS1 and nargs >= 1:
assert isinstance(code, gateway.BuiltinCodePassThroughArguments1)
w_obj = frame.peekvalue(nargs-1)
args = frame.make_arguments(nargs-1)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:190:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... return PyLong_FromLong(ok); /* should be 3 */\n '))])])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001620a4138>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... return PyLong_FromLong(ok); /* should be 3 */\n '))])])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001620a4138>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... return PyLong_FromLong(ok); /* should be 3 */\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
w_result = activation._run(space, scope_w)
except DescrMismatch:
if w_obj is not None:
args = args.prepend(w_obj)
return self._type_unwrap_mismatch(space, args)
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001620a4138>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001620a4138>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... return PyLong_FromLong(ok); /* should be 3 */\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x00000001620a4330>
space = StdObjSpace
scope_w = [W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... ...g_FromLong(ok); /* should be 3 */\n '))]), W_BytesObject(''), None, W_BytesObject(''), W_BoolObject(False)]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), scope_w[1], space.text_w(scope_w[2]), scope_w[3], space.text_w(scope_w[4]), space.bool_w(scope_w[5]))
<2443-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, modname = 'foo'
w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... return PyLong_FromLong(ok); /* should be 3 */\n '))])
prologue = '', w_include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False
@unwrap_spec(modname='text', prologue='text',
more_init='text', PY_SSIZE_T_CLEAN=bool)
def import_extension(space, modname, w_functions, prologue="",
w_include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False):
functions = space.unwrap(w_functions)
include_dirs = _unwrap_include_dirs(space, w_include_dirs)
w_result = self.sys_info.import_extension(
modname, functions, prologue, include_dirs, more_init,
> PY_SSIZE_T_CLEAN)
module/cpyext/test/test_cpyext.py:347:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000000161ebc6e8>
modname = 'foo'
functions = [('newlist', 'METH_NOARGS', '\n PyObject *lst = PyList_New(3);\n PyList_SetItem(lst, 0, PyInt_...; /* 2 */\n Py_DECREF(l);\n return PyLong_FromLong(ok); /* should be 3 */\n ')]
prologue = '', include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False
def import_extension(self, modname, functions, prologue="",
include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False):
body = prologue + make_methods(functions, modname)
init = """Py_InitModule("%s", methods);
""" % (modname,)
if more_init:
init += """#define INITERROR return
"""
init += more_init
return self.import_module(
name=modname, init=init, body=body, include_dirs=include_dirs,
> PY_SSIZE_T_CLEAN=PY_SSIZE_T_CLEAN)
tool/cpyext/extbuild.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000000161ebc6e8>
name = 'foo', init = 'Py_InitModule("foo", methods);\n '
body = '\n static PyObject* foo_newlist(PyObject *self, PyObject *args)\n {\n \n PyObject *l...)foo_setslice, METH_VARARGS},\n{"test_tp_as_", (PyCFunction)foo_test_tp_as_, METH_NOARGS},\n { NULL }\n };\n '
filename = None, include_dirs = None, PY_SSIZE_T_CLEAN = False
def import_module(self, name, init=None, body='', filename=None,
include_dirs=None, PY_SSIZE_T_CLEAN=False):
"""
init specifies the overall template of the module.
if init is None, the module source will be loaded from a file in this
test directory, give a name given by the filename parameter.
if filename is None, the module name will be used to construct the
filename.
"""
if init is not None:
code = make_source(name, init, body, PY_SSIZE_T_CLEAN)
kwds = dict(source_strings=[code])
else:
assert not PY_SSIZE_T_CLEAN
if filename is None:
filename = name
filename = HERE / (filename + ".c")
kwds = dict(source_files=[filename])
mod = self.compile_extension_module(
> name, include_dirs=include_dirs, **kwds)
tool/cpyext/extbuild.py:80:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000000161ebc6e8>
name = 'foo', include_dirs = []
source_files = [local('/tmp/buildbot-arm64/usession-pytest3.10-1314/foo-0/source_0.c')]
source_strings = ['\n \n #include <Python.h>\n /* fix for cpython 2.7 Python.h if running tests with -A\n since pypy co...};\n \n\n PyMODINIT_FUNC\n initfoo(void) {\n Py_InitModule("foo", methods);\n \n }\n ']
def compile_extension_module(self, name, include_dirs=None,
source_files=None, source_strings=None):
"""
Build an extension module and return the filename of the resulting
native code file.
name is the name of the module, possibly including dots if it is a
module inside a package.
"""
include_dirs = include_dirs or []
modname = name.split('.')[-1]
dirname = self.get_builddir(name=modname)
if source_strings:
assert not source_files
files = convert_sources_to_files(source_strings, dirname)
source_files = files
soname = c_compile(source_files, outputfilename=str(dirname / modname),
compile_extra=self.compile_extra,
link_extra=self.link_extra,
include_dirs=self.include_extra + include_dirs,
> libraries=self.extra_libs)
tool/cpyext/extbuild.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-pytest3.10-1314/foo-0/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-pytest3.10-1314/foo-0/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1314'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], library_dirs = []
def c_compile(cfilenames, outputfilename,
compile_extra=None, link_extra=None,
include_dirs=None, libraries=None, library_dirs=None):
compile_extra = compile_extra or []
link_extra = link_extra or []
include_dirs = include_dirs or []
libraries = libraries or []
library_dirs = library_dirs or []
if sys.platform == 'win32':
link_extra = link_extra + ['/DEBUG'] # generate .pdb file
if sys.platform == 'darwin':
# support Fink & Darwinports
for s in ('/sw/', '/opt/local/'):
if (s + 'include' not in include_dirs
and os.path.exists(s + 'include')):
include_dirs.append(s + 'include')
if s + 'lib' not in library_dirs and os.path.exists(s + 'lib'):
library_dirs.append(s + 'lib')
outputfilename = py.path.local(outputfilename).new(ext=so_ext)
saved_environ = os.environ.copy()
try:
_build(
cfilenames, outputfilename,
compile_extra, link_extra,
> include_dirs, libraries, library_dirs)
tool/cpyext/extbuild.py:191:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-pytest3.10-1314/foo-0/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-pytest3.10-1314/foo-0/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1314'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], library_dirs = []
def _build(cfilenames, outputfilename, compile_extra, link_extra,
include_dirs, libraries, library_dirs):
try:
# monkeypatch distutils for some versions of msvc compiler
import setuptools
except ImportError:
# XXX if this fails and is required,
# we must call pypy -mensurepip after translation
pass
from distutils.ccompiler import new_compiler
from distutils import sysconfig
# XXX for Darwin running old versions of CPython 2.7.x
sysconfig.get_config_vars()
compiler = new_compiler(force=1)
sysconfig.customize_compiler(compiler) # XXX
objects = []
for cfile in cfilenames:
cfile = py.path.local(cfile)
old = cfile.dirpath().chdir()
try:
res = compiler.compile([cfile.basename],
> include_dirs=include_dirs, extra_preargs=compile_extra)
tool/cpyext/extbuild.py:223:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x00000001620d6b60>
sources = ['source_0.c'], output_dir = None, macros = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1314'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
debug = 0, extra_preargs = [], extra_postargs = [], depends = None
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x00000001620d6b60>
obj = 'source_0.o', src = 'source_0.c', ext = '.c'
cc_args = ['-I/tmp/buildbot-arm64/usession-pytest3.10-1314', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/modul.../build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c', '-c']
extra_postargs = []
pp_opts = ['-I/tmp/buildbot-arm64/usession-pytest3.10-1314', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/modul...-arm64/build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/cpyext/test/test_listobject.py::AppTestListObject::()::test_basic_listobject
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 11 passed, 1 warnings in 38.60 seconds ===============
++ 16:05:01 starting module/cpyext/test/test_marshal.py [68 started in total]
__ module/cpyext/test/test_longobject.py [66 done in total, somefailed=False] _
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 20 items
module/cpyext/test/test_longobject.py .................... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 20 passed, 1 warnings in 45.33 seconds ====================
++ 16:05:25 starting module/cpyext/test/test_memoryobject.py [69 started in total]
__ module/cpyext/test/test_mapping.py [67 done in total, somefailed=False] ____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_mapping.py ...... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 6 passed, 1 warnings in 33.19 seconds =====================
++ 16:05:28 starting module/cpyext/test/test_methodobject.py [70 started in total]
__ module/cpyext/test/test_marshal.py [68 done in total, somefailed=False] ____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/cpyext/test/test_marshal.py .. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 2 passed, 1 warnings in 35.36 seconds =====================
++ 16:05:45 starting module/cpyext/test/test_misc.py [71 started in total]
__ module/cpyext/test/test_memoryobject.py [69 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/cpyext/test/test_memoryobject.py .....s.. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 7 passed, 1 skipped, 1 warnings in 44.42 seconds ===============
++ 16:06:16 starting module/cpyext/test/test_module.py [72 started in total]
__ module/cpyext/test/test_misc.py [70 done in total, somefailed=False] _______
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/cpyext/test/test_misc.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 1 passed, 1 warnings in 30.98 seconds =====================
++ 16:06:23 starting module/cpyext/test/test_ndarrayobject.py [73 started in total]
__ module/cpyext/test/test_methodobject.py [71 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
module/cpyext/test/test_methodobject.py ........... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 11 passed, 1 warnings in 48.44 seconds ====================
++ 16:06:26 starting module/cpyext/test/test_number.py [74 started in total]
__ module/cpyext/test/test_module.py [72 done in total, somefailed=False] _____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/cpyext/test/test_module.py .. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 2 passed, 1 warnings in 22.02 seconds =====================
++ 16:06:44 starting module/cpyext/test/test_object.py [75 started in total]
__ module/cpyext/test/test_ndarrayobject.py [73 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 24 items
module/cpyext/test/test_ndarrayobject.py .....................sss [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 21 passed, 3 skipped, 1 warnings in 28.77 seconds ===============
++ 16:07:01 starting module/cpyext/test/test_pycobject.py [76 started in total]
__ module/cpyext/test/test_number.py [74 done in total, somefailed=False] _____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
module/cpyext/test/test_number.py ........... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 11 passed, 1 warnings in 38.92 seconds ====================
got no exc
got no exc
got exc
++ 16:07:11 starting module/cpyext/test/test_pyerrors.py [77 started in total]
__ module/cpyext/test/test_pycobject.py [75 done in total, somefailed=False] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/cpyext/test/test_pycobject.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 1 passed, 1 warnings in 33.59 seconds =====================
++ 16:07:45 starting module/cpyext/test/test_pyfile.py [78 started in total]
__ module/cpyext/test/test_object.py [76 done in total, somefailed=False] _____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 35 items
module/cpyext/test/test_object.py ........................s.......... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 34 passed, 1 skipped, 1 warnings in 54.56 seconds ===============
++ 16:07:50 starting module/cpyext/test/test_pysignals.py [79 started in total]
__ module/cpyext/test/test_pyerrors.py [77 done in total, somefailed=False] ___
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 27 items
module/cpyext/test/test_pyerrors.py .........s.....s........s.. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 24 passed, 3 skipped, 1 warnings in 55.47 seconds ===============
++ 16:08:16 starting module/cpyext/test/test_pystate.py [80 started in total]
__ module/cpyext/test/test_pysignals.py [78 done in total, somefailed=False] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/cpyext/test/test_pysignals.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 1 passed, 1 warnings in 33.32 seconds =====================
++ 16:08:28 starting module/cpyext/test/test_pystrtod.py [81 started in total]
__ module/cpyext/test/test_pyfile.py [79 done in total, somefailed=False] _____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
module/cpyext/test/test_pyfile.py ....x.... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 8 passed, 1 xfailed, 1 warnings in 37.33 seconds ===============
++ 16:08:30 starting module/cpyext/test/test_sequence.py [82 started in total]
__ module/cpyext/test/test_pystrtod.py [80 done in total, somefailed=False] ___
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/cpyext/test/test_pystrtod.py .................. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 18 passed, 1 warnings in 26.08 seconds ====================
++ 16:09:01 starting module/cpyext/test/test_setobject.py [83 started in total]
__ module/cpyext/test/test_pystate.py [81 done in total, somefailed=False] ____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 13 items
module/cpyext/test/test_pystate.py ............. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 13 passed, 1 warnings in 52.01 seconds ====================
++ 16:09:15 starting module/cpyext/test/test_sliceobject.py [84 started in total]
__ module/cpyext/test/test_sequence.py [82 done in total, somefailed=False] ___
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
module/cpyext/test/test_sequence.py ....................... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 23 passed, 1 warnings in 42.79 seconds ====================
++ 16:09:21 starting module/cpyext/test/test_structseq.py [85 started in total]
__ module/cpyext/test/test_setobject.py [83 done in total, somefailed=False] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
module/cpyext/test/test_setobject.py ......... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 9 passed, 1 warnings in 34.64 seconds =====================
++ 16:09:45 starting module/cpyext/test/test_sysmodule.py [86 started in total]
__ module/cpyext/test/test_structseq.py [84 done in total, somefailed=False] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/cpyext/test/test_structseq.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 1 passed, 1 warnings in 33.03 seconds =====================
++ 16:09:59 starting module/cpyext/test/test_thread.py [87 started in total]
__ module/cpyext/test/test_sliceobject.py [85 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_sliceobject.py ...... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 6 passed, 1 warnings in 36.88 seconds =====================
++ 16:09:59 starting module/cpyext/test/test_traceback.py [88 started in total]
__ module/cpyext/test/test_sysmodule.py [86 done in total, somefailed=False] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_sysmodule.py ... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 3 passed, 1 warnings in 35.98 seconds =====================
++ 16:10:29 starting module/cpyext/test/test_translate.py [89 started in total]
__ module/cpyext/test/test_traceback.py [87 done in total, somefailed=False] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/cpyext/test/test_traceback.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 1 passed, 1 warnings in 24.22 seconds =====================
++ 16:10:32 starting module/cpyext/test/test_tupleobject.py [90 started in total]
__ module/cpyext/test/test_translate.py [88 done in total, somefailed=False] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/cpyext/test/test_translate.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================== 1 passed, 1 warnings in 4.78 seconds =====================
++ 16:10:40 starting module/cpyext/test/test_typeobject.py [91 started in total]
__ module/cpyext/test/test_thread.py [89 done in total, somefailed=False] _____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/cpyext/test/test_thread.py .... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 4 passed, 1 warnings in 40.32 seconds =====================
++ 16:10:50 starting module/cpyext/test/test_unicodeobject.py [92 started in total]
__ module/cpyext/test/test_tupleobject.py [90 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/cpyext/test/test_tupleobject.py .......... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 10 passed, 1 warnings in 43.59 seconds ====================
++ 16:11:23 starting module/cpyext/test/test_userslots.py [93 started in total]
__ module/cpyext/test/test_unicodeobject.py [91 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 47 items
module/cpyext/test/test_unicodeobject.py .............................s. [ 65%]
................ [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 46 passed, 1 skipped, 1 warnings in 57.18 seconds ===============
++ 16:11:56 starting module/cpyext/test/test_version.py [94 started in total]
__ module/cpyext/test/test_userslots.py [92 done in total, somefailed=False] __
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_userslots.py ...... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 6 passed, 1 warnings in 45.42 seconds =====================
++ 16:12:15 starting module/cpyext/test/test_weakref.py [95 started in total]
__ module/cpyext/test/test_version.py [93 done in total, somefailed=False] ____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_version.py ... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 3 passed, 1 warnings in 34.61 seconds =====================
++ 16:12:40 starting module/crypt/test [96 started in total]
__ module/crypt/test [94 done in total, somefailed=False] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
module/crypt/test/test_crypt.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================== 1 passed, 1 warnings in 3.07 seconds =====================
++ 16:12:45 starting module/errno/test [97 started in total]
__ module/errno/test [95 done in total, somefailed=False] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/errno/test/test_errno.py ... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================== 3 passed, 1 warnings in 3.05 seconds =====================
++ 16:12:49 starting module/exceptions/test [98 started in total]
__ module/exceptions/test [96 done in total, somefailed=False] ________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 24 items
module/exceptions/test/test_exc.py ..........s............. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 23 passed, 1 skipped, 1 warnings in 4.71 seconds ===============
++ 16:12:55 starting module/faulthandler/test [99 started in total]
__ module/cpyext/test/test_weakref.py [97 done in total, somefailed=False] ____
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/cpyext/test/test_weakref.py ..... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 5 passed, 1 warnings in 36.60 seconds =====================
++ 16:12:59 starting module/fcntl/test [100 started in total]
__ module/faulthandler/test [98 done in total, somefailed=False] ______________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/faulthandler/test/test_faulthander.py .. [ 66%]
module/faulthandler/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================== 3 passed, 1 warnings in 7.31 seconds =====================
++ 16:13:03 starting module/gc/test [101 started in total]
__ module/fcntl/test [99 done in total, somefailed=True] ______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/fcntl/test/test_fcntl.py F.FFsFss [100%]
=================================== FAILURES ===================================
___________________________ AppTestFcntl.test_fcntl ____________________________
self = <CallInfo when='call' exception: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0>
func = <function <lambda> at 0x00000001486d0ae8>, when = 'call'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <AppTestMethod 'test_fcntl'>}, notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x000000010854e6e8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
kwargs = {'item': <AppTestMethod 'test_fcntl'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
kwargs = {'item': <AppTestMethod 'test_fcntl'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
caller_kwargs = {'item': <AppTestMethod 'test_fcntl'>}, firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x0000000150309018>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
caller_kwargs = {'item': <AppTestMethod 'test_fcntl'>}, firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_fcntl'>
def pytest_runtest_call(item):
_update_current_test_var(item, "call")
sys.last_type, sys.last_value, sys.last_traceback = (None, None, None)
try:
> item.runtest()
../_pytest/runner.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_fcntl'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_fcntl'>, space = StdObjSpace
target = <function test_fcntl at 0x00000001486d0d40>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
w_func = <Function test_fcntl>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_fcntl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
Method = <class 'pypy.interpreter.function.Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, Method
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_fcntl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_fcntl, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1> at line 34
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1> at line 34
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1> at line 34
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1> at line 34
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1> at line 34
pycode = <code object test_fcntl, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1> at line 34
co_code = "d\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00\x89\x00\x00d\x01\...0t'\x00|\x01\x00j\x00\x00|\x05\x00|\x01\x00j \x00d\x1b\x00\x83\x05\x00\x01|\x05\x00\xc9(\x00\xca\x00\x00\x01d\x00\x00S"
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1> at line 34
co_code = "d\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00\x89\x00\x00d\x01\...0t'\x00|\x01\x00j\x00\x00|\x05\x00|\x01\x00j \x00d\x1b\x00\x83\x05\x00\x01|\x05\x00\xc9(\x00\xca\x00\x00\x01d\x00\x00S"
next_instr = 649L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
ec.bytecode_only_trace(self)
next_instr = r_uint(self.last_instr)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
opcode = ord(co_code[next_instr])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CLASS.index:
self.BUILD_CLASS(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1> at line 34
oparg = 3, ignored = (649L,), n_args = 3, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args + 2)
objspace/std/callmethod.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <BuiltinFunction fcntl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1> at line 34
dropvalues = 5, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction fcntl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]', line 1> at line 34
dropvalues = 5, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, f_0)
elif nargs == 2:
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, f_1, f_0)
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
frame.dropvalues(dropvalues)
return code.fastcall_3(self.space, self, f_2,
> f_1, f_0)
interpreter/function.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00000001502d72b8>
space = StdObjSpace, func = <BuiltinFunction fcntl>
w1 = <pypy.module._file.interp_file.W_File object at 0x00000001502aa330>
w2 = W_IntObject(2), w3 = W_BytesObject('foo')
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_3(self, space, func, w1, w2, w3):
try:
w_result = self.fastfunc_3(space, w1, w2, w3)
except DescrMismatch:
return self._type_unwrap_mismatch(space,
Arguments(space, [w1, w2, w3]))
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:942:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00000001502d72b8>
space = StdObjSpace
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00000001502d72b8>
space = StdObjSpace, func = <BuiltinFunction fcntl>
w1 = <pypy.module._file.interp_file.W_File object at 0x00000001502aa330>
w2 = W_IntObject(2), w3 = W_BytesObject('foo')
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_3(self, space, func, w1, w2, w3):
try:
> w_result = self.fastfunc_3(space, w1, w2, w3)
interpreter/gateway.py:937:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w0 = <pypy.module._file.interp_file.W_File object at 0x00000001502aa330>
w1 = W_IntObject(2), w2 = W_BytesObject('foo')
def fastfunc_fcntl_3(space, w0, w1, w2):
> return func(space, w0, space.gateway_int_w(w1), w2)
<2392-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w_fd = <pypy.module._file.interp_file.W_File object at 0x00000001502aa330>
op = 2L, w_arg = W_BytesObject('foo')
@unwrap_spec(op=int, w_arg=WrappedDefault(0))
def fcntl(space, w_fd, op, w_arg):
"""fcntl(fd, op, [arg])
Perform the requested operation on file descriptor fd. The operation
is defined by op and is operating system dependent. These constants are
available from the fcntl module. The argument arg is optional, and
defaults to 0; it may be an int or a string. If arg is given as a string,
the return value of fcntl is a string of that length, containing the
resulting value put in the arg buffer by the operating system. If the
arg given is an integer or if none is specified, the result value is an
integer corresponding to the return value of the fcntl call in the C code.
"""
fd = space.c_filedescriptor_w(w_fd)
op = rffi.cast(rffi.INT, op) # C long => C int
try:
arg = space.getarg_w('s#', w_arg)
except OperationError as e:
if not e.match(space, space.w_TypeError):
raise
else:
ll_arg = rffi.str2charp(arg)
try:
> rv = fcntl_str(fd, op, ll_arg)
module/fcntl/interp_fcntl.py:117:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (13, 2L, <* DEAD Array of Char {'nolength': True} >)
real_args = (13L, 2L, <* DEAD Array of Char {'nolength': True} >), to_free = ()
i = 2
def wrapper(*args):
assert len(args) == nb_args
real_args = ()
# XXX 'to_free' leaks if an allocation fails with MemoryError
# and was not the first in this function
to_free = ()
for i, TARGET in unrolling_arg_tps:
arg = args[i]
if TARGET == CCHARP or TARGET is VOIDP:
if arg is None:
from rpython.rtyper.annlowlevel import llstr
arg = lltype.nullptr(CCHARP.TO) # None => (char*)NULL
to_free = to_free + (arg, llstr(None), '\x04')
elif isinstance(arg, str):
tup = get_nonmovingbuffer_ll_final_null(arg)
to_free = to_free + tup
arg = tup[0]
elif isinstance(arg, unicode):
_oops()
elif TARGET == CWCHARP:
if arg is None:
arg = lltype.nullptr(CWCHARP.TO) # None => (wchar_t*)NULL
to_free = to_free + (arg,)
elif isinstance(arg, unicode):
arg = unicode2wcharp(arg)
to_free = to_free + (arg,)
elif _isfunctype(TARGET) and not _isllptr(arg):
# XXX pass additional arguments
use_gil = invoke_around_handlers
arg = llhelper(TARGET, _make_wrapper_for(TARGET, arg,
callbackholder,
use_gil))
else:
SOURCE = lltype.typeOf(arg)
if SOURCE != TARGET:
if TARGET is lltype.Float:
arg = float(arg)
elif ((isinstance(SOURCE, lltype.Number)
or SOURCE is lltype.Bool)
and (isinstance(TARGET, lltype.Number)
or TARGET is lltype.Bool)):
arg = cast(TARGET, arg)
real_args = real_args + (arg,)
> res = call_external_function(*real_args)
../rpython/rtyper/lltypesystem/rffi.py:321:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 13L, a1 = 2L, a2 = <* DEAD Array of Char {'nolength': True} >
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<2034-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn fcntl>
args = (13L, 2L, <* DEAD Array of Char {'nolength': True} >)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2, a = <* DEAD Array of Char {'nolength': True} >
def __call__(self, *args):
from rpython.rtyper.lltypesystem import rffi
if isinstance(self._T, FuncType):
if len(args) != len(self._T.ARGS):
raise TypeError("calling %r with wrong argument number: %r" %
(self._T, args))
for i, a, ARG in zip(range(len(self._T.ARGS)), args, self._T.ARGS):
if typeOf(a) != ARG:
# ARG could be Void
if ARG == Void:
try:
value = getattr(self._obj, '_void' + str(i))
except AttributeError:
pass
else:
assert a == value
# None is acceptable for any pointer
elif isinstance(ARG, Ptr) and a is None:
pass
# Any pointer is convertible to void*
elif ARG is rffi.VOIDP and isinstance(typeOf(a), Ptr):
pass
# special case: ARG can be a container type, in which
# case a should be a pointer to it. This must also be
# special-cased in the backends.
elif (isinstance(ARG, ContainerType) and
typeOf(a) == Ptr(ARG)):
pass
else:
args_repr = [typeOf(arg) for arg in args]
raise TypeError("calling %r with wrong argument "
"types: %r" % (self._T, args_repr))
callb = self._obj._callable
if callb is None:
raise RuntimeError("calling undefined function")
> return callb(*args)
../rpython/rtyper/lltypesystem/lltype.py:1384:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <rpython.rtyper.lltypesystem.ll2ctypes.LL2CtypesCallable object at 0x0000000109626e58>
argvalues = (13L, 2L, <* DEAD Array of Char {'nolength': True} >)
cfunc = <ctypes._FuncPtr object at 0x000000015030c848>
def __call__(self, *argvalues):
with rlock:
if self.trampoline is None:
# lazily build the corresponding ctypes function object
cfunc = get_ctypes_callable(self.funcptr, self.calling_conv,
self.natural_arity)
self.trampoline = get_ctypes_trampoline(self.FUNCTYPE, cfunc, self.natural_arity)
# perform the call
> return self.trampoline(*argvalues)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
argvalues = (13L, 2L, <* DEAD Array of Char {'nolength': True} >)
cargs = [13L, 2L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000015030cbf0>
def invoke_via_ctypes(*argvalues):
global _callback_exc_info
cargs = []
for i in range(len(argvalues)):
if i not in void_arguments:
cvalue = lltype2ctypes(argvalues[i])
if i in container_arguments:
cvalue = cvalue.contents
if natural_arity > 0 and i >= natural_arity:
> cvalue = cfunc.extraargs[i - natural_arity](cvalue)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000015030cbd8>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000015030cbf0>
def __init__(self, value=None):
if not hasattr(self, '_buffer'):
self._buffer = ffiarray(1, autofree=True)
if value is not None:
> self.contents = value
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000015030cbd8>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000015030cbf0>
def setcontents(self, value):
if not isinstance(value, self._type_):
raise TypeError("expected %s instead of %s" % (
> self._type_.__name__, type(value).__name__))
E TypeError: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:106: TypeError
___________________________ AppTestFcntl.test_lockf ____________________________
self = <CallInfo when='call' exception: expected ctypes_Struct flock { c_l_start, c_l...f LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>
func = <function <lambda> at 0x0000000128c4f9e8>, when = 'call'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <AppTestMethod 'test_lockf'>}, notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x000000010854e6e8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
kwargs = {'item': <AppTestMethod 'test_lockf'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
kwargs = {'item': <AppTestMethod 'test_lockf'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
caller_kwargs = {'item': <AppTestMethod 'test_lockf'>}, firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x000000013a723ad0>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
caller_kwargs = {'item': <AppTestMethod 'test_lockf'>}, firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_lockf'>
def pytest_runtest_call(item):
_update_current_test_var(item, "call")
sys.last_type, sys.last_value, sys.last_traceback = (None, None, None)
try:
> item.runtest()
../_pytest/runner.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_lockf'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_lockf'>, space = StdObjSpace
target = <function test_lockf at 0x0000000128c4fcb8>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
w_func = <Function test_lockf>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_lockf>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
Method = <class 'pypy.interpreter.function.Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, Method
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_lockf>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_lockf, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
e = TypeError('expected ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_typ...LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }',)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
pycode = <code object test_lockf, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00t\x03\x00...x01\x00|\x01\x00\xc9\x07\x00|\x04\x00|\x01\x00j\x08\x00\xca\x02\x00\x01|\x04\x00\xc9\x18\x00\xca\x00\x00\x01d\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00t\x03\x00...x01\x00|\x01\x00\xc9\x07\x00|\x04\x00|\x01\x00j\x08\x00\xca\x02\x00\x01|\x04\x00\xc9\x18\x00\xca\x00\x00\x01d\x00\x00S'
next_instr = 177L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
ec.bytecode_only_trace(self)
next_instr = r_uint(self.last_instr)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
opcode = ord(co_code[next_instr])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CLASS.index:
self.BUILD_CLASS(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
oparg = 2, ignored = (177L,), n_args = 2, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args + 2)
objspace/std/callmethod.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <BuiltinFunction lockf>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
dropvalues = 4, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction lockf>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
dropvalues = 4, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, f_0)
elif nargs == 2:
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, f_1, f_0)
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
frame.dropvalues(dropvalues)
return code.fastcall_3(self.space, self, f_2,
f_1, f_0)
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
f_3 = frame.peekvalue(3)
frame.dropvalues(dropvalues)
return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0)
elif (nargs | Code.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
return self._flat_pycall(code, nargs, frame, dropvalues)
elif fast_natural_arity & Code.FLATPYCALL:
natural_arity = fast_natural_arity & 0xff
if natural_arity > nargs >= natural_arity - len(self.defs_w):
assert isinstance(code, PyCode)
return self._flat_pycall_defaults(code, nargs, frame,
natural_arity - nargs, dropvalues)
elif fast_natural_arity == Code.PASSTHROUGHARGS1 and nargs >= 1:
assert isinstance(code, gateway.BuiltinCodePassThroughArguments1)
w_obj = frame.peekvalue(nargs-1)
args = frame.make_arguments(nargs-1)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:190:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction lockf>
args = Arguments([<pypy.module._file.interp_file.W_File object at 0x000000013a712c28>, W_IntObject(6)])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000013a71f9b8>
func = <BuiltinFunction lockf>
args = Arguments([<pypy.module._file.interp_file.W_File object at 0x000000013a712c28>, W_IntObject(6)])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000013a71f9b8>
func = <BuiltinFunction lockf>, w_obj = None
args = Arguments([<pypy.module._file.interp_file.W_File object at 0x000000013a712c28>, W_IntObject(6)])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
w_result = activation._run(space, scope_w)
except DescrMismatch:
if w_obj is not None:
args = args.prepend(w_obj)
return self._type_unwrap_mismatch(space, args)
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000013a71f9b8>
space = StdObjSpace
e = TypeError('expected ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_typ...LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }',)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000013a71f9b8>
func = <BuiltinFunction lockf>, w_obj = None
args = Arguments([<pypy.module._file.interp_file.W_File object at 0x000000013a712c28>, W_IntObject(6)])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_W_Root_int_int_int_int object at 0x000000013a71fb40>
space = StdObjSpace
scope_w = [<pypy.module._file.interp_file.W_File object at 0x000000013a712c28>, W_IntObject(6), W_IntObject(0), W_IntObject(0), W_IntObject(0)]
def _run(self, space, scope_w):
> return self.behavior(space, scope_w[0], space.gateway_int_w(scope_w[1]), space.gateway_int_w(scope_w[2]), space.gateway_int_w(scope_w[3]), space.gateway_int_w(scope_w[4]))
<2394-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w_fd = <pypy.module._file.interp_file.W_File object at 0x000000013a712c28>
op = 8L, length = 0, start = 0, whence = 0
@unwrap_spec(op=int, length=int, start=int, whence=int)
def lockf(space, w_fd, op, length=0, start=0, whence=0):
"""lockf (fd, operation, length=0, start=0, whence=0)
This is essentially a wrapper around the fcntl() locking calls. fd is the
file descriptor of the file to lock or unlock, and operation is one of the
following values:
LOCK_UN - unlock
LOCK_SH - acquire a shared lock
LOCK_EX - acquire an exclusive lock
When operation is LOCK_SH or LOCK_EX, it can also be bit-wise OR'd with
LOCK_NB to avoid blocking on lock acquisition. If LOCK_NB is used and the
lock cannot be acquired, an IOError will be raised and the exception will
have an errno attribute set to EACCES or EAGAIN (depending on the
operating system -- for portability, check for either value).
length is the number of bytes to lock, with the default meaning to lock to
EOF. start is the byte offset, relative to whence, to that the lock
starts. whence is as with fileobj.seek(), specifically:
0 - relative to the start of the file (SEEK_SET)
1 - relative to the current buffer position (SEEK_CUR)
2 - relative to the end of the file (SEEK_END)"""
fd = space.c_filedescriptor_w(w_fd)
if op == LOCK_UN:
l_type = F_UNLCK
elif op & LOCK_SH:
l_type = F_RDLCK
elif op & LOCK_EX:
l_type = F_WRLCK
else:
raise oefmt(space.w_ValueError, "unrecognized lock operation")
op = [F_SETLKW, F_SETLK][int(bool(op & LOCK_NB))]
op = rffi.cast(rffi.INT, op) # C long => C int
l = lltype.malloc(_flock.TO, flavor='raw')
try:
rffi.setintfield(l, 'c_l_type', l_type)
rffi.setintfield(l, 'c_l_start', int(start))
rffi.setintfield(l, 'c_l_len', int(length))
rffi.setintfield(l, 'c_l_whence', int(whence))
> rv = fcntl_flock(fd, op, l)
module/fcntl/interp_fcntl.py:195:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (14, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
real_args = (14L, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
to_free = (), i = 2
def wrapper(*args):
assert len(args) == nb_args
real_args = ()
# XXX 'to_free' leaks if an allocation fails with MemoryError
# and was not the first in this function
to_free = ()
for i, TARGET in unrolling_arg_tps:
arg = args[i]
if TARGET == CCHARP or TARGET is VOIDP:
if arg is None:
from rpython.rtyper.annlowlevel import llstr
arg = lltype.nullptr(CCHARP.TO) # None => (char*)NULL
to_free = to_free + (arg, llstr(None), '\x04')
elif isinstance(arg, str):
tup = get_nonmovingbuffer_ll_final_null(arg)
to_free = to_free + tup
arg = tup[0]
elif isinstance(arg, unicode):
_oops()
elif TARGET == CWCHARP:
if arg is None:
arg = lltype.nullptr(CWCHARP.TO) # None => (wchar_t*)NULL
to_free = to_free + (arg,)
elif isinstance(arg, unicode):
arg = unicode2wcharp(arg)
to_free = to_free + (arg,)
elif _isfunctype(TARGET) and not _isllptr(arg):
# XXX pass additional arguments
use_gil = invoke_around_handlers
arg = llhelper(TARGET, _make_wrapper_for(TARGET, arg,
callbackholder,
use_gil))
else:
SOURCE = lltype.typeOf(arg)
if SOURCE != TARGET:
if TARGET is lltype.Float:
arg = float(arg)
elif ((isinstance(SOURCE, lltype.Number)
or SOURCE is lltype.Bool)
and (isinstance(TARGET, lltype.Number)
or TARGET is lltype.Bool)):
arg = cast(TARGET, arg)
real_args = real_args + (arg,)
> res = call_external_function(*real_args)
../rpython/rtyper/lltypesystem/rffi.py:321:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 14L, a1 = 8L
a2 = <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<2035-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn fcntl>
args = (14L, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2
a = <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>
def __call__(self, *args):
from rpython.rtyper.lltypesystem import rffi
if isinstance(self._T, FuncType):
if len(args) != len(self._T.ARGS):
raise TypeError("calling %r with wrong argument number: %r" %
(self._T, args))
for i, a, ARG in zip(range(len(self._T.ARGS)), args, self._T.ARGS):
if typeOf(a) != ARG:
# ARG could be Void
if ARG == Void:
try:
value = getattr(self._obj, '_void' + str(i))
except AttributeError:
pass
else:
assert a == value
# None is acceptable for any pointer
elif isinstance(ARG, Ptr) and a is None:
pass
# Any pointer is convertible to void*
elif ARG is rffi.VOIDP and isinstance(typeOf(a), Ptr):
pass
# special case: ARG can be a container type, in which
# case a should be a pointer to it. This must also be
# special-cased in the backends.
elif (isinstance(ARG, ContainerType) and
typeOf(a) == Ptr(ARG)):
pass
else:
args_repr = [typeOf(arg) for arg in args]
raise TypeError("calling %r with wrong argument "
"types: %r" % (self._T, args_repr))
callb = self._obj._callable
if callb is None:
raise RuntimeError("calling undefined function")
> return callb(*args)
../rpython/rtyper/lltypesystem/lltype.py:1384:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <rpython.rtyper.lltypesystem.ll2ctypes.LL2CtypesCallable object at 0x0000000109626ec8>
argvalues = (14L, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
cfunc = <ctypes._FuncPtr object at 0x000000013a7265a8>
def __call__(self, *argvalues):
with rlock:
if self.trampoline is None:
# lazily build the corresponding ctypes function object
cfunc = get_ctypes_callable(self.funcptr, self.calling_conv,
self.natural_arity)
self.trampoline = get_ctypes_trampoline(self.FUNCTYPE, cfunc, self.natural_arity)
# perform the call
> return self.trampoline(*argvalues)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
argvalues = (14L, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
cargs = [14L, 8L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x000000013a7264d0>
def invoke_via_ctypes(*argvalues):
global _callback_exc_info
cargs = []
for i in range(len(argvalues)):
if i not in void_arguments:
cvalue = lltype2ctypes(argvalues[i])
if i in container_arguments:
cvalue = cvalue.contents
if natural_arity > 0 and i >= natural_arity:
> cvalue = cfunc.extraargs[i - natural_arity](cvalue)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x000000013a726b30>
value = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x000000013a7264d0>
def __init__(self, value=None):
if not hasattr(self, '_buffer'):
self._buffer = ffiarray(1, autofree=True)
if value is not None:
> self.contents = value
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x000000013a726b30>
value = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x000000013a7264d0>
def setcontents(self, value):
if not isinstance(value, self._type_):
raise TypeError("expected %s instead of %s" % (
> self._type_.__name__, type(value).__name__))
E TypeError: expected ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } instead of LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:106: TypeError
___________________________ AppTestFcntl.test_ioctl ____________________________
self = <CallInfo when='call' exception: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0>
func = <function <lambda> at 0x0000000109d8eb60>, when = 'call'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <AppTestMethod 'test_ioctl'>}, notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x000000010854e6e8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
kwargs = {'item': <AppTestMethod 'test_ioctl'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
kwargs = {'item': <AppTestMethod 'test_ioctl'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
caller_kwargs = {'item': <AppTestMethod 'test_ioctl'>}, firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x000000013a2e8448>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
caller_kwargs = {'item': <AppTestMethod 'test_ioctl'>}, firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_ioctl'>
def pytest_runtest_call(item):
_update_current_test_var(item, "call")
sys.last_type, sys.last_value, sys.last_traceback = (None, None, None)
try:
> item.runtest()
../_pytest/runner.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl'>, space = StdObjSpace
target = <function test_ioctl at 0x00000001502b2020>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
w_func = <Function test_ioctl>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_ioctl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
Method = <class 'pypy.interpreter.function.Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, Method
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_ioctl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_ioctl, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
pycode = <code object test_ioctl, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00d\x01\x00...\n\x00|\x0b\x00k\x02\x00sU\x03t\x10\x00\x82\x01\x00Wd\x00\x00|\x03\x00\xc9\x17\x00|\x08\x00\xca\x01\x00\x01Xd\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00d\x01\x00...\n\x00|\x0b\x00k\x02\x00sU\x03t\x10\x00\x82\x01\x00Wd\x00\x00|\x03\x00\xc9\x17\x00|\x08\x00\xca\x01\x00\x01Xd\x00\x00S'
next_instr = 296L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
ec.bytecode_only_trace(self)
next_instr = r_uint(self.last_instr)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
opcode = ord(co_code[next_instr])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CLASS.index:
self.BUILD_CLASS(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
oparg = 4, ignored = (296L,), n_args = 4, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args + 2)
objspace/std/callmethod.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <BuiltinFunction ioctl>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
dropvalues = 6, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction ioctl>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
dropvalues = 6, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, f_0)
elif nargs == 2:
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, f_1, f_0)
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
frame.dropvalues(dropvalues)
return code.fastcall_3(self.space, self, f_2,
f_1, f_0)
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
f_3 = frame.peekvalue(3)
frame.dropvalues(dropvalues)
> return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0)
interpreter/function.py:171:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x0000000118346640>
space = StdObjSpace, func = <BuiltinFunction ioctl>, w1 = W_IntObject(13)
w2 = W_IntObject(1074033783)
w3 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fa1bb0>
w4 = W_BoolObject(True)
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_4(self, space, func, w1, w2, w3, w4):
from rpython.rlib.debug import check_annotation
try:
w_result = self.fastfunc_4(space, w1, w2, w3, w4)
except DescrMismatch:
return self._type_unwrap_mismatch(space,
Arguments(space,
[w1, w2, w3, w4]))
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:969:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x0000000118346640>
space = StdObjSpace
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x0000000118346640>
space = StdObjSpace, func = <BuiltinFunction ioctl>, w1 = W_IntObject(13)
w2 = W_IntObject(1074033783)
w3 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fa1bb0>
w4 = W_BoolObject(True)
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_4(self, space, func, w1, w2, w3, w4):
from rpython.rlib.debug import check_annotation
try:
> w_result = self.fastfunc_4(space, w1, w2, w3, w4)
interpreter/gateway.py:963:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w0 = W_IntObject(13), w1 = W_IntObject(1074033783)
w2 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fa1bb0>
w3 = W_BoolObject(True)
def fastfunc_ioctl_4(space, w0, w1, w2, w3):
> return func(space, w0, w1, w2, space.gateway_int_w(w3))
<2411-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_fd = W_IntObject(13), w_request = W_IntObject(1074033783)
w_arg = <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000139fa1bb0>
mutate_flag = 1
@unwrap_spec(mutate_flag=int, w_arg=WrappedDefault(0))
def ioctl(space, w_fd, w_request, w_arg, mutate_flag=-1):
"""ioctl(fd, op[, arg[, mutate_flag]])
Perform the operation op on file descriptor fd. The values used for op
are operating system dependent, and are available as constants in the
fcntl or termios library modules, using the same names as used in the
relevant C header files.
The argument arg is optional, and defaults to 0; it may be an int or a
buffer containing character data (most likely a string or an array).
If the argument is a mutable buffer (such as an array) and if the
mutate_flag argument (which is only allowed in this case) is true then the
buffer is (in effect) passed to the operating system and changes made by
the OS will be reflected in the contents of the buffer after the call has
returned. The return value is the integer returned by the ioctl system
call.
If the argument is a mutable buffer and the mutable_flag argument is not
passed or is false, the behavior is as if a string had been passed. This
behavior will change in future releases of Python.
If the argument is an immutable buffer (most likely a string) then a copy
of the buffer is passed to the operating system and the return value is a
string of the same length containing whatever the operating system put in
the buffer. The length of the arg buffer in this case is not allowed to
exceed 1024 bytes.
If the arg given is an integer or if none is specified, the result value is
an integer corresponding to the return value of the ioctl call in the C
code."""
# removed the largish docstring because it is not in sync with the
# documentation any more (even in CPython's docstring is out of date)
# XXX this function's interface is a mess.
# We try to emulate the behavior of Python >= 2.5 w.r.t. mutate_flag
IOCTL_BUFSZ = 1024 # like cpython
fd = space.c_filedescriptor_w(w_fd)
op = space.bigint_w(w_request).uintmask() # CPython uses PyLong_AsUnsignedLongMask
op = rffi.cast(rffi.UINT, op)
try:
rwbuffer = space.writebuf_w(w_arg)
except OperationError as e:
if not e.match(space, space.w_TypeError):
raise
else:
arg = rwbuffer.as_str()
ll_arg = rffi.str2charp(arg)
to_alloc = max(IOCTL_BUFSZ, len(arg))
try:
with rffi.scoped_alloc_buffer(to_alloc) as buf:
rffi.c_memcpy(rffi.cast(rffi.VOIDP, buf.raw),
rffi.cast(rffi.CONST_VOIDP, ll_arg), len(arg))
> rv = ioctl_str(fd, op, buf.raw)
module/fcntl/interp_fcntl.py:257:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (13, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x1109d2a10>>)
real_args = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x1109d2a10>>)
to_free = (), i = 2
def wrapper(*args):
assert len(args) == nb_args
real_args = ()
# XXX 'to_free' leaks if an allocation fails with MemoryError
# and was not the first in this function
to_free = ()
for i, TARGET in unrolling_arg_tps:
arg = args[i]
if TARGET == CCHARP or TARGET is VOIDP:
if arg is None:
from rpython.rtyper.annlowlevel import llstr
arg = lltype.nullptr(CCHARP.TO) # None => (char*)NULL
to_free = to_free + (arg, llstr(None), '\x04')
elif isinstance(arg, str):
tup = get_nonmovingbuffer_ll_final_null(arg)
to_free = to_free + tup
arg = tup[0]
elif isinstance(arg, unicode):
_oops()
elif TARGET == CWCHARP:
if arg is None:
arg = lltype.nullptr(CWCHARP.TO) # None => (wchar_t*)NULL
to_free = to_free + (arg,)
elif isinstance(arg, unicode):
arg = unicode2wcharp(arg)
to_free = to_free + (arg,)
elif _isfunctype(TARGET) and not _isllptr(arg):
# XXX pass additional arguments
use_gil = invoke_around_handlers
arg = llhelper(TARGET, _make_wrapper_for(TARGET, arg,
callbackholder,
use_gil))
else:
SOURCE = lltype.typeOf(arg)
if SOURCE != TARGET:
if TARGET is lltype.Float:
arg = float(arg)
elif ((isinstance(SOURCE, lltype.Number)
or SOURCE is lltype.Bool)
and (isinstance(TARGET, lltype.Number)
or TARGET is lltype.Bool)):
arg = cast(TARGET, arg)
real_args = real_args + (arg,)
> res = call_external_function(*real_args)
../rpython/rtyper/lltypesystem/rffi.py:321:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 13L, a1 = 1074033783L
a2 = <* <C object Array of Char {'nolength': True} at 0x1109d2a10>>
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<2037-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn ioctl>
args = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x1109d2a10>>)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2, a = <* <C object Array of Char {'nolength': True} at 0x1109d2a10>>
def __call__(self, *args):
from rpython.rtyper.lltypesystem import rffi
if isinstance(self._T, FuncType):
if len(args) != len(self._T.ARGS):
raise TypeError("calling %r with wrong argument number: %r" %
(self._T, args))
for i, a, ARG in zip(range(len(self._T.ARGS)), args, self._T.ARGS):
if typeOf(a) != ARG:
# ARG could be Void
if ARG == Void:
try:
value = getattr(self._obj, '_void' + str(i))
except AttributeError:
pass
else:
assert a == value
# None is acceptable for any pointer
elif isinstance(ARG, Ptr) and a is None:
pass
# Any pointer is convertible to void*
elif ARG is rffi.VOIDP and isinstance(typeOf(a), Ptr):
pass
# special case: ARG can be a container type, in which
# case a should be a pointer to it. This must also be
# special-cased in the backends.
elif (isinstance(ARG, ContainerType) and
typeOf(a) == Ptr(ARG)):
pass
else:
args_repr = [typeOf(arg) for arg in args]
raise TypeError("calling %r with wrong argument "
"types: %r" % (self._T, args_repr))
callb = self._obj._callable
if callb is None:
raise RuntimeError("calling undefined function")
> return callb(*args)
../rpython/rtyper/lltypesystem/lltype.py:1384:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <rpython.rtyper.lltypesystem.ll2ctypes.LL2CtypesCallable object at 0x0000000139ac9018>
argvalues = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x1109d2a10>>)
cfunc = <ctypes._FuncPtr object at 0x000000013a2ac290>
def __call__(self, *argvalues):
with rlock:
if self.trampoline is None:
# lazily build the corresponding ctypes function object
cfunc = get_ctypes_callable(self.funcptr, self.calling_conv,
self.natural_arity)
self.trampoline = get_ctypes_trampoline(self.FUNCTYPE, cfunc, self.natural_arity)
# perform the call
> return self.trampoline(*argvalues)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
argvalues = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x1109d2a10>>)
cargs = [13L, 1074033783L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000013a2ac170>
def invoke_via_ctypes(*argvalues):
global _callback_exc_info
cargs = []
for i in range(len(argvalues)):
if i not in void_arguments:
cvalue = lltype2ctypes(argvalues[i])
if i in container_arguments:
cvalue = cvalue.contents
if natural_arity > 0 and i >= natural_arity:
> cvalue = cfunc.extraargs[i - natural_arity](cvalue)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000013a2ac4d0>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000013a2ac170>
def __init__(self, value=None):
if not hasattr(self, '_buffer'):
self._buffer = ffiarray(1, autofree=True)
if value is not None:
> self.contents = value
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000013a2ac4d0>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000013a2ac170>
def setcontents(self, value):
if not isinstance(value, self._type_):
raise TypeError("expected %s instead of %s" % (
> self._type_.__name__, type(value).__name__))
E TypeError: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:106: TypeError
______________ AppTestFcntl.test_ioctl_signed_unsigned_code_param ______________
self = <CallInfo when='call' exception: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0>
func = <function <lambda> at 0x0000000128ee2a70>, when = 'call'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>}
notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x000000010854e6e8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
kwargs = {'item': <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
kwargs = {'item': <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
caller_kwargs = {'item': <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x0000000148df2800>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4973274272', plugin=<rpython.conftest.LeakFinder instance at 0x00000001286e24a0>>, <HookImpl p...6c4db0>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000128707b40>>]
caller_kwargs = {'item': <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>
def pytest_runtest_call(item):
_update_current_test_var(item, "call")
sys.last_type, sys.last_value, sys.last_traceback = (None, None, None)
try:
> item.runtest()
../_pytest/runner.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>
space = StdObjSpace
target = <function test_ioctl_signed_unsigned_code_param at 0x0000000128ee32e0>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
w_func = <Function test_ioctl_signed_unsigned_code_param>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_ioctl_signed_unsigned_code_param>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
Method = <class 'pypy.interpreter.function.Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, Method
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_ioctl_signed_unsigned_code_param>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001486e9670>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_ioctl_signed_unsigned_code_param, file '[/Users/matti/build-...arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
pycode = <code object test_ioctl_signed_unsigned_code_param, file '[/Users/matti/build-...arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00d\x01\x00...}\x0b\x00Wd\x00\x00|\x02\x00\xc9\n\x00|\x06\x00\xca\x01\x00\x01|\x02\x00\xc9\n\x00|\x07\x00\xca\x01\x00\x01Xd\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00d\x01\x00...}\x0b\x00Wd\x00\x00|\x02\x00\xc9\n\x00|\x06\x00\xca\x01\x00\x01|\x02\x00\xc9\n\x00|\x07\x00\xca\x01\x00\x01Xd\x00\x00S'
next_instr = 211L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001486dd750>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
ec.bytecode_only_trace(self)
next_instr = r_uint(self.last_instr)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
opcode = ord(co_code[next_instr])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CLASS.index:
self.BUILD_CLASS(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
oparg = 3, ignored = (211L,), n_args = 3, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args + 2)
objspace/std/callmethod.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <BuiltinFunction ioctl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
dropvalues = 5, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction ioctl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
dropvalues = 5, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, f_0)
elif nargs == 2:
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, f_1, f_0)
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
frame.dropvalues(dropvalues)
return code.fastcall_3(self.space, self, f_2,
f_1, f_0)
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
f_3 = frame.peekvalue(3)
frame.dropvalues(dropvalues)
return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0)
elif (nargs | Code.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
return self._flat_pycall(code, nargs, frame, dropvalues)
elif fast_natural_arity & Code.FLATPYCALL:
natural_arity = fast_natural_arity & 0xff
if natural_arity > nargs >= natural_arity - len(self.defs_w):
assert isinstance(code, PyCode)
return self._flat_pycall_defaults(code, nargs, frame,
natural_arity - nargs, dropvalues)
elif fast_natural_arity == Code.PASSTHROUGHARGS1 and nargs >= 1:
assert isinstance(code, gateway.BuiltinCodePassThroughArguments1)
w_obj = frame.peekvalue(nargs-1)
args = frame.make_arguments(nargs-1)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:190:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction ioctl>
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x0000000118346640>
func = <BuiltinFunction ioctl>
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x0000000118346640>
func = <BuiltinFunction ioctl>, w_obj = None
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
w_result = activation._run(space, scope_w)
except DescrMismatch:
if w_obj is not None:
args = args.prepend(w_obj)
return self._type_unwrap_mismatch(space, args)
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x0000000118346640>
space = StdObjSpace
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x0000000118346640>
func = <BuiltinFunction ioctl>, w_obj = None
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_W_Root_W_Root_W_Root_int object at 0x0000000118346790>
space = StdObjSpace
scope_w = [W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00'), W_IntObject(-1)]
def _run(self, space, scope_w):
> return self.behavior(space, scope_w[0], scope_w[1], scope_w[2], space.gateway_int_w(scope_w[3]))
<2410-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_fd = W_IntObject(14), w_request = W_IntObject(2148037735)
w_arg = W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00'), mutate_flag = -1
@unwrap_spec(mutate_flag=int, w_arg=WrappedDefault(0))
def ioctl(space, w_fd, w_request, w_arg, mutate_flag=-1):
"""ioctl(fd, op[, arg[, mutate_flag]])
Perform the operation op on file descriptor fd. The values used for op
are operating system dependent, and are available as constants in the
fcntl or termios library modules, using the same names as used in the
relevant C header files.
The argument arg is optional, and defaults to 0; it may be an int or a
buffer containing character data (most likely a string or an array).
If the argument is a mutable buffer (such as an array) and if the
mutate_flag argument (which is only allowed in this case) is true then the
buffer is (in effect) passed to the operating system and changes made by
the OS will be reflected in the contents of the buffer after the call has
returned. The return value is the integer returned by the ioctl system
call.
If the argument is a mutable buffer and the mutable_flag argument is not
passed or is false, the behavior is as if a string had been passed. This
behavior will change in future releases of Python.
If the argument is an immutable buffer (most likely a string) then a copy
of the buffer is passed to the operating system and the return value is a
string of the same length containing whatever the operating system put in
the buffer. The length of the arg buffer in this case is not allowed to
exceed 1024 bytes.
If the arg given is an integer or if none is specified, the result value is
an integer corresponding to the return value of the ioctl call in the C
code."""
# removed the largish docstring because it is not in sync with the
# documentation any more (even in CPython's docstring is out of date)
# XXX this function's interface is a mess.
# We try to emulate the behavior of Python >= 2.5 w.r.t. mutate_flag
IOCTL_BUFSZ = 1024 # like cpython
fd = space.c_filedescriptor_w(w_fd)
op = space.bigint_w(w_request).uintmask() # CPython uses PyLong_AsUnsignedLongMask
op = rffi.cast(rffi.UINT, op)
try:
rwbuffer = space.writebuf_w(w_arg)
except OperationError as e:
if not e.match(space, space.w_TypeError):
raise
else:
arg = rwbuffer.as_str()
ll_arg = rffi.str2charp(arg)
to_alloc = max(IOCTL_BUFSZ, len(arg))
try:
with rffi.scoped_alloc_buffer(to_alloc) as buf:
rffi.c_memcpy(rffi.cast(rffi.VOIDP, buf.raw),
rffi.cast(rffi.CONST_VOIDP, ll_arg), len(arg))
rv = ioctl_str(fd, op, buf.raw)
if rv < 0:
raise _get_error(space, "ioctl")
arg = rffi.charpsize2str(buf.raw, len(arg))
if mutate_flag != 0:
rwbuffer.setslice(0, arg)
return space.newint(rv)
return space.newbytes(arg)
finally:
lltype.free(ll_arg, flavor='raw')
if mutate_flag != -1:
raise oefmt(space.w_TypeError,
"ioctl requires a file or file descriptor, an integer and "
"optionally an integer or buffer argument")
try:
arg = space.getarg_w('s#', w_arg)
except OperationError as e:
if not e.match(space, space.w_TypeError):
raise
else:
ll_arg = rffi.str2charp(arg)
to_alloc = max(IOCTL_BUFSZ, len(arg))
try:
with rffi.scoped_alloc_buffer(to_alloc) as buf:
rffi.c_memcpy(rffi.cast(rffi.VOIDP, buf.raw),
rffi.cast(rffi.CONST_VOIDP, ll_arg), len(arg))
> rv = ioctl_str(fd, op, buf.raw)
module/fcntl/interp_fcntl.py:285:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (14, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x1108bdc10>>)
real_args = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x1108bdc10>>)
to_free = (), i = 2
def wrapper(*args):
assert len(args) == nb_args
real_args = ()
# XXX 'to_free' leaks if an allocation fails with MemoryError
# and was not the first in this function
to_free = ()
for i, TARGET in unrolling_arg_tps:
arg = args[i]
if TARGET == CCHARP or TARGET is VOIDP:
if arg is None:
from rpython.rtyper.annlowlevel import llstr
arg = lltype.nullptr(CCHARP.TO) # None => (char*)NULL
to_free = to_free + (arg, llstr(None), '\x04')
elif isinstance(arg, str):
tup = get_nonmovingbuffer_ll_final_null(arg)
to_free = to_free + tup
arg = tup[0]
elif isinstance(arg, unicode):
_oops()
elif TARGET == CWCHARP:
if arg is None:
arg = lltype.nullptr(CWCHARP.TO) # None => (wchar_t*)NULL
to_free = to_free + (arg,)
elif isinstance(arg, unicode):
arg = unicode2wcharp(arg)
to_free = to_free + (arg,)
elif _isfunctype(TARGET) and not _isllptr(arg):
# XXX pass additional arguments
use_gil = invoke_around_handlers
arg = llhelper(TARGET, _make_wrapper_for(TARGET, arg,
callbackholder,
use_gil))
else:
SOURCE = lltype.typeOf(arg)
if SOURCE != TARGET:
if TARGET is lltype.Float:
arg = float(arg)
elif ((isinstance(SOURCE, lltype.Number)
or SOURCE is lltype.Bool)
and (isinstance(TARGET, lltype.Number)
or TARGET is lltype.Bool)):
arg = cast(TARGET, arg)
real_args = real_args + (arg,)
> res = call_external_function(*real_args)
../rpython/rtyper/lltypesystem/rffi.py:321:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 14L, a1 = 2148037735L
a2 = <* <C object Array of Char {'nolength': True} at 0x1108bdc10>>
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<2037-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn ioctl>
args = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x1108bdc10>>)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2, a = <* <C object Array of Char {'nolength': True} at 0x1108bdc10>>
def __call__(self, *args):
from rpython.rtyper.lltypesystem import rffi
if isinstance(self._T, FuncType):
if len(args) != len(self._T.ARGS):
raise TypeError("calling %r with wrong argument number: %r" %
(self._T, args))
for i, a, ARG in zip(range(len(self._T.ARGS)), args, self._T.ARGS):
if typeOf(a) != ARG:
# ARG could be Void
if ARG == Void:
try:
value = getattr(self._obj, '_void' + str(i))
except AttributeError:
pass
else:
assert a == value
# None is acceptable for any pointer
elif isinstance(ARG, Ptr) and a is None:
pass
# Any pointer is convertible to void*
elif ARG is rffi.VOIDP and isinstance(typeOf(a), Ptr):
pass
# special case: ARG can be a container type, in which
# case a should be a pointer to it. This must also be
# special-cased in the backends.
elif (isinstance(ARG, ContainerType) and
typeOf(a) == Ptr(ARG)):
pass
else:
args_repr = [typeOf(arg) for arg in args]
raise TypeError("calling %r with wrong argument "
"types: %r" % (self._T, args_repr))
callb = self._obj._callable
if callb is None:
raise RuntimeError("calling undefined function")
> return callb(*args)
../rpython/rtyper/lltypesystem/lltype.py:1384:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <rpython.rtyper.lltypesystem.ll2ctypes.LL2CtypesCallable object at 0x0000000139ac9018>
argvalues = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x1108bdc10>>)
def __call__(self, *argvalues):
with rlock:
if self.trampoline is None:
# lazily build the corresponding ctypes function object
cfunc = get_ctypes_callable(self.funcptr, self.calling_conv,
self.natural_arity)
self.trampoline = get_ctypes_trampoline(self.FUNCTYPE, cfunc, self.natural_arity)
# perform the call
> return self.trampoline(*argvalues)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
argvalues = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x1108bdc10>>)
cargs = [14L, 2148037735L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x0000000139e9ccf8>
def invoke_via_ctypes(*argvalues):
global _callback_exc_info
cargs = []
for i in range(len(argvalues)):
if i not in void_arguments:
cvalue = lltype2ctypes(argvalues[i])
if i in container_arguments:
cvalue = cvalue.contents
if natural_arity > 0 and i >= natural_arity:
> cvalue = cfunc.extraargs[i - natural_arity](cvalue)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x0000000139e9cf20>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x0000000139e9ccf8>
def __init__(self, value=None):
if not hasattr(self, '_buffer'):
self._buffer = ffiarray(1, autofree=True)
if value is not None:
> self.contents = value
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x0000000139e9cf20>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x0000000139e9ccf8>
def setcontents(self, value):
if not isinstance(value, self._type_):
raise TypeError("expected %s instead of %s" % (
> self._type_.__name__, type(value).__name__))
E TypeError: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:106: TypeError
=========================== short test summary info ============================
FAIL module/fcntl/test/test_fcntl.py::AppTestFcntl::()::test_fcntl
FAIL module/fcntl/test/test_fcntl.py::AppTestFcntl::()::test_lockf
FAIL module/fcntl/test/test_fcntl.py::AppTestFcntl::()::test_ioctl
FAIL module/fcntl/test/test_fcntl.py::AppTestFcntl::()::test_ioctl_signed_unsigned_code_param
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========== 4 failed, 1 passed, 3 skipped, 1 warnings in 9.46 seconds ===========
++ 16:13:09 starting module/imp/test [102 started in total]
__ module/gc/test [100 done in total, somefailed=True] ________________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 30 items
module/gc/test/test_app_referents.py .... [ 13%]
module/gc/test/test_gc.py .....x... [ 43%]
module/gc/test/test_hook.py ........ [ 70%]
module/gc/test/test_referents.py ...F.... [ 96%]
module/gc/test/test_ztranslation.py . [100%]
=================================== FAILURES ===================================
__________________ AppTestReferents.test_get_rpy_memory_usage __________________
self = <CallInfo when='call' exception: type object 'W_IntObject' has no attribute '__basicsize__'>
func = <function <lambda> at 0x0000000120bd0908>, when = 'call'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <AppTestMethod 'test_get_rpy_memory_usage'>}
notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x00000001502b87c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='5373152096', plugin=<rpython.conftest.LeakFinder instance at 0x000000014043cb60>>, <HookImpl p...431280>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000140475ec0>>]
kwargs = {'item': <AppTestMethod 'test_get_rpy_memory_usage'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='5373152096', plugin=<rpython.conftest.LeakFinder instance at 0x000000014043cb60>>, <HookImpl p...431280>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000140475ec0>>]
kwargs = {'item': <AppTestMethod 'test_get_rpy_memory_usage'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5373152096', plugin=<rpython.conftest.LeakFinder instance at 0x000000014043cb60>>, <HookImpl p...431280>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000140475ec0>>]
caller_kwargs = {'item': <AppTestMethod 'test_get_rpy_memory_usage'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x00000001413d6950>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='5373152096', plugin=<rpython.conftest.LeakFinder instance at 0x000000014043cb60>>, <HookImpl p...431280>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000140475ec0>>]
caller_kwargs = {'item': <AppTestMethod 'test_get_rpy_memory_usage'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_get_rpy_memory_usage'>
def pytest_runtest_call(item):
_update_current_test_var(item, "call")
sys.last_type, sys.last_value, sys.last_traceback = (None, None, None)
try:
> item.runtest()
../_pytest/runner.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_get_rpy_memory_usage'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_get_rpy_memory_usage'>, space = StdObjSpace
target = <function test_get_rpy_memory_usage at 0x0000000120bd0818>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000016146f718>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000016146f718>,)
w_func = <Function test_get_rpy_memory_usage>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000016146f718>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_get_rpy_memory_usage>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000016146f718>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
Method = <class 'pypy.interpreter.function.Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, Method
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_get_rpy_memory_usage>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000016146f718>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_get_rpy_memory_usage, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
e = AttributeError("type object 'W_IntObject' has no attribute '__basicsize__'",)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
pycode = <code object test_get_rpy_memory_usage, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000161292560>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00|\x01\x00\xc9\x01\x00d\x02\x00\xca\x01\x00}\x02\x00|\x02\x00GH\xcc"\x00d\x03\x00|\x02\x00\x04\x03k\x01\x00o:\x00d\x04\x00k\x01\x00n\x02\x00\x02\x01sE\x00t\x02\x00\x82\x01\x00d\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000161292560>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00|\x01\x00\xc9\x01\x00d\x02\x00\xca\x01\x00}\x02\x00|\x02\x00GH\xcc"\x00d\x03\x00|\x02\x00\x04\x03k\x01\x00o:\x00d\x04\x00k\x01\x00n\x02\x00\x02\x01sE\x00t\x02\x00\x82\x01\x00d\x00\x00S'
next_instr = 24L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000161292560>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
ec.bytecode_only_trace(self)
next_instr = r_uint(self.last_instr)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
opcode = ord(co_code[next_instr])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CLASS.index:
self.BUILD_CLASS(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
oparg = 1, ignored = (24L,), n_args = 1, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args + 2)
objspace/std/callmethod.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <BuiltinFunction get_rpy_memory_usage>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
dropvalues = 3, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction get_rpy_memory_usage>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
dropvalues = 3, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
> return code.fastcall_1(self.space, self, f_0)
interpreter/function.py:149:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00000001413e4090>
space = StdObjSpace, w_func = <BuiltinFunction get_rpy_memory_usage>
w1 = W_IntObject(12345)
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_1(self, space, w_func, w1):
try:
w_result = self.fastfunc_1(space, w1)
except DescrMismatch:
return self._type_unwrap_mismatch(space,
Arguments(space, [w1]))
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:893:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00000001413e4090>
space = StdObjSpace
e = AttributeError("type object 'W_IntObject' has no attribute '__basicsize__'",)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00000001413e4090>
space = StdObjSpace, w_func = <BuiltinFunction get_rpy_memory_usage>
w1 = W_IntObject(12345)
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_1(self, space, w_func, w1):
try:
> w_result = self.fastfunc_1(space, w1)
interpreter/gateway.py:888:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_obj = W_IntObject(12345)
def get_rpy_memory_usage(space, w_obj):
"""Return the memory usage of just the given object or GcRef.
This does not include the internal structures of the object."""
gcref = unwrap(space, w_obj)
> size = rgc.get_rpy_memory_usage(gcref)
module/gc/referents.py:100:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gcref = _GcRef(W_IntObject(12345))
@not_rpython
def get_rpy_memory_usage(gcref):
# approximate implementation using CPython's type info
Class = type(gcref._x)
> size = Class.__basicsize__
E AttributeError: type object 'W_IntObject' has no attribute '__basicsize__'
../rpython/rlib/rgc.py:822: AttributeError
=========================== short test summary info ============================
FAIL module/gc/test/test_referents.py::AppTestReferents::()::test_get_rpy_memory_usage
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========= 1 failed, 28 passed, 1 xfailed, 1 warnings in 12.05 seconds ==========
++ 16:13:18 starting module/itertools/test [103 started in total]
__ module/itertools/test [101 done in total, somefailed=False] ________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 73 items
module/itertools/test/test_itertools.py ................................ [ 43%]
........................................ [ 98%]
module/itertools/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 73 passed, 1 warnings in 19.51 seconds ====================
++ 16:13:38 starting module/marshal/test [104 started in total]
__ module/marshal/test [102 done in total, somefailed=False] __________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 80 items
module/marshal/test/test_marshal.py .................................... [ 45%]
............................... [ 83%]
module/marshal/test/test_marshalimpl.py ............. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 80 passed, 1 warnings in 7.96 seconds =====================
++ 16:13:47 starting module/math/test [105 started in total]
__ module/imp/test [103 done in total, somefailed=False] ______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 124 items
module/imp/test/test_app.py ................ [ 12%]
module/imp/test/test_import.py ..............................s.......... [ 45%]
...............................................s................... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 122 passed, 2 skipped, 1 warnings in 40.68 seconds ==============
++ 16:13:53 starting module/micronumpy/test [106 started in total]
__ module/cpyext/test/test_typeobject.py [104 done in total, somefailed=True] _
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 68 items
module/cpyext/test/test_typeobject.py ...............s.................. [ 50%]
...F..........................s... [100%]
=================================== FAILURES ===================================
________________________ AppTestSlots.test_tp_getattro _________________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x0000000148bfb8f8>, when = 'call'
treat_keyboard_interrupt_as_exception = False
def __init__(self, func, when, treat_keyboard_interrupt_as_exception=False):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> lambda: ihook(item=item, **kwds),
when=when,
treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
)
../_pytest/runner.py:194:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>, args = ()
kwargs = {'item': <AppTestMethod 'test_tp_getattro'>}, notincall = set([])
def __call__(self, *args, **kwargs):
if args:
raise TypeError("hook calling supports only keyword arguments")
assert not self.is_historic()
if self.spec and self.spec.argnames:
notincall = (
set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys())
)
if notincall:
warnings.warn(
"Argument(s) {} which are declared in the hookspec "
"can not be found in this hook call".format(tuple(notincall)),
stacklevel=2,
)
> return self._hookexec(self, self.get_hookimpls(), kwargs)
../_pytest/vendored_packages/pluggy/hooks.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x0000000128a486b0>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4997363872', plugin=<rpython.conftest.LeakFinder instance at 0x0000000129ddb8a0>>, <HookImpl p...f2aec8>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000129e2e758>>]
kwargs = {'item': <AppTestMethod 'test_tp_getattro'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy/manager.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<HookImpl plugin_name='4997363872', plugin=<rpython.conftest.LeakFinder instance at 0x0000000129ddb8a0>>, <HookImpl p...f2aec8>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000129e2e758>>]
kwargs = {'item': <AppTestMethod 'test_tp_getattro'>}
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
methods,
kwargs,
> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
)
../_pytest/vendored_packages/pluggy/manager.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4997363872', plugin=<rpython.conftest.LeakFinder instance at 0x0000000129ddb8a0>>, <HookImpl p...f2aec8>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000129e2e758>>]
caller_kwargs = {'item': <AppTestMethod 'test_tp_getattro'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
res = hook_impl.function(*args)
if res is not None:
results.append(res)
if firstresult: # halt further impl calls
break
except BaseException:
excinfo = sys.exc_info()
finally:
if firstresult: # first result hooks return a single value
outcome = _Result(results[0] if results else None, excinfo)
else:
outcome = _Result(results, excinfo)
# run all wrapper post-yield blocks
for gen in reversed(teardowns):
try:
gen.send(outcome)
_raise_wrapfail(gen, "has second yield")
except StopIteration:
pass
> return outcome.get_result()
../_pytest/vendored_packages/pluggy/callers.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pluggy.callers._Result object at 0x00000001496656e0>
def get_result(self):
"""Get the result(s) for this hook call.
If the hook was marked as a ``firstresult`` only a single value
will be returned otherwise a list of results.
"""
__tracebackhide__ = True
if self._excinfo is None:
return self._result
else:
ex = self._excinfo
if _py3:
raise ex[1].with_traceback(ex[2])
> _reraise(*ex) # noqa
../_pytest/vendored_packages/pluggy/callers.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook_impls = [<HookImpl plugin_name='4997363872', plugin=<rpython.conftest.LeakFinder instance at 0x0000000129ddb8a0>>, <HookImpl p...f2aec8>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x0000000129e2e758>>]
caller_kwargs = {'item': <AppTestMethod 'test_tp_getattro'>}
firstresult = False
def _multicall(hook_impls, caller_kwargs, firstresult=False):
"""Execute a call into multiple python functions/methods and return the
result(s).
``caller_kwargs`` comes from _HookCaller.__call__().
"""
__tracebackhide__ = True
results = []
excinfo = None
try: # run impl and wrapper setup functions in a loop
teardowns = []
try:
for hook_impl in reversed(hook_impls):
try:
args = [caller_kwargs[argname] for argname in hook_impl.argnames]
except KeyError:
for argname in hook_impl.argnames:
if argname not in caller_kwargs:
raise HookCallError(
"hook call must provide argument %r" % (argname,)
)
if hook_impl.hookwrapper:
try:
gen = hook_impl.function(*args)
next(gen) # first yield
teardowns.append(gen)
except StopIteration:
_raise_wrapfail(gen, "did not yield")
else:
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy/callers.py:187:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_tp_getattro'>
def pytest_runtest_call(item):
_update_current_test_var(item, "call")
sys.last_type, sys.last_value, sys.last_traceback = (None, None, None)
try:
> item.runtest()
../_pytest/runner.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_tp_getattro'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_tp_getattro'>, space = StdObjSpace
target = <function test_tp_getattro at 0x0000000148bfb970>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001490241a8>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001490241a8>,)
w_func = <Function test_tp_getattro>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001490241a8>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_tp_getattro>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001490241a8>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
Method = <class 'pypy.interpreter.function.Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, Method
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_tp_getattro>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001490241a8>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_tp_getattro, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_getat...arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1> at line 3
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_getat...arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1> at line 3
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_getat...arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1> at line 3
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_getat...arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1> at line 3
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_getat...arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1> at line 3
pycode = <code object test_tp_getattro, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015220e058>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_getat...arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1> at line 3
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00g\x01\x00\xca\x02\x00}\x01\x00d\x03\x00f\x00\x00d\x04\x00\x84\x00\x00\x83\x00\...02\x00\xcc\x1b\x00|\x01\x00\xc9\x01\x00|\x02\x00\x83\x00\x00d\x05\x00\xca\x02\x00sF\x00t\x02\x00\x82\x01\x00d\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015220e058>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_getat...arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1> at line 3
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00g\x01\x00\xca\x02\x00}\x01\x00d\x03\x00f\x00\x00d\x04\x00\x84\x00\x00\x83\x00\...02\x00\xcc\x1b\x00|\x01\x00\xc9\x01\x00|\x02\x00\x83\x00\x00d\x05\x00\xca\x02\x00sF\x00t\x02\x00\x82\x01\x00d\x00\x00S'
next_instr = 18L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015220e058>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
ec.bytecode_only_trace(self)
next_instr = r_uint(self.last_instr)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
opcode = ord(co_code[next_instr])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CLASS.index:
self.BUILD_CLASS(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_getat...arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1> at line 3
oparg = 2, ignored = (18L,), n_args = 2, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args + 2)
objspace/std/callmethod.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_getat...arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1> at line 3
dropvalues = 4, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, Method):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_getat...arm64/build/pypy/module/cpyext/test/test_typeobject.py:668]', line 1> at line 3
dropvalues = 4, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, f_0)
elif nargs == 2:
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, f_1, f_0)
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
frame.dropvalues(dropvalues)
return code.fastcall_3(self.space, self, f_2,
f_1, f_0)
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
f_3 = frame.peekvalue(3)
frame.dropvalues(dropvalues)
return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0)
elif (nargs | Code.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
return self._flat_pycall(code, nargs, frame, dropvalues)
elif fast_natural_arity & Code.FLATPYCALL:
natural_arity = fast_natural_arity & 0xff
if natural_arity > nargs >= natural_arity - len(self.defs_w):
assert isinstance(code, PyCode)
return self._flat_pycall_defaults(code, nargs, frame,
natural_arity - nargs, dropvalues)
elif fast_natural_arity == Code.PASSTHROUGHARGS1 and nargs >= 1:
assert isinstance(code, gateway.BuiltinCodePassThroughArguments1)
w_obj = frame.peekvalue(nargs-1)
args = frame.make_arguments(nargs-1)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:190:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... Py_DECREF(name);\n Py_RETURN_TRUE;\n '))])])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000141728170>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... Py_DECREF(name);\n Py_RETURN_TRUE;\n '))])])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000141728170>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... Py_DECREF(name);\n Py_RETURN_TRUE;\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
w_result = activation._run(space, scope_w)
except DescrMismatch:
if w_obj is not None:
args = args.prepend(w_obj)
return self._type_unwrap_mismatch(space, args)
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000141728170>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000141728170>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... Py_DECREF(name);\n Py_RETURN_TRUE;\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x00000001488966b0>
space = StdObjSpace
scope_w = [W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... Py_DE...n Py_RETURN_TRUE;\n '))]), W_BytesObject(''), None, W_BytesObject(''), W_BoolObject(False)]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), scope_w[1], space.text_w(scope_w[2]), scope_w[3], space.text_w(scope_w[4]), space.bool_w(scope_w[5]))
<2438-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, modname = 'foo'
w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... Py_DECREF(name);\n Py_RETURN_TRUE;\n '))])
prologue = '', w_include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False
@unwrap_spec(modname='text', prologue='text',
more_init='text', PY_SSIZE_T_CLEAN=bool)
def import_extension(space, modname, w_functions, prologue="",
w_include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False):
functions = space.unwrap(w_functions)
include_dirs = _unwrap_include_dirs(space, w_include_dirs)
w_result = self.sys_info.import_extension(
modname, functions, prologue, include_dirs, more_init,
> PY_SSIZE_T_CLEAN)
module/cpyext/test/test_cpyext.py:347:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000014187caa0>
modname = 'foo'
functions = [('test_tp_getattro', 'METH_VARARGS', '\n #if PY_MAJOR_VERSION > 2\n #define PyString_...return NULL;\n }\n Py_DECREF(name);\n Py_RETURN_TRUE;\n ')]
prologue = '', include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False
def import_extension(self, modname, functions, prologue="",
include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False):
body = prologue + make_methods(functions, modname)
init = """Py_InitModule("%s", methods);
""" % (modname,)
if more_init:
init += """#define INITERROR return
"""
init += more_init
return self.import_module(
name=modname, init=init, body=body, include_dirs=include_dirs,
> PY_SSIZE_T_CLEAN=PY_SSIZE_T_CLEAN)
tool/cpyext/extbuild.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000014187caa0>
name = 'foo', init = 'Py_InitModule("foo", methods);\n '
body = '\n static PyObject* foo_test_tp_getattro(PyObject *self, PyObject *args)\n {\n \n ... methods[] = {\n {"test_tp_getattro", (PyCFunction)foo_test_tp_getattro, METH_VARARGS},\n { NULL }\n };\n '
filename = None, include_dirs = None, PY_SSIZE_T_CLEAN = False
def import_module(self, name, init=None, body='', filename=None,
include_dirs=None, PY_SSIZE_T_CLEAN=False):
"""
init specifies the overall template of the module.
if init is None, the module source will be loaded from a file in this
test directory, give a name given by the filename parameter.
if filename is None, the module name will be used to construct the
filename.
"""
if init is not None:
code = make_source(name, init, body, PY_SSIZE_T_CLEAN)
kwds = dict(source_strings=[code])
else:
assert not PY_SSIZE_T_CLEAN
if filename is None:
filename = name
filename = HERE / (filename + ".c")
kwds = dict(source_files=[filename])
mod = self.compile_extension_module(
> name, include_dirs=include_dirs, **kwds)
tool/cpyext/extbuild.py:80:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000014187caa0>
name = 'foo', include_dirs = []
source_files = [local('/tmp/buildbot-arm64/usession-pytest3.10-1340/foo-25/source_0.c')]
source_strings = ['\n \n #include <Python.h>\n /* fix for cpython 2.7 Python.h if running tests with -A\n since pypy co...};\n \n\n PyMODINIT_FUNC\n initfoo(void) {\n Py_InitModule("foo", methods);\n \n }\n ']
def compile_extension_module(self, name, include_dirs=None,
source_files=None, source_strings=None):
"""
Build an extension module and return the filename of the resulting
native code file.
name is the name of the module, possibly including dots if it is a
module inside a package.
"""
include_dirs = include_dirs or []
modname = name.split('.')[-1]
dirname = self.get_builddir(name=modname)
if source_strings:
assert not source_files
files = convert_sources_to_files(source_strings, dirname)
source_files = files
soname = c_compile(source_files, outputfilename=str(dirname / modname),
compile_extra=self.compile_extra,
link_extra=self.link_extra,
include_dirs=self.include_extra + include_dirs,
> libraries=self.extra_libs)
tool/cpyext/extbuild.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-pytest3.10-1340/foo-25/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-pytest3.10-1340/foo-25/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1340'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], library_dirs = []
def c_compile(cfilenames, outputfilename,
compile_extra=None, link_extra=None,
include_dirs=None, libraries=None, library_dirs=None):
compile_extra = compile_extra or []
link_extra = link_extra or []
include_dirs = include_dirs or []
libraries = libraries or []
library_dirs = library_dirs or []
if sys.platform == 'win32':
link_extra = link_extra + ['/DEBUG'] # generate .pdb file
if sys.platform == 'darwin':
# support Fink & Darwinports
for s in ('/sw/', '/opt/local/'):
if (s + 'include' not in include_dirs
and os.path.exists(s + 'include')):
include_dirs.append(s + 'include')
if s + 'lib' not in library_dirs and os.path.exists(s + 'lib'):
library_dirs.append(s + 'lib')
outputfilename = py.path.local(outputfilename).new(ext=so_ext)
saved_environ = os.environ.copy()
try:
_build(
cfilenames, outputfilename,
compile_extra, link_extra,
> include_dirs, libraries, library_dirs)
tool/cpyext/extbuild.py:191:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-pytest3.10-1340/foo-25/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-pytest3.10-1340/foo-25/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1340'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], library_dirs = []
def _build(cfilenames, outputfilename, compile_extra, link_extra,
include_dirs, libraries, library_dirs):
try:
# monkeypatch distutils for some versions of msvc compiler
import setuptools
except ImportError:
# XXX if this fails and is required,
# we must call pypy -mensurepip after translation
pass
from distutils.ccompiler import new_compiler
from distutils import sysconfig
# XXX for Darwin running old versions of CPython 2.7.x
sysconfig.get_config_vars()
compiler = new_compiler(force=1)
sysconfig.customize_compiler(compiler) # XXX
objects = []
for cfile in cfilenames:
cfile = py.path.local(cfile)
old = cfile.dirpath().chdir()
try:
res = compiler.compile([cfile.basename],
> include_dirs=include_dirs, extra_preargs=compile_extra)
tool/cpyext/extbuild.py:223:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x0000000141ebf160>
sources = ['source_0.c'], output_dir = None, macros = []
include_dirs = [local('/tmp/buildbot-arm64/usession-pytest3.10-1340'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/p.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
debug = 0, extra_preargs = [], extra_postargs = [], depends = None
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x0000000141ebf160>
obj = 'source_0.o', src = 'source_0.c', ext = '.c'
cc_args = ['-I/tmp/buildbot-arm64/usession-pytest3.10-1340', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/modul.../build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c', '-c']
extra_postargs = []
pp_opts = ['-I/tmp/buildbot-arm64/usession-pytest3.10-1340', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/modul...-arm64/build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/cpyext/test/test_typeobject.py::AppTestSlots::()::test_tp_getattro
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========= 1 failed, 65 passed, 2 skipped, 1 warnings in 188.29 seconds =========
++ 16:13:55 starting module/mmap/test [107 started in total]
__ module/math/test [105 done in total, somefailed=False] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 182 items
module/math/test/test_direct.py ........................................ [ 21%]
........................................................................ [ 61%]
...................................................... [ 91%]
module/math/test/test_factorial.py .s [ 92%]
module/math/test/test_math.py .........s.... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 180 passed, 2 skipped, 1 warnings in 6.90 seconds ===============
++ 16:13:55 starting module/operator/test [108 started in total]
__ module/operator/test [106 done in total, somefailed=False] _________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 27 items
module/operator/test/test_operator.py .................. [ 66%]
module/operator/test/test_tscmp.py ......... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 27 passed, 1 warnings in 4.22 seconds =====================
++ 16:14:01 starting module/parser/test [109 started in total]
__ module/mmap/test [107 done in total, somefailed=False] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 43 items
module/mmap/test/test_mmap.py .....................s...............ss..s [ 97%]
. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 39 passed, 4 skipped, 1 warnings in 7.74 seconds ===============
++ 16:14:04 starting module/posix/test [110 started in total]
__ module/parser/test [108 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
module/parser/test/test_parser.py ....... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================== 7 passed, 1 warnings in 3.12 seconds =====================
++ 16:14:05 starting module/pwd/test [111 started in total]
__ module/pwd/test [109 done in total, somefailed=False] ______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/pwd/test/test_pwd.py ... [ 75%]
module/pwd/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================== 4 passed, 1 warnings in 7.90 seconds =====================
++ 16:14:14 starting module/pyexpat/test [112 started in total]
__ module/pyexpat/test [110 done in total, somefailed=False] __________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
module/pyexpat/test/test_build.py . [ 4%]
module/pyexpat/test/test_parser.py ...s..............ss [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 18 passed, 3 skipped, 1 warnings in 19.35 seconds ===============
++ 16:14:34 starting module/pypyjit/test [113 started in total]
__ module/posix/test [111 done in total, somefailed=True] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 104 items
module/posix/test/test_posix2.py .............................F......... [ 37%]
...................s..........ss..........s................s [ 95%]
module/posix/test/test_posix_libfile.py .... [ 99%]
module/posix/test/test_ztranslation.py . [100%]
=================================== FAILURES ===================================
___________________________ AppTestPosix.test_popen ____________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000141cd7638>
def test_popen(self):
os = self.posix
for i in range(5):
stream = os.popen('echo 1')
res = stream.read()
> assert res == '1\n'
E (application-level) AssertionError: assert '' == '1\n'
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/posix/test/test_posix2.py:494]:6: AssertionError
=========================== short test summary info ============================
FAIL module/posix/test/test_posix2.py::AppTestPosix::()::test_popen
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========= 1 failed, 98 passed, 5 skipped, 1 warnings in 36.45 seconds ==========
++ 16:14:42 starting module/select/test [114 started in total]
__ module/pypyjit/test [112 done in total, somefailed=False] __________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 29 items
module/pypyjit/test/test_jit_hook.py ........s [ 31%]
module/pypyjit/test/test_jit_not_in_trace.py .. [ 37%]
module/pypyjit/test/test_jit_setup.py .... [ 51%]
module/pypyjit/test/test_policy.py ............ [ 93%]
module/pypyjit/test/test_pyframe.py . [ 96%]
module/pypyjit/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 28 passed, 1 skipped, 1 warnings in 10.06 seconds ===============
++ 16:14:46 starting module/signal/test [115 started in total]
__ module/signal/test [113 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/signal/test/test_signal.py .................. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 18 passed, 1 warnings in 15.73 seconds ====================
++ 16:15:03 starting module/struct/test [116 started in total]
__ module/select/test [114 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 41 items
module/select/test/test_epoll.py ssssssss [ 19%]
module/select/test/test_kqueue.py ..... [ 31%]
module/select/test/test_select.py ........................... [ 97%]
module/select/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 33 passed, 8 skipped, 1 warnings in 20.40 seconds ===============
++ 16:15:05 starting module/sys/test [117 started in total]
__ module/sys/test [115 done in total, somefailed=False] ______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 65 items
module/sys/test/apptest_initpath.py . [ 1%]
module/sys/test/test_encoding.py s [ 3%]
module/sys/test/test_initpath.py ....... [ 13%]
module/sys/test/test_sysmodule.py ...............................s...... [ 72%]
.............. [ 93%]
module/sys/test/test_version.py .... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
pypy/module/sys/test/test_initpath.py::test_find_executable
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/sys/test/test_initpath.py:76: PytestWarning: Value of environment variable PATH type should be str, but got None (type: NoneType); converted to str implicitly
monkeypatch.setenv('PATH', None)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 63 passed, 2 skipped, 2 warnings in 10.29 seconds ===============
++ 16:15:18 starting module/termios/test [118 started in total]
__ module/struct/test [116 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 41 items
module/struct/test/test_struct.py ...................................... [ 92%]
.. [ 97%]
module/struct/test/test_ztranslation.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 41 passed, 1 warnings in 15.19 seconds ====================
++ 16:15:21 starting module/test_lib_pypy [119 started in total]
__ module/termios/test [117 done in total, somefailed=True] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/termios/test/test_termios.py sssssF.. [100%]
=================================== FAILURES ===================================
__________________________ AppTestTermios.test_values __________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000140357670>
def test_values(self):
import termios
d = {}
for name in dir(termios):
val = getattr(termios, name)
if name.isupper() and type(val) is int:
d[name] = val
> assert sorted(d.items()) == sorted(self.orig_module_dict.items())
E (application-level) AssertionError: assert [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGSIZE', 1074295912), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSSIZE', 2148037735), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)] == [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)]
E + where [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGSIZE', 1074295912), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSSIZE', 2148037735), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)] = sorted([('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGSIZE', 1074295912), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSSIZE', 2148037735), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)])
E + where [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGSIZE', 1074295912), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSSIZE', 2148037735), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)] = <bound method dict.items of {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGSIZE': 1074295912, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSSIZE': 2148037735, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}>()
E + where <bound method dict.items of {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGSIZE': 1074295912, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSSIZE': 2148037735, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}> = {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGSIZE': 1074295912, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSSIZE': 2148037735, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}.items
E + and [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)] = sorted([('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)])
E + where [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)] = <bound method dict.items of {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}>()
E + where <bound method dict.items of {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}> = {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}.items
E + where {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4} = {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}
E + where {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4} = <AppTestTermios object at 0x0000000140357670>.orig_module_dict
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/termios/test/test_termios.py:133]:8: AssertionError
=========================== short test summary info ============================
FAIL module/termios/test/test_termios.py::AppTestTermios::()::test_values
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========== 1 failed, 2 passed, 5 skipped, 1 warnings in 5.35 seconds ===========
++ 16:15:25 starting module/thread/test [120 started in total]
__ module/test_lib_pypy [118 done in total, somefailed=False] _________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 238 items / 3 skipped
module/test_lib_pypy/test_collections.py ..................... [ 8%]
module/test_lib_pypy/test_marshal_extra.py ............................. [ 21%]
........................................................................ [ 51%]
.................................................. [ 72%]
module/test_lib_pypy/test_md5_extra.py ...... [ 74%]
module/test_lib_pypy/test_msvcrt.py s [ 75%]
module/test_lib_pypy/test_os_wait.py ... [ 76%]
module/test_lib_pypy/test_pickle_extra.py s [ 76%]
module/test_lib_pypy/test_resource.py ... [ 78%]
module/test_lib_pypy/test_sha_extra.py ... [ 79%]
module/test_lib_pypy/test_site_extra.py . [ 79%]
module/test_lib_pypy/test_stackless.py .............................. [ 92%]
module/test_lib_pypy/test_stackless_pickling.py .. [ 93%]
module/test_lib_pypy/test_structseq.py ......... [ 97%]
module/test_lib_pypy/test_tputil.py ..s.... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
module/test_lib_pypy/test_md5_extra.py:6
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/test_lib_pypy/test_md5_extra.py:6: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 235 passed, 6 skipped, 2 warnings in 15.21 seconds ==============
++ 16:15:38 starting module/time/test [121 started in total]
__ module/micronumpy/test [119 done in total, somefailed=False] _______________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 705 items / 1 skipped
module/micronumpy/test/test_appbridge.py .. [ 0%]
module/micronumpy/test/test_arrayops.py .................... [ 3%]
module/micronumpy/test/test_broadcast.py ....... [ 4%]
module/micronumpy/test/test_casting.py ........ [ 5%]
module/micronumpy/test/test_compile.py .............................s... [ 9%]
..... [ 10%]
module/micronumpy/test/test_complex.py ......................... [ 14%]
module/micronumpy/test/test_deprecations.py . [ 14%]
module/micronumpy/test/test_dtypes.py .................................. [ 19%]
...........................................s...... [ 26%]
module/micronumpy/test/test_flagsobj.py ....... [ 27%]
module/micronumpy/test/test_iterators.py ... [ 27%]
module/micronumpy/test/test_ndarray.py ................................. [ 32%]
........................................................................ [ 42%]
........................................................................ [ 52%]
........................................................................ [ 62%]
............................................. [ 69%]
module/micronumpy/test/test_nditer.py .......s......ss..s [ 72%]
module/micronumpy/test/test_object_arrays.py ......s..s..s [ 73%]
module/micronumpy/test/test_outarg.py ..... [ 74%]
module/micronumpy/test/test_scalar.py .................................. [ 79%]
. [ 79%]
module/micronumpy/test/test_selection.py ........s.sss..... [ 82%]
module/micronumpy/test/test_subtype.py ......................... [ 85%]
module/micronumpy/test/test_support.py . [ 85%]
module/micronumpy/test/test_support_app.py .... [ 86%]
module/micronumpy/test/test_ufuncs.py .................................. [ 91%]
.............................................................. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 692 passed, 14 skipped, 1 warnings in 103.62 seconds =============
++ 16:15:42 starting module/unicodedata/test [122 started in total]
__ module/time/test [120 done in total, somefailed=False] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/time/test/test_time.py .................. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 18 passed, 1 warnings in 13.14 seconds ====================
++ 16:15:53 starting module/zipimport/test [123 started in total]
__ module/unicodedata/test [121 done in total, somefailed=False] ______________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 26 items
module/unicodedata/test/test_hyp.py ................ [ 61%]
module/unicodedata/test/test_unicodedata.py .......... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 26 passed, 1 warnings in 11.35 seconds ====================
++ 16:15:55 starting module/zlib/test [124 started in total]
__ module/zlib/test [122 done in total, somefailed=False] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 31 items
module/zlib/test/test_zlib.py ............................... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 31 passed, 1 warnings in 5.71 seconds =====================
++ 16:16:01 starting objspace/fake/test [125 started in total]
__ objspace/fake/test [123 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
objspace/fake/test/test_checkmodule.py ........ [ 38%]
objspace/fake/test/test_objspace.py ............. [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 21 passed, 1 warnings in 8.77 seconds =====================
++ 16:16:12 starting objspace/std/test [126 started in total]
__ module/zipimport/test [124 done in total, somefailed=False] ________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 47 items
module/zipimport/test/test_undocumented.py ...... [ 12%]
module/zipimport/test/test_zipimport.py .................... [ 55%]
module/zipimport/test/test_zipimport_deflated.py ..................... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 47 passed, 1 warnings in 43.01 seconds ====================
++ 16:16:37 starting objspace/test [127 started in total]
__ objspace/test [125 done in total, somefailed=False] ________________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 59 items
objspace/test/apptest_binop_overriding.py . [ 1%]
objspace/test/apptest_descriptor.py ........ [ 15%]
objspace/test/apptest_descroperation.py ............s................... [ 69%]
....... [ 81%]
objspace/test/test_descroperation.py ........... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 58 passed, 1 skipped, 1 warnings in 5.97 seconds ===============
++ 16:16:44 starting sandbox/test [128 started in total]
__ sandbox/test [126 done in total, somefailed=False] _________________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 item
sandbox/test/test_pypy_interact.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 1 passed, 1 warnings in 15.61 seconds =====================
++ 16:17:01 starting tool/bench/test [129 started in total]
__ tool/bench/test [127 done in total, somefailed=False] ______________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items / 1 skipped
tool/bench/test/test_pypyresult.py ... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 3 passed, 1 skipped, 1 warnings in 0.34 seconds ================
++ 16:17:02 starting tool/memusage/test [130 started in total]
__ tool/memusage/test [128 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
tool/memusage/test/test_log2gnumeric.py ..... [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================== 5 passed, 1 warnings in 0.30 seconds =====================
++ 16:17:03 starting tool/pytest/test [131 started in total]
__ module/thread/test [129 done in total, somefailed=False] ___________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 48 items
module/thread/test/test_fork.py s.. [ 6%]
module/thread/test/test_gil.py .... [ 14%]
module/thread/test/test_import_lock.py ..... [ 25%]
module/thread/test/test_local.py ....... [ 39%]
module/thread/test/test_lock.py ................. [ 75%]
module/thread/test/test_thread.py ............ [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 47 passed, 1 skipped, 1 warnings in 112.48 seconds ==============
++ 16:17:21 starting tool/release/test [132 started in total]
__ tool/release/test [130 done in total, somefailed=True] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
tool/release/test/test_package.py ....s [ 62%]
tool/release/test/test_smartstrip.py FFs [100%]
=================================== FAILURES ===================================
________________________ TestSmarStrip.test_info_symbol ________________________
self = <pypy.tool.release.test.test_smartstrip.TestSmarStrip object at 0x0000000109a1fd38>
exe = local('/private/tmp/buildbot-arm64/pytest/pytest-of-matti/pytest-958/test_info_symbol0/myprog')
def test_info_symbol(self, exe):
info = info_symbol(exe, "foo")
> assert info == "foo in section .text"
E AssertionError
tool/release/test/test_smartstrip.py:32: AssertionError
___________________________ TestSmarStrip.test_strip ___________________________
self = <pypy.tool.release.test.test_smartstrip.TestSmarStrip object at 0x0000000151180758>
exe = local('/private/tmp/buildbot-arm64/pytest/pytest-of-matti/pytest-958/test_strip0/myprog')
def test_strip(self, exe):
smartstrip(exe, keep_debug=False)
info = info_symbol(exe, "foo")
> assert info.startswith("No symbol table is loaded")
E AssertionError
tool/release/test/test_smartstrip.py:37: AssertionError
=========================== short test summary info ============================
FAIL tool/release/test/test_smartstrip.py::TestSmarStrip::()::test_info_symbol
FAIL tool/release/test/test_smartstrip.py::TestSmarStrip::()::test_strip
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========== 2 failed, 4 passed, 2 skipped, 1 warnings in 13.49 seconds ==========
++ 16:17:35 starting tool/test [133 started in total]
__ tool/test [131 done in total, somefailed=False] ____________________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 29 items
tool/test/test_gdb_pypy.py ........... [ 37%]
tool/test/test_getdocstrings.py ... [ 48%]
tool/test/test_isolate.py ....... [ 72%]
tool/test/test_lib_pypy.py ... [ 82%]
tool/test/test_license.py . [ 86%]
tool/test/test_package.py . [ 89%]
tool/test/test_tab.py .. [ 96%]
tool/test/test_template.py . [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
pypy/tool/test/test_isolate.py::test_init
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/tool/slaveproc.py:48: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module.
inp, out = os.popen2('%s %s %s' % (sys.executable, unbuffered, os.path.abspath(slave_impl)))
pypy/tool/test/test_isolate.py::test_init_dir_name
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/tool/slaveproc.py:48: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module.
inp, out = os.popen2('%s %s %s' % (sys.executable, unbuffered, os.path.abspath(slave_impl)))
pypy/tool/test/test_isolate.py::test_simple
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/tool/slaveproc.py:48: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module.
inp, out = os.popen2('%s %s %s' % (sys.executable, unbuffered, os.path.abspath(slave_impl)))
pypy/tool/test/test_isolate.py::test_simple_dir_name
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/tool/slaveproc.py:48: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module.
inp, out = os.popen2('%s %s %s' % (sys.executable, unbuffered, os.path.abspath(slave_impl)))
pypy/tool/test/test_isolate.py::test_raising
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/tool/slaveproc.py:48: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module.
inp, out = os.popen2('%s %s %s' % (sys.executable, unbuffered, os.path.abspath(slave_impl)))
pypy/tool/test/test_isolate.py::test_raising_fancy
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/tool/slaveproc.py:48: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module.
inp, out = os.popen2('%s %s %s' % (sys.executable, unbuffered, os.path.abspath(slave_impl)))
pypy/tool/test/test_isolate.py::test_bomb
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/tool/slaveproc.py:48: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module.
inp, out = os.popen2('%s %s %s' % (sys.executable, unbuffered, os.path.abspath(slave_impl)))
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 29 passed, 8 warnings in 4.53 seconds =====================
__ tool/pytest/test [132 done in total, somefailed=False] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 24 items
tool/pytest/test/test_appsupport.py ......... [ 37%]
tool/pytest/test/test_astrewrite.py ..... [ 58%]
tool/pytest/test/test_conftest1.py .. [ 66%]
tool/pytest/test/test_pytestsupport.py ........ [100%]
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 24 passed, 1 warnings in 36.78 seconds ====================
__ objspace/std/test [133 done in total, somefailed=True] _____________________
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/vendored_packages/pluggy/manager.py:274: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
plugin = ep.load(require=False)
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-3.10.1, py-1.11.0, pluggy-0.11.0
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-3.10.1 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2130 items
objspace/std/test/apptest_boolobject.py ........ [ 0%]
objspace/std/test/apptest_bufferobject.py ............... [ 1%]
objspace/std/test/apptest_callmethod.py ........ [ 1%]
objspace/std/test/apptest_complexobject.py ............................. [ 2%]
.. [ 2%]
objspace/std/test/apptest_instmethobject.py ..... [ 3%]
objspace/std/test/apptest_iterobject.py .............. [ 3%]
objspace/std/test/apptest_operation.py ... [ 3%]
objspace/std/test/apptest_stringformat.py ...............s.............. [ 5%]
.............s........ [ 6%]
objspace/std/test/apptest_userobject.py ...................... [ 7%]
objspace/std/test/test_boolobject.py ....... [ 7%]
objspace/std/test/test_bytearrayobject.py .............................. [ 9%]
......................... [ 10%]
objspace/std/test/test_bytesobject.py .................................. [ 11%]
....................................s....... [ 13%]
objspace/std/test/test_callmethod.py ... [ 14%]
objspace/std/test/test_celldict.py ..................................... [ 15%]
.. [ 15%]
objspace/std/test/test_complexobject.py .... [ 16%]
objspace/std/test/test_dictmultiobject.py ...........s.................. [ 17%]
........................................................................ [ 20%]
........................................................................ [ 24%]
. [ 24%]
objspace/std/test/test_dictproxy.py .......... [ 24%]
objspace/std/test/test_floatobject.py .................................. [ 26%]
.... [ 26%]
objspace/std/test/test_identitydict.py ...... [ 26%]
objspace/std/test/test_identityset.py ....... [ 27%]
objspace/std/test/test_index.py ........................................ [ 29%]
...... [ 29%]
objspace/std/test/test_intobject.py .................................... [ 31%]
........................s........................................s...... [ 34%]
......... [ 34%]
objspace/std/test/test_iterobject.py .... [ 35%]
objspace/std/test/test_jsondict.py ........... [ 35%]
objspace/std/test/test_kwargsdict.py ................................... [ 37%]
. [ 37%]
objspace/std/test/test_lengthhint.py .................... [ 38%]
objspace/std/test/test_listobject.py ................................... [ 39%]
...................................s.................................... [ 43%]
............ [ 43%]
objspace/std/test/test_liststrategies.py ............................... [ 45%]
....................................s................................... [ 48%]
............................... [ 50%]
objspace/std/test/test_longobject.py ................................... [ 51%]
...... [ 52%]
objspace/std/test/test_mapdict.py ...................................... [ 53%]
........................................................................ [ 57%]
................................. [ 58%]
objspace/std/test/test_memoryobject.py ....... [ 59%]
objspace/std/test/test_methodcache.py .................................. [ 60%]
..................................... [ 62%]
objspace/std/test/test_newformat.py .................................... [ 64%]
..................................................Fs........ [ 66%]
objspace/std/test/test_noneobject.py ... [ 67%]
objspace/std/test/test_obj.py ....................... [ 68%]
objspace/std/test/test_prebuiltint.py ...........................s...... [ 69%]
......... [ 70%]
objspace/std/test/test_proxy.py ssssssssssss [ 70%]
objspace/std/test/test_proxy_function.py ........ [ 71%]
objspace/std/test/test_proxy_internals.py ........ [ 71%]
objspace/std/test/test_proxy_iter.py . [ 71%]
objspace/std/test/test_proxy_object.py .......... [ 71%]
objspace/std/test/test_proxy_usercreated.py . [ 72%]
objspace/std/test/test_random_attr.py ..... [ 72%]
objspace/std/test/test_setobject.py .................................... [ 73%]
................................................ [ 76%]
objspace/std/test/test_setstrategies.py ....s...ss.. [ 76%]
objspace/std/test/test_sliceobject.py ............ [ 77%]
objspace/std/test/test_smalllongobject.py .............................. [ 78%]
..............................s......................................... [ 82%]
........................................................................ [ 85%]
.......s.............. [ 86%]
objspace/std/test/test_specialisedtupleobject.py ..................ss... [ 87%]
.................... [ 88%]
objspace/std/test/test_stdobjspace.py s...... [ 88%]
objspace/std/test/test_tupleobject.py .................................. [ 90%]
. [ 90%]
objspace/std/test/test_typeobject.py ................................... [ 92%]
........................................... [ 94%]
objspace/std/test/test_unicodeobject.py ................................ [ 95%]
.s........................................................s............. [ 99%]
.... [ 99%]
objspace/std/test/test_userobject.py . [ 99%]
objspace/std/test/test_versionedtype.py ............... [100%]
=================================== FAILURES ===================================
__________________ AppTestFloatFormatting.test_locale_german ___________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000012ca1d948>
def test_locale_german(self):
import locale, sys
for name in ['de_DE', 'de_DE.utf8']:
try:
locale.setlocale(locale.LC_NUMERIC, name)
break
except locale.Error:
pass
else:
skip("no german locale")
x = 1234.567890
try:
if sys.platform != "darwin":
assert locale.format('%g', x, grouping=True) == '1.234,57'
assert format(x, 'n') == '1.234,57'
assert format(12345678901234, 'n') == '12.345.678.901.234'
else:
# No thousands separator on German in MacOS since 10.4
> assert locale.format('%g', x, grouping=True) == '1234,57'
E (application-level) AssertionError: assert '1.234,57' == '1234,57'
E + where '1.234,57' = <function format at 0x000000013df29328>('%g', 1234.56789, grouping=True)
E + where <function format at 0x000000013df29328> = <function format at 0x000000013df29328>
E + where <function format at 0x000000013df29328> = <module 'locale' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/lib-python/2.7/locale.pyc'>.format
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/objspace/std/test/test_newformat.py:395]:19: AssertionError
=========================== short test summary info ============================
FAIL objspace/std/test/test_newformat.py::AppTestFloatFormatting::()::test_locale_german
=============================== warnings summary ===============================
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39
/Users/matti/build-worker-arm64/own-macos-arm64/build/_pytest/resultlog.py:39: RemovedInPytest4Warning: --result-log is deprecated and scheduled for removal in pytest 4.0.
See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information.
_issue_config_warning(RESULT_LOG, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
======== 1 failed, 2097 passed, 32 skipped, 1 warnings in 96.23 seconds ========
program finished with exit code 1
elapsedTime=1479.438107