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 /buildbot/slave/own-linux-x86-32/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: AUDITWHEEL_ARCH=i686 AUDITWHEEL_PLAT=manylinux_2_28_i686 AUDITWHEEL_POLICY=manylinux_2_28 DEVTOOLSET_ROOTPATH=/opt/rh/gcc-toolset-14/root HGDEMANDIMPORT=disable HOME=/home/buildworker HOSTNAME=Debian-trixie-latest-amd64-base LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 LD_LIBRARY_PATH=/usr/local/lib:/opt/rh/gcc-toolset-14/root/usr/lib64:/opt/rh/gcc-toolset-14/root/usr/lib:/opt/rh/gcc-toolset-14/root/usr/lib64/dyninst:/opt/rh/gcc-toolset-14/root/usr/lib/dyninst OLDPWD=/buildbot/slave PATH=/tmp/venv/bin:/opt/clang/bin:/opt/rh/gcc-toolset-14/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/pypy2.7-v7.3.22-linux32/bin PKG_CONFIG_PATH=/usr/local/lib/pkgconfig PS1=(venv) PWD=/buildbot/slave/own-linux-x86-32/build PYPYCHERRYPICK= PYPY_LOCALBASE=/usr/local PYPY_MAKE_PORTABLE=1 PYTHONPATH=.: SHLVL=1 SSL_CERT_FILE=/opt/_internal/certs.pem TERM=xterm TMPDIR=/tmp/pytest VIRTUAL_ENV=/tmp/venv container=podman using PTY: False using config pypy/testrunner_cfg.py using config /home/buildworker/machine_cfg.py running 4 parallel test workers setting MAKEFLAGS to ' ' (space) -- config/test -- interpreter/astcompiler/test -- interpreter/pyparser/test -- interpreter/test -- module/__builtin__/test -- module/__pypy__/test -- module/_abc/test -- module/_ast/test -- module/_cffi_backend/test -- module/_codecs/test -- module/_collections/test -- module/_continuation/test -- module/_cppyy/test -- module/_csv/test -- module/_demo/test -- module/_hpy_universal/test/_vendored -- module/_hpy_universal/test/pypy -- 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/_opcode/test -- module/_pickle/test -- module/_pickle_support/test -- module/_posixsubprocess/test -- module/_pypyjson/test -- module/_random/test -- module/_rawffi/alt/test -- module/_rawffi/test -- module/_socket/test -- module/_sre/test -- module/_vmprof/test -- module/_warnings/test -- module/_weakref/test -- module/_winreg/test -- module/array/test -- module/atexit/test -- module/binascii/test -- module/bz2/test -- module/cmath/test -- module/cpyext/test/test_api.py -- module/cpyext/test/test_arraymodule.py -- module/cpyext/test/test_async_iter.py -- module/cpyext/test/test_boolobject.py -- module/cpyext/test/test_borrow.py -- module/cpyext/test/test_buffer.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_contextvars.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_exception.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_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_namespaceobject.py -- module/cpyext/test/test_ndarrayobject.py -- module/cpyext/test/test_number.py -- module/cpyext/test/test_object.py -- module/cpyext/test/test_pyerrors.py -- module/cpyext/test/test_pyfile.py -- module/cpyext/test/test_pymem.py -- module/cpyext/test/test_pysignals.py -- module/cpyext/test/test_pystate.py -- module/cpyext/test/test_pystrhex.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_typedeallocate.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/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/token/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/fake_pytest/test -- tool/pytest/test -- tool/release/test -- tool/test -- total: 144 to run ++ 02:30:14 starting config/test [1 started in total] ++ 02:30:14 starting interpreter/astcompiler/test [2 started in total] ++ 02:30:14 starting interpreter/pyparser/test [3 started in total] ++ 02:30:14 starting interpreter/test [4 started in total] __ config/test [1 done in total, somefailed=False] ____________________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 161 items / 1 skipped config/test/test_pypyoption.py ................................................................................................................................................................. ==================== 161 passed, 1 skipped in 6.80 seconds ===================== ++ 02:30:22 starting module/__builtin__/test [5 started in total] __ interpreter/pyparser/test [2 done in total, somefailed=False] ______________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.py rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 242 items interpreter/pyparser/test/apptest_parsestring.py ...... interpreter/pyparser/test/test_automata.py ... interpreter/pyparser/test/test_future.py ................................... interpreter/pyparser/test/test_gendfa.py .... interpreter/pyparser/test/test_parsestring.py ............ interpreter/pyparser/test/test_pylexer.py . interpreter/pyparser/test/test_pyparse.py ................................................................................................................ interpreter/pyparser/test/test_pytokenizer.py ..................................................................... ========================= 242 passed in 45.51 seconds ========================== ++ 02:31:05 starting module/__pypy__/test [6 started in total] __ module/__builtin__/test [3 done in total, somefailed=False] ________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 321 items module/__builtin__/test/apptest_compile.py ..................... module/__builtin__/test/apptest_descriptor.py ..... module/__builtin__/test/apptest_operator.py ..... module/__builtin__/test/apptest_print.py ... module/__builtin__/test/test_abstractinst.py ..........s.. module/__builtin__/test/test_breakpoint.py ........ module/__builtin__/test/test_builtin.py ....................................................................... module/__builtin__/test/test_compile.py .. module/__builtin__/test/test_construct_singletons.py . module/__builtin__/test/test_descriptor.py ................................... module/__builtin__/test/test_dir.py ........... module/__builtin__/test/test_filter.py ........ module/__builtin__/test/test_filter_pickle.py ..... module/__builtin__/test/test_format.py . module/__builtin__/test/test_functional.py ........................................................................................ module/__builtin__/test/test_map_pickle.py ... module/__builtin__/test/test_minmax.py ....................... module/__builtin__/test/test_rawinput.py .. module/__builtin__/test/test_sum.py . module/__builtin__/test/test_vars.py ... module/__builtin__/test/test_zip.py ........... module/__builtin__/test/test_zip_pickle.py . ==================== 320 passed, 1 skipped in 77.95 seconds ==================== ++ 02:31:42 starting module/_abc/test [7 started in total] __ module/__pypy__/test [4 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 83 items module/__pypy__/test/apptest_picklebuffer.py ........ module/__pypy__/test/test_builders.py ..... module/__pypy__/test/test_bytebuffer.py ... module/__pypy__/test/test_debug.py ....... module/__pypy__/test/test_identitydict.py ...... module/__pypy__/test/test_intop.py ........... module/__pypy__/test/test_locals2fast.py ..... module/__pypy__/test/test_magic.py .......s.. module/__pypy__/test/test_newmemoryview.py ........ module/__pypy__/test/test_os.py . module/__pypy__/test/test_signal.py ..s.s module/__pypy__/test/test_special.py ..........s.s. ==================== 78 passed, 5 skipped in 52.45 seconds ===================== ++ 02:32:03 starting module/_ast/test [8 started in total] __ module/_abc/test [5 done in total, somefailed=False] _______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module/_abc/test/apptest_abc.py ... module/_abc/test/test_abc.py ... ========================== 6 passed in 21.39 seconds =========================== ++ 02:32:06 starting module/_cffi_backend/test [9 started in total] __ interpreter/astcompiler/test [6 done in total, somefailed=False] ___________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1568 items interpreter/astcompiler/test/apptest_compiler.py ........ interpreter/astcompiler/test/apptest_exceptiongroup.py ......................... interpreter/astcompiler/test/apptest_fstring.py ............................... interpreter/astcompiler/test/apptest_misc.py ............... interpreter/astcompiler/test/apptest_patma.py ......................................... interpreter/astcompiler/test/apptest_walrus_comprehension.py ...... interpreter/astcompiler/test/test_assemble.py ....................... interpreter/astcompiler/test/test_ast.py ............ interpreter/astcompiler/test/test_astbuilder.py ................................................................................................................. interpreter/astcompiler/test/test_compiler.py ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... interpreter/astcompiler/test/test_misc.py ............... interpreter/astcompiler/test/test_symtable.py ................................................. interpreter/astcompiler/test/test_unparse.py ................................ interpreter/astcompiler/test/test_validate.py ..................................................... ======================== 1568 passed in 136.92 seconds ========================= ++ 02:32:38 starting module/_codecs/test [10 started in total] __ module/_ast/test [7 done in total, somefailed=False] _______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 57 items module/_ast/test/apptest_ast.py ... module/_ast/test/test_ast.py ...................................................... ========================== 57 passed in 64.35 seconds ========================== ++ 02:33:09 starting module/_collections/test [11 started in total] __ module/_codecs/test [8 done in total, somefailed=True] _____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 99 items module/_codecs/test/apptest_codecs.py .. module/_codecs/test/test_codecs.py .....................sss...........................................................s...... module/_codecs/test/test_locale.py ...ss. module/_codecs/test/test_ztranslation.py F =================================== FAILURES =================================== ___________________________ test__codecs_translates ____________________________ def test__codecs_translates(): > checkmodule('_codecs') module/_codecs/test/test_ztranslation.py:5: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ objspace/fake/checkmodule.py:67: in checkmodule c_compile=c_compile, extra_func=extra_func, **opts) objspace/fake/objspace.py:485: in translates ann.complete() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.annotator.annrpython.RPythonAnnotator object at 0x12c09e50> def complete(self): """Process pending blocks until none is left.""" while True: self.complete_pending_blocks() self.policy.no_more_blocks_to_annotate(self) if not any(self.genpendingblocks): break # finished # make sure that the return variables of all graphs is annotated if self.added_blocks is not None: newgraphs = [self.annotated[block] for block in self.added_blocks] newgraphs = dict.fromkeys(newgraphs) got_blocked_blocks = False in newgraphs else: newgraphs = self.translator.graphs #all of them got_blocked_blocks = False in self.annotated.values() if self.failed_blocks: text = ('Annotation failed, %s errors were recorded:' % len(self.errors)) text += '\n-----'.join(str(e) for e in self.errors) raise annmodel.AnnotatorError(text) if got_blocked_blocks: for graph in self.blocked_graphs.values(): self.blocked_graphs[graph] = True blocked_blocks = [block for block, done in self.annotated.items() if done is False] assert len(blocked_blocks) == len(self.blocked_blocks) text = format_blocked_annotation_error(self, self.blocked_blocks) #raise SystemExit() > raise annmodel.AnnotatorError(text) E AnnotatorError: E E Blocked block -- operation cannot succeed E E v0 = getattr(w_mv_0, ('w_get_obj')) E E In <FunctionGraph of (pypy.interpreter.buffer:559)DunderReleaseView.releasebuffer at 0x15164490>: E Happened at file /buildbot/slave/own-linux-x86-32/build/pypy/interpreter/buffer.py line 572 E E ==> owns_match = w_mv.w_get_obj(space) is w_exporter E E Known variable annotations: E w_mv_0 = SomeInstance(can_be_None=False, classdef=pypy.interpreter.baseobjspace.W_Root) ../rpython/annotator/annrpython.py:257: AnnotatorError =========================== short test summary info ============================ FAIL module/_codecs/test/test_ztranslation.py::test__codecs_translates =============== 1 failed, 92 passed, 6 skipped in 81.94 seconds ================ ++ 02:34:06 starting module/_continuation/test [12 started in total] __ module/_collections/test [9 done in total, somefailed=False] _______________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 66 items module/_collections/test/apptest_defaultdict.py .............. module/_collections/test/apptest_deque.py .......................................... module/_collections/test/apptest_ordereddict.py .......... ========================== 66 passed in 52.97 seconds ========================== ++ 02:34:07 starting module/_cppyy/test [13 started in total] __ module/_cppyy/test [10 done in total, somefailed=False] ____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.01 seconds ========================= ++ 02:34:09 starting module/_csv/test [14 started in total] __ module/_continuation/test [11 done in total, somefailed=False] _____________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 32 items / 3 skipped module/_continuation/test/test_generator.py ssss module/_continuation/test/test_greenlet.py s.ssssss.sssssssssssssss.sss ==================== 3 passed, 32 skipped in 44.99 seconds ===================== ++ 02:34:57 starting module/_demo/test [15 started in total] __ module/_csv/test [12 done in total, somefailed=False] ______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 34 items module/_csv/test/apptest_writer.py ...... module/_csv/test/test_dialect.py .............. module/_csv/test/test_reader.py ............. module/_csv/test/test_ztranslation.py . ========================== 34 passed in 47.94 seconds ========================== ++ 02:35:00 starting module/_hpy_universal/test/_vendored [16 started in total] __ module/_hpy_universal/test/_vendored [13 done in total, somefailed=False] __ ('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (539192f72e0a, Apr 26 2026, 17:52:18)\n[PyPy 7.3.22 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]') ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 02:35:07 starting module/_hpy_universal/test/pypy [17 started in total] __ module/_hpy_universal/test/pypy [14 done in total, somefailed=False] _______ ('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (539192f72e0a, Apr 26 2026, 17:52:18)\n[PyPy 7.3.22 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]') ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 02:35:14 starting module/_io/test [18 started in total] __ module/_demo/test [15 done in total, somefailed=False] _____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module/_demo/test/test_import.py .. module/_demo/test/test_sieve.py . ========================== 3 passed in 15.49 seconds =========================== ++ 02:35:14 starting module/_jitlog/test [19 started in total] __ module/_jitlog/test [16 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/_jitlog/test/test__jitlog.py . ========================== 1 passed in 14.26 seconds =========================== ++ 02:35:31 starting module/_locale/test [20 started in total] __ module/_locale/test [17 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items module/_locale/test/test_locale.py sssssssssssssss ========================= 15 skipped in 10.74 seconds ========================== ++ 02:35:44 starting module/_lsprof/test [21 started in total] __ module/_lsprof/test [18 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module/_lsprof/test/test_cprofile.py ...... ========================== 6 passed in 11.58 seconds =========================== ++ 02:35:56 starting module/_md5/test [22 started in total] __ module/_md5/test [19 done in total, somefailed=False] ______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items module/_md5/test/test_md5.py ........ ========================== 8 passed in 11.35 seconds =========================== ++ 02:36:10 starting module/_minimal_curses/test [23 started in total] __ module/_cffi_backend/test [20 done in total, somefailed=False] _____________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 468 items module/_cffi_backend/test/test_c.py ....................................................................................s....................................................s.....s.......................s.............................s........................s...... module/_cffi_backend/test/test_fastpath.py .................. module/_cffi_backend/test/test_ffi_obj.py ............................................... module/_cffi_backend/test/test_file.py s.. module/_cffi_backend/test/test_parse_c_type.py ..............s... module/_cffi_backend/test/test_re_python.py .................... module/_cffi_backend/test/test_recompiler.py .........................................................................................s..s............................... module/_cffi_backend/test/test_unicode_literals.py ....... module/_cffi_backend/test/test_wchar_helper.py . module/_cffi_backend/test/test_ztranslation.py s =================== 457 passed, 11 skipped in 291.06 seconds =================== ++ 02:37:02 starting module/_multibytecodec/test [24 started in total] __ module/_minimal_curses/test [21 done in total, somefailed=False] ___________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module/_minimal_curses/test/test_curses.py ...... ========================== 6 passed in 72.27 seconds =========================== ++ 02:37:30 starting module/_multiprocessing/test [25 started in total] __ module/_multibytecodec/test [22 done in total, somefailed=False] ___________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 67 items module/_multibytecodec/test/apptest_codecs.py ................... module/_multibytecodec/test/apptest_incremental.py .................... module/_multibytecodec/test/apptest_stream.py ..... module/_multibytecodec/test/test_c_codecs.py ..................s module/_multibytecodec/test/test_multibtye_codecs.py ... module/_multibytecodec/test/test_translation.py s ==================== 65 passed, 2 skipped in 37.74 seconds ===================== ++ 02:37:46 starting module/_opcode/test [26 started in total] __ module/_opcode/test [23 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module/_opcode/test/apptest_opcode.py ..... ========================== 5 passed in 14.29 seconds =========================== ++ 02:38:03 starting module/_pickle/test [27 started in total] __ module/_io/test [24 done in total, somefailed=False] _______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 286 items / 1 skipped module/_io/test/apptest_bufferedio.py . module/_io/test/apptest_bytesio.py ................. module/_io/test/apptest_io.py ........................................... module/_io/test/apptest_stringio.py ........................... module/_io/test/apptest_textio.py ..............................s................. module/_io/test/test_bufferedio.py .......................................................................ss................................ module/_io/test/test_fileio.py .................................... module/_io/test/test_interp_textio.py ......... =================== 283 passed, 4 skipped in 175.95 seconds ==================== ++ 02:38:15 starting module/_pickle_support/test [28 started in total] __ interpreter/test [25 done in total, somefailed=False] ______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc PYTHON3: /usr/local/bin/python3.12 (Version 3.12.13 (main, May 13 2026, 03:52:15) [Clang 22.1.5 ]) rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1376 items interpreter/test/apptest_annotations.py .......................... interpreter/test/apptest_annotations_string.py ...... interpreter/test/apptest_buffer.py ...... interpreter/test/apptest_class.py ................ interpreter/test/apptest_coroutine.py ......................................................... interpreter/test/apptest_descrtypecheck.py .. interpreter/test/apptest_exceptions.py .......................... interpreter/test/apptest_exctable_dis.py ......... interpreter/test/apptest_exec.py ......................... interpreter/test/apptest_extcall.py ..... interpreter/test/apptest_function.py .....................................s..................................................... interpreter/test/apptest_generator.py ................................................................... interpreter/test/apptest_nestedscope.py .................. interpreter/test/apptest_pep695.py ............................... interpreter/test/apptest_pycode.py .... interpreter/test/apptest_pyframe.py ................................................................ interpreter/test/apptest_raise.py ...................................................... interpreter/test/apptest_settrace_jump.py . interpreter/test/apptest_syntax.py .................................... interpreter/test/apptest_sys_settrace.py .............................................................................................................................................. interpreter/test/apptest_traceback.py ........ interpreter/test/apptest_unraisable.py .... interpreter/test/apptest_with_leak.py ......... interpreter/test/test_app_main.py ..................s..s....................s...s.......................s....x.s...s.......... interpreter/test/test_appinterp.py ............. interpreter/test/test_argument.py .............................................. interpreter/test/test_buffer.py ... interpreter/test/test_cellfamily.py ....... interpreter/test/test_code.py ............ interpreter/test/test_compiler.py ............................................................................................................. interpreter/test/test_error.py .............. interpreter/test/test_exceptcomp.py ......... interpreter/test/test_executioncontext.py ................ interpreter/test/test_extmodules.py . interpreter/test/test_fsencode.py ... interpreter/test/test_function.py ............. interpreter/test/test_gateway.py .........................................ss......................... interpreter/test/test_generator.py . interpreter/test/test_interpreter.py ................................................. interpreter/test/test_location.py .......... interpreter/test/test_main.py ..... interpreter/test/test_mixedmodule.py ...... interpreter/test/test_module.py .................. interpreter/test/test_objspace.py ............................................. interpreter/test/test_pycode.py .. interpreter/test/test_pyframe.py ................................ interpreter/test/test_reverse_debugging.py .. interpreter/test/test_special.py ... interpreter/test/test_syntax.py ..................... interpreter/test/test_targetpypy.py .. interpreter/test/test_typedef.py ................... interpreter/test/test_unicodehelper.py .......... interpreter/test/test_zpy.py ........ interpreter/test/test_zzpickle_and_slow.py s.....s..s..sss........ss...s. ============= 1356 passed, 19 skipped, 1 xfailed in 484.21 seconds ============= ++ 02:38:24 starting module/_posixsubprocess/test [29 started in total] __ module/_pickle_support/test [26 done in total, somefailed=False] ___________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/_pickle_support/test/apptest__pickle_support.py . =========================== 1 passed in 8.22 seconds =========================== ++ 02:38:25 starting module/_pypyjson/test [30 started in total] __ module/_multiprocessing/test [27 done in total, somefailed=False] __________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items module/_multiprocessing/test/test_interp_semaphore.py . module/_multiprocessing/test/test_semaphore.py .......... module/_multiprocessing/test/test_win32.py s module/_multiprocessing/test/test_ztranslation.py . ==================== 12 passed, 1 skipped in 67.38 seconds ===================== ++ 02:38:43 starting module/_random/test [31 started in total] __ module/_pypyjson/test [28 done in total, somefailed=False] _________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 54 items / 1 skipped module/_pypyjson/test/apptest__pypyjson.py .......... module/_pypyjson/test/test__pypyjson.py ............................................ ==================== 54 passed, 1 skipped in 39.37 seconds ===================== ++ 02:39:09 starting module/_rawffi/alt/test [32 started in total] __ module/_random/test [29 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items module/_random/test/test_random.py ............ module/_random/test/test_ztranslation.py . ========================== 13 passed in 30.43 seconds ========================== ++ 02:39:16 starting module/_rawffi/test [33 started in total] __ module/_rawffi/alt/test [30 done in total, somefailed=False] _______________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 73 items module/_rawffi/alt/test/test_ffitype.py ..... module/_rawffi/alt/test/test_funcptr.py ..................................ssssss.s module/_rawffi/alt/test/test_struct.py ............... module/_rawffi/alt/test/test_type_converter.py ........... ==================== 66 passed, 7 skipped in 19.52 seconds ===================== ++ 02:39:33 starting module/_socket/test [34 started in total] __ module/_posixsubprocess/test [31 done in total, somefailed=True] ___________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items module/_posixsubprocess/test/apptest_subprocess.py ......... module/_posixsubprocess/test/test_ztranslation.py F =================================== FAILURES =================================== _______________________ test_posixsubprocess_translates ________________________ def test_posixsubprocess_translates(): # make sure the spaces don't mix interp_subprocess.preexec.space = None > checkmodule('_posixsubprocess') module/_posixsubprocess/test/test_ztranslation.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ objspace/fake/checkmodule.py:67: in checkmodule c_compile=c_compile, extra_func=extra_func, **opts) objspace/fake/objspace.py:485: in translates ann.complete() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.annotator.annrpython.RPythonAnnotator object at 0x108fdd30> def complete(self): """Process pending blocks until none is left.""" while True: self.complete_pending_blocks() self.policy.no_more_blocks_to_annotate(self) if not any(self.genpendingblocks): break # finished # make sure that the return variables of all graphs is annotated if self.added_blocks is not None: newgraphs = [self.annotated[block] for block in self.added_blocks] newgraphs = dict.fromkeys(newgraphs) got_blocked_blocks = False in newgraphs else: newgraphs = self.translator.graphs #all of them got_blocked_blocks = False in self.annotated.values() if self.failed_blocks: text = ('Annotation failed, %s errors were recorded:' % len(self.errors)) text += '\n-----'.join(str(e) for e in self.errors) raise annmodel.AnnotatorError(text) if got_blocked_blocks: for graph in self.blocked_graphs.values(): self.blocked_graphs[graph] = True blocked_blocks = [block for block, done in self.annotated.items() if done is False] assert len(blocked_blocks) == len(self.blocked_blocks) text = format_blocked_annotation_error(self, self.blocked_blocks) #raise SystemExit() > raise annmodel.AnnotatorError(text) E AnnotatorError: E E Blocked block -- operation cannot succeed E E v2 = getattr(w_mv_0, ('w_get_obj')) E E In <FunctionGraph of (pypy.interpreter.buffer:559)DunderReleaseView.releasebuffer at 0x13a0d7d0>: E Happened at file /buildbot/slave/own-linux-x86-32/build/pypy/interpreter/buffer.py line 572 E E ==> owns_match = w_mv.w_get_obj(space) is w_exporter E E Known variable annotations: E w_mv_0 = SomeInstance(can_be_None=False, classdef=pypy.interpreter.baseobjspace.W_Root) ../rpython/annotator/annrpython.py:257: AnnotatorError =========================== short test summary info ============================ FAIL module/_posixsubprocess/test/test_ztranslation.py::test_posixsubprocess_translates ===================== 1 failed, 9 passed in 65.27 seconds ====================== ++ 02:39:37 starting module/_sre/test [35 started in total] __ module/_pickle/test [32 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 108 items module/_pickle/test/apptest_optional_frames.py .. module/_pickle/test/apptest_pickle.py ............................................................................... module/_pickle/test/apptest_pypy_extensions.py ........................... ========================= 108 passed in 87.92 seconds ========================== ++ 02:39:38 starting module/_vmprof/test [36 started in total] __ module/_vmprof/test [33 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items module/_vmprof/test/test__vmprof.py ....s module/_vmprof/test/test_direct.py .. ===================== 6 passed, 1 skipped in 36.41 seconds ===================== ++ 02:40:16 starting module/_warnings/test [37 started in total] __ module/_rawffi/test [34 done in total, somefailed=True] ____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 86 items module/_rawffi/test/apptest_rawffi.py .. module/_rawffi/test/test__rawffi.py ......s.............................................s..........s...... module/_rawffi/test/test_exit.py . module/_rawffi/test/test_nested.py ...... module/_rawffi/test/test_struct.py ... module/_rawffi/test/test_tracker.py ... module/_rawffi/test/test_ztranslation.py F =================================== FAILURES =================================== _______________________________ test_checkmodule _______________________________ def test_checkmodule(): > checkmodule('_rawffi') module/_rawffi/test/test_ztranslation.py:5: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ objspace/fake/checkmodule.py:67: in checkmodule c_compile=c_compile, extra_func=extra_func, **opts) objspace/fake/objspace.py:485: in translates ann.complete() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.annotator.annrpython.RPythonAnnotator object at 0x11501ed0> def complete(self): """Process pending blocks until none is left.""" while True: self.complete_pending_blocks() self.policy.no_more_blocks_to_annotate(self) if not any(self.genpendingblocks): break # finished # make sure that the return variables of all graphs is annotated if self.added_blocks is not None: newgraphs = [self.annotated[block] for block in self.added_blocks] newgraphs = dict.fromkeys(newgraphs) got_blocked_blocks = False in newgraphs else: newgraphs = self.translator.graphs #all of them got_blocked_blocks = False in self.annotated.values() if self.failed_blocks: text = ('Annotation failed, %s errors were recorded:' % len(self.errors)) text += '\n-----'.join(str(e) for e in self.errors) raise annmodel.AnnotatorError(text) if got_blocked_blocks: for graph in self.blocked_graphs.values(): self.blocked_graphs[graph] = True blocked_blocks = [block for block, done in self.annotated.items() if done is False] assert len(blocked_blocks) == len(self.blocked_blocks) text = format_blocked_annotation_error(self, self.blocked_blocks) #raise SystemExit() > raise annmodel.AnnotatorError(text) E AnnotatorError: E E Blocked block -- operation cannot succeed E E v12 = getattr(w_mv_0, ('w_get_obj')) E E In <FunctionGraph of (pypy.interpreter.buffer:559)DunderReleaseView.releasebuffer at 0x10c51a90>: E Happened at file /buildbot/slave/own-linux-x86-32/build/pypy/interpreter/buffer.py line 572 E E ==> owns_match = w_mv.w_get_obj(space) is w_exporter E E Known variable annotations: E w_mv_0 = SomeInstance(can_be_None=False, classdef=pypy.interpreter.baseobjspace.W_Root) ../rpython/annotator/annrpython.py:257: AnnotatorError ----------------------------- Captured stdout call ----------------------------- ------ seeing typedef 'CDLL' ------ ------ seeing typedef 'FuncPtr' ------ ------ seeing typedef 'Structure' ------ ------ seeing typedef 'StructureInstance' ------ ------ seeing typedef 'StructureInstanceAutoFree' ------ ------ seeing typedef 'Array' ------ ------ seeing typedef 'ArrayInstance' ------ ------ seeing typedef 'ArrayInstanceAutoFree' ------ ------ seeing typedef 'CallbackPtr' ------ ------ seeing typedef 'types' ------ ------ seeing typedef '_rawffi.alt.CDLL' ------ ------ seeing typedef '_rawffi.alt.FuncPtr' ------ ------ seeing typedef '_StructDescr' ------ ------ seeing typedef 'Field' ------ =========================== short test summary info ============================ FAIL module/_rawffi/test/test_ztranslation.py::test_checkmodule =============== 1 failed, 82 passed, 3 skipped in 61.67 seconds ================ n: 2 Arg 0: 3 Arg 1: 15 ++ 02:40:21 starting module/_weakref/test [38 started in total] __ module/_warnings/test [35 done in total, somefailed=False] _________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 22 items module/_warnings/test/apptest_warnings.py ........s.s.......... module/_warnings/test/test_warnings.py . ==================== 20 passed, 2 skipped in 21.88 seconds ===================== ++ 02:40:40 starting module/_winreg/test [39 started in total] __ module/_winreg/test [36 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.07 seconds =========================== ++ 02:40:41 starting module/array/test [40 started in total] __ module/_sre/test [37 done in total, somefailed=False] ______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 163 items module/_sre/test/apptest_sre.py ..................................................................... module/_sre/test/test_app_sre.py .........................................s.s...................... module/_sre/test/test_sre_buf.py ............................ ==================== 161 passed, 2 skipped in 82.07 seconds ==================== ++ 02:41:04 starting module/atexit/test [41 started in total] __ module/_weakref/test [38 done in total, somefailed=False] __________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 43 items module/_weakref/test/apptest_weakref.py ........................................... ========================== 43 passed in 53.73 seconds ========================== ++ 02:41:20 starting module/binascii/test [42 started in total] __ module/atexit/test [39 done in total, somefailed=False] ____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items module/atexit/test/apptest_atexit.py .. ========================== 2 passed in 17.03 seconds =========================== ++ 02:41:25 starting module/bz2/test [43 started in total] __ module/_socket/test [40 done in total, somefailed=True] ____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 87 items module/_socket/test/apptest_socket.py .....................ss..................s.................... module/_socket/test/test_sock_app.py ........................ module/_socket/test/test_ztranslation.py F =================================== FAILURES =================================== _______________________________ test_checkmodule _______________________________ def test_checkmodule(): > checkmodule('_socket') module/_socket/test/test_ztranslation.py:5: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ objspace/fake/checkmodule.py:67: in checkmodule c_compile=c_compile, extra_func=extra_func, **opts) objspace/fake/objspace.py:485: in translates ann.complete() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.annotator.annrpython.RPythonAnnotator object at 0x171ae530> def complete(self): """Process pending blocks until none is left.""" while True: self.complete_pending_blocks() self.policy.no_more_blocks_to_annotate(self) if not any(self.genpendingblocks): break # finished # make sure that the return variables of all graphs is annotated if self.added_blocks is not None: newgraphs = [self.annotated[block] for block in self.added_blocks] newgraphs = dict.fromkeys(newgraphs) got_blocked_blocks = False in newgraphs else: newgraphs = self.translator.graphs #all of them got_blocked_blocks = False in self.annotated.values() if self.failed_blocks: text = ('Annotation failed, %s errors were recorded:' % len(self.errors)) text += '\n-----'.join(str(e) for e in self.errors) raise annmodel.AnnotatorError(text) if got_blocked_blocks: for graph in self.blocked_graphs.values(): self.blocked_graphs[graph] = True blocked_blocks = [block for block, done in self.annotated.items() if done is False] assert len(blocked_blocks) == len(self.blocked_blocks) text = format_blocked_annotation_error(self, self.blocked_blocks) #raise SystemExit() > raise annmodel.AnnotatorError(text) E AnnotatorError: E E Blocked block -- operation cannot succeed E E v77 = getattr(w_mv_0, ('w_get_obj')) E E In <FunctionGraph of (pypy.interpreter.buffer:559)DunderReleaseView.releasebuffer at 0x136e04d0>: E Happened at file /buildbot/slave/own-linux-x86-32/build/pypy/interpreter/buffer.py line 572 E E ==> owns_match = w_mv.w_get_obj(space) is w_exporter E E Known variable annotations: E w_mv_0 = SomeInstance(can_be_None=False, classdef=pypy.interpreter.baseobjspace.W_Root) ../rpython/annotator/annrpython.py:257: AnnotatorError ----------------------------- Captured stdout call ----------------------------- ------ seeing typedef '_socket.socket' ------ ------ seeing typedef '_socket.socket' ------ ------ seeing typedef '_socket.socket' ------ =========================== short test summary info ============================ FAIL module/_socket/test/test_ztranslation.py::test_checkmodule =============== 1 failed, 83 passed, 3 skipped in 111.96 seconds =============== ++ 02:41:29 starting module/cmath/test [44 started in total] __ module/binascii/test [41 done in total, somefailed=False] __________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 18 items module/binascii/test/test_binascii.py .................. ========================== 18 passed in 18.49 seconds ========================== ++ 02:41:40 starting module/cpyext/test/test_api.py [45 started in total] __ module/cmath/test [42 done in total, somefailed=False] _____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 18 items module/cmath/test/test_cmath.py .................. ========================== 18 passed in 12.05 seconds ========================== ++ 02:41:44 starting module/cpyext/test/test_arraymodule.py [46 started in total] __ module/array/test [43 done in total, somefailed=True] ______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 64 items module/array/test/apptest_array.py ... module/array/test/test_array.py .....................s..................s................... module/array/test/test_ztranslation.py F =================================== FAILURES =================================== _______________________________ test_checkmodule _______________________________ def test_checkmodule(): > checkmodule('array') module/array/test/test_ztranslation.py:5: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ objspace/fake/checkmodule.py:67: in checkmodule c_compile=c_compile, extra_func=extra_func, **opts) objspace/fake/objspace.py:485: in translates ann.complete() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.annotator.annrpython.RPythonAnnotator object at 0x103e63b0> def complete(self): """Process pending blocks until none is left.""" while True: self.complete_pending_blocks() self.policy.no_more_blocks_to_annotate(self) if not any(self.genpendingblocks): break # finished # make sure that the return variables of all graphs is annotated if self.added_blocks is not None: newgraphs = [self.annotated[block] for block in self.added_blocks] newgraphs = dict.fromkeys(newgraphs) got_blocked_blocks = False in newgraphs else: newgraphs = self.translator.graphs #all of them got_blocked_blocks = False in self.annotated.values() if self.failed_blocks: text = ('Annotation failed, %s errors were recorded:' % len(self.errors)) text += '\n-----'.join(str(e) for e in self.errors) raise annmodel.AnnotatorError(text) if got_blocked_blocks: for graph in self.blocked_graphs.values(): self.blocked_graphs[graph] = True blocked_blocks = [block for block, done in self.annotated.items() if done is False] assert len(blocked_blocks) == len(self.blocked_blocks) text = format_blocked_annotation_error(self, self.blocked_blocks) #raise SystemExit() > raise annmodel.AnnotatorError(text) E AnnotatorError: E E Blocked block -- operation cannot succeed E E v9 = getattr(w_mv_0, ('w_get_obj')) E E In <FunctionGraph of (pypy.interpreter.buffer:559)DunderReleaseView.releasebuffer at 0x10ba1ad0>: E Happened at file /buildbot/slave/own-linux-x86-32/build/pypy/interpreter/buffer.py line 572 E E ==> owns_match = w_mv.w_get_obj(space) is w_exporter E E Known variable annotations: E w_mv_0 = SomeInstance(can_be_None=False, classdef=pypy.interpreter.baseobjspace.W_Root) ../rpython/annotator/annrpython.py:257: AnnotatorError ----------------------------- Captured stdout call ----------------------------- ------ seeing typedef 'array.array' ------ ------ seeing typedef 'array.array' ------ ------ seeing typedef 'array.array' ------ =========================== short test summary info ============================ FAIL module/array/test/test_ztranslation.py::test_checkmodule =============== 1 failed, 61 passed, 2 skipped in 69.13 seconds ================ ++ 02:41:54 starting module/cpyext/test/test_async_iter.py [47 started in total] __ module/cpyext/test/test_api.py [44 done in total, somefailed=False] ________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items module/cpyext/test/test_api.py .... ========================== 4 passed in 29.32 seconds =========================== ++ 02:42:24 starting module/cpyext/test/test_boolobject.py [48 started in total] __ module/cpyext/test/test_async_iter.py [45 done in total, somefailed=False] _ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module/cpyext/test/test_async_iter.py sss ========================== 3 skipped in 23.21 seconds ========================== ++ 02:42:32 starting module/cpyext/test/test_borrow.py [49 started in total] __ module/bz2/test [46 done in total, somefailed=False] _______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 53 items module/bz2/test/apptest_bz2_compdecomp.py .s... module/bz2/test/test_bz2_compdecomp.py ..s............. module/bz2/test/test_bz2_file.py ............................ module/bz2/test/test_interpbz2.py ... module/bz2/test/test_large.py s ==================== 50 passed, 3 skipped in 77.93 seconds ===================== ++ 02:42:45 starting module/cpyext/test/test_buffer.py [50 started in total] __ module/cpyext/test/test_boolobject.py [47 done in total, somefailed=False] _ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items module/cpyext/test/test_boolobject.py .... ========================== 4 passed in 43.22 seconds =========================== ++ 02:43:23 starting module/cpyext/test/test_bytearrayobject.py [51 started in total] __ module/cpyext/test/test_arraymodule.py [48 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 18 items module/cpyext/test/test_arraymodule.py ..........x....... ==================== 17 passed, 1 xfailed in 89.77 seconds ===================== ++ 02:43:26 starting module/cpyext/test/test_bytesobject.py [52 started in total] __ module/cpyext/test/test_borrow.py [49 done in total, somefailed=False] _____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module/cpyext/test/test_borrow.py ... ========================== 3 passed in 41.00 seconds =========================== ++ 02:43:30 starting module/cpyext/test/test_capsule.py [53 started in total] __ module/cpyext/test/test_buffer.py [50 done in total, somefailed=True] ______ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module/cpyext/test/test_buffer.py .F..FF =================================== FAILURES =================================== _______________________ AppTestBuffer.test_AsWriteBuffer _______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0ed3a810> def test_AsWriteBuffer(self): import array module = self.import_extension('buffer', [ ('write_buffer_len', 'METH_O', """ void* buf; Py_ssize_t buf_len; if (PyObject_AsWriteBuffer(args, &buf, &buf_len) < 0) { //PyErr_SetString(PyExc_ValueError, "bad value"); return NULL; } return PyLong_FromLong(buf_len); """)]) > assert module.write_buffer_len(bytearray(b'123')) == 3 E (application-level) ValueError: __release_buffer__ called with a buffer not obtained from this object [/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/test/test_buffer.py:21]:14: ValueError ----------------------------- Captured stdout call ----------------------------- Error in cpyext, CPython compatibility layer: The function cpyext_bf_releasebuffer_bytearray was not supposed to fail Fatal error in cpyext, CPython compatibility layer, calling cpyext_bf_releasebuffer_bytearray Either report a bug or consider not using this particular extension ----------------------------- Captured stderr call ----------------------------- <function PyModule_Create2 at 0x0dab6710> DONE <function cpyext_bf_getbuffer_bytearray at 0x0e44ab10> DONE <function cpyext_bf_releasebuffer_bytearray at 0x0e44ab90>Traceback (most recent call last): File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1164, in wrapper_second_level raise not_supposed_to_fail(pname) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1018, in not_supposed_to_fail raise SystemError SystemError File "/opt/pypy2.7-v7.3.22-linux32/lib_pypy/_ctypes/function.py", line 283, in f return to_call(*args) File "/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 895, in callback return callback_internal(*cargs) File "/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 872, in callback_internal llres = container._callable(*llargs) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 990, in wrapper return wrapper_second_level(callable, pname, *args) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1186, in wrapper_second_level state.check_and_raise_exception(always=True) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/state.py", line 79, in check_and_raise_exception raise operror OpErrFmtNoArgs: [<W_TypeObject 'ValueError' at 0xc661690>: W_BaseExceptionUserWeakrefable([W_UnicodeObject('__release_buffer__ called with a buffer not obtained from this object')])] <function PyLong_FromLong at 0x0dbf6e50> DONE _________________________ AppTestBuffer.test_argparse __________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0ed3a810> def test_argparse(self): # issue 5136 module = self.import_extension("foo", [ ("getbuffer", "METH_VARARGS", """ Py_buffer buf; if (!PyArg_ParseTuple(args, "y*", &buf)) return NULL; int ro = buf.readonly; PyBuffer_Release(&buf); return PyLong_FromLong(ro); """), ]) # buf = array.array("B", [0] * 1024) buf = bytearray(1024) # buf = (ctypes.c_uint8 * 1024)() > ret = module.getbuffer(buf) E (application-level) ValueError: __release_buffer__ called with a buffer not obtained from this object [/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/test/test_buffer.py:89]:16: ValueError ----------------------------- Captured stdout call ----------------------------- Error in cpyext, CPython compatibility layer: The function cpyext_bf_releasebuffer_bytearray was not supposed to fail Fatal error in cpyext, CPython compatibility layer, calling cpyext_bf_releasebuffer_bytearray Either report a bug or consider not using this particular extension ----------------------------- Captured stderr call ----------------------------- <function PyModule_Create2 at 0x0dab6710> DONE <function PySequence_Fast_ITEMS at 0x0cb9b450> DONE <function cpyext_bf_getbuffer_bytearray at 0x0e44ab10> DONE <function PyBuffer_IsContiguous at 0x0dbca5d0> DONE <function cpyext_bf_releasebuffer_bytearray at 0x0e44ab90>Traceback (most recent call last): File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1164, in wrapper_second_level raise not_supposed_to_fail(pname) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1018, in not_supposed_to_fail raise SystemError SystemError File "/opt/pypy2.7-v7.3.22-linux32/lib_pypy/_ctypes/function.py", line 283, in f return to_call(*args) File "/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 895, in callback return callback_internal(*cargs) File "/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 872, in callback_internal llres = container._callable(*llargs) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 990, in wrapper return wrapper_second_level(callable, pname, *args) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1186, in wrapper_second_level state.check_and_raise_exception(always=True) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/state.py", line 79, in check_and_raise_exception raise operror OpErrFmtNoArgs: [<W_TypeObject 'ValueError' at 0xc661690>: W_BaseExceptionUserWeakrefable([W_UnicodeObject('__release_buffer__ called with a buffer not obtained from this object')])] <function PyLong_FromLong at 0x0dbf6e50> DONE __________ AppTestBuffer.test_bytearray_release_buffer_unlocks_resize __________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0ed3a810> def test_bytearray_release_buffer_unlocks_resize(self): # Acquire and immediately release: bytearray must be resizable after. # Also verify that holding the buffer blocks resize until release. module = self.import_extension("foo", [ ("acquire_and_release", "METH_O", """ Py_buffer buf; if (PyObject_GetBuffer(args, &buf, PyBUF_SIMPLE) < 0) return NULL; PyBuffer_Release(&buf); Py_RETURN_NONE; """), ("acquire", "METH_O", """ Py_buffer *buf = (Py_buffer *)malloc(sizeof(Py_buffer)); if (PyObject_GetBuffer(args, buf, PyBUF_SIMPLE) < 0) { free(buf); return NULL; } return PyLong_FromVoidPtr(buf); """), ("release", "METH_O", """ Py_buffer *buf = (Py_buffer *)PyLong_AsVoidPtr(args); PyBuffer_Release(buf); free(buf); Py_RETURN_NONE; """), ]) b = bytearray(b'hello') > module.acquire_and_release(b) E (application-level) ValueError: __release_buffer__ called with a buffer not obtained from this object [/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/test/test_buffer.py:108]:31: ValueError ----------------------------- Captured stdout call ----------------------------- Error in cpyext, CPython compatibility layer: The function cpyext_bf_releasebuffer_bytearray was not supposed to fail Fatal error in cpyext, CPython compatibility layer, calling cpyext_bf_releasebuffer_bytearray Either report a bug or consider not using this particular extension ----------------------------- Captured stderr call ----------------------------- <function PyModule_Create2 at 0x0dab6710> DONE <function cpyext_bf_getbuffer_bytearray at 0x0e44ab10> DONE <function cpyext_bf_releasebuffer_bytearray at 0x0e44ab90>Traceback (most recent call last): File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1164, in wrapper_second_level raise not_supposed_to_fail(pname) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1018, in not_supposed_to_fail raise SystemError SystemError File "/opt/pypy2.7-v7.3.22-linux32/lib_pypy/_ctypes/function.py", line 283, in f return to_call(*args) File "/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 895, in callback return callback_internal(*cargs) File "/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 872, in callback_internal llres = container._callable(*llargs) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 990, in wrapper return wrapper_second_level(callable, pname, *args) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1186, in wrapper_second_level state.check_and_raise_exception(always=True) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/state.py", line 79, in check_and_raise_exception raise operror OpErrFmtNoArgs: [<W_TypeObject 'ValueError' at 0xc661690>: W_BaseExceptionUserWeakrefable([W_UnicodeObject('__release_buffer__ called with a buffer not obtained from this object')])] =========================== short test summary info ============================ FAIL module/cpyext/test/test_buffer.py::AppTestBuffer::()::test_AsWriteBuffer FAIL module/cpyext/test/test_buffer.py::AppTestBuffer::()::test_argparse FAIL module/cpyext/test/test_buffer.py::AppTestBuffer::()::test_bytearray_release_buffer_unlocks_resize ===================== 3 failed, 3 passed in 51.04 seconds ====================== ++ 02:43:50 starting module/cpyext/test/test_cell.py [54 started in total] __ module/cpyext/test/test_bytearrayobject.py [51 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module/cpyext/test/test_bytearrayobject.py ...... ========================== 6 passed in 45.98 seconds =========================== ++ 02:44:21 starting module/cpyext/test/test_classobject.py [55 started in total] __ module/cpyext/test/test_capsule.py [52 done in total, somefailed=False] ____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module/cpyext/test/test_capsule.py ... ========================== 3 passed in 50.82 seconds =========================== ++ 02:44:36 starting module/cpyext/test/test_codecs.py [56 started in total] __ module/cpyext/test/test_cell.py [53 done in total, somefailed=False] _______ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/cpyext/test/test_cell.py . ========================== 1 passed in 36.75 seconds =========================== ++ 02:44:42 starting module/cpyext/test/test_complexobject.py [57 started in total] __ module/cpyext/test/test_bytesobject.py [54 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items module/cpyext/test/test_bytesobject.py .................... ========================== 20 passed in 72.43 seconds ========================== ++ 02:44:53 starting module/cpyext/test/test_contextvars.py [58 started in total] __ module/cpyext/test/test_classobject.py [55 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items module/cpyext/test/test_classobject.py .. ========================== 2 passed in 34.62 seconds =========================== ++ 02:45:13 starting module/cpyext/test/test_cpyext.py [59 started in total] __ module/cpyext/test/test_codecs.py [56 done in total, somefailed=False] _____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module/cpyext/test/test_codecs.py ... ========================== 3 passed in 38.56 seconds =========================== ++ 02:45:27 starting module/cpyext/test/test_datetime.py [60 started in total] __ module/cpyext/test/test_complexobject.py [57 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module/cpyext/test/test_complexobject.py ...... ========================== 6 passed in 45.55 seconds =========================== ++ 02:45:40 starting module/cpyext/test/test_dictobject.py [61 started in total] __ module/cpyext/test/test_contextvars.py [58 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/cpyext/test/test_contextvars.py . ========================== 1 passed in 45.64 seconds =========================== ++ 02:45:51 starting module/cpyext/test/test_eval.py [62 started in total] __ module/cpyext/test/test_datetime.py [59 done in total, somefailed=False] ___ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items module/cpyext/test/test_datetime.py ................ ========================== 16 passed in 83.29 seconds ========================== ++ 02:47:01 starting module/cpyext/test/test_exception.py [63 started in total] __ module/cpyext/test/test_cpyext.py [60 done in total, somefailed=False] _____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 26 items module/cpyext/test/test_cpyext.py ..s........s.............. ==================== 24 passed, 2 skipped in 92.02 seconds ===================== ++ 02:47:01 starting module/cpyext/test/test_fileobject.py [64 started in total] __ module/cpyext/test/test_dictobject.py [61 done in total, somefailed=False] _ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 19 items module/cpyext/test/test_dictobject.py ................... ========================== 19 passed in 74.27 seconds ========================== ++ 02:47:07 starting module/cpyext/test/test_floatobject.py [65 started in total] __ module/cpyext/test/test_fileobject.py [62 done in total, somefailed=False] _ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/cpyext/test/test_fileobject.py . ========================== 1 passed in 39.02 seconds =========================== ++ 02:47:53 starting module/cpyext/test/test_frameobject.py [66 started in total] __ module/cpyext/test/test_eval.py [63 done in total, somefailed=False] _______ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items module/cpyext/test/test_eval.py .................... ========================= 20 passed in 107.21 seconds ========================== ++ 02:47:55 starting module/cpyext/test/test_funcobject.py [67 started in total] __ module/cpyext/test/test_exception.py [64 done in total, somefailed=False] __ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items module/cpyext/test/test_exception.py ........ ========================== 8 passed in 52.30 seconds =========================== ++ 02:48:07 starting module/cpyext/test/test_genobject.py [68 started in total] __ module/cpyext/test/test_floatobject.py [65 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module/cpyext/test/test_floatobject.py .............. ========================== 14 passed in 68.71 seconds ========================== ++ 02:48:35 starting module/cpyext/test/test_getargs.py [69 started in total] __ module/cpyext/test/test_frameobject.py [66 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module/cpyext/test/test_frameobject.py ..... ========================== 5 passed in 47.28 seconds =========================== ++ 02:48:51 starting module/cpyext/test/test_import.py [70 started in total] __ module/cpyext/test/test_funcobject.py [67 done in total, somefailed=False] _ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module/cpyext/test/test_funcobject.py .............. ========================== 14 passed in 87.86 seconds ========================== ++ 02:49:36 starting module/cpyext/test/test_iterator.py [71 started in total] __ module/cpyext/test/test_genobject.py [68 done in total, somefailed=False] __ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items module/cpyext/test/test_genobject.py .... ========================== 4 passed in 80.30 seconds =========================== ++ 02:49:42 starting module/cpyext/test/test_listobject.py [72 started in total] __ module/cpyext/test/test_getargs.py [69 done in total, somefailed=True] _____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items module/cpyext/test/test_getargs.py .....F.......... =================================== FAILURES =================================== _______________ AppTestGetargs.test_pyarg_parse_string_py_buffer _______________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0e9cd150> def test_pyarg_parse_string_py_buffer(self): """ The `s*` format specifier can be used to parse a str into a Py_buffer structure containing a pointer to the string data and the length of the string data. """ pybuffer = self.import_parser( ''' Py_buffer buf; PyObject *result; if (!PyArg_ParseTuple(args, "s*", &buf)) { return NULL; } result = PyBytes_FromStringAndSize(buf.buf, buf.len); PyBuffer_Release(&buf); return result; ''') assert b'foo\0bar\0baz' == pybuffer(b'foo\0bar\0baz') #return # XXX? > assert b'foo\0bar\0baz' == pybuffer(bytearray(b'foo\0bar\0baz')) E (application-level) ValueError: __release_buffer__ called with a buffer not obtained from this object [/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/test/test_getargs.py:108]:20: ValueError ----------------------------- Captured stdout call ----------------------------- Error in cpyext, CPython compatibility layer: The function cpyext_bf_releasebuffer_bytearray was not supposed to fail Fatal error in cpyext, CPython compatibility layer, calling cpyext_bf_releasebuffer_bytearray Either report a bug or consider not using this particular extension ----------------------------- Captured stderr call ----------------------------- <function PyModule_Create2 at 0x0e730d90> DONE <function PySequence_Fast_ITEMS at 0x0c937650> DONE <function bytes_getbuffer at 0x0eba7e10> DONE <function PyBuffer_IsContiguous at 0x0cdb03d0> DONE <function PyBytes_FromStringAndSize at 0x0d4c3490> DONE <function PySequence_Fast_ITEMS at 0x0c937650> DONE <function cpyext_bf_getbuffer_bytearray at 0x0e4c1090> DONE <function PyBuffer_IsContiguous at 0x0cdb03d0> DONE <function PyBytes_FromStringAndSize at 0x0d4c3490> DONE <function cpyext_bf_releasebuffer_bytearray at 0x0e4c1110>Traceback (most recent call last): File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1164, in wrapper_second_level raise not_supposed_to_fail(pname) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1018, in not_supposed_to_fail raise SystemError SystemError File "/opt/pypy2.7-v7.3.22-linux32/lib_pypy/_ctypes/function.py", line 283, in f return to_call(*args) File "/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 895, in callback return callback_internal(*cargs) File "/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 872, in callback_internal llres = container._callable(*llargs) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 990, in wrapper return wrapper_second_level(callable, pname, *args) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py", line 1186, in wrapper_second_level state.check_and_raise_exception(always=True) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/state.py", line 79, in check_and_raise_exception raise operror OpErrFmtNoArgs: [<W_TypeObject 'ValueError' at 0xe3bba90>: W_BaseExceptionUserWeakrefable([W_UnicodeObject('__release_buffer__ called with a buffer not obtained from this object')])] =========================== short test summary info ============================ FAIL module/cpyext/test/test_getargs.py::AppTestGetargs::()::test_pyarg_parse_string_py_buffer ===================== 1 failed, 15 passed in 70.47 seconds ===================== ++ 02:50:02 starting module/cpyext/test/test_longobject.py [73 started in total] __ module/cpyext/test/test_import.py [70 done in total, somefailed=False] _____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items module/cpyext/test/test_import.py ........ ========================== 8 passed in 79.33 seconds =========================== ++ 02:50:26 starting module/cpyext/test/test_mapping.py [74 started in total] __ module/cpyext/test/test_iterator.py [71 done in total, somefailed=False] ___ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module/cpyext/test/test_iterator.py ...... ========================== 6 passed in 43.39 seconds =========================== ++ 02:50:35 starting module/cpyext/test/test_marshal.py [75 started in total] __ module/cpyext/test/test_listobject.py [72 done in total, somefailed=False] _ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module/cpyext/test/test_listobject.py .............. ========================== 14 passed in 62.11 seconds ========================== ++ 02:51:02 starting module/cpyext/test/test_memoryobject.py [76 started in total] __ module/cpyext/test/test_mapping.py [73 done in total, somefailed=False] ____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module/cpyext/test/test_mapping.py ..... ========================== 5 passed in 33.86 seconds =========================== ++ 02:51:17 starting module/cpyext/test/test_methodobject.py [77 started in total] __ module/cpyext/test/test_marshal.py [74 done in total, somefailed=False] ____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items module/cpyext/test/test_marshal.py .. ========================== 2 passed in 37.66 seconds =========================== ++ 02:51:26 starting module/cpyext/test/test_misc.py [78 started in total] __ module/cpyext/test/test_longobject.py [75 done in total, somefailed=False] _ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items module/cpyext/test/test_longobject.py ......................... ========================== 25 passed in 78.91 seconds ========================== ++ 02:51:37 starting module/cpyext/test/test_module.py [79 started in total] __ module/cpyext/test/test_misc.py [76 done in total, somefailed=False] _______ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/cpyext/test/test_misc.py . ========================== 1 passed in 37.29 seconds =========================== ++ 02:52:17 starting module/cpyext/test/test_namespaceobject.py [80 started in total] __ module/cpyext/test/test_memoryobject.py [77 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items module/cpyext/test/test_memoryobject.py ...s...s....... ==================== 13 passed, 2 skipped in 77.51 seconds ===================== ++ 02:52:36 starting module/cpyext/test/test_ndarrayobject.py [81 started in total] __ module/cpyext/test/test_ndarrayobject.py [78 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.55 seconds =========================== ++ 02:52:48 starting module/cpyext/test/test_number.py [82 started in total] __ module/cpyext/test/test_namespaceobject.py [79 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/cpyext/test/test_namespaceobject.py . ========================== 1 passed in 37.40 seconds =========================== ++ 02:53:09 starting module/cpyext/test/test_object.py [83 started in total] __ module/cpyext/test/test_module.py [80 done in total, somefailed=False] _____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items module/cpyext/test/test_module.py ......................... ========================== 25 passed in 82.24 seconds ========================== ++ 02:53:11 starting module/cpyext/test/test_pyerrors.py [84 started in total] __ module/cpyext/test/test_methodobject.py [81 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items module/cpyext/test/test_methodobject.py ............... ========================= 15 passed in 137.10 seconds ========================== ++ 02:53:49 starting module/cpyext/test/test_pyfile.py [85 started in total] __ module/cpyext/test/test_number.py [82 done in total, somefailed=False] _____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items module/cpyext/test/test_number.py ....... ========================== 7 passed in 47.08 seconds =========================== ++ 02:53:54 starting module/cpyext/test/test_pymem.py [86 started in total] __ module/cpyext/test/test_pymem.py [83 done in total, somefailed=False] ______ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/cpyext/test/test_pymem.py . ========================== 1 passed in 38.32 seconds =========================== ++ 02:54:45 starting module/cpyext/test/test_pysignals.py [87 started in total] __ module/cpyext/test/test_pyfile.py [84 done in total, somefailed=False] _____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items module/cpyext/test/test_pyfile.py ...x... ===================== 6 passed, 1 xfailed in 43.50 seconds ===================== ++ 02:54:48 starting module/cpyext/test/test_pystate.py [88 started in total] __ module/cpyext/test/test_object.py [85 done in total, somefailed=False] _____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 41 items module/cpyext/test/test_object.py .......................s................. ==================== 40 passed, 1 skipped in 123.76 seconds ==================== ++ 02:55:26 starting module/cpyext/test/test_pystrhex.py [89 started in total] __ module/cpyext/test/test_pyerrors.py [86 done in total, somefailed=False] ___ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 36 items module/cpyext/test/test_pyerrors.py ........s........s........s...s..... ==================== 32 passed, 4 skipped in 129.97 seconds ==================== ++ 02:55:36 starting module/cpyext/test/test_pystrtod.py [90 started in total] __ module/cpyext/test/test_pysignals.py [87 done in total, somefailed=False] __ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/cpyext/test/test_pysignals.py . ========================== 1 passed in 35.14 seconds =========================== ++ 02:55:37 starting module/cpyext/test/test_sequence.py [91 started in total] __ module/cpyext/test/test_pystate.py [88 done in total, somefailed=False] ____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module/cpyext/test/test_pystate.py ....x.....sx.. =============== 11 passed, 1 skipped, 2 xfailed in 55.94 seconds =============== ++ 02:56:00 starting module/cpyext/test/test_setobject.py [92 started in total] __ module/cpyext/test/test_pystrhex.py [89 done in total, somefailed=False] ___ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/cpyext/test/test_pystrhex.py . ========================== 1 passed in 35.27 seconds =========================== ++ 02:56:18 starting module/cpyext/test/test_sliceobject.py [93 started in total] __ module/cpyext/test/test_pystrtod.py [90 done in total, somefailed=False] ___ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items module/cpyext/test/test_pystrtod.py .................... ========================== 20 passed in 66.08 seconds ========================== ++ 02:56:56 starting module/cpyext/test/test_structseq.py [94 started in total] __ module/cpyext/test/test_setobject.py [91 done in total, somefailed=False] __ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items module/cpyext/test/test_setobject.py ......... ========================== 9 passed in 52.73 seconds =========================== ++ 02:57:06 starting module/cpyext/test/test_sysmodule.py [95 started in total] __ module/cpyext/test/test_sequence.py [92 done in total, somefailed=False] ___ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items module/cpyext/test/test_sequence.py ....................... ========================== 23 passed in 79.16 seconds ========================== ++ 02:57:11 starting module/cpyext/test/test_thread.py [96 started in total] __ module/cpyext/test/test_sliceobject.py [93 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items module/cpyext/test/test_sliceobject.py ........ ========================== 8 passed in 47.09 seconds =========================== ++ 02:57:16 starting module/cpyext/test/test_traceback.py [97 started in total] __ module/cpyext/test/test_structseq.py [94 done in total, somefailed=False] __ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/cpyext/test/test_structseq.py . ========================== 1 passed in 35.09 seconds =========================== ++ 02:57:47 starting module/cpyext/test/test_translate.py [98 started in total] __ module/cpyext/test/test_traceback.py [95 done in total, somefailed=False] __ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/cpyext/test/test_traceback.py . ========================== 1 passed in 27.68 seconds =========================== ++ 02:58:00 starting module/cpyext/test/test_tupleobject.py [99 started in total] __ module/cpyext/test/test_translate.py [96 done in total, somefailed=False] __ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/cpyext/test/test_translate.py . =========================== 1 passed in 4.58 seconds =========================== ++ 02:58:04 starting module/cpyext/test/test_typedeallocate.py [100 started in total] __ module/cpyext/test/test_sysmodule.py [97 done in total, somefailed=False] __ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module/cpyext/test/test_sysmodule.py ... ========================== 3 passed in 42.03 seconds =========================== ++ 02:58:05 starting module/cpyext/test/test_typeobject.py [101 started in total] __ module/cpyext/test/test_thread.py [98 done in total, somefailed=False] _____ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module/cpyext/test/test_thread.py x...x. ===================== 4 passed, 2 xfailed in 68.13 seconds ===================== ++ 02:58:31 starting module/cpyext/test/test_unicodeobject.py [102 started in total] __ module/cpyext/test/test_tupleobject.py [99 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items module/cpyext/test/test_tupleobject.py .......... ========================== 10 passed in 59.61 seconds ========================== ++ 02:59:13 starting module/cpyext/test/test_userslots.py [103 started in total] __ module/cpyext/test/test_typedeallocate.py [100 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module/cpyext/test/test_typedeallocate.py ..s.. ===================== 4 passed, 1 skipped in 70.05 seconds ===================== ++ 02:59:32 starting module/cpyext/test/test_version.py [104 started in total] __ module/cpyext/test/test_version.py [101 done in total, somefailed=False] ___ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module/cpyext/test/test_version.py ... ========================== 3 passed in 41.14 seconds =========================== ++ 03:00:30 starting module/cpyext/test/test_weakref.py [105 started in total] __ module/cpyext/test/test_userslots.py [102 done in total, somefailed=False] _ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items module/cpyext/test/test_userslots.py ....... ========================== 7 passed in 60.78 seconds =========================== called power ++ 03:00:33 starting module/crypt/test [106 started in total] __ module/crypt/test [103 done in total, somefailed=False] ____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/crypt/test/test_crypt.py . ========================== 1 passed in 34.69 seconds =========================== ++ 03:01:11 starting module/errno/test [107 started in total] __ module/errno/test [104 done in total, somefailed=False] ____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module/errno/test/test_errno.py ... =========================== 3 passed in 8.71 seconds =========================== ++ 03:01:21 starting module/exceptions/test [108 started in total] __ module/cpyext/test/test_weakref.py [105 done in total, somefailed=False] ___ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module/cpyext/test/test_weakref.py ..... ========================== 5 passed in 54.32 seconds =========================== ++ 03:01:36 starting module/faulthandler/test [109 started in total] __ module/faulthandler/test [106 done in total, somefailed=False] _____________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module/faulthandler/test/test_faulthander.py .. module/faulthandler/test/test_ztranslation.py . ========================== 3 passed in 24.95 seconds =========================== ++ 03:02:04 starting module/fcntl/test [110 started in total] __ module/exceptions/test [107 done in total, somefailed=False] _______________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 108 items module/exceptions/test/apptest_exceptions.py ............................................................ module/exceptions/test/test_exc.py ........s....................................... ==================== 107 passed, 1 skipped in 54.10 seconds ==================== ++ 03:02:20 starting module/gc/test [111 started in total] __ module/fcntl/test [108 done in total, somefailed=False] ____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module/fcntl/test/apptest_fcntl.py ..sss. module/fcntl/test/test_fcntl.py ........ ==================== 11 passed, 3 skipped in 36.09 seconds ===================== ++ 03:02:42 starting module/imp/test [112 started in total] __ module/cpyext/test/test_unicodeobject.py [109 done in total, somefailed=False] ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 63 items module/cpyext/test/test_unicodeobject.py ........................................ss..................... ==================== 61 passed, 2 skipped in 233.60 seconds ==================== ++ 03:02:44 starting module/itertools/test [113 started in total] __ module/cpyext/test/test_typeobject.py [110 done in total, somefailed=True] _ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 69 items module/cpyext/test/test_typeobject.py ...................s.....................................F.s......... =================================== FAILURES =================================== ______________________ AppTestSlots.test_managed_weakref _______________________ self = <CallInfo when='call' exception: <C object Array of void {'nolength': True, 'render_as_void': True} at 0xc43ea50>> func = <function <lambda> at 0x131bfd50>, when = 'call' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ../_pytest/runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ../_pytest/runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_call'> kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_managed_weakref'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_managed_weakref'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ../_pytest/vendored_packages/pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0xf441adb0> hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0d57d9a0>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_managed_weakref'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_managed_weakref'>} 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.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0d57d9a0>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_managed_weakref'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_managed_weakref'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ../_pytest/vendored_packages/pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_managed_weakref'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ../_pytest/vendored_packages/pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0db84a78> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ed_weakref'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ../_pytest/vendored_packages/pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0c6ce0c4> def get_result(self): 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.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0c6ce0c4> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ed_weakref'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ../_pytest/vendored_packages/pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_managed_weakref'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ../_pytest/vendored_packages/pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0db84190> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ed_weakref'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ../_pytest/vendored_packages/pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0c6ce0a0> def get_result(self): 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.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0c6ce0a0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ed_weakref'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ../_pytest/vendored_packages/pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_managed_weakref'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ../_pytest/vendored_packages/pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <AppTestMethod 'test_managed_weakref'> def pytest_runtest_call(item): try: > item.runtest() ../_pytest/runner.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_managed_weakref'> def runtest(self): target = self.obj src = extract_docstring_if_empty_function(target.im_func) space = target.im_self.space if self.config.option.runappdirect: appexec_definitions = self.parent.obj.__dict__ spaceconfig = getattr(self.parent.obj, 'spaceconfig', None) usemodules = spaceconfig.get('usemodules') if spaceconfig else None return run_with_python(self.config.option.python, src, usemodules, **appexec_definitions) filename = self._getdynfilename(target) func = app2interp_temp(src, filename=filename) w_instance = self.parent.w_instance > self.execute_appex(space, func, space, w_instance) tool/pytest/apptest.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_managed_weakref'>, space = StdObjSpace target = <function test_managed_weakref at 0x131bfd90> args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0e197f10>) def execute_appex(self, space, target, *args): self.space = space space.getexecutioncontext().set_sys_exc_info(None) try: > target(*args) tool/pytest/apptest.py:267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0e197f10>,) w_func = <Function test_managed_weakref> args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0e197f10> 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:1409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function test_managed_weakref> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0e197f10>,) 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): if nargs < 4: func = w_func.w_function if isinstance(func, Function): return func.funccall(w_func.w_instance, *args_w) if isinstance(w_func, Function): > return w_func.funccall(*args_w) interpreter/baseobjspace.py:1245: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function test_managed_weakref> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0e197f10>,) gateway = <module 'pypy.interpreter.gateway' from '/buildbot/slave/own-linux-x86-32/build/pypy/interpreter/gateway.pyc'> PyCode = <class 'pypy.interpreter.pycode.PyCode'> code = <code object test_managed_weakref, file "[/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", 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(self.name, self.qualname) interpreter/function.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_managed_...-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", line 1> at line 29 name = 'test_managed_weakref', qualname = 'test_managed_weakref' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter/pyframe.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_managed_...-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", line 1> at line 29 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # 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) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: 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:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_managed_...-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", line 1> at line 29 e = KeyError(<C object Array of void {'nolength': True, 'render_as_void': True} at 0xc43ea50>,) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter/pyframe.py:845: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_managed_...-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", line 1> at line 29 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # 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) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter/pyframe.py:350: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_managed_...-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", line 1> at line 29 pycode = <code object test_managed_weakref, file "[/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", line 1> next_instr = 64 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0b4e54b0> 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: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter/pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_managed_...-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", line 1> at line 29 co_code = 'd\x01d\x00l\x00}\x01|\x00\xa0\x01d\x02d\x03g\x01d\x04d\x05\xcc\x03}\x02|\x02\xa0\x02\xa1\x00}\x03|\x03\x83\x00}\x04|\...00d\x00u\x00s,J\x00\x82\x01d\x00S\x00\x04|\x00\xa0\x04\xa1\x00\x01\x00|\x05\x83\x00d\x00u\x00s,J\x00\x82\x01d\x00S\x00' next_instr = 64 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0b4e54b0> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter/pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_managed_...-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", line 1> at line 29 co_code = 'd\x01d\x00l\x00}\x01|\x00\xa0\x01d\x02d\x03g\x01d\x04d\x05\xcc\x03}\x02|\x02\xa0\x02\xa1\x00}\x03|\x03\x83\x00}\x04|\...00d\x00u\x00s,J\x00\x82\x01d\x00S\x00\x04|\x00\xa0\x04\xa1\x00\x01\x00|\x05\x83\x00d\x00u\x00s,J\x00\x82\x01d\x00S\x00' next_instr = 72 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0b4e54b0> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(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: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(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_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(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_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(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_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: > self.CALL_METHOD(oparg, next_instr) interpreter/pyopcode.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_managed_...-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", line 1> at line 29 oparg = 0, ignored = (72,), n_args = 0, w_self = None, n = 0 @jit.unroll_safe def CALL_METHOD(f, oparg, *ignored): # opargs contains the arg, and kwarg count, excluding the implicit 'self' n_args = oparg w_self = f.peekvalue_maybe_none(n_args) n = n_args + (w_self is not None) w_callable = f.peekvalue(n_args + 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:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <FunctionWithFixedCode debug_collect>, nargs = 0 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_managed_...-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", line 1> at line 29 dropvalues = 2, 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, w_function=w_func) 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): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True 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:1272: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode debug_collect>, nargs = 0 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_managed_...-32/build/pypy/module/cpyext/test/test_typeobject.py:2659]", line 1> at line 29 dropvalues = 2, 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) interpreter/function.py:158: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode0 object at 0x0d1793b0> space = StdObjSpace, w_func = <FunctionWithFixedCode debug_collect> def fastcall_0(self, space, w_func): try: w_result = self.fastfunc_0(space) except DescrMismatch: raise oefmt(space.w_SystemError, "unexpected DescrMismatch error") except Exception as e: > self.handle_exception(space, e) interpreter/gateway.py:958: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode0 object at 0x0d1793b0> space = StdObjSpace e = KeyError(<C object Array of void {'nolength': True, 'render_as_void': True} at 0xc43ea50>,) 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:908: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode0 object at 0x0d1793b0> space = StdObjSpace, w_func = <FunctionWithFixedCode debug_collect> def fastcall_0(self, space, w_func): try: > w_result = self.fastfunc_0(space) interpreter/gateway.py:954: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace def debug_collect(space): rawrefcount._collect() space.user_del_action._run_finalizers() > rawrefcount._collect() module/cpyext/test/test_cpyext.py:248: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ track_allocation = True @not_rpython def _collect(track_allocation=True): """for tests only. Emulates a GC collection. Will invoke dealloc_trigger_callback() once if there are objects whose _Py_Dealloc() should be called. """ def detach(ob, wr_list): assert ob.c_ob_refcnt >= REFCNT_FROM_PYPY assert ob.c_ob_pypy_link p = _adr2pypy[ob.c_ob_pypy_link] assert p is not None _adr2pypy[ob.c_ob_pypy_link] = None wr_list.append((ob, weakref.ref(p))) return p global _p_list, _o_list wr_p_list = [] new_p_list = [] for ob in reversed(_p_list): if ob.c_ob_refcnt == _Py_IMMORTAL_REFCNT: _immortal_not_supported() new_p_list.append(ob) elif ob.c_ob_refcnt not in (REFCNT_FROM_PYPY, REFCNT_FROM_PYPY_LIGHT): new_p_list.append(ob) else: p = detach(ob, wr_p_list) ob_test = _pypy2ob.pop(p) p_test = _pypy2ob_rev.pop(ob_test._obj) assert p_test is p del p, p_test ob = None _p_list = Ellipsis wr_o_list = [] new_o_list = [] for ob in reversed(_o_list): if ob.c_ob_refcnt == _Py_IMMORTAL_REFCNT: _immortal_not_supported() new_o_list.append(ob) else: detach(ob, wr_o_list) _o_list = Ellipsis rgc.collect() # forces the cycles to be resolved and the weakrefs to die rgc.collect() rgc.collect() def attach(ob, wr, final_list): assert ob.c_ob_refcnt >= REFCNT_FROM_PYPY p = wr() if p is not None: assert ob.c_ob_pypy_link _adr2pypy[ob.c_ob_pypy_link] = p final_list.append(ob) return p else: ob.c_ob_pypy_link = 0 if ob.c_ob_refcnt >= REFCNT_FROM_PYPY_LIGHT: ob.c_ob_refcnt -= REFCNT_FROM_PYPY_LIGHT ob.c_ob_pypy_link = 0 if ob.c_ob_refcnt == 0: lltype.free(ob, flavor='raw', track_allocation=track_allocation) else: assert ob.c_ob_refcnt >= REFCNT_FROM_PYPY assert ob.c_ob_refcnt < int(REFCNT_FROM_PYPY_LIGHT * 0.99) ob.c_ob_refcnt -= REFCNT_FROM_PYPY ob.c_ob_pypy_link = 0 if ob.c_ob_refcnt == 0: ob.c_ob_refcnt = 1 _d_list.append(ob) return None _p_list = new_p_list for ob, wr in wr_p_list: p = attach(ob, wr, _p_list) if p is not None: _pypy2ob[p] = ob _pypy2ob_rev.clear() # rebuild this dict from scratch for p, ob in _pypy2ob.items(): assert ob._obj not in _pypy2ob_rev _pypy2ob_rev[ob._obj] = p _o_list = [] for ob, wr in wr_o_list: attach(ob, wr, _o_list) if _d_list: > res = _dealloc_trigger_callback() ../rpython/rlib/rawrefcount.py:202: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def dealloc_trigger(): from pypy.module.cpyext.pyobject import PyObject, decref print 'dealloc_trigger...' while True: ob = rawrefcount.next_dead(PyObject) if not ob: break print 'deallocating PyObject', ob > decref(space, ob) module/cpyext/state.py:96: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace pyobj = <* <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0xc43ea50>> @specialize.ll() def decref(space, pyobj): from pypy.module.cpyext.api import generic_cpy_call assert is_pyobj(pyobj) pyobj = rffi.cast(PyObject, pyobj) if pyobj: if pyobj.c_ob_refcnt == _Py_IMMORTAL_REFCNT: return assert pyobj.c_ob_refcnt > 0 assert (pyobj.c_ob_pypy_link == 0 or pyobj.c_ob_refcnt > rawrefcount.REFCNT_FROM_PYPY) pyobj.c_ob_refcnt -= 1 if pyobj.c_ob_refcnt == 0: state = space.fromcache(State) > generic_cpy_call(space, state.C._Py_Dealloc, pyobj) module/cpyext/pyobject.py:476: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, func = <* fn _cpyexttest_Dealloc> args = (<* <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0xc43ea50>>,) FT = <Func ( * Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } ) -> Void> @specialize.ll() def generic_cpy_call(space, func, *args): FT = lltype.typeOf(func).TO > return make_generic_cpy_call(FT, False, True)(space, func, *args) module/cpyext/api.py:1974: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, func = <* fn _cpyexttest_Dealloc> args = (<* <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0xc43ea50>>,) boxed_args = (<* <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0xc43ea50>>,) to_decref = (None,), i = 0 @specialize.ll() def generic_cpy_call(space, func, *args): boxed_args = () to_decref = () assert len(args) == len(FT.ARGS) for i, ARG in unrolling_arg_types: arg = args[i] _pyobj = None if is_PyObject(ARG): if not is_pyobj(arg): arg = make_ref(space, arg) _pyobj = arg boxed_args += (arg,) to_decref += (_pyobj,) if is_PyObject(RESULT_TYPE): preexist_error = PyErr_Occurred(space) else: preexist_error = "this is not used" try: # Call the function > result = call_external_function(func, *boxed_args) module/cpyext/api.py:2034: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ funcptr = <* fn _cpyexttest_Dealloc> a0 = <* <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0xc43ea50>> def cpy_call_external(funcptr, a0): # NB. it is essential that no exception checking occurs here! > res = funcptr(a0) <4270-codegen /buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/api.py:2006>:4: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <* fn _cpyexttest_Dealloc> args = (<* <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0xc43ea50>>,) rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/rffi.pyc'> i = 0 a = <* <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0xc43ea50>> 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 0x0c03a870> argvalues = (<* <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0xc43ea50>>,) 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: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cargs = (<_ctypes.pointer.LP_ctypes_Array of void {'nolength': True, 'render_as_void': True} *0 object at 0x0d6d2ad0>,) sys = <module 'sys' (built-in)>, _callable = <function _PyPy_Free at 0x0d7f56d0> def callback(*cargs): try: > return callback_internal(*cargs) ../rpython/rtyper/lltypesystem/ll2ctypes.py:895: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cargs = [<_ctypes.pointer.LP_ctypes_Array of void {'nolength': True, 'render_as_void': True} *0 object at 0x0d6d2ad0>] llargs = [<* <C object Array of void {'nolength': True, 'render_as_void': True} at 0xc43ea50>>] ARG = <* Array of void {'nolength': True, 'render_as_void': True} > def callback_internal(*cargs): cargs = list(cargs) for v1 in v1voidlist: cargs.insert(v1[0], v1[1]) assert len(cargs) == len(T.TO.ARGS) llargs = [] for ARG, carg in zip(T.TO.ARGS, cargs): if ARG is lltype.Void: llargs.append(carg) else: llargs.append(ctypes2lltype(ARG, carg)) if hasattr(container, 'graph'): if LLInterpreter.current_interpreter is None: raise AssertionError llinterp = LLInterpreter.current_interpreter try: llres = llinterp.eval_graph(container.graph, llargs) except LLException as lle: llinterp._store_exception(lle) return 0 #except: # import pdb # pdb.set_trace() else: try: > llres = container._callable(*llargs) ../rpython/rtyper/lltypesystem/ll2ctypes.py:872: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ptr = <* <C object Array of void {'nolength': True, 'render_as_void': True} at 0xc43ea50>> @c_only([rffi.VOIDP], lltype.Void) def _PyPy_Free(ptr): > lltype.free(ptr, flavor='raw') module/cpyext/object.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ p = <* <C object Array of void {'nolength': True, 'render_as_void': True} at 0xc43ea50>> flavor = 'raw', track_allocation = True def free(p, flavor, track_allocation=True): if flavor.startswith('gc'): raise TypeError("gc flavor free") T = typeOf(p) if not isinstance(T, Ptr) or p._togckind() != 'raw': raise TypeError("free(): only for pointers to non-gc containers") if track_allocation: > leakfinder.remember_free(p._obj0) ../rpython/rtyper/lltypesystem/lltype.py:2253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = <C object Array of void {'nolength': True, 'render_as_void': True} at 0xc43ea50> def remember_free(obj): if TRACK_ALLOCATIONS: # Fast path: id(obj) is stable even when the object's hash later # changes (e.g. when it is turned into a <C object> by ll2ctypes), if id(obj) in ALLOCATED: del ALLOCATED[id(obj)] return # Slow path: the object may be freed through a different wrapper of # the same allocation than the one that was remembered (e.g. a # render_as_const cast in cpyext). Fall back to an equality scan. for key, (o, tb) in ALLOCATED.items(): try: match = o is obj or o == obj except Exception: # comparing against an already-freed container raises at the # Python level (never a C dereference); treat as no match. match = False if match: del ALLOCATED[key] return > raise KeyError(obj) E KeyError: <C object Array of void {'nolength': True, 'render_as_void': True} at 0xc43ea50> ../rpython/tool/leakfinder.py:95: KeyError ----------------------------- Captured stdout call ----------------------------- dealloc_trigger... deallocating PyObject * <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0xc43ea50> ----------------------------- Captured stderr call ----------------------------- <function PyModule_Create2 at 0x0d7d99d0> DONE <function PyType_FromSpecWithBases at 0x0d2aeb50> DONE File "/opt/pypy2.7-v7.3.22-linux32/lib_pypy/_ctypes/function.py", line 283, in f return to_call(*args) File "/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 895, in callback return callback_internal(*cargs) File "/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 872, in callback_internal llres = container._callable(*llargs) File "/buildbot/slave/own-linux-x86-32/build/pypy/module/cpyext/object.py", line 46, in _PyPy_Free lltype.free(ptr, flavor='raw') File "/buildbot/slave/own-linux-x86-32/build/rpython/rtyper/lltypesystem/lltype.py", line 2253, in free leakfinder.remember_free(p._obj0) File "/buildbot/slave/own-linux-x86-32/build/rpython/tool/leakfinder.py", line 95, in remember_free raise KeyError(obj) KeyError: <C object Array of void {'nolength': True, 'render_as_void': True} at 0xc43ea50> =========================== short test summary info ============================ FAIL module/cpyext/test/test_typeobject.py::AppTestSlots::()::test_managed_weakref =============== 1 failed, 66 passed, 2 skipped in 271.62 seconds =============== ++ 03:02:46 starting module/marshal/test [114 started in total] __ module/gc/test [111 done in total, somefailed=False] _______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 30 items module/gc/test/test_app_referents.py .... module/gc/test/test_gc.py .....x... module/gc/test/test_hook.py ........ module/gc/test/test_referents.py ...s.... module/gc/test/test_ztranslation.py . =============== 28 passed, 1 skipped, 1 xfailed in 40.22 seconds =============== ++ 03:03:04 starting module/math/test [115 started in total] __ module/marshal/test [112 done in total, somefailed=False] __________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 51 items module/marshal/test/apptest_marshal.py ............................................... module/marshal/test/test_marshal.py . module/marshal/test/test_marshalimpl.py ... ========================== 51 passed in 21.38 seconds ========================== ++ 03:03:10 starting module/micronumpy/test [116 started in total] __ module/micronumpy/test [113 done in total, somefailed=False] _______________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.01 seconds ========================= ++ 03:03:13 starting module/mmap/test [117 started in total] __ module/mmap/test [114 done in total, somefailed=False] _____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 46 items module/mmap/test/test_mmap.py ......................s...........ss.......... ==================== 43 passed, 3 skipped in 26.97 seconds ===================== ++ 03:03:41 starting module/operator/test [118 started in total] __ module/math/test [115 done in total, somefailed=False] _____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 210 items module/math/test/apptest_math.py ...........ss module/math/test/test_direct.py ...................................................................................................................................................................... module/math/test/test_math.py ............s.................. ==================== 207 passed, 3 skipped in 36.87 seconds ==================== ++ 03:03:42 starting module/posix/test [119 started in total] __ module/operator/test [116 done in total, somefailed=False] _________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 28 items module/operator/test/test_operator.py ........................ module/operator/test/test_tscmp.py .... ========================== 28 passed in 33.18 seconds ========================== ++ 03:04:19 starting module/pwd/test [120 started in total] __ module/itertools/test [117 done in total, somefailed=False] ________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 93 items module/itertools/test/apptest_itertools.py .......... module/itertools/test/test_itertools.py .................................................................................. module/itertools/test/test_ztranslation.py . ========================== 93 passed in 95.28 seconds ========================== ++ 03:04:26 starting module/pyexpat/test [121 started in total] __ module/imp/test [118 done in total, somefailed=False] ______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 115 items module/imp/test/test_app.py ...................... module/imp/test/test_import.py ..........................s.................................................s................ =================== 113 passed, 2 skipped in 131.12 seconds ==================== ++ 03:04:59 starting module/pypyjit/test [122 started in total] __ module/pwd/test [119 done in total, somefailed=False] ______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module/pwd/test/test_pwd.py .... module/pwd/test/test_ztranslation.py . ========================== 5 passed in 39.58 seconds =========================== ++ 03:05:03 starting module/select/test [123 started in total] __ module/pyexpat/test [120 done in total, somefailed=False] __________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items module/pyexpat/test/apptest_pyexpat.py ... module/pyexpat/test/test_build.py . module/pyexpat/test/test_parser.py ................. ========================== 21 passed in 40.64 seconds ========================== ++ 03:05:10 starting module/signal/test [124 started in total] __ module/posix/test [121 done in total, somefailed=False] ____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 180 items / 2 skipped module/posix/test/apptest_posix.py .... module/posix/test/test_interp_posix.py .... module/posix/test/test_posix2.py ....................................................................s.................s......s.................ss..ss.......................ssss........ module/posix/test/test_scandir.py .................... =================== 169 passed, 13 skipped in 123.59 seconds =================== ++ 03:05:52 starting module/struct/test [125 started in total] __ module/pypyjit/test [122 done in total, somefailed=False] __________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 29 items module/pypyjit/test/test_jit_hook.py ........s module/pypyjit/test/test_jit_not_in_trace.py .. module/pypyjit/test/test_jit_setup.py .... module/pypyjit/test/test_policy.py ............ module/pypyjit/test/test_pyframe.py . module/pypyjit/test/test_ztranslation.py . ==================== 28 passed, 1 skipped in 52.23 seconds ===================== ++ 03:05:58 starting module/sys/test [126 started in total] __ module/select/test [123 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 46 items module/select/test/test_epoll.py .......... module/select/test/test_kqueue.py ssssss module/select/test/test_select.py ............................ module/select/test/test_select_signal.py . module/select/test/test_ztranslation.py . ==================== 40 passed, 6 skipped in 74.13 seconds ===================== ++ 03:06:23 starting module/termios/test [127 started in total] __ module/signal/test [124 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 27 items module/signal/test/apptest_signal.py . module/signal/test/test_signal.py .......................... ========================== 27 passed in 73.56 seconds ========================== ++ 03:06:30 starting module/test_lib_pypy [128 started in total] __ module/struct/test [125 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 52 items module/struct/test/apptest_struct.py .......................................... module/struct/test/apptest_structbuffer.py .. module/struct/test/test_struct.py ....... module/struct/test/test_ztranslation.py . ========================== 52 passed in 50.18 seconds ========================== ++ 03:06:44 starting module/thread/test [129 started in total] __ module/sys/test [126 done in total, somefailed=False] ______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 102 items module/sys/test/apptest_audit.py .......... module/sys/test/apptest_initpath.py . module/sys/test/apptest_sys.py . module/sys/test/test_encoding.py .. module/sys/test/test_initpath.py .......... module/sys/test/test_sysmodule.py ..............................................s........................ module/sys/test/test_version.py ....... ==================== 101 passed, 1 skipped in 51.28 seconds ==================== ++ 03:06:56 starting module/time/test [130 started in total] __ module/test_lib_pypy [127 done in total, somefailed=False] _________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 238 items / 5 skipped module/test_lib_pypy/test_code_module.py ... module/test_lib_pypy/test_collections.py ..................... module/test_lib_pypy/test_marshal_extra.py ....................................................................................................................................................... module/test_lib_pypy/test_md5_extra.py ...... module/test_lib_pypy/test_pickle_extra.py s module/test_lib_pypy/test_sha_extra.py ..... module/test_lib_pypy/test_site_extra.py . module/test_lib_pypy/test_stackless.py .............................. module/test_lib_pypy/test_stackless_pickling.py .. module/test_lib_pypy/test_structseq.py ........... module/test_lib_pypy/test_tputil.py ..s.... ==================== 236 passed, 7 skipped in 82.41 seconds ==================== ++ 03:07:57 starting module/token/test [131 started in total] __ module/token/test [128 done in total, somefailed=False] ____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items module/token/test/apptest_token.py ........ ========================== 8 passed in 11.56 seconds =========================== ++ 03:08:10 starting module/unicodedata/test [132 started in total] __ module/time/test [129 done in total, somefailed=False] _____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 43 items module/time/test/apptest_time.py ........................s................ module/time/test/test_timeutils.py . module/time/test/test_ztranslation.py . ==================== 42 passed, 1 skipped in 84.34 seconds ===================== ++ 03:08:24 starting module/zipimport/test [133 started in total] __ module/zipimport/test [130 done in total, somefailed=False] ________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module/zipimport/test/apptest_zipimport.py . =========================== 1 passed in 8.30 seconds =========================== ++ 03:08:34 starting module/zlib/test [134 started in total] __ module/unicodedata/test [131 done in total, somefailed=False] ______________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 35 items module/unicodedata/test/test_hyp.py ................ module/unicodedata/test/test_unicodedata.py ................... ========================== 35 passed in 27.39 seconds ========================== ++ 03:08:42 starting objspace/fake/test [135 started in total] __ module/termios/test [132 done in total, somefailed=False] __________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items module/termios/test/test_termios.py .......... ========================= 10 passed in 143.45 seconds ========================== ++ 03:08:48 starting objspace/std/test [136 started in total] __ objspace/fake/test [133 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items objspace/fake/test/test_checkmodule.py ........ objspace/fake/test/test_objspace.py ............. ========================== 21 passed in 24.12 seconds ========================== ++ 03:09:10 starting objspace/test [137 started in total] __ module/zlib/test [134 done in total, somefailed=False] _____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 46 items module/zlib/test/test_zlib.py ...............................s..s........... ==================== 44 passed, 2 skipped in 37.64 seconds ===================== ++ 03:09:18 starting sandbox/test [138 started in total] __ objspace/test [135 done in total, somefailed=False] ________________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 75 items objspace/test/apptest_binop_overriding.py . objspace/test/apptest_descriptor.py ....s.... objspace/test/apptest_descroperation.py ................s...................................... objspace/test/test_descroperation.py .......... ==================== 73 passed, 2 skipped in 17.13 seconds ===================== ++ 03:09:30 starting tool/bench/test [139 started in total] __ tool/bench/test [136 done in total, somefailed=False] ______________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items / 1 skipped tool/bench/test/test_pypyresult.py ... ===================== 3 passed, 1 skipped in 1.33 seconds ====================== ++ 03:09:33 starting tool/memusage/test [140 started in total] __ tool/memusage/test [137 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items tool/memusage/test/test_log2gnumeric.py ..... =========================== 5 passed in 1.30 seconds =========================== ++ 03:09:35 starting tool/pytest/fake_pytest/test [141 started in total] __ tool/pytest/fake_pytest/test [138 done in total, somefailed=False] _________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items tool/pytest/fake_pytest/test/apptest_fake_pytest.py . =========================== 1 passed in 8.64 seconds =========================== ++ 03:09:45 starting tool/pytest/test [142 started in total] __ sandbox/test [139 done in total, somefailed=False] _________________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items sandbox/test/test_pypy_interact.py . ========================== 1 passed in 24.36 seconds =========================== ++ 03:09:46 starting tool/release/test [143 started in total] __ tool/release/test [140 done in total, somefailed=False] ____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items tool/release/test/test_package.py ....s tool/release/test/test_smartstrip.py ... ===================== 7 passed, 1 skipped in 22.30 seconds ===================== ++ 03:10:10 starting tool/test [144 started in total] __ module/thread/test [141 done in total, somefailed=False] ___________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 56 items module/thread/test/test_fork.py s... module/thread/test/test_gil.py .... module/thread/test/test_import_lock.py ..... module/thread/test/test_local.py ....... module/thread/test/test_lock.py ..................... module/thread/test/test_thread.py ............... ==================== 55 passed, 1 skipped in 207.61 seconds ==================== __ tool/test [142 done in total, somefailed=False] ____________________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 29 items tool/test/test_gdb_pypy.py ........... tool/test/test_getdocstrings.py ... tool/test/test_isolate.py ....... tool/test/test_lib_pypy.py ... tool/test/test_license.py . tool/test/test_package.py . tool/test/test_tab.py .. tool/test/test_template.py . ========================== 29 passed in 10.06 seconds ========================== __ tool/pytest/test [143 done in total, somefailed=False] _____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items tool/pytest/test/test_appsupport.py ......... tool/pytest/test/test_astrewrite.py ..... tool/pytest/test/test_conftest1.py ...xx tool/pytest/test/test_pytestsupport.py ...... ==================== 23 passed, 2 xfailed in 115.88 seconds ==================== __ objspace/std/test [144 done in total, somefailed=False] ____________________ ============================= test session starts ============================== platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/buildbot/slave/own-linux-x86-32/build/pypy/.hypothesis/examples') pytest-2.9.2 from /buildbot/slave/own-linux-x86-32/build/pytest.pyc rootdir: /buildbot/slave/own-linux-x86-32/build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2213 items objspace/std/test/apptest_boolobject.py ......... objspace/std/test/apptest_callmethod.py .......... objspace/std/test/apptest_complexobject.py .................................... objspace/std/test/apptest_contains.py .. objspace/std/test/apptest_instmethobject.py ..... objspace/std/test/apptest_intobject.py .................................................. objspace/std/test/apptest_iterobject.py ..................... objspace/std/test/apptest_memoryobject.py ................... objspace/std/test/apptest_objectobject.py .. objspace/std/test/apptest_operation.py . objspace/std/test/apptest_sliceobject.py ......... objspace/std/test/apptest_specializedtuple.py ........................ objspace/std/test/apptest_stringformat.py .................s......s..................s........................ objspace/std/test/apptest_tuple.py ........................ objspace/std/test/apptest_typeobjject.py .................................................................................................. objspace/std/test/apptest_unicode.py ...................................................................................................................... objspace/std/test/apptest_userobject.py ........................ objspace/std/test/test_boolobject.py ....... objspace/std/test/test_bytearrayobject.py ...................................................................................... objspace/std/test/test_bytesobject.py ........................................................................................................ objspace/std/test/test_callmethod.py ... objspace/std/test/test_celldict.py .......................................... objspace/std/test/test_complexobject.py .... objspace/std/test/test_dictmultiobject.py .........s.s.........................................................s.........................................................s........................................................................... objspace/std/test/test_dictproxy.py ................ objspace/std/test/test_floatobject.py ...................................................... objspace/std/test/test_identitydict.py ..... objspace/std/test/test_identityset.py ....... objspace/std/test/test_index.py ................................... objspace/std/test/test_intobject.py ..........................s................................ objspace/std/test/test_iterobject.py .... objspace/std/test/test_jsondict.py .......... objspace/std/test/test_kwargsdict.py .................................... objspace/std/test/test_lengthhint.py ..................... objspace/std/test/test_listobject.py .................................................................................................................. objspace/std/test/test_liststrategies.py ...................................................................s.......................................s..s..s.......s.......s..... objspace/std/test/test_longobject.py ............................................s.. objspace/std/test/test_mapdict.py ........................s.ss..............................................................s....................................................... objspace/std/test/test_memoryobject.py ............................................. objspace/std/test/test_methodcache.py ....... objspace/std/test/test_newformat.py ...................................................s........... objspace/std/test/test_noneobject.py ... objspace/std/test/test_obj.py ....................................... objspace/std/test/test_prebuiltint.py ............. objspace/std/test/test_proxy.py ssssssssssss objspace/std/test/test_proxy_function.py ........ objspace/std/test/test_proxy_internals.py ....... objspace/std/test/test_proxy_iter.py . objspace/std/test/test_proxy_object.py .......... objspace/std/test/test_proxy_usercreated.py . objspace/std/test/test_random_attr.py s.... objspace/std/test/test_setobject.py ................................................................................................s objspace/std/test/test_setstrategies.py ....s...ss... objspace/std/test/test_sliceobject.py ..... objspace/std/test/test_smalllongobject.py ..........................s.........................................................s..................................s.................. objspace/std/test/test_specialisedtupleobject.py ....................ss.... objspace/std/test/test_stdobjspace.py s........ objspace/std/test/test_translate.py . objspace/std/test/test_typeobject.py ................... objspace/std/test/test_unicodeobject.py ................. objspace/std/test/test_userobject.py . objspace/std/test/test_versionedtype.py ............... ================== 2170 passed, 43 skipped in 286.61 seconds =================== program finished with exit code 1 elapsedTime=2603.386729