using config pypy/testrunner_cfg.py using config machine_cfg.py running 4 parallel test workers setting MAKEFLAGS to ' ' (space) -- translator/backendopt/test -- translator/c/test/test_backendoptimized.py -- translator/c/test/test_boehm.py -- translator/c/test/test_database.py -- translator/c/test/test_exception.py -- translator/c/test/test_extfunc.py -- translator/c/test/test_genc.py -- translator/c/test/test_lladdresses.py -- translator/c/test/test_llop.py -- translator/c/test/test_lltyped.py -- translator/c/test/test_math.py -- translator/c/test/test_newgc.py -- translator/c/test/test_refcount.py -- translator/c/test/test_rtagged.py -- translator/c/test/test_standalone.py -- translator/c/test/test_standalone_print_function.py -- translator/c/test/test_support.py -- translator/c/test/test_symbolic.py -- translator/c/test/test_typed.py -- translator/platform/arch/test -- translator/platform/test -- translator/sandbox/test -- translator/test -- translator/tool/test -- total: 24 to run ++ 03:27:06 starting translator/backendopt/test [1 started in total] ++ 03:27:06 starting translator/c/test/test_backendoptimized.py [2 started in total] ++ 03:27:06 starting translator/c/test/test_boehm.py [3 started in total] ++ 03:27:06 starting translator/c/test/test_database.py [4 started in total] __ translator/c/test/test_database.py [1 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items translator/c/test/test_database.py ................. ========================== 17 passed in 38.11 seconds ========================== ++ 03:27:51 starting translator/c/test/test_exception.py [5 started in total] __ translator/backendopt/test [2 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.py rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 184 items translator/backendopt/test/test_all.py ............ translator/backendopt/test/test_canraise.py ............ translator/backendopt/test/test_constfold.py ...................... translator/backendopt/test/test_finalizer.py ........ translator/backendopt/test/test_gilanalysis.py .... translator/backendopt/test/test_graphanalyze.py ... translator/backendopt/test/test_inline.py ............................... translator/backendopt/test/test_innerloop.py ... translator/backendopt/test/test_malloc.py .............s..s..s...s translator/backendopt/test/test_merge_if_blocks.py ......... translator/backendopt/test/test_removeassert.py ...... translator/backendopt/test/test_removenoops.py .... translator/backendopt/test/test_ssa.py .... translator/backendopt/test/test_storesink.py ............ translator/backendopt/test/test_support.py ...... translator/backendopt/test/test_writeanalyze.py ...............s........ =================== 179 passed, 5 skipped in 100.22 seconds ==================== ++ 03:28:49 starting translator/c/test/test_extfunc.py [6 started in total] __ translator/c/test/test_exception.py [3 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items translator/c/test/test_exception.py .......... ========================= 10 passed in 194.08 seconds ========================== ++ 03:31:10 starting translator/c/test/test_genc.py [7 started in total] __ translator/c/test/test_boehm.py [4 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items translator/c/test/test_boehm.py ................. ========================= 17 passed in 370.67 seconds ========================== ++ 03:33:19 starting translator/c/test/test_lladdresses.py [8 started in total] __ translator/c/test/test_lladdresses.py [5 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items translator/c/test/test_lladdresses.py ............s.... ==================== 16 passed, 1 skipped in 174.50 seconds ==================== ++ 03:36:16 starting translator/c/test/test_llop.py [9 started in total] __ translator/c/test/test_genc.py [6 done in total, somefailed=False] _________ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 33 items translator/c/test/test_genc.py ................................. ========================= 33 passed in 343.98 seconds ========================== ++ 03:37:01 starting translator/c/test/test_lltyped.py [10 started in total] __ translator/c/test/test_llop.py [7 done in total, somefailed=False] _________ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items translator/c/test/test_llop.py .... ========================== 4 passed in 105.15 seconds ========================== ++ 03:38:07 starting translator/c/test/test_math.py [11 started in total] __ translator/c/test/test_math.py [8 done in total, somefailed=False] _________ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items translator/c/test/test_math.py .. ========================== 2 passed in 69.16 seconds =========================== ++ 03:39:21 starting translator/c/test/test_newgc.py [12 started in total] __ translator/c/test/test_extfunc.py [9 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 58 items translator/c/test/test_extfunc.py .......s..s............................................... ==================== 56 passed, 2 skipped in 708.51 seconds ==================== ++ 03:40:44 starting translator/c/test/test_refcount.py [13 started in total] __ translator/c/test/test_refcount.py [10 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items translator/c/test/test_refcount.py .......... ========================= 10 passed in 122.60 seconds ========================== ++ 03:42:50 starting translator/c/test/test_rtagged.py [14 started in total] __ translator/c/test/test_rtagged.py [11 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items translator/c/test/test_rtagged.py .. ========================== 2 passed in 11.20 seconds =========================== ++ 03:43:05 starting translator/c/test/test_standalone.py [15 started in total] __ translator/c/test/test_lltyped.py [12 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 51 items translator/c/test/test_lltyped.py ..................s...............s................ ==================== 49 passed, 2 skipped in 508.37 seconds ==================== ++ 03:45:39 starting translator/c/test/test_standalone_print_function.py [16 started in total] __ translator/c/test/test_standalone_print_function.py [13 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items translator/c/test/test_standalone_print_function.py . ========================== 1 passed in 16.27 seconds =========================== ++ 03:46:00 starting translator/c/test/test_support.py [17 started in total] __ translator/c/test/test_support.py [14 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 107 items translator/c/test/test_support.py ........................................................................................................... ========================== 107 passed in 0.41 seconds ========================== ++ 03:46:02 starting translator/c/test/test_symbolic.py [18 started in total] __ translator/c/test/test_backendoptimized.py [15 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 90 items translator/c/test/test_backendoptimized.py .......................................................................................... ========================= 90 passed in 1131.61 seconds ========================= ++ 03:46:03 starting translator/c/test/test_typed.py [19 started in total] __ translator/c/test/test_symbolic.py [16 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items translator/c/test/test_symbolic.py ....... ========================== 7 passed in 52.34 seconds =========================== ++ 03:47:02 starting translator/platform/arch/test [20 started in total] __ translator/platform/arch/test [17 done in total, somefailed=False] _________ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.01 seconds =========================== ++ 03:47:03 starting translator/platform/test [21 started in total] __ translator/c/test/test_newgc.py [18 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 264 items translator/c/test/test_newgc.py .........................................................s...........................................................s...s..s....s.........................................................s.............................................................s...s..s....s.. =================== 254 passed, 10 skipped in 491.54 seconds =================== ++ 03:47:38 starting translator/sandbox/test [22 started in total] __ translator/platform/test [19 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 18 items / 2 skipped translator/platform/test/test_makefile.py ...s translator/platform/test/test_platform.py .......... translator/platform/test/test_posix.py .... ==================== 17 passed, 3 skipped in 55.31 seconds ===================== ++ 03:48:03 starting translator/test [23 started in total] __ translator/test [20 done in total, somefailed=False] _______________________ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 75 items translator/test/test_driver.py ..... translator/test/test_exceptiontransform.py .........s...... translator/test/test_interactive.py ....... translator/test/test_simplify.py ............................. translator/test/test_stackcheck.py ... translator/test/test_timing.py . translator/test/test_translator.py ...... translator/test/test_uniquename.py . translator/test/test_unsimplify.py ....... ==================== 74 passed, 1 skipped in 144.48 seconds ==================== ++ 03:50:30 starting translator/tool/test [24 started in total] __ translator/tool/test [21 done in total, somefailed=False] __________________ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items translator/tool/test/test_cbuild.py ......s... translator/tool/test/test_staticsizereport.py .. translator/tool/test/test_taskengine.py ... ==================== 14 passed, 1 skipped in 48.99 seconds ===================== __ translator/c/test/test_standalone.py [22 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 43 items translator/c/test/test_standalone.py ...s..............s......s..........s.....s ==================== 38 passed, 5 skipped in 525.63 seconds ==================== __ translator/sandbox/test [23 done in total, somefailed=True] ________________ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 30 items translator/sandbox/test/test_sandbox.py ..........s.s.... translator/sandbox/test/test_sandlib.py .s.F..... translator/sandbox/test/test_vfs.py .... =================================== FAILURES =================================== ________________________________ test_socketio _________________________________ def test_socketio(): class SocketProc(VirtualizedSocketProc, SimpleIOSandboxedProc): def build_virtual_root(self): pass def entry_point(argv): fd = os.open("tcp://python.org:80", os.O_RDONLY, 0777) os.write(fd, 'GET /\n') print os.read(fd, 50) return 0 exe = compile(entry_point) proc = SocketProc([exe]) > output, error = proc.communicate("") translator/sandbox/test/test_sandlib.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/sandbox/sandlib.py:307: in communicate self.handle_forever() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def handle_forever(self): returncode = self.handle_until_return() if returncode != 0: raise OSError("the sandboxed subprocess exited with code %d" % ( > returncode,)) E OSError: the sandboxed subprocess exited with code -6 translator/sandbox/sandlib.py:220: OSError ----------------------------- Captured stdout call ----------------------------- in get_rpath_flags, rel_libdirs is not fixed up ['/usr/local/lib'] ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.sandbox.test.test_sandlib:108)entry_point [translation:info] Annotating&simplifying... [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_read [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:1476)scoped_alloc_buffer.str [flowgraph] (?:2)str_from_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:988)str_from_buffer [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [translation:info] RTyping... [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.translator.sandbox.rsandbox:157)sandboxed_ll_os.ll_os_open [flowgraph] (rpython.translator.sandbox.rsandbox:157)sandboxed_ll_os.ll_os_write [flowgraph] (rpython.translator.sandbox.rsandbox:157)sandboxed_ll_os.ll_os_read [flowgraph] (rpython.rtyper.rstr:426)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785) [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [rtyper] specializing: 100 / 330 blocks (30%) [rtyper] specializing: 200 / 330 blocks (60%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:590)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198) [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821) [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:914) [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:914)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:541)ll_null_item [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:914)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.translator.sandbox.rsandbox:157)sandboxed_ll_os.ll_os_write [rtyper] specializing: 300 / 482 blocks (62%) [rtyper] specializing: 400 / 482 blocks (82%) [rtyper] -=- specialized 482 blocks -=- [flowgraph] (rpython.rlib.rmarshal:223)dump_string_or_none [flowgraph] (rpython.rlib.rmarshal:129)dump_none [flowgraph] (rpython.rlib.rmarshal:119)w_long [flowgraph] (rpython.rlib.rmarshal:473)dump_tuple [flowgraph] (rpython.rlib.rmarshal:473)dump_tuple [flowgraph] (rpython.rlib.rmarshal:473)dump_tuple [flowgraph] (rpython.rlib.rmarshal:157)dump_int [flowgraph] (rpython.rlib.rmarshal:184)dump_longlong [flowgraph] (rpython.translator.sandbox.rsandbox:72)sandboxed_io [flowgraph] (rpython.rtyper.lltypesystem.lltype:2296)scoped_alloc [flowgraph] (rpython.rtyper.lltypesystem.lltype:2280)ScopedAlloc_Array of Char {'nolength': True} .__init__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2286)ScopedAlloc_Array of Char {'nolength': True} .__enter__ [flowgraph] (rpython.translator.sandbox.rsandbox:40)writeall_not_sandboxed [flowgraph] (rpython.rtyper.lltypesystem.lltype:2289)ScopedAlloc_Array of Char {'nolength': True} .__exit__ [flowgraph] (rpython.translator.sandbox.rsandbox:55)FdLoader.__init__ [flowgraph] (rpython.rlib.rmarshal:173)load_int [flowgraph] (rpython.rlib.rmarshal:312)readchr [flowgraph] (rpython.rlib.rmarshal:284)Loader.__init__ [flowgraph] (rpython.translator.sandbox.rsandbox:60)FdLoader.need_more_data [flowgraph] (rpython.rlib.rmarshal:325)readlong [flowgraph] (rpython.translator.sandbox.rsandbox:90)reraise_error [flowgraph] (rpython.rlib.rmarshal:266)load_string_or_none [flowgraph] (rpython.rlib.rmarshal:166)load_int_nonneg [flowgraph] (rpython.rlib.rmarshal:298)readstr [flowgraph] (rpython.rlib.rmarshal:288)Loader.check_finished [flowgraph] (?:1)memo__make_scoped_allocator_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rlist:794)ll_extend_with_str [flowgraph] (rpython.rtyper.rlist:797)ll_extend_with_str_slice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (rpython.rtyper.rlist:549)listItemType [rtyper] specializing: 500 / 645 blocks (77%) [flowgraph] (rpython.rtyper.rlist:574)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rlist:690)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:719)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [rtyper] specializing: 600 / 673 blocks (89%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (?:1)memo_emptystrfun_0 [rtyper] -=- specialized 208 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [translation:info] lltype back-end optimisations... [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__open [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 3 cast_pointers in read [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__read [backendopt:removecasts] removed 1 cast_pointers in str_from_buffer [backendopt:removecasts] removed 1 cast_pointers in copy_raw_to_string [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v58394___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v58397___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 2 cast_pointers in writeall_not_sandboxed [backendopt:removecasts] removed 1 cast_pointers in load_int [backendopt:removecasts] removed 4 cast_pointers in FdLoader.need_more_data [backendopt:removecasts] removed 12 cast_pointers in reraise_error [backendopt:removecasts] removed 1 cast_pointers in load_string_or_none [backendopt:removecasts] removed 1 cast_pointers in load_int_nonneg [backendopt:removecasts] removed 2 cast_pointers in readstr [backendopt:removecasts] removed 1 cast_pointers in Loader.check_finished [backendopt:removecasts] removed 2 cast_pointers in ll_extend_with_str_slice_startonly__listPtr_rpy_stringPtr_ll_strlenConst_ll_stritem_nonnegConst_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_getitem_nonneg__dum_checkidxConst_ll_getitem_fastConst_listPtr_Signed [backendopt:removecasts] removed 1 cast_pointers in _ll_stringslice__rpy_stringPtr_Signed_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 open__SomeString_Signed_Signed_star_3 [backendopt:inlining] 0.00 get_nonmovingbuffer_ll_final_null [backendopt:inlining] 0.00 _as_bytes__str [backendopt:inlining] 0.00 alloc_buffer [backendopt:inlining] 0.00 read__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 _as_bytes0__str [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 copy_raw_to_string [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 isconstant__v58393___simple_call__function [backendopt:inlining] 0.00 isvirtual__v58395___simple_call__function [backendopt:inlining] 0.00 isconstant__v58399___simple_call__function [backendopt:inlining] 0.00 isconstant__v58400___simple_call__function [backendopt:inlining] 0.00 conditional_call__v58401___simple_call__function_star_3 [backendopt:inlining] 0.00 isconstant__v58404___simple_call__function [backendopt:inlining] 0.00 isconstant__v58406___simple_call__function [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v58410___simple_call__function [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isvirtual__v58412___simple_call__function [backendopt:inlining] 0.00 isconstant__v58416___simple_call__function [backendopt:inlining] 0.00 isvirtual__v58418___simple_call__function [backendopt:inlining] 0.00 isconstant__v58420___simple_call__function [backendopt:inlining] 0.00 isconstant__v58423___simple_call__function [backendopt:inlining] 0.00 conditional_call__v58424___simple_call__function_star_3 [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_checkidxConst_ll_getitem_fastConst_listPtr_Signed [backendopt:inlining] 0.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 0.00 memo_emptystrfun_0 [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ScopedAlloc_Array of Char {'nolength': True} .__enter__ [backendopt:inlining] 2.00 scoped_alloc_buffer.__init__ [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 4.00 __exit____star_3 [backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ScopedAlloc_Array of Char {'nolength': True} .__init__ [backendopt:inlining] 4.00 Loader.__init__ [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 dump_int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 dump_none [backendopt:inlining] 2.00 ll_len__listPtr [backendopt:inlining] 7.50 mallocstr [backendopt:inlining] 8.00 ll_newemptylist__GcStruct_listLlT [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 7.00 acquire [backendopt:inlining] 6.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 11.00 str_from_buffer [backendopt:inlining] 8.00 FdLoader.__init__ [backendopt:inlining] 11.00 ll_extend_with_str__listPtr_rpy_stringPtr_ll_strlenConst_ll_stritem_nonnegConst [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 10.00 scoped_alloc__array_False [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 13.00 keep_buffer_alive_until_here [backendopt:inlining] 9.00 ll_listdelslice_startonly__v58417___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v58422___simple_call__function [backendopt:inlining] 14.00 load_int_nonneg [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 4.00 loop_unrolling_heuristic__v58392___simple_call__function [backendopt:inlining] 13.00 Loader.check_finished [backendopt:inlining] 18.12 ll_stringslice_startstop__rpy_stringPtr_Signed_Signed [backendopt:inlining] 19.00 scoped_alloc_buffer.str [backendopt:inlining] 19.00 __exit____star_3 [backendopt:inlining] 23.00 dump_longlong [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v58386___simple_call__function [backendopt:inlining] 19.25 _errno_after__v58388___simple_call__function [backendopt:inlining] 19.25 _errno_after__v58390___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v58411___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v58414___simple_call__function [backendopt:inlining] 27.00 load_string_or_none [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.87 _errno_before__v58385___simple_call__function [backendopt:inlining] 31.87 _errno_before__v58387___simple_call__function [backendopt:inlining] 31.87 _errno_before__v58389___simple_call__function [backendopt:inlining] 31.75 handle_posix_error__open [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.75 handle_posix_error__read [backendopt:inlining] inlined 279 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 10 simple mallocs removed in 'open__str' [backendopt:malloc] 10 simple mallocs removed in 'open__SomeString_Signed_Signed_star_3' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 2 simple mallocs removed in 'scoped_alloc_buffer.__enter__' [backendopt:malloc] 7 simple mallocs removed in 'read__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v58401___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v58424___simple_call__function_star_3' [backendopt:malloc] 3 simple mallocs removed in 'sandboxed_io' [backendopt:malloc] 3 simple mallocs removed in 'FdLoader.need_more_data' [backendopt:malloc] removed 53 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt] merging blocks in sandboxed_ll_os.ll_os_read__star_2 [backendopt] merging blocks in load_int [backendopt] merging blocks in reraise_error [backendopt] merging blocks in load_string_or_none [translation:info] inserting stack checks... [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] specializing: 700 / 702 blocks (99%) [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [translation:info] Creating database for generating c source... [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [flowgraph] (rpython.memory.gctransform.refcounting:34)ll_incref [flowgraph] (rpython.memory.gctransform.refcounting:38)ll_decref [flowgraph] (rpython.memory.gctransform.refcounting:45)ll_decref_simple [flowgraph] (rpython.memory.gctransform.refcounting:53)ll_no_pointer_dealloc [flowgraph] (rpython.memory.gctransform.refcounting:58)ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.refcounting:64)ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.refcounting:78)ll_identityhash [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:461)_ll_compute_size [rtyper] -=- specialized 60 more blocks -=- [backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_fixedsize__Signed [backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_fixedsize_zero__Signed [backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_varsize_no_length__Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_varsize_no_length_zero__Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_malloc_varsize_no_length__Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_fixedsize__Signed [backendopt:removecasts] removed 1 cast_pointers in _ll_compute_size__Signed_Signed_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 _ll_compute_size__Signed_Signed_Signed [backendopt:inlining] 9.00 _ll_malloc_fixedsize__Signed [backendopt:inlining] 16.50 _ll_malloc_varsize_no_length__Signed_Signed_Signed [backendopt:inlining] 20.75 ll_malloc_varsize_no_length__Signed_Signed_Signed [backendopt:inlining] inlined 6 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] removed 0 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [flowgraph] (rpython.translator.c.genc:261)entrypoint_wrapper [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:510)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:522)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:530) [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:530)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rlib.rgc:538)ll_arrayfill [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:530)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:728)ll_setitem_nonneg [rtyper] specializing: 800 / 871 blocks (91%) [rtyper] -=- specialized 84 more blocks -=- [flowgraph] (?:1)ll_deallocator [flowgraph] (?:1)ll_deallocator [flowgraph] (rpython.memory.gctransform.refcounting:264)ll_dealloc [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (?:1)ll_deallocator [flowgraph] (?:1)ll_deallocator [flowgraph] (?:1)ll_deallocator [flowgraph] (?:1)ll_deallocator [flowgraph] (?:1)ll_deallocator [flowgraph] (?:1)ll_deallocator [flowgraph] (?:1)ll_deallocator [rtyper] -=- specialized 23 more blocks -=- [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 4.00 ll_runtime_type_info__objectPtr [backendopt:inlining] inlined 1 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] removed 0 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt:malloc] removed 0 simple mallocs in total [c:database] GC transformer: finished helpers [c:database] GC transformer: finished tables [c:database] Inlining GC helpers and postprocessing [c] 319 nodes [ array: 29 func: 79 refcnt rtti: 18 struct: 193 ] [c:database] Completed [translation:info] database for generating C source was created [translation:info] Generating c source... [c:writing] structdef.h [c:writing] forwarddecl.h [c:writing] preimpl.h [c:writing] data_rpython_flowspace.c [c:writing] data_rpython_memory_gctransform.c [c:writing] data_rpython_rlib.c [c:writing] data_rpython_translator_c.c [c:writing] data_rpython_translator_sandbox.c [c:writing] data_rpython_translator_sandbox_test.c [c:writing] nonfuncnodes.c [c:writing] data_rpython_translator_sandbox_1.c [c:writing] implement.c [c:writing] rpython_flowspace.c [c:writing] rpython_memory_gctransform.c [c:writing] rpython_rlib.c [c:writing] rpython_rtyper.c [c:writing] rpython_rtyper_lltypesystem.c [c:writing] rpython_translator.c [c:writing] rpython_translator_c.c [c:writing] rpython_translator_sandbox.c [c:computedgoto] pypy_g_reraise_error: 8 cases [c:writing] rpython_translator_sandbox_test.c [translation:info] written: /var/folders/8j/3c4g2vh16vgc8j40cj25qfqh0000gn/T/usession-pypy-HEAD-21/testing_18/testing_18.c [translation:info] Compiling c source... [platform:execute] make in /var/folders/8j/3c4g2vh16vgc8j40cj25qfqh0000gn/T/usession-pypy-HEAD-21/testing_18 [translation:info] created: /var/folders/8j/3c4g2vh16vgc8j40cj25qfqh0000gn/T/usession-pypy-HEAD-21/testing_18/testing_18 [translation:info] usession directory: /var/folders/8j/3c4g2vh16vgc8j40cj25qfqh0000gn/T/usession-pypy-HEAD-21 RPython traceback: File "implement.c", line 501, in ll_deallocator__Address_3 File "rpython_translator_sandbox_test.c", line 44, in entry_point File "rpython_translator_sandbox.c", line 570, in sandboxed_ll_os_ll_os_open__star_3 File "rpython_translator_sandbox.c", line 2696, in sandboxed_io File "rpython_translator_sandbox.c", line 4269, in reraise_error Fatal RPython error: IOError =========================== short test summary info ============================ FAIL translator/sandbox/test/test_sandlib.py::test_socketio =============== 1 failed, 26 passed, 3 skipped in 316.40 seconds =============== __ translator/c/test/test_typed.py [24 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='clang', version='Unknown' ============================= test session starts ============================== platform darwin -- 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('/Users/runner/work/pypy/pypy/rpython/.hypothesis/examples') pytest-2.9.2 from /Users/runner/work/pypy/pypy/pytest.pyc rootdir: /Users/runner/work/pypy/pypy/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 76 items translator/c/test/test_typed.py ............................................................................ ========================= 76 passed in 687.17 seconds ==========================