virt_test/bin/python testrunner/runner.py --logfile=testrun.log --config=pypy/testrunner_cfg.py '--config=~/machine_cfg.py' --root=rpython --timeout=10800 in dir /build_dir/rpython-linux-aarch64/build (timeout 10800 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=rpython', '--timeout=10800'] environment: AUDITWHEEL_ARCH=aarch64 AUDITWHEEL_PLAT=manylinux2014_aarch64 AUDITWHEEL_POLICY=manylinux2014 DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root HOME=/home/buildslave HOSTNAME=530e0d063b5c LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 LD_LIBRARY_PATH=/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64 LOGNAME=buildslave PATH=/python27_virt/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig PWD=/build_dir/rpython-linux-aarch64/build PYPYCHERRYPICK= PYPY_GC_NURSERY=16M PYPY_LOCALBASE=/usr/local PYPY_MAKE_PORTABLE=1 PYTHONPATH=.: SHELL=/bin/bash SHLVL=2 SSL_CERT_FILE=/opt/_internal/certs.pem TERM=xterm TMPDIR=/tmp/pytest USER=buildslave _=/python27_virt/bin/buildslave using PTY: False using config pypy/testrunner_cfg.py using config /home/buildslave/machine_cfg.py running 4 parallel test workers setting MAKEFLAGS to ' ' (space) -- annotator/test -- config/test -- flowspace/test -- jit/backend/aarch64/test/test_basic.py -- jit/backend/aarch64/test/test_call.py -- jit/backend/aarch64/test/test_calling_convention.py -- jit/backend/aarch64/test/test_del.py -- jit/backend/aarch64/test/test_dict.py -- jit/backend/aarch64/test/test_exception.py -- jit/backend/aarch64/test/test_fficall.py -- jit/backend/aarch64/test/test_float.py -- jit/backend/aarch64/test/test_instr_builder.py -- jit/backend/aarch64/test/test_jitlog.py -- jit/backend/aarch64/test/test_list.py -- jit/backend/aarch64/test/test_llop.py -- jit/backend/aarch64/test/test_loop_unroll.py -- jit/backend/aarch64/test/test_quasiimmut.py -- jit/backend/aarch64/test/test_rawmem.py -- jit/backend/aarch64/test/test_recursive.py -- jit/backend/aarch64/test/test_runner.py -- jit/backend/aarch64/test/test_rvmprof.py -- jit/backend/aarch64/test/test_send.py -- jit/backend/aarch64/test/test_slist.py -- jit/backend/aarch64/test/test_string.py -- jit/backend/aarch64/test/test_tl.py -- jit/backend/aarch64/test/test_tlc.py -- jit/backend/aarch64/test/test_virtual.py -- jit/backend/aarch64/test/test_virtualizable.py -- jit/backend/aarch64/test/test_virtualref.py -- jit/backend/aarch64/test/test_zrpy_gc.py -- jit/backend/aarch64/test/test_zrpy_gc_boehm.py -- jit/backend/aarch64/test/test_zrpy_releasegil.py -- jit/backend/aarch64/test/test_zrpy_vmprof.py -- jit/backend/aarch64/test/test_ztranslation_basic.py -- jit/backend/aarch64/test/test_ztranslation_call_assembler.py -- jit/backend/aarch64/test/test_ztranslation_jit_stats.py -- jit/backend/arm/test -- jit/backend/llgraph/test -- jit/backend/llsupport/test -- jit/backend/ppc/test -- jit/backend/riscv/test -- jit/backend/test -- jit/backend/x86/test/test_assembler.py -- jit/backend/x86/test/test_basic.py -- jit/backend/x86/test/test_call.py -- jit/backend/x86/test/test_callbuilder.py -- jit/backend/x86/test/test_calling_convention.py -- jit/backend/x86/test/test_del.py -- jit/backend/x86/test/test_dict.py -- jit/backend/x86/test/test_exception.py -- jit/backend/x86/test/test_fficall.py -- jit/backend/x86/test/test_float.py -- jit/backend/x86/test/test_jitlog.py -- jit/backend/x86/test/test_jump.py -- jit/backend/x86/test/test_list.py -- jit/backend/x86/test/test_llop.py -- jit/backend/x86/test/test_longlong.py -- jit/backend/x86/test/test_loop_unroll.py -- jit/backend/x86/test/test_quasiimmut.py -- jit/backend/x86/test/test_rawmem.py -- jit/backend/x86/test/test_recursive.py -- jit/backend/x86/test/test_regalloc.py -- jit/backend/x86/test/test_regloc.py -- jit/backend/x86/test/test_runner.py -- jit/backend/x86/test/test_rvmprof.py -- jit/backend/x86/test/test_rx86.py -- jit/backend/x86/test/test_rx86_32_auto_encoding.py -- jit/backend/x86/test/test_rx86_64_auto_encoding.py -- jit/backend/x86/test/test_send.py -- jit/backend/x86/test/test_slist.py -- jit/backend/x86/test/test_string.py -- jit/backend/x86/test/test_symbolic_x86.py -- jit/backend/x86/test/test_tl.py -- jit/backend/x86/test/test_tlc.py -- jit/backend/x86/test/test_tracelimit.py -- jit/backend/x86/test/test_virtual.py -- jit/backend/x86/test/test_virtualizable.py -- jit/backend/x86/test/test_virtualref.py -- jit/backend/x86/test/test_x86vector.py -- jit/backend/x86/test/test_zmath.py -- jit/backend/x86/test/test_zrpy_gc.py -- jit/backend/x86/test/test_zrpy_gc_boehm.py -- jit/backend/x86/test/test_zrpy_releasegil.py -- jit/backend/x86/test/test_zrpy_vecopt.py -- jit/backend/x86/test/test_zrpy_vmprof.py -- jit/backend/x86/test/test_ztranslation_basic.py -- jit/backend/x86/test/test_ztranslation_call_assembler.py -- jit/backend/x86/test/test_ztranslation_external_exception.py -- jit/backend/x86/test/test_ztranslation_jit_stats.py -- jit/backend/x86/tool/test/test_viewcode.py -- jit/backend/zarch/test -- jit/codewriter/test -- jit/metainterp/optimizeopt/test/test_costmodel.py -- jit/metainterp/optimizeopt/test/test_dependency.py -- jit/metainterp/optimizeopt/test/test_guard.py -- jit/metainterp/optimizeopt/test/test_intbound.py -- jit/metainterp/optimizeopt/test/test_intdiv.py -- jit/metainterp/optimizeopt/test/test_optimizebasic.py -- jit/metainterp/optimizeopt/test/test_optimizebridge.py -- jit/metainterp/optimizeopt/test/test_optimizeheap.py -- jit/metainterp/optimizeopt/test/test_optimizeintbound.py -- jit/metainterp/optimizeopt/test/test_optimizeopt.py -- jit/metainterp/optimizeopt/test/test_rawbuffer.py -- jit/metainterp/optimizeopt/test/test_schedule.py -- jit/metainterp/optimizeopt/test/test_short.py -- jit/metainterp/optimizeopt/test/test_unroll.py -- jit/metainterp/optimizeopt/test/test_util.py -- jit/metainterp/optimizeopt/test/test_vecopt.py -- jit/metainterp/optimizeopt/test/test_virtualstate.py -- jit/metainterp/optimizeopt/test/test_z3checktests.py -- jit/metainterp/optimizeopt/test/test_z3intbound.py -- jit/metainterp/ruleopt/test/test_codegen.py -- jit/metainterp/ruleopt/test/test_parse.py -- jit/metainterp/ruleopt/test/test_prove.py -- jit/metainterp/test/test_ajit.py -- jit/metainterp/test/test_blackhole.py -- jit/metainterp/test/test_bridgeopt.py -- jit/metainterp/test/test_bytearray.py -- jit/metainterp/test/test_call.py -- jit/metainterp/test/test_compile.py -- jit/metainterp/test/test_counter.py -- jit/metainterp/test/test_del.py -- jit/metainterp/test/test_dict.py -- jit/metainterp/test/test_exception.py -- jit/metainterp/test/test_executor.py -- jit/metainterp/test/test_fficall.py -- jit/metainterp/test/test_float.py -- jit/metainterp/test/test_greenfield.py -- jit/metainterp/test/test_heapcache.py -- jit/metainterp/test/test_history.py -- jit/metainterp/test/test_immutable.py -- jit/metainterp/test/test_jitdriver.py -- jit/metainterp/test/test_jitiface.py -- jit/metainterp/test/test_jitprof.py -- jit/metainterp/test/test_list.py -- jit/metainterp/test/test_llop.py -- jit/metainterp/test/test_logger.py -- jit/metainterp/test/test_longlong.py -- jit/metainterp/test/test_loop.py -- jit/metainterp/test/test_loop_unroll.py -- jit/metainterp/test/test_loop_unroll_disopt.py -- jit/metainterp/test/test_math.py -- jit/metainterp/test/test_memmgr.py -- jit/metainterp/test/test_opencoder.py -- jit/metainterp/test/test_pyjitpl.py -- jit/metainterp/test/test_quasiimmut.py -- jit/metainterp/test/test_rawmem.py -- jit/metainterp/test/test_recursive.py -- jit/metainterp/test/test_resoperation.py -- jit/metainterp/test/test_resume.py -- jit/metainterp/test/test_resumecode.py -- jit/metainterp/test/test_send.py -- jit/metainterp/test/test_slist.py -- jit/metainterp/test/test_string.py -- jit/metainterp/test/test_support.py -- jit/metainterp/test/test_threadlocal.py -- jit/metainterp/test/test_tl.py -- jit/metainterp/test/test_tlc.py -- jit/metainterp/test/test_tracelimit.py -- jit/metainterp/test/test_tracingopts.py -- jit/metainterp/test/test_virtual.py -- jit/metainterp/test/test_virtualizable.py -- jit/metainterp/test/test_virtualref.py -- jit/metainterp/test/test_warmspot.py -- jit/metainterp/test/test_warmstate.py -- jit/metainterp/test/test_zvector.py -- jit/tl/test -- jit/tl/tinyframe/test -- jit/tl/tla -- jit/tool/test -- memory/gc/test -- memory/gctransform/test -- memory/test/test_gctypelayout.py -- memory/test/test_generational_gc.py -- memory/test/test_growingsemispace_gc.py -- memory/test/test_hybrid_gc.py -- memory/test/test_hybrid_gc_smallheap.py -- memory/test/test_incminimark_gc.py -- memory/test/test_incminimark_gc_cardmarking.py -- memory/test/test_lldict.py -- memory/test/test_minimark_gc.py -- memory/test/test_minimark_gc_cardmarking.py -- memory/test/test_semispace_gc.py -- memory/test/test_support.py -- memory/test/test_transformed_gc.py -- rlib/parsing/test/test_deterministic.py -- rlib/parsing/test/test_ebnfparse.py -- rlib/parsing/test/test_lexer.py -- rlib/parsing/test/test_parse.py -- rlib/parsing/test/test_parseerrors.py -- rlib/parsing/test/test_pcre_regtest.py -- rlib/parsing/test/test_pypackrat.py -- rlib/parsing/test/test_pythonlexer.py -- rlib/parsing/test/test_pythonparse.py -- rlib/parsing/test/test_regex.py -- rlib/parsing/test/test_regexparse.py -- rlib/parsing/test/test_translate.py -- rlib/parsing/test/test_translate_lexer.py -- rlib/parsing/test/test_tree.py -- rlib/rjitlog/test/test_jitlog.py -- rlib/rsre/test/test_char.py -- rlib/rsre/test/test_ext_opcode.py -- rlib/rsre/test/test_match.py -- rlib/rsre/test/test_re.py -- rlib/rsre/test/test_search.py -- rlib/rsre/test/test_zexternal.py -- rlib/rsre/test/test_zinterp.py -- rlib/rsre/test/test_zjit.py -- rlib/rstrategies/test/test_rstrategies.py -- rlib/rstruct/test/test_ieee.py -- rlib/rstruct/test/test_pack.py -- rlib/rstruct/test/test_runpack.py -- rlib/rvmprof/test/test_file.py -- rlib/rvmprof/test/test_rvmprof.py -- rlib/rvmprof/test/test_support.py -- rlib/rvmprof/test/test_traceback.py -- rlib/rvmprof/test/test_ztranslation.py -- rlib/test/test__jit_vref.py -- rlib/test/test_buffer.py -- rlib/test/test_cache.py -- rlib/test/test_clibffi.py -- rlib/test/test_compilerinfo.py -- rlib/test/test_debug.py -- rlib/test/test_jit.py -- rlib/test/test_jit_libffi.py -- rlib/test/test_libffi.py -- rlib/test/test_listsort.py -- rlib/test/test_longlong2float.py -- rlib/test/test_mutbuffer.py -- rlib/test/test_nonconst.py -- rlib/test/test_objectmodel.py -- rlib/test/test_posix.py -- rlib/test/test_rStringIO.py -- rlib/test/test_rarithmetic.py -- rlib/test/test_rawrefcount.py -- rlib/test/test_rawrefcount_boehm.py -- rlib/test/test_rawstorage.py -- rlib/test/test_rbigint.py -- rlib/test/test_rbisect.py -- rlib/test/test_rcomplex.py -- rlib/test/test_rdtoa.py -- rlib/test/test_rdynload.py -- rlib/test/test_rerased.py -- rlib/test/test_rfile.py -- rlib/test/test_rfloat.py -- rlib/test/test_rgc.py -- rlib/test/test_rgil.py -- rlib/test/test_rlocale.py -- rlib/test/test_rmarshal.py -- rlib/test/test_rmd5.py -- rlib/test/test_rmmap.py -- rlib/test/test_rope.py -- rlib/test/test_rpath.py -- rlib/test/test_rpoll.py -- rlib/test/test_rposix.py -- rlib/test/test_rposix_environ.py -- rlib/test/test_rposix_scandir.py -- rlib/test/test_rposix_stat.py -- rlib/test/test_rrandom.py -- rlib/test/test_rrawarray.py -- rlib/test/test_rsha.py -- rlib/test/test_rshrinklist.py -- rlib/test/test_rsignal.py -- rlib/test/test_rsiphash.py -- rlib/test/test_rsocket.py -- rlib/test/test_rstacklet.py -- rlib/test/test_rstackovf.py -- rlib/test/test_rstring.py -- rlib/test/test_rtermios.py -- rlib/test/test_rthread.py -- rlib/test/test_rtime.py -- rlib/test/test_rtimer.py -- rlib/test/test_runicode.py -- rlib/test/test_rurandom.py -- rlib/test/test_rutf8.py -- rlib/test/test_rweakkeydict.py -- rlib/test/test_rweaklist.py -- rlib/test/test_rweakref.py -- rlib/test/test_rweakvaldict.py -- rlib/test/test_rwin32.py -- rlib/test/test_rzipfile.py -- rlib/test/test_rzlib.py -- rlib/test/test_signature.py -- rlib/test/test_streamio.py -- rlib/test/test_z3.py -- rlib/unicodedata/test/test_codegen.py -- rlib/unicodedata/test/test_dawg.py -- rlib/unicodedata/test/test_ucd.py -- rlib/unicodedata/test/test_unicodedata.py -- rtyper/lltypesystem/module/test -- rtyper/lltypesystem/test -- rtyper/test -- rtyper/tool/test -- tool/algo/test -- tool/cparser/test -- tool/jitlogparser/test -- tool/pytest/test -- tool/test -- 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: 322 to run ++ 23:15:21 starting annotator/test [1 started in total] ++ 23:15:21 starting config/test [2 started in total] ++ 23:15:21 starting flowspace/test [3 started in total] ++ 23:15:21 starting jit/backend/aarch64/test/test_basic.py [4 started in total] __ flowspace/test [1 done in total, somefailed=False] _________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.py rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 162 items flowspace/test/test_argument.py ..... flowspace/test/test_checkgraph.py ........ flowspace/test/test_flowcontext.py ..... flowspace/test/test_framestate.py .......... flowspace/test/test_generator.py ..... flowspace/test/test_model.py ......... flowspace/test/test_objspace.py .............................................................xx...................xx..x................ flowspace/test/test_objspace_py2.py .... flowspace/test/test_print_function.py ......... flowspace/test/test_unroll.py .... ==================== 157 passed, 5 xfailed in 8.00 seconds ===================== ++ 23:15:31 starting jit/backend/aarch64/test/test_call.py [5 started in total] __ config/test [2 done in total, somefailed=False] ____________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 43 items config/test/test_config.py .................................... config/test/test_parse.py .. config/test/test_support.py .ss config/test/test_translationoption.py .. ===================== 41 passed, 2 skipped in 9.26 seconds ===================== ++ 23:15:33 starting jit/backend/aarch64/test/test_calling_convention.py [6 started in total] __ jit/backend/aarch64/test/test_call.py [3 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items jit/backend/aarch64/test/test_call.py ................ ========================== 16 passed in 8.60 seconds =========================== ++ 23:15:41 starting jit/backend/aarch64/test/test_del.py [7 started in total] __ jit/backend/aarch64/test/test_del.py [4 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/aarch64/test/test_del.py ... =========================== 3 passed in 2.82 seconds =========================== ++ 23:15:46 starting jit/backend/aarch64/test/test_dict.py [8 started in total] __ jit/backend/aarch64/test/test_calling_convention.py [5 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/backend/aarch64/test/test_calling_convention.py .....s. ===================== 6 passed, 1 skipped in 57.81 seconds ===================== ++ 23:16:39 starting jit/backend/aarch64/test/test_exception.py [9 started in total] __ jit/backend/aarch64/test/test_exception.py [6 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 32 items jit/backend/aarch64/test/test_exception.py s............................... ==================== 31 passed, 1 skipped in 14.49 seconds ===================== ++ 23:16:56 starting jit/backend/aarch64/test/test_fficall.py [10 started in total] __ jit/backend/aarch64/test/test_dict.py [7 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items jit/backend/aarch64/test/test_dict.py .................... ========================== 20 passed in 77.67 seconds ========================== ++ 23:17:06 starting jit/backend/aarch64/test/test_float.py [11 started in total] __ jit/backend/aarch64/test/test_float.py [8 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items jit/backend/aarch64/test/test_float.py ....s..... ===================== 9 passed, 1 skipped in 5.18 seconds ====================== ++ 23:17:13 starting jit/backend/aarch64/test/test_instr_builder.py [12 started in total] __ jit/backend/aarch64/test/test_instr_builder.py [9 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items jit/backend/aarch64/test/test_instr_builder.py ..................... ========================== 21 passed in 3.96 seconds =========================== ++ 23:17:18 starting jit/backend/aarch64/test/test_jitlog.py [13 started in total] __ jit/backend/aarch64/test/test_fficall.py [10 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items jit/backend/aarch64/test/test_fficall.py ...sss...... ===================== 9 passed, 3 skipped in 20.27 seconds ===================== ++ 23:17:20 starting jit/backend/aarch64/test/test_list.py [14 started in total] __ jit/backend/aarch64/test/test_list.py [11 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items jit/backend/aarch64/test/test_list.py ...s................... ==================== 22 passed, 1 skipped in 15.28 seconds ===================== ++ 23:17:37 starting jit/backend/aarch64/test/test_llop.py [15 started in total] __ jit/backend/aarch64/test/test_llop.py [12 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/backend/aarch64/test/test_llop.py sssss ========================== 5 skipped in 2.03 seconds =========================== ++ 23:17:41 starting jit/backend/aarch64/test/test_loop_unroll.py [16 started in total] __ jit/backend/aarch64/test/test_jitlog.py [13 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/aarch64/test/test_jitlog.py ... ========================== 3 passed in 23.21 seconds =========================== ++ 23:17:46 starting jit/backend/aarch64/test/test_quasiimmut.py [17 started in total] __ annotator/test [14 done in total, somefailed=False] ________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 697 items annotator/test/test_annrpython.py ......................................................................................x..........................................................................................................................................x........................................................................................XX............. annotator/test/test_annrpython_py2.py ... annotator/test/test_annsimplifyrpython.py ......................................................................................x..........................................................................................................................................x........................................................................................XX................ annotator/test/test_argument.py ...... annotator/test/test_description.py ... annotator/test/test_model.py ..........x.x.......... annotator/test/test_signature.py . ============== 687 passed, 6 xfailed, 4 xpassed in 43.97 seconds =============== ++ 23:17:52 starting jit/backend/aarch64/test/test_rawmem.py [18 started in total] __ jit/backend/aarch64/test/test_basic.py [15 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 194 items jit/backend/aarch64/test/test_basic.py .ss..........................................................................................................................................s................s..............s...........s........ =================== 188 passed, 6 skipped in 148.13 seconds ==================== ++ 23:17:56 starting jit/backend/aarch64/test/test_recursive.py [19 started in total] __ jit/backend/aarch64/test/test_rawmem.py [16 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/backend/aarch64/test/test_rawmem.py ....... =========================== 7 passed in 3.80 seconds =========================== ++ 23:17:58 starting jit/backend/aarch64/test/test_runner.py [20 started in total] __ jit/backend/aarch64/test/test_quasiimmut.py [17 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items jit/backend/aarch64/test/test_quasiimmut.py ..............s..... ==================== 19 passed, 1 skipped in 10.73 seconds ===================== ++ 23:17:58 starting jit/backend/aarch64/test/test_rvmprof.py [21 started in total] __ jit/backend/aarch64/test/test_rvmprof.py [18 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/aarch64/test/test_rvmprof.py ... =========================== 3 passed in 6.52 seconds =========================== ++ 23:18:07 starting jit/backend/aarch64/test/test_send.py [22 started in total] __ jit/backend/aarch64/test/test_loop_unroll.py [19 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/backend/aarch64/test/test_loop_unroll.py ..............................ss.s... ==================== 34 passed, 3 skipped in 40.65 seconds ===================== ++ 23:18:25 starting jit/backend/aarch64/test/test_slist.py [23 started in total] __ jit/backend/aarch64/test/test_send.py [20 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items jit/backend/aarch64/test/test_send.py ....................... ========================== 23 passed in 18.95 seconds ========================== ++ 23:18:27 starting jit/backend/aarch64/test/test_string.py [24 started in total] __ jit/backend/aarch64/test/test_slist.py [21 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items jit/backend/aarch64/test/test_slist.py s..... ===================== 5 passed, 1 skipped in 4.78 seconds ====================== ++ 23:18:32 starting jit/backend/aarch64/test/test_tl.py [25 started in total] __ jit/backend/aarch64/test/test_tl.py [22 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/backend/aarch64/test/test_tl.py ..... ========================== 5 passed in 11.78 seconds =========================== ++ 23:18:46 starting jit/backend/aarch64/test/test_tlc.py [26 started in total] __ jit/backend/aarch64/test/test_tlc.py [23 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/aarch64/test/test_tlc.py ss. ===================== 1 passed, 2 skipped in 6.05 seconds ====================== ++ 23:18:54 starting jit/backend/aarch64/test/test_virtual.py [27 started in total] __ jit/backend/aarch64/test/test_virtual.py [24 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 52 items jit/backend/aarch64/test/test_virtual.py .................................................... ========================== 52 passed in 31.11 seconds ========================== ++ 23:19:27 starting jit/backend/aarch64/test/test_virtualizable.py [28 started in total] __ jit/backend/aarch64/test/test_recursive.py [25 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 42 items jit/backend/aarch64/test/test_recursive.py ................s........s..............s. ==================== 39 passed, 3 skipped in 92.22 seconds ===================== ++ 23:19:31 starting jit/backend/aarch64/test/test_virtualref.py [29 started in total] __ jit/backend/aarch64/test/test_string.py [26 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 97 items jit/backend/aarch64/test/test_string.py .............................s............................................s...................... ==================== 95 passed, 2 skipped in 77.53 seconds ===================== ++ 23:19:47 starting jit/backend/aarch64/test/test_zrpy_gc.py [30 started in total] __ jit/backend/aarch64/test/test_virtualref.py [27 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items jit/backend/aarch64/test/test_virtualref.py ..s.................. ==================== 20 passed, 1 skipped in 14.11 seconds ===================== ++ 23:19:48 starting jit/backend/aarch64/test/test_zrpy_gc_boehm.py [31 started in total] __ jit/backend/aarch64/test/test_zrpy_gc.py [28 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 19 items jit/backend/aarch64/test/test_zrpy_gc.py EEEEEEEEEEEEEEEEEEE ==================================== ERRORS ==================================== __________ ERROR at setup of TestShadowStack.test_compile_framework_1 __________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ---------------------------- Captured stdout setup ----------------------------- {'compile_framework_call_assembler': 11, 'compile_framework_external_exception_handling': 12, 'compile_framework_bug1': 10, 'multiple_pinned': 16, 'pinned_unpin': 18, 'compile_framework_vref': 15, 'pinned_simple': 17, 'compile_framework_float': 13, 'compile_framework_minimal_size_in_nursery': 14, 'compile_framework_7_interior': 7, 'compile_framework_8': 8, 'compile_framework_9': 9, 'compile_framework_3_extra': 3, 'compile_framework_4': 4, 'compile_framework_5': 5, 'compile_framework_7': 6, 'compile_framework_1': 0, 'compile_framework_2': 1, 'compile_framework_3': 2} ---------------------------- Captured stderr setup ----------------------------- [rtyper] specializing: 100 / 687 blocks (14%) [rtyper] specializing: 300 / 1357 blocks (22%) [rtyper] specializing: 400 / 1439 blocks (27%) [rtyper] specializing: 500 / 1443 blocks (34%) [rtyper] specializing: 600 / 1443 blocks (41%) [rtyper] specializing: 700 / 1443 blocks (48%) [rtyper] specializing: 800 / 1443 blocks (55%) [rtyper] specializing: 900 / 1443 blocks (62%) [rtyper] specializing: 1000 / 1443 blocks (69%) [rtyper] specializing: 1100 / 1443 blocks (76%) [rtyper] specializing: 1200 / 1443 blocks (83%) [rtyper] specializing: 1300 / 1443 blocks (90%) [rtyper] specializing: 1400 / 1443 blocks (97%) [rtyper] -=- specialized 1443 blocks -=- [rtyper] -=- specialized 4 more blocks -=- __________ ERROR at setup of TestShadowStack.test_compile_framework_2 __________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_3 __________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestShadowStack.test_compile_framework_3_extra _______ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_4 __________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_5 __________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_7 __________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestShadowStack.test_compile_framework_7_interior ______ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_8 __________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_9 __________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestShadowStack.test_compile_framework_external_exception_handling cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestShadowStack.test_compile_framework_bug1 _________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestShadowStack.test_compile_framework_vref _________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestShadowStack.test_compile_framework_float ________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestShadowStack.test_compile_framework_minimal_size_in_nursery cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestShadowStack.test_compile_framework_call_assembler ____ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____________ ERROR at setup of TestShadowStack.test_pinned_simple _____________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____________ ERROR at setup of TestShadowStack.test_pinned_unpin ______________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____________ ERROR at setup of TestShadowStack.test_multiple_pinned ____________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ========================== 19 error in 16.43 seconds =========================== ++ 23:20:07 starting jit/backend/aarch64/test/test_zrpy_releasegil.py [32 started in total] __ jit/backend/aarch64/test/test_virtualizable.py [29 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/backend/aarch64/test/test_virtualizable.py s...x................................ =============== 35 passed, 1 skipped, 1 xfailed in 39.71 seconds =============== ++ 23:20:11 starting jit/backend/aarch64/test/test_zrpy_vmprof.py [33 started in total] __ jit/backend/aarch64/test/test_zrpy_releasegil.py [30 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/aarch64/test/test_zrpy_releasegil.py EEE ==================================== ERRORS ==================================== ________________ ERROR at setup of TestShadowStack.test_simple _________________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_releasegil.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ---------------------------- Captured stdout setup ----------------------------- {'simple': 2, 'get_set_errno': 1, 'close_stack': 0} ---------------------------- Captured stderr setup ----------------------------- [rtyper] specializing: 100 / 1239 blocks (8%) [rtyper] specializing: 200 / 1318 blocks (15%) [rtyper] specializing: 300 / 1336 blocks (22%) [rtyper] specializing: 400 / 1336 blocks (29%) [rtyper] specializing: 500 / 1338 blocks (37%) [rtyper] specializing: 600 / 1338 blocks (44%) [rtyper] specializing: 700 / 1340 blocks (52%) [rtyper] specializing: 800 / 1340 blocks (59%) [rtyper] specializing: 900 / 1340 blocks (67%) [rtyper] specializing: 1000 / 1340 blocks (74%) [rtyper] specializing: 1100 / 1340 blocks (82%) [rtyper] specializing: 1200 / 1340 blocks (89%) [rtyper] specializing: 1300 / 1340 blocks (97%) [rtyper] -=- specialized 1340 blocks -=- [rtyper] -=- specialized 4 more blocks -=- ______________ ERROR at setup of TestShadowStack.test_close_stack ______________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_releasegil.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____________ ERROR at setup of TestShadowStack.test_get_set_errno _____________ cls = <class 'rpython.jit.backend.aarch64.test.test_zrpy_releasegil.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError =========================== 3 error in 5.86 seconds ============================ ++ 23:20:14 starting jit/backend/aarch64/test/test_ztranslation_basic.py [34 started in total] __ jit/backend/aarch64/test/test_zrpy_vmprof.py [31 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/aarch64/test/test_zrpy_vmprof.py F =================================== FAILURES =================================== ___________________________ TestZVMprof.test_vmprof ____________________________ self = <rpython.jit.backend.aarch64.test.test_zrpy_vmprof.TestZVMprof object at 0xfffd3a790b50> def test_vmprof(self): from rpython.rlib import rvmprof class MyCode: _vmprof_unique_id = 0 _vmprof_weak_list = RWeakListMixin() ; _vmprof_weak_list.initialize() def __init__(self, name): self.name = name def get_name(code): return code.name code2 = MyCode("py:y:foo:4") rvmprof.register_code(code2, get_name) try: rvmprof.register_code_object_class(MyCode, get_name) except rvmprof.VMProfPlatformUnsupported as e: py.test.skip(str(e)) def get_unique_id(code): return rvmprof.get_unique_id(code) driver = JitDriver(greens = ['code'], reds = ['i', 's', 'num'], is_recursive=True, get_unique_id=get_unique_id) @rvmprof.vmprof_execute_code("xcode13", lambda code, num: code) def main(code, num): return main_jitted(code, num) def main_jitted(code, num): s = 0 i = 0 while i < num: driver.jit_merge_point(code=code, i=i, s=s, num=num) s += (i << 1) if i % 3 == 0 and code is not code2: main(code2, 100) i += 1 return s tmpfilename = str(udir.join('test_rvmprof')) def f(num): rthread.get_ident() # register TLOFS_thread_ident code = MyCode("py:x:foo:3") rvmprof.register_code(code, get_name) fd = os.open(tmpfilename, os.O_WRONLY | os.O_CREAT, 0666) period = 0.0001 rvmprof.enable(fd, period) res = main(code, num) #assert res == 499999500000 rvmprof.disable() os.close(fd) return 0 def check_vmprof_output(): from vmprof import read_profile tmpfile = str(udir.join('test_rvmprof')) stats = read_profile(tmpfile) t = stats.get_tree() assert t.name == 'py:x:foo:3' assert len(t.children) == 1 # jit > self.meta_interp(f, [1000000], inline=True) jit/backend/llsupport/test/zrpy_vmprof_test.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/test/support.py:63: in meta_interp **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 501 blocks (19%) [rtyper] specializing: 200 / 615 blocks (32%) [rtyper] specializing: 300 / 617 blocks (48%) [rtyper] specializing: 400 / 749 blocks (53%) [rtyper] specializing: 500 / 751 blocks (66%) [rtyper] specializing: 600 / 758 blocks (79%) [rtyper] specializing: 700 / 758 blocks (92%) [rtyper] -=- specialized 758 blocks -=- [rtyper] -=- specialized 4 more blocks -=- =========================== short test summary info ============================ FAIL jit/backend/aarch64/test/test_zrpy_vmprof.py::TestZVMprof::()::test_vmprof =========================== 1 failed in 3.15 seconds =========================== ++ 23:20:16 starting jit/backend/aarch64/test/test_ztranslation_call_assembler.py [35 started in total] __ jit/backend/aarch64/test/test_runner.py [32 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 [c58177a38d32480] {jit-backend-dump BACKEND arm SYS_EXECUTABLE ?? CODE_DUMP @ffff2af40000 +0 A02300F9A12700F9A22B00F9A32F00F9A43300F9A53700F9A63B00F9A73F00F9A84300F9A94700F9AA4B00F9AB4F00F9AC5300F9AD5700F9B35B00F9B45F00F9E0031DAAF35344A9FE77C5A8C0035FD6 [c58177a38e31680] jit-backend-dump} [c58177a3927ad80] {jit-backend-dump BACKEND arm SYS_EXECUTABLE ?? CODE_DUMP @ffff2af40060 +0 A02300F9A12700F9A22B00F9A32F00F9A43300F9A53700F9A63B00F9A73F00F9A84300F9A94700F9AA4B00F9AB4F00F9AC5300F9AD5700F9B35B00F9B45F00F9058F93D20594A5F2E5FFDFF2A40040F9060080D2A60000F9058E93D20594A5F2E5FFDFF2A60000F9A41700F9E0031DAAF35344A9FE77C5A8C0035FD6 [c58177a393d4880] jit-backend-dump} [c58177a39fd0a80] {jit-backend-dump BACKEND arm SYS_EXECUTABLE ?? CODE_DUMP @ffff2af400f0 +0 A02300F9A12700F9A22B00F9A32F00F9A43300F9A53700F9A63B00F9A73F00F9A84300F9A94700F9AA4B00F9AB4F00F9AC5300F9AD5700F9B35B00F9B45F00F9A06300FDA16700FDA26B00FDA36F00FDA47300FDA57700FDA67B00FDA77F00FDE00740A9FE0300F9A00F00F9E0031DAA108F93D21094A5F2F0FFDFF2100240F9B01700F9108E93D21094A5F2F0FFDFF2130240F9108F93D21094A5F2F0FFDFF2110080D2110200F9108E93D21094A5F2F0FFDFF2110200F9100280D25007A6F2F0FFDFF21000E0F200023FD6FD0300AA108F93D21094A5F2F0FFDFF2B11740F9110200F9110080D2B11700F9108E93D21094A5F2F0FFDFF2130200F9100080D2B00F00F9A02340F9A12740F9A22B40F9A32F40F9A43340F9A53740F9A63B40F9A73F40F9A84340F9A94740F9AA4B40F9AB4F40F9AC5340F9AD5740F9B35B40F9B45F40F9A06340FDA16740FDA26B40FDA36F40FDA47340FDA57740FDA67B40FDA77F40FDFE0340F9FF430091C0035FD6 [c58177a3a3a7300] jit-backend-dump} [c58177a3a748800] {jit-backend-dump BACKEND arm SYS_EXECUTABLE ?? CODE_DUMP @ffff2af40270 +0 A02300F9A12700F9A22B00F9A32F00F9A43300F9A53700F9A63B00F9A73F00F9A84300F9A94700F9AA4B00F9AB4F00F9AC5300F9AD5700F9B35B00F9B45F00F9A06300FDA16700FDA26B00FDA36F00FDA47300FDA57700FDA67B00FDA77F00FDE0031DAAF35344A9FE77C5A8C0035FD6 [c58177a3a880280] jit-backend-dump} [c58177a3ad77480] {jit-backend-dump BACKEND arm SYS_EXECUTABLE ?? CODE_DUMP @ffff2af402f0 +0 A02300F9A12700F9A22B00F9A32F00F9A43300F9A53700F9A63B00F9A73F00F9A84300F9A94700F9AA4B00F9AB4F00F9AC5300F9AD5700F9B35B00F9B45F00F9A06300FDA16700FDA26B00FDA36F00FDA47300FDA57700FDA67B00FDA77F00FD058F93D20594A5F2E5FFDFF2A40040F9060080D2A60000F9058E93D20594A5F2E5FFDFF2A60000F9A41700F9E0031DAAF35344A9FE77C5A8C0035FD6 [c58177a3af23000] jit-backend-dump} [c58177a3b195200] {jit-backend-dump BACKEND arm SYS_EXECUTABLE ?? CODE_DUMP @ffff2af403a0 +0 108F93D21094A5F2F0FFDFF2000240F9110080D2110200F9108E93D21094A5F2F0FFDFF2110200F9A01700F9000080D2A00700F9E0031DAAF35344A9FE77C5A8C0035FD6 [c58177a3b25dc80] jit-backend-dump} [c58177a3b86c500] {jit-backend-dump BACKEND arm SYS_EXECUTABLE ?? CODE_DUMP @ffff2af403f0 +0 A02300F9A12700F9A22B00F9A32F00F9A43300F9A53700F9A63B00F9A73F00F9A84300F9A94700F9AA4B00F9AB4F00F9AC5300F9AD5700F9B35B00F9B45F00F9A06300FDA16700FDA26B00FDA36F00FDA47300FDA57700FDA67B00FDA77F00FDFF4300D1F00700F9FE0300F920023FD6F10300AAA02340F9A12740F9A22B40F9A32F40F9A43340F9A53740F9A63B40F9A73F40F9A84340F9A94740F9AA4B40F9AB4F40F9AC5340F9AD5740F9B35B40F9B45F40F9F00340F9FF43009100025FD6 [c58177a3ba77480] jit-backend-dump} [c58177a3bff6e00] {jit-backend-dump BACKEND arm SYS_EXECUTABLE ?? CODE_DUMP @ffff2af404c0 +0 A02300F9A12700F9A22B00F9A32F00F9A43300F9A53700F9A63B00F9A73F00F9A84300F9A94700F9AA4B00F9AB4F00F9AC5300F9AD5700F9A06300FDA16700FDA26B00FDA36F00FDA47300FDA57700FDA67B00FDA77F00FDFF4300D1F00700F9FE0300F920023FD6F10300AAA02340F9A12740F9A22B40F9A32F40F9A43340F9A53740F9A63B40F9A73F40F9A84340F9A94740F9AA4B40F9AB4F40F9AC5340F9AD5740F9F00340F9FF43009100025FD6 [c58177a3c1d5c00] jit-backend-dump} [c58177a3c8b4c80] {jit-backend-dump BACKEND arm SYS_EXECUTABLE ?? CODE_DUMP @ffff2af40580 +0 A02300F9A12700F9A22B00F9A32F00F9A43300F9A53700F9A63B00F9A73F00F9A84300F9A94700F9AA4B00F9AB4F00F9AC5300F9AD5700F9B35B00F9B45F00F9A06300FDA16700FDA26B00FDA36F00FDA47300FDA57700FDA67B00FDA77F00FDFF4300D1F00700F9FE0300F920023FD6F10300AAA02340F9A12740F9A22B40F9A32F40F9A43340F9A53740F9A63B40F9A73F40F9A84340F9A94740F9AA4B40F9AB4F40F9AC5340F9AD5740F9B35B40F9B45F40F9A06340FDA16740FDA26B40FDA36F40FDA47340FDA57740FDA67B40FDA77F40FDF00340F9FF43009100025FD6 [c58177a3cb0e980] jit-backend-dump} [c58177a3d172f00] {jit-backend-dump BACKEND arm SYS_EXECUTABLE ?? CODE_DUMP @ffff2af40670 +0 A02300F9A12700F9A22B00F9A32F00F9A43300F9A53700F9A63B00F9A73F00F9A84300F9A94700F9AA4B00F9AB4F00F9AC5300F9AD5700F9A06300FDA16700FDA26B00FDA36F00FDA47300FDA57700FDA67B00FDA77F00FDFF4300D1F00700F9FE0300F920023FD6F10300AAA02340F9A12740F9A22B40F9A32F40F9A43340F9A53740F9A63B40F9A73F40F9A84340F9A94740F9AA4B40F9AB4F40F9AC5340F9AD5740F9A06340FDA16740FDA26B40FDA36F40FDA47340FDA57740FDA67B40FDA77F40FDF00340F9FF43009100025FD6 [c58177a3d3a1880] jit-backend-dump} collected 156 items jit/backend/aarch64/test/test_runner.py ............................................................................................s...read saved errno: 24 read saved errno: 0 read saved errno: 25 read saved errno: 0 .ss.....................ssss............s..s......s..sssss.. =================== 141 passed, 15 skipped in 151.44 seconds =================== ++ 23:20:37 starting jit/backend/aarch64/test/test_ztranslation_jit_stats.py [36 started in total] __ jit/backend/aarch64/test/test_zrpy_gc_boehm.py [33 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/aarch64/test/test_zrpy_gc_boehm.py . ========================== 1 passed in 282.21 seconds ========================== ++ 23:24:37 starting jit/backend/arm/test [37 started in total] __ jit/backend/arm/test [34 done in total, somefailed=False] __________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 23:24:38 starting jit/backend/llgraph/test [38 started in total] __ jit/backend/llgraph/test [35 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 156 items jit/backend/llgraph/test/test_llgraph.py ss...............................................................................sss..........s.sssss......s.............ss..s.....s.........s.....s........ ==================== 138 passed, 18 skipped in 4.02 seconds ==================== ++ 23:24:44 starting jit/backend/llsupport/test [39 started in total] __ jit/backend/aarch64/test/test_ztranslation_jit_stats.py [36 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items jit/backend/aarch64/test/test_ztranslation_jit_stats.py s. ==================== 1 passed, 1 skipped in 248.94 seconds ===================== ++ 23:24:50 starting jit/backend/ppc/test [40 started in total] __ jit/backend/ppc/test [37 done in total, somefailed=False] __________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 23:24:51 starting jit/backend/riscv/test [41 started in total] __ jit/backend/riscv/test [38 done in total, somefailed=False] ________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 23:24:52 starting jit/backend/test [42 started in total] __ jit/backend/aarch64/test/test_ztranslation_call_assembler.py [39 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/aarch64/test/test_ztranslation_call_assembler.py . ========================== 1 passed in 277.64 seconds ========================== ++ 23:24:57 starting jit/backend/x86/test/test_assembler.py [43 started in total] __ jit/backend/x86/test/test_assembler.py [40 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:24:58 starting jit/backend/x86/test/test_basic.py [44 started in total] __ jit/backend/x86/test/test_basic.py [41 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:00 starting jit/backend/x86/test/test_call.py [45 started in total] __ jit/backend/x86/test/test_call.py [42 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:01 starting jit/backend/x86/test/test_callbuilder.py [46 started in total] __ jit/backend/x86/test/test_callbuilder.py [43 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:02 starting jit/backend/x86/test/test_calling_convention.py [47 started in total] __ jit/backend/x86/test/test_calling_convention.py [44 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:03 starting jit/backend/x86/test/test_del.py [48 started in total] __ jit/backend/x86/test/test_del.py [45 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:04 starting jit/backend/x86/test/test_dict.py [49 started in total] __ jit/backend/x86/test/test_dict.py [46 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:05 starting jit/backend/x86/test/test_exception.py [50 started in total] __ jit/backend/x86/test/test_exception.py [47 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:06 starting jit/backend/x86/test/test_fficall.py [51 started in total] __ jit/backend/x86/test/test_fficall.py [48 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:07 starting jit/backend/x86/test/test_float.py [52 started in total] __ jit/backend/x86/test/test_float.py [49 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:08 starting jit/backend/x86/test/test_jitlog.py [53 started in total] __ jit/backend/x86/test/test_jitlog.py [50 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:09 starting jit/backend/x86/test/test_jump.py [54 started in total] __ jit/backend/x86/test/test_jump.py [51 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:10 starting jit/backend/x86/test/test_list.py [55 started in total] __ jit/backend/x86/test/test_list.py [52 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:11 starting jit/backend/x86/test/test_llop.py [56 started in total] __ jit/backend/x86/test/test_llop.py [53 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:12 starting jit/backend/x86/test/test_longlong.py [57 started in total] __ jit/backend/x86/test/test_longlong.py [54 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:14 starting jit/backend/x86/test/test_loop_unroll.py [58 started in total] __ jit/backend/x86/test/test_loop_unroll.py [55 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:15 starting jit/backend/x86/test/test_quasiimmut.py [59 started in total] __ jit/backend/x86/test/test_quasiimmut.py [56 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:16 starting jit/backend/x86/test/test_rawmem.py [60 started in total] __ jit/backend/x86/test/test_rawmem.py [57 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:17 starting jit/backend/x86/test/test_recursive.py [61 started in total] __ jit/backend/aarch64/test/test_ztranslation_basic.py [58 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/aarch64/test/test_ztranslation_basic.py . ========================== 1 passed in 296.98 seconds ========================== ++ 23:25:18 starting jit/backend/x86/test/test_regalloc.py [62 started in total] __ jit/backend/x86/test/test_recursive.py [59 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:18 starting jit/backend/x86/test/test_regloc.py [63 started in total] __ jit/backend/x86/test/test_regalloc.py [60 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:19 starting jit/backend/x86/test/test_runner.py [64 started in total] __ jit/backend/x86/test/test_regloc.py [61 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:19 starting jit/backend/x86/test/test_rvmprof.py [65 started in total] __ jit/backend/x86/test/test_runner.py [62 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:20 starting jit/backend/x86/test/test_rx86.py [66 started in total] __ jit/backend/x86/test/test_rvmprof.py [63 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:20 starting jit/backend/x86/test/test_rx86_32_auto_encoding.py [67 started in total] __ jit/backend/x86/test/test_rx86.py [64 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:21 starting jit/backend/x86/test/test_rx86_64_auto_encoding.py [68 started in total] __ jit/backend/x86/test/test_rx86_32_auto_encoding.py [65 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:21 starting jit/backend/x86/test/test_send.py [69 started in total] __ jit/backend/x86/test/test_rx86_64_auto_encoding.py [66 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:22 starting jit/backend/x86/test/test_slist.py [70 started in total] __ jit/backend/x86/test/test_send.py [67 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:22 starting jit/backend/x86/test/test_string.py [71 started in total] __ jit/backend/x86/test/test_slist.py [68 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:23 starting jit/backend/x86/test/test_symbolic_x86.py [72 started in total] __ jit/backend/x86/test/test_string.py [69 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:23 starting jit/backend/x86/test/test_tl.py [73 started in total] __ jit/backend/x86/test/test_symbolic_x86.py [70 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:24 starting jit/backend/x86/test/test_tlc.py [74 started in total] __ jit/backend/x86/test/test_tl.py [71 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:24 starting jit/backend/x86/test/test_tracelimit.py [75 started in total] __ jit/backend/x86/test/test_tlc.py [72 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:25 starting jit/backend/x86/test/test_virtual.py [76 started in total] __ jit/backend/x86/test/test_tracelimit.py [73 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:25 starting jit/backend/x86/test/test_virtualizable.py [77 started in total] __ jit/backend/x86/test/test_virtual.py [74 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:26 starting jit/backend/x86/test/test_virtualref.py [78 started in total] __ jit/backend/x86/test/test_virtualizable.py [75 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:27 starting jit/backend/x86/test/test_x86vector.py [79 started in total] __ jit/backend/x86/test/test_virtualref.py [76 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:27 starting jit/backend/x86/test/test_zmath.py [80 started in total] __ jit/backend/x86/test/test_x86vector.py [77 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:28 starting jit/backend/x86/test/test_zrpy_gc.py [81 started in total] __ jit/backend/llsupport/test [78 done in total, somefailed=True] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 420 items jit/backend/llsupport/test/test_asmmemmgr.py ...........s... jit/backend/llsupport/test/test_codemap.py .. jit/backend/llsupport/test/test_descr.py ....s....s............ jit/backend/llsupport/test/test_ffisupport.py . jit/backend/llsupport/test/test_gc.py .EEEEEEEEEE.. jit/backend/llsupport/test/test_gc_integration.py ..............s...... jit/backend/llsupport/test/test_gcreftracer.py ... jit/backend/llsupport/test/test_recompilation.py ..... jit/backend/llsupport/test/test_regalloc.py ...............................................s. jit/backend/llsupport/test/test_regalloc_integration.py ...........................ssssss jit/backend/llsupport/test/test_rewrite.py ........................................................................................... jit/backend/llsupport/test/test_runner.py ssssssssssssss.sssssssssssssssss.ss..sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss..sssssss.s.s.s.s.ssssssssssssssssssssssssssssssssssss jit/backend/llsupport/test/test_skiplist.py . jit/backend/llsupport/test/test_symbolic.py ...... jit/backend/llsupport/test/test_zrpy_gc_direct.py FF ==================================== ERRORS ==================================== ________________ ERROR at setup of TestFramework.test_gc_malloc ________________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xfffc6aa69410> meth = <bound method TestFramework.test_gc_malloc of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xfffc6aa69410>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestFramework.test_gc_malloc_array _____________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xfffc6a7cec50> meth = <bound method TestFramework.test_gc_malloc_array of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xfffc6a7cec50>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______________ ERROR at setup of TestFramework.test_gc_malloc_str ______________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xfffc6aa56150> meth = <bound method TestFramework.test_gc_malloc_str of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xfffc6aa56150>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestFramework.test_gc_malloc_unicode ____________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xfffc6a68ee50> meth = <bound method TestFramework.test_gc_malloc_unicode of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xfffc6a68ee50>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestFramework.test_gen_write_barrier ____________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xfffc6aaab8d0> meth = <bound method TestFramework.test_gen_write_barrier of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xfffc6aaab8d0>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestFrameworkMiniMark.test_gc_malloc ____________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xfffc6aabc7d0> meth = <bound method TestFrameworkMiniMark.test_gc_malloc of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xfffc6aabc7d0>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestFrameworkMiniMark.test_gc_malloc_array _________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xfffc6a83fbd0> meth = <bound method TestFrameworkMiniMark.test_gc_malloc_array of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xfffc6a83fbd0>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestFrameworkMiniMark.test_gc_malloc_str __________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xfffc6a90fa10> meth = <bound method TestFrameworkMiniMark.test_gc_malloc_str of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xfffc6a90fa10>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestFrameworkMiniMark.test_gc_malloc_unicode ________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xfffc6a707e50> meth = <bound method TestFrameworkMiniMark.test_gc_malloc_unicode of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xfffc6a707e50>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestFrameworkMiniMark.test_gen_write_barrier ________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xfffc6a716910> meth = <bound method TestFrameworkMiniMark.test_gen_write_barrier of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xfffc6a716910>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError =================================== FAILURES =================================== ____________________ test_guards_translated_with_gctypeptr _____________________ def test_guards_translated_with_gctypeptr(): > run_guards_translated(gcremovetypeptr=False) jit/backend/llsupport/test/test_zrpy_gc_direct.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/test_zrpy_gc_direct.py:45: in run_guards_translated gcdescr=get_description(t.config)) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 8 blocks -=- [rtyper] -=- specialized 4 more blocks -=- ___________________ test_guards_translated_without_gctypeptr ___________________ def test_guards_translated_without_gctypeptr(): > run_guards_translated(gcremovetypeptr=True) jit/backend/llsupport/test/test_zrpy_gc_direct.py:226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/test_zrpy_gc_direct.py:45: in run_guards_translated gcdescr=get_description(t.config)) jit/backend/aarch64/runner.py:27: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 8 blocks -=- [rtyper] -=- specialized 4 more blocks -=- =========================== short test summary info ============================ FAIL jit/backend/llsupport/test/test_zrpy_gc_direct.py::test_guards_translated_with_gctypeptr FAIL jit/backend/llsupport/test/test_zrpy_gc_direct.py::test_guards_translated_without_gctypeptr ========= 2 failed, 252 passed, 156 skipped, 10 error in 41.11 seconds ========= ++ 23:25:28 starting jit/backend/x86/test/test_zrpy_gc_boehm.py [82 started in total] __ jit/backend/x86/test/test_zmath.py [79 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:29 starting jit/backend/x86/test/test_zrpy_releasegil.py [83 started in total] __ jit/backend/x86/test/test_zrpy_gc.py [80 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:29 starting jit/backend/x86/test/test_zrpy_vecopt.py [84 started in total] __ jit/backend/x86/test/test_zrpy_gc_boehm.py [81 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:29 starting jit/backend/x86/test/test_zrpy_vmprof.py [85 started in total] __ jit/backend/x86/test/test_zrpy_releasegil.py [82 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:30 starting jit/backend/x86/test/test_ztranslation_basic.py [86 started in total] __ jit/backend/x86/test/test_zrpy_vecopt.py [83 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:30 starting jit/backend/x86/test/test_ztranslation_call_assembler.py [87 started in total] __ jit/backend/x86/test/test_zrpy_vmprof.py [84 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:30 starting jit/backend/x86/test/test_ztranslation_external_exception.py [88 started in total] __ jit/backend/x86/test/test_ztranslation_basic.py [85 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:31 starting jit/backend/x86/test/test_ztranslation_jit_stats.py [89 started in total] __ jit/backend/x86/test/test_ztranslation_call_assembler.py [86 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:31 starting jit/backend/x86/tool/test/test_viewcode.py [90 started in total] __ jit/backend/x86/test/test_ztranslation_external_exception.py [87 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:31 starting jit/backend/zarch/test [91 started in total] __ jit/backend/x86/test/test_ztranslation_jit_stats.py [88 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:25:32 starting jit/codewriter/test [92 started in total] __ jit/backend/x86/tool/test/test_viewcode.py [89 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/tool/test/test_viewcode.py ... =========================== 3 passed in 0.01 seconds =========================== ++ 23:25:32 starting jit/metainterp/optimizeopt/test/test_costmodel.py [93 started in total] __ jit/backend/zarch/test [90 done in total, somefailed=False] ________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 23:25:32 starting jit/metainterp/optimizeopt/test/test_dependency.py [94 started in total] __ jit/metainterp/optimizeopt/test/test_costmodel.py [91 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items jit/metainterp/optimizeopt/test/test_costmodel.py ........... ========================== 11 passed in 1.21 seconds =========================== ++ 23:25:34 starting jit/metainterp/optimizeopt/test/test_guard.py [95 started in total] __ jit/metainterp/optimizeopt/test/test_dependency.py [92 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 36 items jit/metainterp/optimizeopt/test/test_dependency.py .................................... ========================== 36 passed in 1.22 seconds =========================== ++ 23:25:35 starting jit/metainterp/optimizeopt/test/test_intbound.py [96 started in total] __ jit/metainterp/optimizeopt/test/test_guard.py [93 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/optimizeopt/test/test_guard.py ....... =========================== 7 passed in 1.16 seconds =========================== ++ 23:25:37 starting jit/metainterp/optimizeopt/test/test_intdiv.py [97 started in total] __ jit/metainterp/optimizeopt/test/test_intdiv.py [94 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/metainterp/optimizeopt/test/test_intdiv.py ... =========================== 3 passed in 2.04 seconds =========================== ++ 23:25:40 starting jit/metainterp/optimizeopt/test/test_optimizebasic.py [98 started in total] __ jit/codewriter/test [95 done in total, somefailed=False] ___________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 530 items jit/codewriter/test/test_assembler.py ...s.......... jit/codewriter/test/test_call.py .......s....... jit/codewriter/test/test_codewriter.py ....... jit/codewriter/test/test_effectinfo.py ............ jit/codewriter/test/test_flatten.py .................................................. jit/codewriter/test/test_format.py ............ jit/codewriter/test/test_jitcode.py . jit/codewriter/test/test_jtransform.py .............................................................................................................................................................................................................................................................................................................................................. jit/codewriter/test/test_list.py ............. jit/codewriter/test/test_liveness.py ................ jit/codewriter/test/test_longlong.py .ssssssss jit/codewriter/test/test_policy.py ........... jit/codewriter/test/test_regalloc.py ............ jit/codewriter/test/test_support.py ........... jit/codewriter/test/test_void_list.py ............. =================== 520 passed, 10 skipped in 10.15 seconds ==================== ++ 23:25:44 starting jit/metainterp/optimizeopt/test/test_optimizebridge.py [99 started in total] __ jit/metainterp/optimizeopt/test/test_optimizebasic.py [96 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 136 items jit/metainterp/optimizeopt/test/test_optimizebasic.py ............................................x.........................................................x..............x.................. ==================== 133 passed, 3 xfailed in 3.50 seconds ===================== ++ 23:25:45 starting jit/metainterp/optimizeopt/test/test_optimizeheap.py [100 started in total] __ jit/metainterp/optimizeopt/test/test_optimizebridge.py [97 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items jit/metainterp/optimizeopt/test/test_optimizebridge.py .... =========================== 4 passed in 1.30 seconds =========================== ++ 23:25:46 starting jit/metainterp/optimizeopt/test/test_optimizeintbound.py [101 started in total] __ jit/metainterp/optimizeopt/test/test_optimizeheap.py [98 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 111 items jit/metainterp/optimizeopt/test/test_optimizeheap.py ..........................................x......................x............................................. ==================== 109 passed, 2 xfailed in 2.36 seconds ===================== ++ 23:25:48 starting jit/metainterp/optimizeopt/test/test_optimizeopt.py [102 started in total] __ jit/metainterp/optimizeopt/test/test_optimizeintbound.py [99 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 201 items jit/metainterp/optimizeopt/test/test_optimizeintbound.py ......................................................................................................................................................................................................... ========================== 201 passed in 3.93 seconds ========================== ++ 23:25:52 starting jit/metainterp/optimizeopt/test/test_rawbuffer.py [103 started in total] __ jit/metainterp/optimizeopt/test/test_rawbuffer.py [100 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/optimizeopt/test/test_rawbuffer.py ....... =========================== 7 passed in 1.03 seconds =========================== ++ 23:25:54 starting jit/metainterp/optimizeopt/test/test_schedule.py [104 started in total] __ jit/metainterp/optimizeopt/test/test_schedule.py [101 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items jit/metainterp/optimizeopt/test/test_schedule.py ...s...s......... ===================== 15 passed, 2 skipped in 1.18 seconds ===================== ++ 23:25:57 starting jit/metainterp/optimizeopt/test/test_short.py [105 started in total] __ jit/metainterp/optimizeopt/test/test_short.py [102 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items jit/metainterp/optimizeopt/test/test_short.py .. =========================== 2 passed in 1.03 seconds =========================== ++ 23:26:00 starting jit/metainterp/optimizeopt/test/test_unroll.py [106 started in total] __ jit/metainterp/optimizeopt/test/test_optimizeopt.py [103 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 417 items jit/metainterp/optimizeopt/test/test_optimizeopt.py ......................................................................................................................x..............................................................................................x..............x..............................................................................................................x.....x.....x....................................x............................ ==================== 410 passed, 7 xfailed in 9.92 seconds ===================== ++ 23:26:00 starting jit/metainterp/optimizeopt/test/test_util.py [107 started in total] __ jit/metainterp/optimizeopt/test/test_unroll.py [104 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items jit/metainterp/optimizeopt/test/test_unroll.py ............ ========================== 12 passed in 1.29 seconds =========================== ++ 23:26:02 starting jit/metainterp/optimizeopt/test/test_vecopt.py [108 started in total] __ jit/metainterp/optimizeopt/test/test_util.py [105 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/metainterp/optimizeopt/test/test_util.py ... =========================== 3 passed in 1.13 seconds =========================== ++ 23:26:03 starting jit/metainterp/optimizeopt/test/test_virtualstate.py [109 started in total] __ jit/metainterp/optimizeopt/test/test_vecopt.py [106 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 72 items jit/metainterp/optimizeopt/test/test_vecopt.py ........................s............................................... ===================== 71 passed, 1 skipped in 1.70 seconds ===================== ++ 23:26:05 starting jit/metainterp/optimizeopt/test/test_z3checktests.py [110 started in total] __ jit/metainterp/optimizeopt/test/test_virtualstate.py [107 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 49 items jit/metainterp/optimizeopt/test/test_virtualstate.py ...........................................ssssss ===================== 43 passed, 6 skipped in 1.93 seconds ===================== ++ 23:26:06 starting jit/metainterp/optimizeopt/test/test_z3intbound.py [111 started in total] __ jit/metainterp/optimizeopt/test/test_z3checktests.py [108 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 1.16 seconds =========================== ++ 23:26:08 starting jit/metainterp/ruleopt/test/test_codegen.py [112 started in total] __ jit/metainterp/optimizeopt/test/test_z3intbound.py [109 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 1.23 seconds =========================== ++ 23:26:09 starting jit/metainterp/ruleopt/test/test_parse.py [113 started in total] __ jit/metainterp/ruleopt/test/test_codegen.py [110 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.01 seconds =========================== ++ 23:26:09 starting jit/metainterp/ruleopt/test/test_prove.py [114 started in total] __ jit/metainterp/ruleopt/test/test_parse.py [111 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.01 seconds =========================== ++ 23:26:10 starting jit/metainterp/test/test_ajit.py [115 started in total] __ jit/metainterp/ruleopt/test/test_prove.py [112 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.01 seconds =========================== ++ 23:26:10 starting jit/metainterp/test/test_blackhole.py [116 started in total] __ jit/metainterp/test/test_blackhole.py [113 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items jit/metainterp/test/test_blackhole.py ......xxx.. ===================== 8 passed, 3 xfailed in 1.79 seconds ====================== ++ 23:26:13 starting jit/metainterp/test/test_bridgeopt.py [117 started in total] __ jit/metainterp/test/test_bridgeopt.py [114 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items jit/metainterp/test/test_bridgeopt.py ..........x ==================== 10 passed, 1 xfailed in 23.55 seconds ===================== ++ 23:26:41 starting jit/metainterp/test/test_bytearray.py [118 started in total] __ jit/metainterp/test/test_bytearray.py [115 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items jit/metainterp/test/test_bytearray.py ......s. ===================== 7 passed, 1 skipped in 3.02 seconds ====================== ++ 23:26:46 starting jit/metainterp/test/test_call.py [119 started in total] __ jit/metainterp/test/test_call.py [116 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items jit/metainterp/test/test_call.py ................ ========================== 16 passed in 4.41 seconds =========================== ++ 23:26:51 starting jit/metainterp/test/test_compile.py [120 started in total] __ jit/metainterp/test/test_compile.py [117 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items jit/metainterp/test/test_compile.py .. =========================== 2 passed in 1.22 seconds =========================== ++ 23:26:54 starting jit/metainterp/test/test_counter.py [121 started in total] __ jit/metainterp/test/test_counter.py [118 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/test/test_counter.py ....... =========================== 7 passed in 5.22 seconds =========================== ++ 23:27:01 starting jit/metainterp/test/test_del.py [122 started in total] __ jit/metainterp/test/test_del.py [119 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/metainterp/test/test_del.py ... =========================== 3 passed in 1.93 seconds =========================== ++ 23:27:04 starting jit/metainterp/test/test_dict.py [123 started in total] __ jit/metainterp/optimizeopt/test/test_intbound.py [120 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 133 items jit/metainterp/optimizeopt/test/test_intbound.py ..................................................................................................................................... ========================= 133 passed in 199.08 seconds ========================= ++ 23:28:57 starting jit/metainterp/test/test_exception.py [124 started in total] __ jit/metainterp/test/test_ajit.py [121 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 223 items jit/metainterp/test/test_ajit.py .............................................................................................................................................................s..............s...........s................................s.s... =================== 218 passed, 5 skipped in 165.69 seconds ==================== ++ 23:29:03 starting jit/metainterp/test/test_executor.py [125 started in total] __ jit/metainterp/test/test_exception.py [122 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 32 items jit/metainterp/test/test_exception.py ................................ ========================== 32 passed in 7.09 seconds =========================== ++ 23:29:06 starting jit/metainterp/test/test_fficall.py [126 started in total] __ jit/metainterp/test/test_executor.py [123 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/test/test_executor.py ....... =========================== 7 passed in 1.06 seconds =========================== ++ 23:29:06 starting jit/metainterp/test/test_float.py [127 started in total] __ jit/metainterp/test/test_float.py [124 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items jit/metainterp/test/test_float.py .......... ========================== 10 passed in 2.64 seconds =========================== ++ 23:29:10 starting jit/metainterp/test/test_greenfield.py [128 started in total] __ jit/metainterp/test/test_greenfield.py [125 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 1.15 seconds =========================== ++ 23:29:13 starting jit/metainterp/test/test_heapcache.py [129 started in total] __ jit/metainterp/test/test_heapcache.py [126 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 44 items jit/metainterp/test/test_heapcache.py ...............s.sss........................ ===================== 40 passed, 4 skipped in 1.10 seconds ===================== ++ 23:29:15 starting jit/metainterp/test/test_history.py [130 started in total] __ jit/metainterp/test/test_dict.py [127 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 42 items jit/metainterp/test/test_dict.py ........................s.ss.....s......s. ==================== 37 passed, 5 skipped in 128.71 seconds ==================== ++ 23:29:22 starting jit/metainterp/test/test_immutable.py [131 started in total] __ jit/metainterp/test/test_history.py [128 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/test/test_history.py ....... =========================== 7 passed in 6.93 seconds =========================== ++ 23:29:24 starting jit/metainterp/test/test_jitdriver.py [132 started in total] __ jit/metainterp/test/test_fficall.py [129 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items jit/metainterp/test/test_fficall.py ...s........s.... ==================== 15 passed, 2 skipped in 18.82 seconds ===================== ++ 23:29:26 starting jit/metainterp/test/test_jitiface.py [133 started in total] __ jit/metainterp/test/test_immutable.py [130 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items jit/metainterp/test/test_immutable.py ........ =========================== 8 passed in 5.29 seconds =========================== ++ 23:29:29 starting jit/metainterp/test/test_jitprof.py [134 started in total] __ jit/metainterp/test/test_jitiface.py [131 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items jit/metainterp/test/test_jitiface.py ........... ========================== 11 passed in 4.08 seconds =========================== ++ 23:29:31 starting jit/metainterp/test/test_list.py [135 started in total] __ jit/metainterp/test/test_jitprof.py [132 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items jit/metainterp/test/test_jitprof.py s... ===================== 3 passed, 1 skipped in 2.01 seconds ====================== ++ 23:29:32 starting jit/metainterp/test/test_llop.py [136 started in total] __ jit/metainterp/test/test_jitdriver.py [133 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/test/test_jitdriver.py ....s.. ===================== 6 passed, 1 skipped in 7.19 seconds ====================== ++ 23:29:32 starting jit/metainterp/test/test_logger.py [137 started in total] __ jit/metainterp/test/test_logger.py [134 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items jit/metainterp/test/test_logger.py ................ ========================== 16 passed in 1.08 seconds =========================== ++ 23:29:35 starting jit/metainterp/test/test_longlong.py [138 started in total] __ jit/metainterp/test/test_llop.py [135 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/metainterp/test/test_llop.py ..... =========================== 5 passed in 3.31 seconds =========================== ++ 23:29:36 starting jit/metainterp/test/test_loop.py [139 started in total] __ jit/metainterp/test/test_longlong.py [136 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items jit/metainterp/test/test_longlong.py ssssssssssssss ========================== 14 skipped in 1.17 seconds ========================== ++ 23:29:37 starting jit/metainterp/test/test_loop_unroll.py [140 started in total] __ jit/metainterp/test/test_list.py [137 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 27 items jit/metainterp/test/test_list.py ...s....................... ==================== 26 passed, 1 skipped in 12.72 seconds ===================== ++ 23:29:46 starting jit/metainterp/test/test_loop_unroll_disopt.py [141 started in total] __ jit/metainterp/test/test_loop_unroll.py [138 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/metainterp/test/test_loop_unroll.py ..............................ss.s... ==================== 34 passed, 3 skipped in 26.60 seconds ===================== ++ 23:30:05 starting jit/metainterp/test/test_math.py [142 started in total] __ jit/metainterp/test/test_math.py [139 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/metainterp/test/test_math.py . =========================== 1 passed in 2.06 seconds =========================== ++ 23:30:08 starting jit/metainterp/test/test_memmgr.py [143 started in total] __ jit/metainterp/test/test_loop.py [140 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/metainterp/test/test_loop.py ..............................ss.s... ==================== 34 passed, 3 skipped in 29.25 seconds ===================== ++ 23:30:09 starting jit/metainterp/test/test_opencoder.py [144 started in total] __ jit/metainterp/test/test_opencoder.py [141 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items jit/metainterp/test/test_opencoder.py ........... ========================== 11 passed in 1.36 seconds =========================== ++ 23:30:11 starting jit/metainterp/test/test_pyjitpl.py [145 started in total] __ jit/metainterp/test/test_pyjitpl.py [142 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/metainterp/test/test_pyjitpl.py s.. ===================== 2 passed, 1 skipped in 1.09 seconds ====================== ++ 23:30:14 starting jit/metainterp/test/test_quasiimmut.py [146 started in total] __ jit/metainterp/test/test_quasiimmut.py [143 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items jit/metainterp/test/test_quasiimmut.py ...............s..... ===================== 20 passed, 1 skipped in 5.87 seconds ===================== ++ 23:30:21 starting jit/metainterp/test/test_rawmem.py [147 started in total] __ jit/metainterp/test/test_rawmem.py [144 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items jit/metainterp/test/test_rawmem.py ........ =========================== 8 passed in 2.68 seconds =========================== ++ 23:30:25 starting jit/metainterp/test/test_recursive.py [148 started in total] __ jit/backend/test [145 done in total, somefailed=False] _____________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items jit/backend/test/test_detect_cpu.py ..... jit/backend/test/test_ll_random.py . jit/backend/test/test_model.py . jit/backend/test/test_random.py . jit/backend/test/test_zll_stress_0.py . jit/backend/test/test_zll_stress_1.py . jit/backend/test/test_zll_stress_2.py . jit/backend/test/test_zll_stress_3.py . ========================= 12 passed in 396.63 seconds ========================== ++ 23:31:37 starting jit/metainterp/test/test_resoperation.py [149 started in total] __ jit/metainterp/test/test_resoperation.py [146 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items jit/metainterp/test/test_resoperation.py ............... ========================== 15 passed in 1.08 seconds =========================== ++ 23:31:39 starting jit/metainterp/test/test_resume.py [150 started in total] __ jit/metainterp/test/test_resume.py [147 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/metainterp/test/test_resume.py ............................ss....... ===================== 35 passed, 2 skipped in 1.87 seconds ===================== ++ 23:31:42 starting jit/metainterp/test/test_resumecode.py [151 started in total] __ jit/metainterp/test/test_recursive.py [148 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 42 items jit/metainterp/test/test_recursive.py ................s........s................ ==================== 40 passed, 2 skipped in 75.86 seconds ===================== ++ 23:31:45 starting jit/metainterp/test/test_send.py [152 started in total] __ jit/metainterp/test/test_resumecode.py [149 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/metainterp/test/test_resumecode.py ..... =========================== 5 passed in 3.51 seconds =========================== ++ 23:31:47 starting jit/metainterp/test/test_slist.py [153 started in total] __ jit/metainterp/test/test_slist.py [150 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items jit/metainterp/test/test_slist.py ...... =========================== 6 passed in 3.77 seconds =========================== ++ 23:31:52 starting jit/metainterp/test/test_string.py [154 started in total] __ jit/metainterp/test/test_send.py [151 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 22 items jit/metainterp/test/test_send.py ...................... ========================== 22 passed in 11.84 seconds ========================== ++ 23:32:00 starting jit/metainterp/test/test_support.py [155 started in total] __ jit/metainterp/test/test_support.py [152 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/metainterp/test/test_support.py . =========================== 1 passed in 0.10 seconds =========================== ++ 23:32:01 starting jit/metainterp/test/test_threadlocal.py [156 started in total] __ jit/metainterp/test/test_threadlocal.py [153 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/metainterp/test/test_threadlocal.py ... =========================== 3 passed in 1.64 seconds =========================== ++ 23:32:03 starting jit/metainterp/test/test_tl.py [157 started in total] __ jit/metainterp/test/test_memmgr.py [154 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/metainterp/test/test_memmgr.py . ========================== 1 passed in 109.42 seconds ========================== ++ 23:32:04 starting jit/metainterp/test/test_tlc.py [158 started in total] __ jit/metainterp/test/test_tlc.py [155 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items jit/metainterp/test/test_tlc.py .s ===================== 1 passed, 1 skipped in 5.94 seconds ====================== ++ 23:32:11 starting jit/metainterp/test/test_tracelimit.py [159 started in total] __ jit/metainterp/test/test_tl.py [156 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/metainterp/test/test_tl.py ..... ========================== 5 passed in 10.22 seconds =========================== ++ 23:32:16 starting jit/metainterp/test/test_tracingopts.py [160 started in total] __ jit/metainterp/test/test_tracingopts.py [157 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 39 items jit/metainterp/test/test_tracingopts.py .................................s..... ==================== 38 passed, 1 skipped in 14.87 seconds ===================== ++ 23:32:33 starting jit/metainterp/test/test_virtual.py [161 started in total] __ jit/metainterp/test/test_string.py [158 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 97 items jit/metainterp/test/test_string.py .............................s............................................s...................... ==================== 95 passed, 2 skipped in 56.61 seconds ===================== ++ 23:32:51 starting jit/metainterp/test/test_virtualizable.py [162 started in total] __ jit/metainterp/test/test_loop_unroll_disopt.py [159 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 259 items jit/metainterp/test/test_loop_unroll_disopt.py ..............................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s... =================== 238 passed, 21 skipped in 187.35 seconds =================== ++ 23:33:01 starting jit/metainterp/test/test_virtualref.py [163 started in total] __ jit/metainterp/test/test_virtualref.py [160 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items jit/metainterp/test/test_virtualref.py ..s.................. ===================== 20 passed, 1 skipped in 9.16 seconds ===================== ++ 23:33:11 starting jit/metainterp/test/test_warmspot.py [164 started in total] __ jit/metainterp/test/test_warmspot.py [161 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 27 items jit/metainterp/test/test_warmspot.py ...........sss.....ssss.... ===================== 20 passed, 7 skipped in 5.73 seconds ===================== ++ 23:33:18 starting jit/metainterp/test/test_warmstate.py [165 started in total] __ jit/metainterp/test/test_warmstate.py [162 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items jit/metainterp/test/test_warmstate.py ......... =========================== 9 passed in 1.37 seconds =========================== ++ 23:33:21 starting jit/metainterp/test/test_zvector.py [166 started in total] __ jit/metainterp/test/test_virtual.py [163 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 133 items jit/metainterp/test/test_virtual.py ..................................................................................................................................... ========================= 133 passed in 48.10 seconds ========================== ++ 23:33:24 starting jit/tl/test [167 started in total] __ jit/metainterp/test/test_virtualizable.py [164 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 50 items jit/metainterp/test/test_virtualizable.py ................x................................. ==================== 49 passed, 1 xfailed in 32.70 seconds ===================== ++ 23:33:29 starting jit/tl/tinyframe/test [168 started in total] __ jit/tl/tinyframe/test [165 done in total, somefailed=False] ________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/tl/tinyframe/test/test_tinyframe.py ....... =========================== 7 passed in 2.33 seconds =========================== ++ 23:33:32 starting jit/tl/tla [169 started in total] __ jit/tl/test [166 done in total, somefailed=False] __________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 44 items / 1 skipped jit/tl/test/test_brainfuck.py . jit/tl/test/test_tl.py ......................s jit/tl/test/test_tlc.py .................. jit/tl/test/test_tlr.py .s ===================== 42 passed, 3 skipped in 7.23 seconds ===================== ++ 23:33:32 starting jit/tool/test [170 started in total] __ jit/tool/test [167 done in total, somefailed=False] ________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 49 items jit/tool/test/test_jitoutput.py .. jit/tool/test/test_loopcounter.py . jit/tool/test/test_oparser.py ................................... jit/tool/test/test_traceviewer.py ........... ========================== 49 passed in 2.08 seconds =========================== ++ 23:33:36 starting memory/gc/test [171 started in total] __ jit/tl/tla [168 done in total, somefailed=False] ___________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items jit/tl/tla/test_tla.py ..........ssss. ===================== 11 passed, 4 skipped in 5.96 seconds ===================== ++ 23:33:39 starting memory/gctransform/test [172 started in total] __ jit/metainterp/test/test_tracelimit.py [169 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/metainterp/test/test_tracelimit.py ..... ========================== 5 passed in 88.15 seconds =========================== ++ 23:33:46 starting memory/test/test_gctypelayout.py [173 started in total] __ memory/test/test_gctypelayout.py [170 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items memory/test/test_gctypelayout.py ..... =========================== 5 passed in 1.25 seconds =========================== ++ 23:33:48 starting memory/test/test_generational_gc.py [174 started in total] __ memory/test/test_generational_gc.py [171 done in total, somefailed=True] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _____________ ERROR collecting memory/test/test_generational_gc.py _____________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_generational_gc.py:3: in <module> class TestGenerationalGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_generational_gc.py:4: in TestGenerationalGC from rpython.memory.gc.generation import GenerationGC as GCClass memory/gc/generation.py:5: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 1.14 seconds ============================ ++ 23:33:51 starting memory/test/test_growingsemispace_gc.py [175 started in total] __ memory/gctransform/test [172 done in total, somefailed=True] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 85 items memory/gctransform/test/test_boehm.py ...... memory/gctransform/test/test_framework.py F..FFFFFFFF...... memory/gctransform/test/test_refcounting.py .s............. memory/gctransform/test/test_shadowcolor.py ................................... memory/gctransform/test/test_statistics.py .. memory/gctransform/test/test_transform.py .......... =================================== FAILURES =================================== ____________________________ test_framework_simple _____________________________ def test_framework_simple(): def g(x): return x + 1 class A(object): pass def entrypoint(argv): a = A() a.b = g(1) return str(a.b) from rpython.rtyper.llinterp import LLInterpreter from rpython.translator.c.genc import CStandaloneBuilder t = rtype(entrypoint, [s_list_of_strings]) t.config.translation.gc = "minimark" cbuild = CStandaloneBuilder(t, entrypoint, t.config, gcpolicy=FrameworkGcPolicy2) cbuild.make_entrypoint_wrapper = False > db = cbuild.build_database() memory/gctransform/test/test_framework.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:309: in gettransformer return self.transformerclass(translator, gchooks=gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 33 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- _______________________________ test_no_collect ________________________________ def test_no_collect(): from rpython.rlib import rgc from rpython.translator.c.genc import CStandaloneBuilder @rgc.no_collect def g(): return 1 assert g._dont_inline_ assert g._gc_no_collect_ def entrypoint(argv): return g() + 2 t = rtype(entrypoint, [s_list_of_strings]) t.config.translation.gc = "minimark" cbuild = CStandaloneBuilder(t, entrypoint, t.config, gcpolicy=FrameworkGcPolicy2) cbuild.make_entrypoint_wrapper = False > db = cbuild.build_database() memory/gctransform/test/test_framework.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:309: in gettransformer return self.transformerclass(translator, gchooks=gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 6 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- __________________________ test_no_collect_detection ___________________________ def test_no_collect_detection(): from rpython.rlib import rgc from rpython.translator.c.genc import CStandaloneBuilder class A(object): def __init__(self, x): self.x = x @rgc.no_collect def g(): return A(1).x assert g._dont_inline_ assert g._gc_no_collect_ def entrypoint(argv): return g() + 2 t = rtype(entrypoint, [s_list_of_strings]) t.config.translation.gc = "minimark" cbuild = CStandaloneBuilder(t, entrypoint, t.config, gcpolicy=FrameworkGcPolicy2) cbuild.make_entrypoint_wrapper = False with py.test.raises(Exception) as f: cbuild.build_database() expected = "'no_collect' function can trigger collection: <function g at " > assert str(f.value).startswith(expected) E assert <built-in method startswith of str object at 0xffff3fd77630>("'no_collect' function can trigger collection: <function g at ") E + where <built-in method startswith of str object at 0xffff3fd77630> = "Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (env.py, line 423)".startswith E + where "Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (env.py, line 423)" = str(SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarc...build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py', 423, 0, None))) E + where SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarc...build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py', 423, 0, None)) = SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarc...build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py', 423, 0, None)) E + where SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarc...build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py', 423, 0, None)) = <ExceptionInfo SyntaxError tblen=7>.value memory/gctransform/test/test_framework.py:148: AssertionError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 8 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- ____________________ test_custom_trace_function_no_collect _____________________ def test_custom_trace_function_no_collect(): from rpython.rlib import rgc from rpython.translator.c.genc import CStandaloneBuilder S = lltype.GcStruct("MyStructure") class Glob: pass glob = Glob() def trace_func(gc, obj, callback, arg1, arg2): glob.foo = (gc, obj) lambda_trace_func = lambda: trace_func def entrypoint(argv): lltype.malloc(S) rgc.register_custom_trace_hook(S, lambda_trace_func) return 0 def run_rtyper(fn): t = rtype(fn, [s_list_of_strings]) t.config.translation.gc = "minimark" cbuild = CStandaloneBuilder(t, fn, t.config, gcpolicy=FrameworkGcPolicy2) cbuild.make_entrypoint_wrapper = False cbuild.build_database() return True with py.test.raises(Exception) as f: run_rtyper(entrypoint) > assert 'can cause the GC to be called' in str(f.value) E assert 'can cause the GC to be called' in "Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (env.py, line 423)" E + where "Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (env.py, line 423)" = str(SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarc...build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py', 423, 0, None))) E + where SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarc...build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py', 423, 0, None)) = SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarc...build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py', 423, 0, None)) E + where SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-aarc...build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py', 423, 0, None)) = <ExceptionInfo SyntaxError tblen=8>.value memory/gctransform/test/test_framework.py:177: AssertionError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 4 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- _____________________ test_write_barrier_support_setfield ______________________ def test_write_barrier_support_setfield(): PTR_TYPE2 = lltype.Ptr(lltype.GcStruct('T', ('y', lltype.Signed))) PTR_TYPE = lltype.Ptr(lltype.GcStruct('S', ('x', PTR_TYPE2))) write_barrier_check(SpaceOperation( "setfield", [varoftype(PTR_TYPE), Constant('x', lltype.Void), varoftype(PTR_TYPE2)], > varoftype(lltype.Void))) memory/gctransform/test/test_framework.py:220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ memory/gctransform/test/test_framework.py:201: in write_barrier_check transformer = WriteBarrierTransformer(t) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xffff3fb57650> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xffff3fe47c50>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 4 blocks -=- [rtyper] -=- specialized 4 more blocks -=- ______________ test_dont_add_write_barrier_for_constant_new_value ______________ def test_dont_add_write_barrier_for_constant_new_value(): PTR_TYPE2 = lltype.Ptr(lltype.GcStruct('T', ('y', lltype.Signed))) PTR_TYPE = lltype.Ptr(lltype.GcStruct('S', ('x', PTR_TYPE2))) write_barrier_check(SpaceOperation( "setfield", [varoftype(PTR_TYPE), Constant('x', lltype.Void), Constant('foo', varoftype(PTR_TYPE2))], > varoftype(lltype.Void)), needs_write_barrier=False) memory/gctransform/test/test_framework.py:230: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ memory/gctransform/test/test_framework.py:201: in write_barrier_check transformer = WriteBarrierTransformer(t) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xffff3f16c190> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xffff3fe47c50>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 4 blocks -=- [rtyper] -=- specialized 4 more blocks -=- ___________________ test_write_barrier_support_setarrayitem ____________________ def test_write_barrier_support_setarrayitem(): PTR_TYPE2 = lltype.Ptr(lltype.GcStruct('T', ('y', lltype.Signed))) ARRAYPTR = lltype.Ptr(lltype.GcArray(PTR_TYPE2)) write_barrier_check(SpaceOperation( "setarrayitem", [varoftype(ARRAYPTR), varoftype(lltype.Signed), varoftype(PTR_TYPE2)], > varoftype(lltype.Void))) memory/gctransform/test/test_framework.py:239: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ memory/gctransform/test/test_framework.py:201: in write_barrier_check transformer = WriteBarrierTransformer(t) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xffff3eb64e10> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xffff3fe47c50>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 4 blocks -=- [rtyper] -=- specialized 4 more blocks -=- _________________ test_write_barrier_support_setinteriorfield __________________ def test_write_barrier_support_setinteriorfield(): PTR_TYPE2 = lltype.Ptr(lltype.GcStruct('T', ('y', lltype.Signed))) ARRAYPTR2 = lltype.Ptr(lltype.GcArray(('a', lltype.Signed), ('b', PTR_TYPE2))) write_barrier_check(SpaceOperation( "setinteriorfield", [varoftype(ARRAYPTR2), varoftype(lltype.Signed), Constant('b', lltype.Void), varoftype(PTR_TYPE2)], > varoftype(lltype.Void))) memory/gctransform/test/test_framework.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ memory/gctransform/test/test_framework.py:201: in write_barrier_check transformer = WriteBarrierTransformer(t) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xffff3f4d6750> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xffff3fe47c50>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 4 blocks -=- [rtyper] -=- specialized 4 more blocks -=- _____________________ test_remove_duplicate_write_barrier ______________________ def test_remove_duplicate_write_barrier(): from rpython.translator.c.genc import CStandaloneBuilder from rpython.flowspace.model import summary class A(object): pass glob_a_1 = A() glob_a_2 = A() def f(a, cond): a.x = a a.z = a if cond: a.y = a def g(): f(glob_a_1, 5) f(glob_a_2, 0) t = rtype(g, []) t.config.translation.gc = "minimark" cbuild = CStandaloneBuilder(t, g, t.config, gcpolicy=FrameworkGcPolicy2) cbuild.make_entrypoint_wrapper = False > db = cbuild.build_database() memory/gctransform/test/test_framework.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:309: in gettransformer return self.transformerclass(translator, gchooks=gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 7 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- =========================== short test summary info ============================ FAIL memory/gctransform/test/test_framework.py::test_framework_simple FAIL memory/gctransform/test/test_framework.py::test_no_collect FAIL memory/gctransform/test/test_framework.py::test_no_collect_detection FAIL memory/gctransform/test/test_framework.py::test_custom_trace_function_no_collect FAIL memory/gctransform/test/test_framework.py::test_write_barrier_support_setfield FAIL memory/gctransform/test/test_framework.py::test_dont_add_write_barrier_for_constant_new_value FAIL memory/gctransform/test/test_framework.py::test_write_barrier_support_setarrayitem FAIL memory/gctransform/test/test_framework.py::test_write_barrier_support_setinteriorfield FAIL memory/gctransform/test/test_framework.py::test_remove_duplicate_write_barrier =============== 9 failed, 75 passed, 1 skipped in 18.97 seconds ================ ++ 23:33:59 starting memory/test/test_hybrid_gc.py [176 started in total] __ memory/test/test_hybrid_gc.py [173 done in total, somefailed=True] _________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== ________________ ERROR collecting memory/test/test_hybrid_gc.py ________________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_hybrid_gc.py:6: in <module> from rpython.memory.test import test_generational_gc memory/test/test_generational_gc.py:3: in <module> class TestGenerationalGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_generational_gc.py:4: in TestGenerationalGC from rpython.memory.gc.generation import GenerationGC as GCClass memory/gc/generation.py:5: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 1.13 seconds ============================ ++ 23:34:02 starting memory/test/test_hybrid_gc_smallheap.py [177 started in total] __ memory/test/test_hybrid_gc_smallheap.py [174 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== ___________ ERROR collecting memory/test/test_hybrid_gc_smallheap.py ___________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_hybrid_gc_smallheap.py:9: in <module> class TestHybridGCSmallHeap(GCTest): memory/test/test_hybrid_gc_smallheap.py:10: in TestHybridGCSmallHeap from rpython.memory.gc.hybrid import HybridGC as GCClass memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD memory/gc/generation.py:5: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 1.12 seconds ============================ ++ 23:34:04 starting memory/test/test_incminimark_gc.py [178 started in total] __ memory/test/test_incminimark_gc.py [175 done in total, somefailed=True] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _____________ ERROR collecting memory/test/test_incminimark_gc.py ______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_incminimark_gc.py:6: in <module> from rpython.memory.test import test_minimark_gc memory/test/test_minimark_gc.py:8: in <module> class TestMiniMarkGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_minimark_gc.py:9: in TestMiniMarkGC from rpython.memory.gc.minimark import MiniMarkGC as GCClass memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 1.18 seconds ============================ ++ 23:34:07 starting memory/test/test_incminimark_gc_cardmarking.py [179 started in total] __ memory/test/test_incminimark_gc_cardmarking.py [176 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _______ ERROR collecting memory/test/test_incminimark_gc_cardmarking.py ________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_incminimark_gc_cardmarking.py:1: in <module> from rpython.memory.test import test_incminimark_gc memory/test/test_incminimark_gc.py:6: in <module> from rpython.memory.test import test_minimark_gc memory/test/test_minimark_gc.py:8: in <module> class TestMiniMarkGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_minimark_gc.py:9: in TestMiniMarkGC from rpython.memory.gc.minimark import MiniMarkGC as GCClass memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 1.15 seconds ============================ ++ 23:34:09 starting memory/test/test_lldict.py [180 started in total] __ memory/test/test_lldict.py [177 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items memory/test/test_lldict.py ..... =========================== 5 passed in 1.00 seconds =========================== ++ 23:34:12 starting memory/test/test_minimark_gc.py [181 started in total] __ memory/test/test_minimark_gc.py [178 done in total, somefailed=True] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _______________ ERROR collecting memory/test/test_minimark_gc.py _______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_minimark_gc.py:8: in <module> class TestMiniMarkGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_minimark_gc.py:9: in TestMiniMarkGC from rpython.memory.gc.minimark import MiniMarkGC as GCClass memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 1.16 seconds ============================ ++ 23:34:14 starting memory/test/test_minimark_gc_cardmarking.py [182 started in total] __ memory/test/test_minimark_gc_cardmarking.py [179 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _________ ERROR collecting memory/test/test_minimark_gc_cardmarking.py _________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_minimark_gc_cardmarking.py:1: in <module> from rpython.memory.test import test_minimark_gc memory/test/test_minimark_gc.py:8: in <module> class TestMiniMarkGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_minimark_gc.py:9: in TestMiniMarkGC from rpython.memory.gc.minimark import MiniMarkGC as GCClass memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 1.14 seconds ============================ ++ 23:34:17 starting memory/test/test_semispace_gc.py [183 started in total] __ memory/test/test_growingsemispace_gc.py [180 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 47 items memory/test/test_growingsemispace_gc.py ............................................... ========================== 47 passed in 58.38 seconds ========================== ++ 23:34:57 starting memory/test/test_support.py [184 started in total] __ memory/test/test_support.py [181 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items memory/test/test_support.py ......... =========================== 9 passed in 5.11 seconds =========================== ++ 23:35:03 starting memory/test/test_transformed_gc.py [185 started in total] __ memory/test/test_transformed_gc.py [182 done in total, somefailed=True] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _____________ ERROR collecting memory/test/test_transformed_gc.py ______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_transformed_gc.py:1022: in <module> class TestGenerationGC(GenericMovingGCTests): memory/test/test_transformed_gc.py:1026: in TestGenerationGC class gcpolicy(gc.BasicFrameworkGcPolicy): memory/test/test_transformed_gc.py:1027: in gcpolicy class transformerclass(shadowstack.ShadowStackFrameworkGCTransformer): memory/test/test_transformed_gc.py:1028: in transformerclass from rpython.memory.gc.generation import GenerationGC as \ memory/gc/generation.py:5: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 1.29 seconds ============================ ++ 23:35:06 starting rlib/parsing/test/test_deterministic.py [186 started in total] __ memory/test/test_semispace_gc.py [183 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 47 items memory/test/test_semispace_gc.py ............................................... ========================== 47 passed in 50.20 seconds ========================== ++ 23:35:08 starting rlib/parsing/test/test_ebnfparse.py [187 started in total] __ rlib/parsing/test/test_ebnfparse.py [184 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 29 items rlib/parsing/test/test_ebnfparse.py ..........................s.. ===================== 28 passed, 1 skipped in 0.73 seconds ===================== ++ 23:35:10 starting rlib/parsing/test/test_lexer.py [188 started in total] __ rlib/parsing/test/test_lexer.py [185 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items rlib/parsing/test/test_lexer.py .......... ========================== 10 passed in 0.22 seconds =========================== ++ 23:35:11 starting rlib/parsing/test/test_parse.py [189 started in total] __ rlib/parsing/test/test_parse.py [186 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/parsing/test/test_parse.py .... =========================== 4 passed in 0.14 seconds =========================== ++ 23:35:12 starting rlib/parsing/test/test_parseerrors.py [190 started in total] __ rlib/parsing/test/test_deterministic.py [187 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items rlib/parsing/test/test_deterministic.py ......... =========================== 9 passed in 5.97 seconds =========================== ++ 23:35:13 starting rlib/parsing/test/test_pcre_regtest.py [191 started in total] __ rlib/parsing/test/test_parseerrors.py [188 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/parsing/test/test_parseerrors.py .. =========================== 2 passed in 0.16 seconds =========================== ++ 23:35:13 starting rlib/parsing/test/test_pypackrat.py [192 started in total] __ rlib/parsing/test/test_pypackrat.py [189 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 31 items rlib/parsing/test/test_pypackrat.py ............................... ========================== 31 passed in 1.15 seconds =========================== ++ 23:35:16 starting rlib/parsing/test/test_pythonlexer.py [193 started in total] __ rlib/parsing/test/test_pythonlexer.py [190 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items rlib/parsing/test/test_pythonlexer.py ........... ========================== 11 passed in 3.83 seconds =========================== ++ 23:35:21 starting rlib/parsing/test/test_pythonparse.py [194 started in total] __ rlib/parsing/test/test_pythonparse.py [191 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items rlib/parsing/test/test_pythonparse.py ............s.... ===================== 16 passed, 1 skipped in 1.96 seconds ===================== ++ 23:35:24 starting rlib/parsing/test/test_regex.py [195 started in total] __ rlib/parsing/test/test_pcre_regtest.py [192 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 290 items rlib/parsing/test/test_pcre_regtest.py .................................................................................................................................................................................................................................................................................................. ========================= 290 passed in 17.58 seconds ========================== ++ 23:35:33 starting rlib/parsing/test/test_regexparse.py [196 started in total] __ rlib/parsing/test/test_regexparse.py [193 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items rlib/parsing/test/test_regexparse.py ............... ========================== 15 passed in 0.54 seconds =========================== ++ 23:35:35 starting rlib/parsing/test/test_translate.py [197 started in total] __ rlib/parsing/test/test_regex.py [194 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items rlib/parsing/test/test_regex.py ............. ========================== 13 passed in 16.22 seconds ========================== ++ 23:35:42 starting rlib/parsing/test/test_translate_lexer.py [198 started in total] __ rlib/parsing/test/test_translate_lexer.py [195 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/parsing/test/test_translate_lexer.py . ========================== 1 passed in 11.10 seconds =========================== ++ 23:35:54 starting rlib/parsing/test/test_tree.py [199 started in total] __ rlib/parsing/test/test_tree.py [196 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/parsing/test/test_tree.py ...... =========================== 6 passed in 8.56 seconds =========================== ++ 23:36:04 starting rlib/rjitlog/test/test_jitlog.py [200 started in total] __ rlib/rjitlog/test/test_jitlog.py [197 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/rjitlog/test/test_jitlog.py .... =========================== 4 passed in 1.44 seconds =========================== ++ 23:36:07 starting rlib/rsre/test/test_char.py [201 started in total] __ rlib/rsre/test/test_char.py [198 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items rlib/rsre/test/test_char.py ....... =========================== 7 passed in 3.27 seconds =========================== ++ 23:36:11 starting rlib/rsre/test/test_ext_opcode.py [202 started in total] __ rlib/rsre/test/test_ext_opcode.py [199 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items rlib/rsre/test/test_ext_opcode.py ........... ========================== 11 passed in 0.70 seconds =========================== ++ 23:36:13 starting rlib/rsre/test/test_match.py [203 started in total] __ rlib/rsre/test/test_match.py [200 done in total, somefailed=False] _________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 38 items rlib/rsre/test/test_match.py ...................................... ========================== 38 passed in 1.75 seconds =========================== ++ 23:36:16 starting rlib/rsre/test/test_re.py [204 started in total] __ memory/gc/test [201 done in total, somefailed=True] ________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items / 8 errors memory/gc/test/test_minimarkpage.py ............... ==================================== ERRORS ==================================== ________________ ERROR collecting memory/gc/test/test_direct.py ________________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_direct.py:17: in <module> from rpython.memory.gc import minimark, incminimark memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details _________________ ERROR collecting memory/gc/test/test_env.py __________________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_env.py:2: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details _________________ ERROR collecting memory/gc/test/test_hook.py _________________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_hook.py:3: in <module> from rpython.memory.gc.test.test_direct import BaseDirectGCTest, S memory/gc/test/test_direct.py:17: in <module> from rpython.memory.gc import minimark, incminimark memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details _____________ ERROR collecting memory/gc/test/test_incminimark.py ______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_incminimark.py:2: in <module> from rpython.memory.gc.incminimark import IncrementalMiniMarkGC memory/gc/incminimark.py:70: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details ______________ ERROR collecting memory/gc/test/test_inspector.py _______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_inspector.py:3: in <module> from rpython.memory.gc.test.test_direct import BaseDirectGCTest, S memory/gc/test/test_direct.py:17: in <module> from rpython.memory.gc import minimark, incminimark memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details _______________ ERROR collecting memory/gc/test/test_minimark.py _______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_minimark.py:2: in <module> from rpython.memory.gc.minimark import MiniMarkGC memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details ____________ ERROR collecting memory/gc/test/test_object_pinning.py ____________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_object_pinning.py:3: in <module> from rpython.memory.gc.incminimark import IncrementalMiniMarkGC, WORD memory/gc/incminimark.py:70: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details _____________ ERROR collecting memory/gc/test/test_rawrefcount.py ______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_rawrefcount.py:3: in <module> from rpython.memory.gc.incminimark import IncrementalMiniMarkGC memory/gc/incminimark.py:70: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details ===================== 15 passed, 8 error in 159.62 seconds ===================== ++ 23:36:22 starting rlib/rsre/test/test_search.py [205 started in total] __ rlib/rsre/test/test_search.py [202 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 67 items rlib/rsre/test/test_search.py ................................................................... ========================== 67 passed in 1.14 seconds =========================== ++ 23:36:25 starting rlib/rsre/test/test_zexternal.py [206 started in total] __ rlib/rsre/test/test_zexternal.py [203 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1002 items rlib/rsre/test/test_zexternal.py .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... ========================= 1002 passed in 2.44 seconds ========================== ++ 23:36:28 starting rlib/rsre/test/test_zinterp.py [207 started in total] __ rlib/rsre/test/test_re.py [204 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 56 items rlib/rsre/test/test_re.py ..............ss........................................ ==================== 54 passed, 2 skipped in 10.62 seconds ===================== ++ 23:36:28 starting rlib/rsre/test/test_zjit.py [208 started in total] __ rlib/parsing/test/test_translate.py [205 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items rlib/parsing/test/test_translate.py ..... ========================== 5 passed in 63.45 seconds =========================== ++ 23:36:40 starting rlib/rstrategies/test/test_rstrategies.py [209 started in total] __ rlib/rstrategies/test/test_rstrategies.py [206 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 49 items rlib/rstrategies/test/test_rstrategies.py ................................................. ========================== 49 passed in 0.27 seconds =========================== ++ 23:36:42 starting rlib/rstruct/test/test_ieee.py [210 started in total] __ rlib/rsre/test/test_zinterp.py [207 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items rlib/rsre/test/test_zinterp.py ... ========================== 3 passed in 20.28 seconds =========================== ++ 23:36:52 starting rlib/rstruct/test/test_pack.py [211 started in total] __ rlib/rstruct/test/test_pack.py [208 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 59 items rlib/rstruct/test/test_pack.py ........................................................... ========================== 59 passed in 1.03 seconds =========================== ++ 23:36:54 starting rlib/rstruct/test/test_runpack.py [212 started in total] __ rlib/rstruct/test/test_runpack.py [209 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 22 items rlib/rstruct/test/test_runpack.py ...................... ========================== 22 passed in 13.42 seconds ========================== ++ 23:37:09 starting rlib/rvmprof/test/test_file.py [213 started in total] __ jit/metainterp/test/test_zvector.py [210 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 84 items jit/metainterp/test/test_zvector.py .................................................................................... ========================= 84 passed in 224.51 seconds ========================== ++ 23:37:12 starting rlib/rvmprof/test/test_rvmprof.py [214 started in total] __ rlib/rvmprof/test/test_file.py [211 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/rvmprof/test/test_file.py . ========================== 1 passed in 17.42 seconds =========================== ++ 23:37:29 starting rlib/rvmprof/test/test_support.py [215 started in total] __ rlib/rvmprof/test/test_support.py [212 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items rlib/rvmprof/test/test_support.py ... =========================== 3 passed in 0.96 seconds =========================== ++ 23:37:32 starting rlib/rvmprof/test/test_traceback.py [216 started in total] __ rlib/rstruct/test/test_ieee.py [213 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items rlib/rstruct/test/test_ieee.py .............. ========================== 14 passed in 59.40 seconds ========================== ++ 23:37:47 starting rlib/rvmprof/test/test_ztranslation.py [217 started in total] __ rlib/rvmprof/test/test_ztranslation.py [214 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/rvmprof/test/test_ztranslation.py .F =================================== FAILURES =================================== ________________________________ test_compiled _________________________________ def test_compiled(): > fn = compile(main, [], gcpolicy="minimark") rlib/rvmprof/test/test_ztranslation.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58180514a2c480] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:40)main [flowgraph] (rpython.rlib.rthread:114)get_ident [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:11)MyCode.__init__ [flowgraph] (rpython.rlib.rvmprof:17)register_code [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.rlib.rvmprof.rvmprof:59)VMProf.register_code [flowgraph] (rpython.rlib.rweaklist:46)WeakCodeObjectList.add_handle [flowgraph] (rpython.rlib.rweaklist:24)WeakCodeObjectList.reserve_next_handle_index [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rlib.rweaklist:51)WeakCodeObjectList.store_handle [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.rvmprof:35)enable [flowgraph] (rpython.rlib.rvmprof.rvmprof:131)VMProf.enable [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)vmprof_init [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_vmprof_init [flowgraph] (rpython.rlib.rvmprof.rvmprof:117)gather_all_code_objs [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rlib.rweaklist:21)WeakCodeObjectList.get_all_handles [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.rvmprof.rvmprof:51)<lambda> [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:15)MyCode.get_name [flowgraph] (rpython.rlib.rvmprof.rvmprof:169)VMProf._write_code_registration [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)vmprof_register_virtual_function [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_vmprof_register_virtual_function [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)vmprof_enable [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_vmprof_enable [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rvmprof.rvmprof:27)VMProfError.__init__ [flowgraph] (rpython.rlib.rposix:1182)strerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)strerror [flowgraph] (rpython.rlib.rtime:146)time [flowgraph] (rpython.rlib.rtime:101)decode_timeval [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rlib.rvmprof:38)disable [flowgraph] (rpython.rlib.rvmprof.rvmprof:224)interpret_rvmprof [flowgraph] (rpython.rlib.rvmprof.rvmprof:156)VMProf.disable [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)vmprof_disable [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:26)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_vmprof_disable [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rvmprof.cintf:187)enter_code [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rlib.rvmprof.rvmprof:220)decorated_jitted_function [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:26)interpret [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:33)one_less [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rvmprof.cintf:196)leave_code [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [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] (?:1)memo__get_vmprof_0 [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 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818052fda1180] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4011 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c5818052fdd1500] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rrange:128)ll_range2list [flowgraph] (rpython.rtyper.rrange:56)_ll_rangelen [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:782)ll_extend [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:552)ll_arraycopy [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [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] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:600)ll_concat [flowgraph] (rpython.rtyper.rlist:552)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:695)ll_count_char [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [rtyper] specializing: 100 / 718 blocks (13%) [flowgraph] (rpython.rtyper.rlist:633)ll_pop_default [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [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 [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.rlist:588)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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:633)ll_pop_default [rtyper] specializing: 200 / 915 blocks (21%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)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] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [rtyper] specializing: 300 / 982 blocks (30%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [rtyper] specializing: 400 / 989 blocks (40%) [flowgraph] (rpython.rtyper.rint:149)ll_str [rtyper] specializing: 500 / 991 blocks (50%) [rtyper] specializing: 600 / 991 blocks (60%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 700 / 995 blocks (70%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 800 / 1000 blocks (80%) [rtyper] specializing: 900 / 1000 blocks (90%) [rtyper] specializing: 1000 / 1000 blocks (100%) [rtyper] -=- specialized 1000 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c5818054f875e00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4011 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c5818054f8a3280] {translation-task starting backendopt_lltype [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 6 cast_pointers in VMProf.enable [backendopt:removecasts] removed 1 cast_pointers in charpsize2str [backendopt:removecasts] removed 3 cast_pointers in VMProf._write_code_registration [backendopt:removecasts] removed 1 cast_pointers in copy_raw_to_string [backendopt:removecasts] removed 1 cast_pointers in strerror [backendopt:removecasts] removed 2 cast_pointers in interpret_rvmprof__star_1 [backendopt:removecasts] removed 4 cast_pointers in VMProf.disable [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__close [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_range2list__GcArray_SignedLlT_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_extend__listPtr_arrayPtr [backendopt:removecasts] removed 1 cast_pointers in int_force_ge_zero__Signed [backendopt:removecasts] removed 1 cast_pointers in ll_concat__GcArray_Ptr_GCREF__gcopaque_Ll_arrayPtr_arrayPtr [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v30___simple_call__function_ll [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__v36___simple_call__function_ll [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_pop_default__dum_checkidxConst_listPtr [backendopt:removecasts] removed 1 cast_pointers in ll_listnext__listiterPtr [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v55___simple_call__function_is [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 ll_fixed_items__arrayPtr [backendopt:inlining] 0.00 isconstant__v60___simple_call__function_is [backendopt:inlining] 0.00 conditional_call__v61___simple_call__function_co_star_3 [backendopt:inlining] 0.00 ll_getitem_fast__arrayPtr_Signed [backendopt:inlining] 0.00 isconstant__v38___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v44___simple_call__function_is [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_fastConst_arrayPtr_Signed [backendopt:inlining] 0.00 get_nonmovingbuffer_ll_final_null [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 isconstant__v11___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v59___simple_call__function_is [backendopt:inlining] 0.00 conditional_call__v28___simple_call__function_co_star_3 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isvirtual__v51___simple_call__function_is [backendopt:inlining] 0.00 ll_fixed_items__arrayPtr [backendopt:inlining] 0.00 isconstant__v17___simple_call__function_is [backendopt:inlining] 0.00 isvirtual__v57___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v29___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v12___simple_call__function_is [backendopt:inlining] 0.00 close__Signed_star_1 [backendopt:inlining] 0.00 isconstant__v39___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v33___simple_call__function_is [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 conditional_call__v13___simple_call__function_co_star_3 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 vmprof_enable__Signed_Signed_Signed_star_3 [backendopt:inlining] 0.00 isvirtual__v34___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v27___simple_call__function_is [backendopt:inlining] 0.00 ll_setitem_nonneg__dum_nocheckConst_arrayPtr_Signed_GCREFPtr [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 vmprof_register_virtual_function__SomeString_Signed_Signed_star_3 [backendopt:inlining] 0.00 vmprof_init__Signed_Float_Signed_Signed_SomeString_Signed_Signed_star_7 [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 _lambda_ [backendopt:inlining] 0.00 strerror__Signed_star_1 [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 open__SomeString_Signed_Signed_star_3 [backendopt:inlining] 0.00 conditional_call__v40___simple_call__function_co_star_3 [backendopt:inlining] 0.00 isconstant__v50___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v45___simple_call__function_is [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 copy_raw_to_string [backendopt:inlining] 0.00 isconstant__v23___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v18___simple_call__function_is [backendopt:inlining] 0.00 vmprof_disable___star_0 [backendopt:inlining] 0.00 _as_bytes__str [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_fixed_newlist__GcArray_Ptr_GCREF__gcopaque_Ll_Signed [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_fixed_length__arrayPtr [backendopt:inlining] 2.00 VMProfError.__init__ [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_fixed_length__arrayPtr [backendopt:inlining] 2.00 ll_fixed_newlist__GcArray_SignedLlT_Signed [backendopt:inlining] 2.00 get_or_make_raw [backendopt:inlining] 2.00 WeakCodeObjectList.get_all_handles [backendopt:inlining] 2.00 getraw [backendopt:inlining] 4.00 ll_fixed_setitem_fast__arrayPtr_Signed_GCREFPtr [backendopt:inlining] 4.00 ll_fixed_getitem_fast__arrayPtr_Signed [backendopt:inlining] 4.00 _ll_zero_or_null__GCREFPtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_fixed_setitem_fast__arrayPtr_Signed_Signed [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_usec [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_sec [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 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 2.00 ll_len__listPtr [backendopt:inlining] 2.00 ll_len_foldable__arrayPtr [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 disable [backendopt:inlining] 0.00 _as_bytes0__str [backendopt:inlining] 7.50 int_force_ge_zero__Signed [backendopt:inlining] 7.50 mallocstr [backendopt:inlining] 8.00 ll_listiter__Ptr_GcStruct_listiterLlT_arrayPtr [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 _ll_alloc_and_set_nonnull_look_inside_iff__GcArray_Ptr_GCREF__gcopaque_Ll_Signed_GCREFPtr [backendopt:inlining] 9.00 MyCode.__init__ [backendopt:inlining] 9.00 register_code__rpython_rlib_rvmprof_test_test_ztranslation_MyCode [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 7.00 acquire [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 leave_code [backendopt:inlining] 11.00 enable [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] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v56___simple_call__function_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v63___simple_call__function_ll [backendopt:inlining] 10.00 WeakCodeObjectList.store_handle [backendopt:inlining] 15.00 ll_int_py_div__Signed_Signed [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 14.25 ll_alloc_and_set__GcArray_Ptr_GCREF__gcopaque_Ll_Signed_GCREFPtr [backendopt:inlining] 17.00 WeakCodeObjectList.add_handle [backendopt:inlining] 4.00 loop_unrolling_heuristic__v32___simple_call__function_lo [backendopt:inlining] 13.00 ll_arraycopy__arrayPtr_listPtr_Signed_Signed_Signed [backendopt:inlining] 21.00 ccall_close [backendopt:inlining] 0.00 close__Signed_star_1 [backendopt:inlining] 21.75 close [backendopt:inlining] 16.00 decode_timeval [backendopt:inlining] 22.33 interpret [backendopt:inlining] 17.00 ll_pop_default__dum_nocheckConst_listPtr [backendopt:inlining] 23.33 charp2str [backendopt:inlining] 18.75 ll_pop_default__dum_checkidxConst_listPtr [backendopt:inlining] 17.50 ll_listnext__listiterPtr [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 17.00 ll_append__listPtr_Signed [backendopt:inlining] 19.25 _errno_after__v9___simple_call__function__er [backendopt:inlining] 19.25 _errno_after__v5___simple_call__function__er [backendopt:inlining] 19.25 _errno_after__v7___simple_call__function__er [backendopt:inlining] 0.00 close__Signed_star_1 [backendopt:inlining] 19.25 _errno_after__v3___simple_call__function__er [backendopt:inlining] 19.25 _errno_after__v1___simple_call__function__er [backendopt:inlining] 26.16 ll_join_chars__v48___simple_call__function_ll [backendopt:inlining] 26.16 ll_join_chars__v53___simple_call__function_ll [backendopt:inlining] 19.00 enter_code [backendopt:inlining] 17.83 _ll_alloc_and_clear__GcArray_Ptr_GCREF__gcopaque_Ll_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.66 ll_count_char__rpy_stringPtr_Char_Signed_Signed [backendopt:inlining] 20.67 _ll_alloc_and_set_nonnull__v21___simple_call__function__l [backendopt:inlining] 20.67 _ll_alloc_and_set_nonnull__v25___simple_call__function__l [backendopt:inlining] 25.75 _ll_alloc_and_set_nojit__GcArray_Ptr_GCREF__gcopaque_Ll_Signed_GCREFPtr [backendopt:inlining] 27.50 ll_concat__GcArray_Ptr_GCREF__gcopaque_Ll_arrayPtr_arrayPtr [backendopt:inlining] 27.75 ll_range2list__GcArray_SignedLlT_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__close [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.75 handle_posix_error__open [backendopt:inlining] 31.87 _errno_before__v6___simple_call__function__er [backendopt:inlining] 0.00 close__Signed_star_1 [backendopt:inlining] 31.87 _errno_before__v8___simple_call__function__er [backendopt:inlining] 31.87 _errno_before__v4___simple_call__function__er [backendopt:inlining] 31.87 _errno_before__v2___simple_call__function__er [backendopt:inlining] 31.87 _errno_before__v0___simple_call__function__er [backendopt:inlining] inlined 356 callsites. [backendopt:removecasts] removed 2 cast_pointers in time [backendopt:malloc] starting malloc removal [backendopt:malloc] 1 simple mallocs removed in 'main' [backendopt:malloc] 10 simple mallocs removed in 'open__str' [backendopt:malloc] 2 simple mallocs removed in 'WeakCodeObjectList.reserve_next_handle_index' [backendopt:malloc] 10 simple mallocs removed in 'open__SomeString_Signed_Signed_star_3' [backendopt:malloc] 23 simple mallocs removed in 'VMProf.enable' [backendopt:malloc] 17 simple mallocs removed in 'vmprof_init__Signed_Float_Signed_Signed_SomeString_Signed_Signed_star_7' [backendopt:malloc] 1 simple mallocs removed in 'gather_all_code_objs' [backendopt:malloc] 1 simple mallocs removed in 'MyCode.get_name' [backendopt:malloc] 11 simple mallocs removed in 'VMProf._write_code_registration' [backendopt:malloc] 10 simple mallocs removed in 'vmprof_register_virtual_function__SomeString_Signed_Signed_star_3' [backendopt:malloc] 6 simple mallocs removed in 'vmprof_enable__Signed_Signed_Signed_star_3' [backendopt:malloc] 3 simple mallocs removed in 'strerror' [backendopt:malloc] 3 simple mallocs removed in 'strerror__Signed_star_1' [backendopt:malloc] 1 simple mallocs removed in 'interpret_rvmprof__star_1' [backendopt:malloc] 1 simple mallocs removed in 'decorated_jitted_function__star_1' [backendopt:malloc] 1 simple mallocs removed in 'close' [backendopt:malloc] 3 simple mallocs removed in 'close__Signed_star_1' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [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] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v13___simple_call__function_co_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v28___simple_call__function_co_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v40___simple_call__function_co_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v61___simple_call__function_co_star_3' [backendopt:malloc] removed 126 simple mallocs in total [backendopt:removecasts] removed 3 cast_pointers in interpret_rvmprof__star_1 [backendopt:removecasts] removed 2 cast_pointers in decorated_jitted_function__star_1 [backendopt:mergeifblocks] starting to merge if blocks [c5818056745d200] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4011 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c581805674ac380] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58180568001900] translation-task} [translation:info] Creating database for generating c source... [c5818056800fe00] {translation-task starting database_c [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 [c58180569815c80] translation-task} =========================== short test summary info ============================ FAIL rlib/rvmprof/test/test_ztranslation.py::test_compiled ====================== 1 failed, 1 passed in 7.94 seconds ====================== ++ 23:37:57 starting rlib/test/test__jit_vref.py [218 started in total] __ rlib/test/test__jit_vref.py [215 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items rlib/test/test__jit_vref.py ............ ========================== 12 passed in 1.29 seconds =========================== ++ 23:38:00 starting rlib/test/test_buffer.py [219 started in total] __ rlib/rvmprof/test/test_rvmprof.py [216 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/rvmprof/test/test_rvmprof.py ...... ========================== 6 passed in 43.92 seconds =========================== ++ 23:38:03 starting rlib/test/test_cache.py [220 started in total] __ rlib/test/test_cache.py [217 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/test/test_cache.py . =========================== 1 passed in 0.11 seconds =========================== ++ 23:38:04 starting rlib/test/test_clibffi.py [221 started in total] __ rlib/test/test_clibffi.py [218 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items rlib/test/test_clibffi.py ........s......n: 2 Arg 0: 3 Arg 1: 15 .s ===================== 15 passed, 2 skipped in 4.45 seconds ===================== ++ 23:38:10 starting rlib/test/test_compilerinfo.py [222 started in total] __ rlib/test/test_compilerinfo.py [219 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_compilerinfo.py .. =========================== 2 passed in 5.13 seconds =========================== ++ 23:38:17 starting rlib/test/test_debug.py [223 started in total] __ rlib/test/test_debug.py [220 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items rlib/test/test_debug.py ........... ========================== 11 passed in 7.11 seconds =========================== ++ 23:38:25 starting rlib/test/test_jit.py [224 started in total] __ rlib/test/test_buffer.py [221 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 47 items rlib/test/test_buffer.py ............................................... ========================== 47 passed in 26.90 seconds ========================== ++ 23:38:28 starting rlib/test/test_jit_libffi.py [225 started in total] __ rlib/test/test_jit.py [222 done in total, somefailed=False] ________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 30 items rlib/test/test_jit.py ...ss......................... ===================== 28 passed, 2 skipped in 3.09 seconds ===================== ++ 23:38:30 starting rlib/test/test_libffi.py [226 started in total] __ rlib/test/test_jit_libffi.py [223 done in total, somefailed=False] _________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/test/test_jit_libffi.py . =========================== 1 passed in 1.13 seconds =========================== ++ 23:38:30 starting rlib/test/test_listsort.py [227 started in total] __ rlib/test/test_listsort.py [224 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_listsort.py .... ================= 4 passed, 1 pytest-warnings in 1.70 seconds ================== ++ 23:38:33 starting rlib/test/test_longlong2float.py [228 started in total] __ rlib/test/test_libffi.py [225 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 26 items rlib/test/test_libffi.py .........s................ ===================== 25 passed, 1 skipped in 1.67 seconds ===================== ++ 23:38:33 starting rlib/test/test_mutbuffer.py [229 started in total] __ rlib/test/test_mutbuffer.py [226 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items rlib/test/test_mutbuffer.py ..... =========================== 5 passed in 0.13 seconds =========================== ++ 23:38:34 starting rlib/test/test_nonconst.py [230 started in total] __ rlib/test/test_nonconst.py [227 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items rlib/test/test_nonconst.py ..... =========================== 5 passed in 1.17 seconds =========================== ++ 23:38:37 starting rlib/test/test_objectmodel.py [231 started in total] __ rlib/test/test_longlong2float.py [228 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items rlib/test/test_longlong2float.py .......... ========================== 10 passed in 20.49 seconds ========================== ++ 23:38:57 starting rlib/test/test_posix.py [232 started in total] __ rlib/test/test_posix.py [229 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 30 items rlib/test/test_posix.py ....s......................... ==================== 29 passed, 1 skipped in 11.66 seconds ===================== ++ 23:39:11 starting rlib/test/test_rStringIO.py [233 started in total] __ rlib/test/test_rStringIO.py [230 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items rlib/test/test_rStringIO.py ........... ========================== 11 passed in 0.45 seconds =========================== ++ 23:39:13 starting rlib/test/test_rarithmetic.py [234 started in total] __ rlib/test/test_rarithmetic.py [231 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 103 items rlib/test/test_rarithmetic.py ....................................................................................................... ========================== 103 passed in 2.72 seconds ========================== ++ 23:39:17 starting rlib/test/test_rawrefcount.py [235 started in total] __ rlib/test/test_rawrefcount.py [232 done in total, somefailed=True] _________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items rlib/test/test_rawrefcount.py ............F =================================== FAILURES =================================== _____________________ TestTranslated.test_full_translation _____________________ self = <rpython.rlib.test.test_rawrefcount.TestTranslated object at 0xfffe52db4110> def test_full_translation(self): class State: pass state = State() state.seen = [] def dealloc_trigger(): state.seen.append(1) w_marker = W_Root(-1) def make_p(): p = W_Root(42) ob = lltype.malloc(PyObjectS, flavor='raw', zero=True) rawrefcount.create_link_pypy(p, ob) ob.c_ob_refcnt += REFCNT_FROM_PYPY assert rawrefcount.from_obj(PyObject, p) == ob assert rawrefcount.to_obj(W_Root, ob) == p return ob, p FTYPE = rawrefcount.RAWREFCOUNT_DEALLOC_TRIGGER def entry_point(argv): ll_dealloc_trigger_callback = llhelper(FTYPE, dealloc_trigger) rawrefcount.init(ll_dealloc_trigger_callback) ob, p = make_p() if state.seen != []: print "OB COLLECTED REALLY TOO SOON" return 1 rgc.collect() if state.seen != []: print "OB COLLECTED TOO SOON" return 1 objectmodel.keepalive_until_here(p) p = None rgc.collect() if state.seen != [1]: print "OB NOT COLLECTED" return 1 if rawrefcount.next_dead(PyObject) != ob: print "NEXT_DEAD != OB" return 1 if ob.c_ob_refcnt != 1: print "next_dead().ob_refcnt != 1" return 1 if rawrefcount.next_dead(PyObject) != lltype.nullptr(PyObjectS): print "NEXT_DEAD second time != NULL" return 1 if rawrefcount.to_obj(W_Root, ob) is not None: print "to_obj(dead) is not None?" return 1 rawrefcount.mark_deallocating(w_marker, ob) if rawrefcount.to_obj(W_Root, ob) is not w_marker: print "to_obj(marked-dead) is not w_marker" return 1 print "OK!" lltype.free(ob, flavor='raw') return 0 self.config = get_combined_translation_config(translating=True) self.config.translation.gc = "incminimark" > t, cbuilder = self.compile(entry_point) rlib/test/test_rawrefcount.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:72: in compile exe_name=exe_name) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 506 blocks (19%) [rtyper] specializing: 200 / 513 blocks (38%) [rtyper] specializing: 300 / 513 blocks (58%) [rtyper] specializing: 400 / 513 blocks (77%) [rtyper] specializing: 500 / 513 blocks (97%) [rtyper] -=- specialized 513 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- =========================== short test summary info ============================ FAIL rlib/test/test_rawrefcount.py::TestTranslated::()::test_full_translation ===================== 1 failed, 12 passed in 5.30 seconds ====================== ++ 23:39:24 starting rlib/test/test_rawrefcount_boehm.py [236 started in total] __ rlib/test/test_objectmodel.py [233 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 60 items rlib/test/test_objectmodel.py ....s....................................................... ==================== 59 passed, 1 skipped in 52.05 seconds ===================== ++ 23:39:35 starting rlib/test/test_rawstorage.py [237 started in total] __ rlib/test/test_rawrefcount_boehm.py [234 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rawrefcount_boehm.py .. ========================== 2 passed in 14.30 seconds =========================== ++ 23:39:41 starting rlib/test/test_rbigint.py [238 started in total] __ rlib/test/test_rawstorage.py [235 done in total, somefailed=False] _________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items rlib/test/test_rawstorage.py ....... ========================== 7 passed in 15.66 seconds =========================== ++ 23:39:52 starting rlib/test/test_rbisect.py [239 started in total] __ rlib/test/test_rbisect.py [236 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rbisect.py .. =========================== 2 passed in 0.11 seconds =========================== ++ 23:39:53 starting rlib/test/test_rcomplex.py [240 started in total] __ rlib/test/test_rcomplex.py [237 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items rlib/test/test_rcomplex.py ........ =========================== 8 passed in 0.26 seconds =========================== ++ 23:39:54 starting rlib/test/test_rdtoa.py [241 started in total] __ rlib/test/test_rdtoa.py [238 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/test/test_rdtoa.py ...... =========================== 6 passed in 0.42 seconds =========================== ++ 23:39:56 starting rlib/test/test_rdynload.py [242 started in total] __ rlib/test/test_rdynload.py [239 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items rlib/test/test_rdynload.py ... =========================== 3 passed in 1.07 seconds =========================== ++ 23:39:59 starting rlib/test/test_rerased.py [243 started in total] __ rlib/test/test_rerased.py [240 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items rlib/test/test_rerased.py ......................... ========================== 25 passed in 1.46 seconds =========================== ++ 23:40:01 starting rlib/test/test_rfile.py [244 started in total] __ rlib/test/test_rfile.py [241 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 26 items rlib/test/test_rfile.py .................test ......... ========================== 26 passed in 37.65 seconds ========================== ++ 23:40:45 starting rlib/test/test_rfloat.py [245 started in total] __ rlib/test/test_rfloat.py [242 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items rlib/test/test_rfloat.py ............. ========================== 13 passed in 24.43 seconds ========================== ++ 23:41:13 starting rlib/test/test_rgc.py [246 started in total] __ rlib/test/test_rgc.py [243 done in total, somefailed=True] _________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items rlib/test/test_rgc.py ...................s....F.F........FF =================================== FAILURES =================================== __________________ test_nonmoving_raw_ptr_for_resizable_list ___________________ def test_nonmoving_raw_ptr_for_resizable_list(): def f(n): lst = ['a', 'b', 'c'] lst = rgc.resizable_list_supporting_raw_ptr(lst) lst.append(chr(n)) assert lst[3] == chr(n) assert lst[-1] == chr(n) # ptr = rgc.nonmoving_raw_ptr_for_resizable_list(lst) assert lst[:] == ['a', 'b', 'c', chr(n)] assert lltype.typeOf(ptr) == rffi.CCHARP assert [ptr[i] for i in range(4)] == ['a', 'b', 'c', chr(n)] # lst[-3] = 'X' assert ptr[1] == 'X' ptr[2] = 'Y' assert lst[-2] == 'Y' # addr = rffi.cast(lltype.Signed, ptr) ptr = rffi.cast(rffi.CCHARP, addr) rgc.collect() # should not move lst.items lst[-4] = 'g' assert ptr[0] == 'g' ptr[3] = 'H' assert lst[-1] == 'H' return lst # # direct untranslated run lst = f(35) assert isinstance(lst, rgc._ResizableListSupportingRawPtr) # # llinterp run interpret(f, [35]) # # compilation with the GC transformer import subprocess from rpython.translator.interactive import Translation # def main(argv): f(len(argv)) print "OK!" return 0 # t = Translation(main, gc="incminimark") t.disable(['backendopt']) t.set_backend_extra_options(c_debug_defines=True) > exename = t.compile() rlib/test/test_rgc.py:394: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 238 blocks (42%) [rtyper] specializing: 200 / 238 blocks (84%) [rtyper] -=- specialized 238 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [flowgraph] (rpython.rlib.test.test_rgc:386)main [translation:info] Annotating&simplifying... [c58181cd508c480] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rgc:349)f [flowgraph] (rpython.rlib.rgc:1473)nonmoving_raw_ptr_for_resizable_list [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] (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: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:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58181cdb27c100] translation-task} [translation:info] RTyping... [c58181cdb28e600] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:880)ll_listslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:552)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rlib.rgc:1555)ll_nonmovable_raw_ptr_for_resizable_list [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [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:912)<lambda> [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [rtyper] specializing: 100 / 387 blocks (25%) [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [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: 200 / 504 blocks (39%) [rtyper] specializing: 300 / 504 blocks (59%) [rtyper] specializing: 400 / 504 blocks (79%) [rtyper] specializing: 500 / 504 blocks (99%) [rtyper] -=- specialized 504 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58181cef8a2300] translation-task} [translation:info] inserting stack checks... [c58181cef8b2b00] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58181cf0413e80] translation-task} [translation:info] Creating database for generating c source... [c58181cf0424a00] {translation-task starting database_c [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 [c58181cf1d74b80] translation-task} __________________________ test_ll_for_resizable_list __________________________ def test_ll_for_resizable_list(): def f(n): lst = ['a', 'b', 'c'] lst = rgc.resizable_list_supporting_raw_ptr(lst) lst.append(chr(n)) assert lst[3] == chr(n) assert lst[-1] == chr(n) # ll_list = rgc.ll_for_resizable_list(lst) assert lst[:] == ['a', 'b', 'c', chr(n)] assert ll_list.length == 4 assert [ll_list.items[i] for i in range(4)] == ['a', 'b', 'c', chr(n)] # lst[-3] = 'X' assert ll_list.items[1] == 'X' ll_list.items[2] = 'Y' assert lst[-2] == 'Y' # return lst # # direct untranslated run lst = f(35) assert isinstance(lst, rgc._ResizableListSupportingRawPtr) # # llinterp run interpret(f, [35]) # # compilation with the GC transformer import subprocess from rpython.translator.interactive import Translation # def main(argv): f(len(argv)) print "OK!" return 0 # t = Translation(main, gc="incminimark") t.disable(['backendopt']) t.set_backend_extra_options(c_debug_defines=True) > exename = t.compile() rlib/test/test_rgc.py:461: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 228 blocks (43%) [rtyper] specializing: 200 / 228 blocks (87%) [rtyper] -=- specialized 228 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [flowgraph] (rpython.rlib.test.test_rgc:453)main [translation:info] Annotating&simplifying... [c58181d1ca69b80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rgc:423)f [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] (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: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:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58181d22ac1a80] translation-task} [translation:info] RTyping... [c58181d22ad3f80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:880)ll_listslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:552)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [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:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [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] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rlist:588)ll_append [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] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [rtyper] specializing: 100 / 423 blocks (23%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:269)isconstant [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: 200 / 494 blocks (40%) [rtyper] specializing: 300 / 494 blocks (60%) [rtyper] specializing: 400 / 494 blocks (80%) [rtyper] -=- specialized 494 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58181d36ccf580] translation-task} [translation:info] inserting stack checks... [c58181d36cdd800] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] specializing: 500 / 506 blocks (98%) [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58181d37709c00] translation-task} [translation:info] Creating database for generating c source... [c58181d37719000] {translation-task starting database_c [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 [c58181d38c8e100] translation-task} ________________ TestFinalizerQueue.test_translated_incminimark ________________ self = <rpython.rlib.test.test_rgc.TestFinalizerQueue instance at 0xfffc82eea500> def test_translated_incminimark(self): > self._test_translated(use_gc="incminimark", llcase=False) rlib/test/test_rgc.py:701: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rlib/test/test_rgc.py:781: in _test_translated exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.rlib.test.test_rgc:756)main [translation:info] Annotating&simplifying... [c58181e7e29af00] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.test.test_rgc:718)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.test.test_rgc:731)subfunc [flowgraph] (rpython.rlib.test.test_rgc:572)T_Int.__init__ [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [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] (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: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:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58181e85085e00] translation-task} [translation:info] RTyping... [c58181e85098c80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [rtyper] specializing: 100 / 323 blocks (30%) [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [rtyper] specializing: 200 / 391 blocks (51%) [rtyper] specializing: 300 / 391 blocks (76%) [rtyper] -=- specialized 391 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58181e922eff80] translation-task} [translation:info] inserting stack checks... [c58181e922fde00] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] specializing: 400 / 403 blocks (99%) [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58181e92c84580] translation-task} [translation:info] Creating database for generating c source... [c58181e92c92a00] {translation-task starting database_c [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 [rtyper] -=- specialized 21 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 [c58181e94161a80] translation-task} ______________ TestFinalizerQueue.test_translated_incminimark_ll _______________ self = <rpython.rlib.test.test_rgc.TestFinalizerQueue instance at 0xfffc822f5780> def test_translated_incminimark_ll(self): > self._test_translated(use_gc="incminimark", llcase=True) rlib/test/test_rgc.py:704: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rlib/test/test_rgc.py:781: in _test_translated exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.rlib.test.test_rgc:756)main [translation:info] Annotating&simplifying... [c58181ea6398580] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.test.test_rgc:718)finalizer_trigger [flowgraph] (rpython.rlib.test.test_rgc:731)subfunc [flowgraph] (rpython.rlib.test.test_rgc:728)llbuilder [flowgraph] (rpython.rlib.rgc:588)register_finalizer [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] (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: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:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58181ead25ff00] translation-task} [translation:info] RTyping... [c58181ead272200] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [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:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [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 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [rtyper] specializing: 100 / 399 blocks (25%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [rtyper] specializing: 200 / 401 blocks (49%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 300 / 405 blocks (74%) [rtyper] specializing: 400 / 405 blocks (98%) [rtyper] -=- specialized 405 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58181ebb460e00] translation-task} [translation:info] inserting stack checks... [c58181ebb46ee80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58181ebbdbd600] translation-task} [translation:info] Creating database for generating c source... [c58181ebbdcba00] {translation-task starting database_c [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 [c58181ebd446c80] translation-task} =========================== short test summary info ============================ FAIL rlib/test/test_rgc.py::test_nonmoving_raw_ptr_for_resizable_list FAIL rlib/test/test_rgc.py::test_ll_for_resizable_list FAIL rlib/test/test_rgc.py::TestFinalizerQueue::()::test_translated_incminimark FAIL rlib/test/test_rgc.py::TestFinalizerQueue::()::test_translated_incminimark_ll =============== 4 failed, 32 passed, 1 skipped in 19.32 seconds ================ ++ 23:41:37 starting rlib/test/test_rgil.py [247 started in total] __ rlib/test/test_rgil.py [244 done in total, somefailed=False] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_rgil.py .... ========================== 4 passed in 37.71 seconds =========================== ++ 23:42:21 starting rlib/test/test_rlocale.py [248 started in total] __ rlib/test/test_rlocale.py [245 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_rlocale.py ss.. ===================== 2 passed, 2 skipped in 0.12 seconds ====================== ++ 23:42:22 starting rlib/test/test_rmarshal.py [249 started in total] __ rlib/test/test_rmarshal.py [246 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/test/test_rmarshal.py ...... ========================== 6 passed in 13.59 seconds =========================== ++ 23:42:37 starting rlib/test/test_rmd5.py [250 started in total] __ rlib/test/test_rmd5.py [247 done in total, somefailed=False] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items rlib/test/test_rmd5.py ....... =========================== 7 passed in 3.14 seconds =========================== ++ 23:42:41 starting rlib/test/test_rmmap.py [251 started in total] __ rlib/rvmprof/test/test_traceback.py [248 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/rvmprof/test/test_traceback.py . ========================== 1 passed in 313.56 seconds ========================== ++ 23:42:50 starting rlib/test/test_rope.py [252 started in total] __ rlib/test/test_rmmap.py [249 done in total, somefailed=True] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 32 items rlib/test/test_rmmap.py ....F......................ss... =================================== FAILURES =================================== __________________________ TestMMap.test_unmap_range ___________________________ self = <rpython.rlib.test.test_rmmap.TestMMap instance at 0xfffe208597d0> @pytest.mark.skipif("os.name != 'posix'") def test_unmap_range(self): f = open(self.tmpname + "-unmap-range", "w+") left, right, size = 100, 200, 500 # in pages f.write(size*4096*"c") f.flush() def func(no): m = mmap.mmap(no, size*4096) m.unmap_range(left*4096, (right-left)*4096) m.read(1) m.seek(right*4096) m.read(1) def in_map(m, offset): return rffi.ptradd(m.data, offset) def as_num(ptr): return rffi.cast(lltype.Unsigned, ptr) res = mmap.alloc_hinted(in_map(m, (left+right)/2 * 4096), 4096) assert as_num(in_map(m, left*4096)) <= as_num(res) < as_num(in_map(m, right*4096)) > interpret(func, [f.fileno()]) rlib/test/test_rmmap.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rtyper/test/test_llinterp.py:102: in interpret result = interp.eval_graph(graph, values) rtyper/llinterp.py:97: in eval_graph retval = llframe.eval() rtyper/llinterp.py:295: in eval nextblock, args = self.eval_block(nextblock) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.rtyper.llinterp.LLFrame object at 0xfffe20a2eb90> block = raise block[etype_0...] with 0 exits def eval_block(self, block): """ return (nextblock, values) tuple. If nextblock is None, values is the concrete return value. """ self.curr_block = block e = None try: for i, op in enumerate(block.operations): self.curr_operation_index = i self.eval_operation(op) except LLException as e: if op is not block.raising_op: raise except RuntimeError as e: rstackovf.check_stack_overflow() # xxx fish fish fish for proper etype and evalue to use rtyper = self.llinterpreter.typer bk = rtyper.annotator.bookkeeper classdef = bk.getuniqueclassdef(rstackovf._StackOverflow) exdata = rtyper.exceptiondata evalue = exdata.get_standard_ll_exc_instance(rtyper, classdef) etype = exdata.fn_type_of_exc_inst(evalue) e = LLException(etype, evalue) if op is not block.raising_op: raise e # determine nextblock and/or return value if len(block.exits) == 0: # return block tracer = self.llinterpreter.tracer if len(block.inputargs) == 2: # exception if tracer: tracer.dump('raise') etypevar, evaluevar = block.getvariables() etype = self.getval(etypevar) evalue = self.getval(evaluevar) # watch out, these are _ptr's > raise LLException(etype, evalue) E LLException: <LLException 'AssertionError'> rtyper/llinterp.py:348: LLException ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 369 blocks (27%) [rtyper] specializing: 200 / 428 blocks (46%) [rtyper] specializing: 300 / 430 blocks (69%) [rtyper] specializing: 400 / 430 blocks (93%) [rtyper] -=- specialized 430 blocks -=- [rtyper] -=- specialized 4 more blocks -=- =========================== short test summary info ============================ FAIL rlib/test/test_rmmap.py::TestMMap::()::test_unmap_range =============== 1 failed, 29 passed, 2 skipped in 35.26 seconds ================ ++ 23:43:19 starting rlib/test/test_rpath.py [253 started in total] __ rlib/test/test_rpath.py [250 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items rlib/test/test_rpath.py ......s... ===================== 9 passed, 1 skipped in 0.94 seconds ====================== ++ 23:43:22 starting rlib/test/test_rpoll.py [254 started in total] __ rlib/test/test_rope.py [251 done in total, somefailed=False] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 58 items rlib/test/test_rope.py .............................s............................ ==================== 57 passed, 1 skipped in 27.93 seconds ===================== ++ 23:43:22 starting rlib/test/test_rposix.py [255 started in total] __ rlib/test/test_rpoll.py [252 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items rlib/test/test_rpoll.py s...... ===================== 6 passed, 1 skipped in 17.93 seconds ===================== ++ 23:43:42 starting rlib/test/test_rposix_environ.py [256 started in total] __ rlib/test/test_rposix_environ.py [253 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rposix_environ.py .. ========================== 2 passed in 14.17 seconds =========================== ++ 23:43:59 starting rlib/test/test_rposix_scandir.py [257 started in total] __ rlib/test/test_rposix_scandir.py [254 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/test/test_rposix_scandir.py . =========================== 1 passed in 1.82 seconds =========================== ++ 23:44:02 starting rlib/test/test_rposix_stat.py [258 started in total] __ rlib/test/test_rposix_stat.py [255 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items rlib/test/test_rposix_stat.py ......s.. ===================== 8 passed, 1 skipped in 21.08 seconds ===================== ++ 23:44:26 starting rlib/test/test_rrandom.py [259 started in total] __ rlib/test/test_rposix.py [256 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 80 items rlib/test/test_rposix.py ..ss.sss...............ss....................................................... ==================== 73 passed, 7 skipped in 66.81 seconds ===================== ++ 23:44:35 starting rlib/test/test_rrawarray.py [260 started in total] __ rlib/test/test_rrandom.py [257 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items rlib/test/test_rrandom.py ....... =========================== 7 passed in 8.88 seconds =========================== ++ 23:44:36 starting rlib/test/test_rsha.py [261 started in total] __ rlib/test/test_rrawarray.py [258 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_rrawarray.py .... =========================== 4 passed in 1.60 seconds =========================== ++ 23:44:38 starting rlib/test/test_rshrinklist.py [262 started in total] __ rlib/test/test_rshrinklist.py [259 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rshrinklist.py .. =========================== 2 passed in 0.11 seconds =========================== ++ 23:44:39 starting rlib/test/test_rsignal.py [263 started in total] __ rlib/test/test_rsha.py [260 done in total, somefailed=False] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_rsha.py .... =========================== 4 passed in 2.16 seconds =========================== ++ 23:44:40 starting rlib/test/test_rsiphash.py [264 started in total] __ rlib/test/test_rsignal.py [261 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/test/test_rsignal.py ...... ========================== 6 passed in 10.31 seconds =========================== ++ 23:44:51 starting rlib/test/test_rsocket.py [265 started in total] __ rlib/test/test_rsiphash.py [262 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/test/test_rsiphash.py ...... ========================== 6 passed in 22.96 seconds =========================== ++ 23:45:08 starting rlib/test/test_rstacklet.py [266 started in total] __ rlib/test/test_rstacklet.py [263 done in total, somefailed=True] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rstacklet.py F. =================================== FAILURES =================================== ______________________ TestStackletShadowStack.test_demo1 ______________________ self = <rpython.rlib.test.test_rstacklet.TestStackletShadowStack object at 0xfffd5a439c90> def test_demo1(self): > t, cbuilder = self.compile(entry_point) rlib/test/test_rstacklet.py:325: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:72: in compile exe_name=exe_name) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 784 blocks (12%) [rtyper] specializing: 200 / 989 blocks (20%) [rtyper] specializing: 300 / 1044 blocks (28%) [rtyper] specializing: 400 / 1146 blocks (34%) [rtyper] specializing: 500 / 1157 blocks (43%) [rtyper] specializing: 700 / 1356 blocks (51%) [rtyper] specializing: 800 / 1358 blocks (58%) [rtyper] specializing: 900 / 1358 blocks (66%) [rtyper] specializing: 1000 / 1358 blocks (73%) [rtyper] specializing: 1100 / 1358 blocks (81%) [rtyper] specializing: 1200 / 1358 blocks (88%) [rtyper] specializing: 1300 / 1360 blocks (95%) [rtyper] -=- specialized 1360 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- =========================== short test summary info ============================ FAIL rlib/test/test_rstacklet.py::TestStackletShadowStack::()::test_demo1 ====================== 1 failed, 1 passed in 4.22 seconds ====================== ++ 23:45:13 starting rlib/test/test_rstackovf.py [267 started in total] __ rlib/test/test_rstackovf.py [264 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_rstackovf.py .s.. ===================== 3 passed, 1 skipped in 4.93 seconds ====================== ++ 23:45:20 starting rlib/test/test_rstring.py [268 started in total] __ rlib/test/test_rstring.py [265 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items rlib/test/test_rstring.py ..........s.s.......... ===================== 21 passed, 2 skipped in 8.59 seconds ===================== ++ 23:45:30 starting rlib/test/test_rtermios.py [269 started in total] __ rlib/test/test_rtermios.py [266 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items rlib/test/test_rtermios.py sssss ========================== 5 skipped in 0.01 seconds =========================== ++ 23:45:31 starting rlib/test/test_rthread.py [270 started in total] __ rlib/test/test_rthread.py [267 done in total, somefailed=True] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items rlib/test/test_rthread.py ............FFFFFFFs =================================== FAILURES =================================== ___________________ TestUsingFramework.test_start_new_thread ___________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0xfffbf4414b50> def test_start_new_thread(self): import time class State: pass state = State() def bootstrap1(): state.my_thread_ident1 = get_ident() def bootstrap2(): state.my_thread_ident2 = get_ident() def f(): state.my_thread_ident1 = get_ident() state.my_thread_ident2 = get_ident() start_new_thread(bootstrap1, ()) start_new_thread(bootstrap2, ()) willing_to_wait_more = 1000 while (state.my_thread_ident1 == get_ident() or state.my_thread_ident2 == get_ident()): willing_to_wait_more -= 1 if not willing_to_wait_more: raise Exception("thread didn't start?") time.sleep(0.01) return 42 > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58183ede147c80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:86)f [flowgraph] (rpython.rlib.rthread:114)get_ident [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:130)start_new_thread [flowgraph] (rpython.rlib.rthread:99)ll_start_new_thread [flowgraph] (rpython.rlib.rgil:153)allocate [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadStart [flowgraph] (?:6)wrapper [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadStart [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.test.test_rthread:81)bootstrap1 [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: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:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rthread:130)start_new_thread [flowgraph] (rpython.rlib.rthread:99)ll_start_new_thread [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadStart [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.test.test_rthread:83)bootstrap2 [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rtime:282)sleep [flowgraph] (rpython.rtyper.lltypesystem.lltype:2296)scoped_alloc [flowgraph] (rpython.rtyper.lltypesystem.lltype:2280)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.rtyper.lltypesystem.lltype:2286)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.rtyper.lltypesystem.lltype:2289)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)select [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_select [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__make_scoped_allocator_0 [flowgraph] (?:1)memo__isfunctype_0 [c58183eea6a2980] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58183eea6d1600] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)<lambda> [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [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] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:218)ll_math_fmod [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [rtyper] specializing: 100 / 444 blocks (22%) [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [rtyper] specializing: 200 / 545 blocks (36%) [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [rtyper] specializing: 300 / 563 blocks (53%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 400 / 567 blocks (70%) [rtyper] specializing: 500 / 567 blocks (88%) [rtyper] -=- specialized 567 blocks -=- [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fmod [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_fmod [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rfloat:567)_likely_raise [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fabs [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:91)ll_math_isnan [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 600 / 615 blocks (97%) [rtyper] -=- specialized 48 more blocks -=- [rtyper] -=- specialized 9 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58183f05abb780] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58183f05ae8e80] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in ll_start_new_thread__bootstrap1 [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 1 cast_pointers in ll_start_new_thread__bootstrap2 [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 3 cast_pointers in sleep [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__v6559___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6565___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 3 cast_pointers in _likely_raise [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 conditional_call__v6544___simple_call__function__star_3 [backendopt:inlining] 0.00 conditional_call__v6557___simple_call__function__star_3 [backendopt:inlining] 0.00 isconstant__v6556___simple_call__function_ [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isconstant__v6543___simple_call__function_ [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 RPyThreadStart__bootstrap2Const_star_1 [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 isvirtual__v6541___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6550___simple_call__function_ [backendopt:inlining] 0.00 fabs__Float_star_1 [backendopt:inlining] 0.00 ll_unsigned__Unsigned [backendopt:inlining] 0.00 isvirtual__v6535___simple_call__function_ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 isconstant__v6552___simple_call__function_ [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 RPyThreadStart__bootstrap1Const_star_1 [backendopt:inlining] 0.00 isconstant__v6540___simple_call__function_ [backendopt:inlining] 0.00 select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5 [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 memo_conststr_0 [backendopt:inlining] 0.00 isconstant__v6546___simple_call__function_ [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 isconstant__v6562___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6558___simple_call__function_ [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v6534___simple_call__function_ [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isvirtual__v6563___simple_call__function_ [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 fmod__Float_Float_star_2 [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_math_isnan__Float [backendopt:inlining] 2.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 get_or_make_raw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 4.00 ll_math_isfinite__Float [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 __exit____star_3 [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_sec_Signed [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_usec_Signed [backendopt:inlining] 4.00 loop_unrolling_heuristic__v6561___simple_call__function_ [backendopt:inlining] 5.00 release [backendopt:inlining] 2.00 get_ident [backendopt:inlining] 5.00 allocate [backendopt:inlining] 2.00 get_or_make_ident [backendopt:inlining] 5.50 ll_math_isinf__Float [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 6.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 acquire [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 start_new_thread__bootstrap2 [backendopt:inlining] 4.00 bootstrap2 [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 4.00 bootstrap1 [backendopt:inlining] 7.00 start_new_thread__bootstrap1 [backendopt:inlining] 7.50 mallocstr__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] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 9.00 acquire_maybe_in_new_thread [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 scoped_alloc__timeval_False [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6539___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6547___simple_call__function_ [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 21.00 ccall_fmod [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v6567___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6531___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6529___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6532___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6537___simple_call__function_ [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6566___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6530___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6528___simple_call__function_ [backendopt:inlining] inlined 192 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 2 simple mallocs removed in 'll_start_new_thread__bootstrap1' [backendopt:malloc] 2 simple mallocs removed in 'RPyThreadStart__bootstrap1Const_star_1' [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 'll_start_new_thread__bootstrap2' [backendopt:malloc] 2 simple mallocs removed in 'RPyThreadStart__bootstrap2Const_star_1' [backendopt:malloc] 1 simple mallocs removed in 'sleep' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 8 simple mallocs removed in 'select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6544___simple_call__function__star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6557___simple_call__function__star_3' [backendopt:malloc] 5 simple mallocs removed in 'll_math_fmod__Float_Float' [backendopt:malloc] 5 simple mallocs removed in 'fmod__Float_Float_star_2' [backendopt:malloc] 3 simple mallocs removed in '_likely_raise' [backendopt:malloc] 3 simple mallocs removed in 'fabs__Float_star_1' [backendopt:malloc] removed 51 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58183f10778500] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58183f107c7480] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58183f1103e680] translation-task} [translation:info] Creating database for generating c source... [c58183f1104bb80] {translation-task starting database_c [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 [c58183f12762980] translation-task} ______________________ TestUsingFramework.test_gc_locking ______________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0xfffbf4045550> @py.test.mark.xfail(platform.machine() == 's390x' or sys.platform == 'darwin', reason='may fail this test under heavy load') def test_gc_locking(self): import time from rpython.rlib.debug import ll_assert class State: pass state = State() class Z: def __init__(self, i, j): self.i = i self.j = j def run(self): j = self.j if self.i > 1: g(self.i-1, self.j * 2) ll_assert(j == self.j, "1: bad j") g(self.i-2, self.j * 2 + 1) else: if len(state.answers) % 7 == 5: gc.collect() state.answers.append(self.j) ll_assert(j == self.j, "2: bad j") run._dont_inline_ = True def bootstrap(): # after_extcall() is called before we arrive here. # We can't just acquire and release the GIL manually here, # because it is unsafe: bootstrap() is called from a rffi # callback which checks for and reports exceptions after # bootstrap() returns. The exception checking code must be # protected by the GIL too. z = state.z state.z = None state.bootstrapping.release() z.run() gc_thread_die() # before_extcall() is called after we leave here def g(i, j): state.bootstrapping.acquire(True) state.z = Z(i, j) start_new_thread(bootstrap, ()) def f(): state.bootstrapping = allocate_lock() state.answers = [] state.finished = 0 g(10, 1) done = False willing_to_wait_more = 2000 while not done: if not willing_to_wait_more: break willing_to_wait_more -= 1 done = len(state.answers) == expected print "waitting %d more iterations" % willing_to_wait_more time.sleep(0.01) time.sleep(0.1) return len(state.answers) expected = 89 > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58183f1d029600] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:150)f [flowgraph] (rpython.rlib.rthread:92)allocate_lock [flowgraph] (rpython.rlib.rthread:249)allocate_ll_lock [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadLockInit [flowgraph] (rpython.rlib.rthread:203)Lock.__del__ [flowgraph] (rpython.rlib.rthread:166)Lock.__init__ [flowgraph] (rpython.rlib.rthread:260)free_ll_lock [flowgraph] (rpython.rlib.rthread:266)acquire_NOAUTO [flowgraph] (rpython.rlib.rthread:272)release_NOAUTO [flowgraph] (rpython.rlib.test.test_rthread:145)g [flowgraph] (rpython.rlib.rthread:169)Lock.acquire [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLock [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLock [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.test.test_rthread:115)Z.__init__ [flowgraph] (rpython.rlib.rthread:130)start_new_thread [flowgraph] (rpython.rlib.rthread:99)ll_start_new_thread [flowgraph] (rpython.rlib.rgil:153)allocate [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadStart [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadStart [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rlib.test.test_rthread:131)bootstrap [flowgraph] (rpython.rlib.rthread:199)Lock.release [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:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.test.test_rthread:118)Z.run [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:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rthread:297)gc_thread_die [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [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] (rpython.rlib.rtime:282)sleep [flowgraph] (rpython.rtyper.lltypesystem.lltype:2296)scoped_alloc [flowgraph] (rpython.rtyper.lltypesystem.lltype:2280)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2286)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2289)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)select [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_select [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__make_scoped_allocator_0 [flowgraph] (?:1)memo__isfunctype_0 [c58183f2bca4500] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58183f2bcd9700] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [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 [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [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)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [rtyper] specializing: 100 / 610 blocks (16%) [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:218)ll_math_fmod [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [rtyper] specializing: 200 / 684 blocks (29%) [rtyper] specializing: 300 / 684 blocks (43%) [rtyper] specializing: 400 / 684 blocks (58%) [rtyper] specializing: 500 / 684 blocks (73%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 600 / 686 blocks (87%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] -=- specialized 688 blocks -=- [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fmod [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_fmod [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rfloat:567)_likely_raise [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fabs [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:91)ll_math_isnan [rtyper] specializing: 700 / 736 blocks (95%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] -=- specialized 48 more blocks -=- [rtyper] -=- specialized 9 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58183f4ca76680] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58183f4caaa300] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in allocate_ll_lock [backendopt:removecasts] removed 1 cast_pointers in Lock.acquire [backendopt:removecasts] removed 1 cast_pointers in ll_start_new_thread__bootstrap [backendopt:removecasts] removed 1 cast_pointers in Lock.release [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 3 cast_pointers in sleep [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6573___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__v6578___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 3 cast_pointers in _likely_raise [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 isconstant__v6614___simple_call__function_ [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isconstant__v6586___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6592___simple_call__function_ [backendopt:inlining] 0.00 memo_conststr_0 [backendopt:inlining] 0.00 gc_thread_die [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 isconstant__v6609___simple_call__function_ [backendopt:inlining] 0.00 fmod__Float_Float_star_2 [backendopt:inlining] 0.00 fabs__Float_star_1 [backendopt:inlining] 0.00 isvirtual__v6610___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6576___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6582___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6593___simple_call__function__star_3 [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v6596___simple_call__function_ [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 RPyThreadStart__bootstrapConst_star_1 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 ll_unsigned__Unsigned [backendopt:inlining] 0.00 isconstant__v6575___simple_call__function_ [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 isconstant__v6580___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6581___simple_call__function__star_3 [backendopt:inlining] 0.00 select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5 [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 isconstant__v6612___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6587___simple_call__function_ [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1 [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v6591___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6598___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6603___simple_call__function_ [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isvirtual__v6604___simple_call__function_ [backendopt:inlining] 0.00 RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2 [backendopt:inlining] 0.00 conditional_call__v6613___simple_call__function__star_3 [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 Lock.__init__ [backendopt:inlining] 2.00 ll_math_isnan__Float [backendopt:inlining] 2.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 get_or_make_raw [backendopt:inlining] 2.00 ll_int_py_mod_nonnegargs__Signed_Signed [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_math_isfinite__Float [backendopt:inlining] 4.00 __exit____star_3 [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_sec_Signed [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_usec_Signed [backendopt:inlining] 4.00 Z.__init__ [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 2.00 get_or_make_ident [backendopt:inlining] 5.00 allocate [backendopt:inlining] 5.50 ll_math_isinf__Float [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 6.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [backendopt:inlining] 6.75 loop_unrolling_heuristic__v6574___simple_call__function_ [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 acquire [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 2.00 ll_len__listPtr [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 release_NOAUTO [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 start_new_thread__bootstrap [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 8.00 ll_newemptylist__GcStruct_listLlT [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_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Signed [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 9.00 acquire_maybe_in_new_thread [backendopt:inlining] 13.00 acquire_NOAUTO [backendopt:inlining] 12.00 scoped_alloc__timeval_False [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6616___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6607___simple_call__function_ [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 16.00 Lock.release [backendopt:inlining] 21.00 ccall_fmod [backendopt:inlining] 17.00 allocate_lock [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 17.00 ll_append__listPtr_Signed [backendopt:inlining] 19.25 _errno_after__v6569___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6571___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6618___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6601___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6606___simple_call__function_ [backendopt:inlining] 28.75 bootstrap [backendopt:inlining] 29.00 free_ll_lock [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 28.00 g [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6617___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6568___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6570___simple_call__function_ [backendopt:inlining] inlined 234 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 3 simple mallocs removed in 'allocate_ll_lock' [backendopt:malloc] 3 simple mallocs removed in 'RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1' [backendopt:malloc] 5 simple mallocs removed in 'Lock.acquire' [backendopt:malloc] 5 simple mallocs removed in 'RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2' [backendopt:malloc] 2 simple mallocs removed in 'll_start_new_thread__bootstrap' [backendopt:malloc] 2 simple mallocs removed in 'RPyThreadStart__bootstrapConst_star_1' [backendopt:malloc] 1 simple mallocs removed in 'wrapper' [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] 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 'sleep' [backendopt:malloc] 8 simple mallocs removed in 'select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6581___simple_call__function__star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6593___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__v6613___simple_call__function__star_3' [backendopt:malloc] 5 simple mallocs removed in 'll_math_fmod__Float_Float' [backendopt:malloc] 5 simple mallocs removed in 'fmod__Float_Float_star_2' [backendopt:malloc] 3 simple mallocs removed in '_likely_raise' [backendopt:malloc] 3 simple mallocs removed in 'fabs__Float_star_1' [backendopt:malloc] removed 66 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58183f59aa7e80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58183f59af7400] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58183f5a3d5080] translation-task} [translation:info] Creating database for generating c source... [c58183f5a3e2980] {translation-task starting database_c [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 [c58183f5b927c80] translation-task} __________________ TestUsingFramework.test_acquire_timed_1sec __________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0xfffbf406e110> def test_acquire_timed_1sec(self): import time def f(): l = allocate_lock() l.acquire(True) t1 = time.time() ok = l.acquire_timed(1000001) t2 = time.time() delay = t2 - t1 if ok == 0: # RPY_LOCK_FAILURE return -delay elif ok == 2: # RPY_LOCK_INTR return delay else: # RPY_LOCK_ACQUIRED return 0.0 > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58183f65a7e080] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:178)f [flowgraph] (rpython.rlib.rthread:92)allocate_lock [flowgraph] (rpython.rlib.rthread:249)allocate_ll_lock [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadLockInit [flowgraph] (rpython.rlib.rthread:203)Lock.__del__ [flowgraph] (rpython.rlib.rthread:166)Lock.__init__ [flowgraph] (rpython.rlib.rthread:260)free_ll_lock [flowgraph] (rpython.rlib.rthread:266)acquire_NOAUTO [flowgraph] (rpython.rlib.rthread:169)Lock.acquire [flowgraph] (rpython.rlib.rthread:272)release_NOAUTO [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLock [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLock [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rtime:146)time [flowgraph] (rpython.rlib.rtime:101)decode_timeval [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rlib.rthread:192)Lock.acquire_timed [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLockTimed [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLockTimed [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (?:2)formatd [flowgraph] (rpython.rlib.rfloat:105)formatd [flowgraph] (rpython.rlib.rdtoa:290)dtoa_formatd [flowgraph] (rpython.rlib.rdtoa:248)dtoa [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)_PyPy_dg_dtoa [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)_PyPy_dg_freedtoa [flowgraph] (rpython.rlib.rdtoa:97)format_number [flowgraph] (rpython.rlib.rdtoa:82)format_nonfinite [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [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: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:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [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 [c58183f79894180] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58183f798c5480] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:1046)ll_contains [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:328)ll_append_charpsize [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [rtyper] specializing: 100 / 445 blocks (22%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rstr:930)ll_lower_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rstr:856)ll_stringslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [rtyper] specializing: 200 / 526 blocks (38%) [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rstr:890)ll_char_isdigit [rtyper] specializing: 300 / 670 blocks (44%) [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [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:912)<lambda> [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)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] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 400 / 788 blocks (50%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 500 / 790 blocks (63%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 600 / 792 blocks (75%) [rtyper] specializing: 700 / 792 blocks (88%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] -=- specialized 794 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58183f9ae06380] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58183f9ae35180] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in allocate_ll_lock [backendopt:removecasts] removed 1 cast_pointers in Lock.acquire [backendopt:removecasts] removed 2 cast_pointers in dtoa_formatd [backendopt:removecasts] removed 3 cast_pointers in dtoa [backendopt:removecasts] removed 4 cast_pointers in format_number [backendopt:removecasts] removed 1 cast_pointers in format_nonfinite [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [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_grow_by__stringbuilderPtr_Signed [backendopt:removecasts] removed 1 cast_pointers in copy_raw_to_string__arrayPtr_rpy_stringPtr_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in _ll_stringslice__rpy_stringPtr_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6640___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6645___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isvirtual__v6655___simple_call__function_ [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isconstant__v6657___simple_call__function_ [backendopt:inlining] 0.00 RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2 [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 isconstant__v6647___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6661___simple_call__function__star_3 [backendopt:inlining] 0.00 isconstant__v6627___simple_call__function_ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isconstant__v6635___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6643___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6642___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6658___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6630___simple_call__function__star_3 [backendopt:inlining] 0.00 RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_Signed_star_3 [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 isconstant__v6636___simple_call__function_ [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 _PyPy_dg_dtoa__Float_Signed_Signed_arrayPtr_arrayPtr_arrayPtr_star_6 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isvirtual__v6664___simple_call__function_ [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 conditional_call__v6622___simple_call__function__star_2 [backendopt:inlining] 0.00 memo_emptystrfun_0 [backendopt:inlining] 0.00 ll_getlength__stringbuilderPtr [backendopt:inlining] 0.00 isvirtual__v6649___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6623___simple_call__function_ [backendopt:inlining] 0.00 ll_append_char__stringbuilderPtr_Char [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 isconstant__v6631___simple_call__function_ [backendopt:inlining] 0.00 copy_raw_to_string__arrayPtr_rpy_stringPtr_Signed_Signed [backendopt:inlining] 0.00 ll_append_multiple_char__stringbuilderPtr_Char_Signed [backendopt:inlining] 0.00 isconstant__v6629___simple_call__function_ [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_foldable_nonnegCons_arrayPtr_Signed [backendopt:inlining] 0.00 RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1 [backendopt:inlining] 0.00 isconstant__v6625___simple_call__function_ [backendopt:inlining] 0.00 _PyPy_dg_freedtoa__arrayPtr_star_1 [backendopt:inlining] 0.00 isconstant__v6654___simple_call__function_ [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 Lock.__init__ [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed [backendopt:inlining] 4.00 ll_fixed_getitem_fast__arrayPtr_Signed [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_sec [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_usec [backendopt:inlining] 4.00 ll_min__Unsigned_Unsigned [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 6.75 loop_unrolling_heuristic__v6641___simple_call__function_ [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 acquire [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 4.00 ll_getitem_foldable_nonneg__arrayPtr_Signed [backendopt:inlining] 7.00 ll_shrink_array__rpy_stringPtr_Signed [backendopt:inlining] 7.00 release_NOAUTO [backendopt:inlining] 7.00 ll_build_look_inside_iff__stringbuilderPtr [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 7.50 ll_char_isdigit__Char [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 llrepr_out__float [backendopt:inlining] 9.00 formatd [backendopt:inlining] 9.00 formatd [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] 9.50 ll_chr2str__Char [backendopt:inlining] 10.75 ll_lower_char__Char [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 ll_stringslice_startonly__rpy_stringPtr_Signed [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] 13.00 acquire_NOAUTO [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6660___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6653___simple_call__function_ [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 17.00 ll_contains__rpy_stringPtr_Char [backendopt:inlining] 18.12 ll_stringslice_startstop__rpy_stringPtr_Signed_Signed [backendopt:inlining] 19.00 ll_shrink_final__stringbuilderPtr [backendopt:inlining] 17.00 allocate_lock [backendopt:inlining] 16.00 decode_timeval [backendopt:inlining] 22.00 ll_shrink_array__rpy_stringPtr_Signed [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v6620___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6648___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6651___simple_call__function_ [backendopt:inlining] 29.00 free_ll_lock [backendopt:inlining] 27.50 ll_new__Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6619___simple_call__function_ [backendopt:inlining] inlined 233 callsites. [backendopt:removecasts] removed 2 cast_pointers in time [backendopt:malloc] starting malloc removal [backendopt:malloc] 3 simple mallocs removed in 'allocate_ll_lock' [backendopt:malloc] 3 simple mallocs removed in 'RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1' [backendopt:malloc] 5 simple mallocs removed in 'Lock.acquire' [backendopt:malloc] 5 simple mallocs removed in 'RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2' [backendopt:malloc] 6 simple mallocs removed in 'Lock.acquire_timed' [backendopt:malloc] 6 simple mallocs removed in 'RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 13 simple mallocs removed in '_PyPy_dg_dtoa__Float_Signed_Signed_arrayPtr_arrayPtr_arrayPtr_star_6' [backendopt:malloc] 3 simple mallocs removed in '_PyPy_dg_freedtoa__arrayPtr_star_1' [backendopt:malloc] 7 simple mallocs removed in 'format_number' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [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] 1 simple mallocs removed in 'll_append_char__stringbuilderPtr_Char' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6622___simple_call__function__star_2' [backendopt:malloc] 4 simple mallocs removed in '_ll_append_multiple_char__stringbuilderPtr_Char_Signed' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6630___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__v6661___simple_call__function__star_3' [backendopt:malloc] removed 75 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt] merging blocks in f [backendopt] merging blocks in dtoa_formatd [backendopt] merging blocks in format_number [c58183fac52e900] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58183fac57e280] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] specializing: 800 / 806 blocks (99%) [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58183facf18e80] translation-task} [translation:info] Creating database for generating c source... [c58183facf26900] {translation-task starting database_c [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 [c58183fae557f80] translation-task} ______________ TestUsingFramework.test_acquire_timed_huge_timeout ______________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0xfffbf4b60110> def test_acquire_timed_huge_timeout(self): t = r_longlong(2 ** 61) def f(): l = allocate_lock() return l.acquire_timed(t) > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:200: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58183fb87fcd00] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:197)f [flowgraph] (rpython.rlib.rthread:92)allocate_lock [flowgraph] (rpython.rlib.rthread:249)allocate_ll_lock [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadLockInit [flowgraph] (rpython.rlib.rthread:203)Lock.__del__ [flowgraph] (rpython.rlib.rthread:166)Lock.__init__ [flowgraph] (rpython.rlib.rthread:192)Lock.acquire_timed [flowgraph] (rpython.rlib.rthread:260)free_ll_lock [flowgraph] (rpython.rlib.rthread:266)acquire_NOAUTO [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLockTimed [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLockTimed [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rthread:272)release_NOAUTO [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [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: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:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [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 [c58183fc057dd80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58183fc05acd80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [rtyper] specializing: 100 / 351 blocks (28%) [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)<lambda> [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [rtyper] specializing: 200 / 415 blocks (48%) [rtyper] specializing: 300 / 415 blocks (72%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 400 / 419 blocks (95%) [rtyper] -=- specialized 419 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58183fce8e3b00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58183fce911780] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in allocate_ll_lock [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6680___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__v6686___simple_call__function_ [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v6695___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6689___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6696___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6700___simple_call__function__star_3 [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1 [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_Signed_star_3 [backendopt:inlining] 0.00 isvirtual__v6690___simple_call__function_ [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isconstant__v6671___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6684___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6670___simple_call__function_ [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isconstant__v6677___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6698___simple_call__function_ [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isconstant__v6676___simple_call__function_ [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 isconstant__v6683___simple_call__function_ [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 conditional_call__v6672___simple_call__function__star_3 [backendopt:inlining] 0.00 isconstant__v6699___simple_call__function_ [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 Lock.__init__ [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 release_NOAUTO [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_strs_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] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 f [backendopt:inlining] 13.00 acquire_NOAUTO [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6694___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6702___simple_call__function_ [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 6.75 loop_unrolling_heuristic__v6682___simple_call__function_ [backendopt:inlining] 17.00 allocate_lock [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v6668___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6687___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6692___simple_call__function_ [backendopt:inlining] 29.00 free_ll_lock [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.87 _errno_before__v6667___simple_call__function_ [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] inlined 132 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 3 simple mallocs removed in 'allocate_ll_lock' [backendopt:malloc] 3 simple mallocs removed in 'RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1' [backendopt:malloc] 6 simple mallocs removed in 'Lock.acquire_timed' [backendopt:malloc] 6 simple mallocs removed in 'RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_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] 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] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6672___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__v6700___simple_call__function__star_3' [backendopt:malloc] removed 36 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58183fde881900] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58183fde8cd400] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58183fdf0f5200] translation-task} [translation:info] Creating database for generating c source... [c58183fdf101d80] {translation-task starting database_c [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 [c58183fe0591400] translation-task} _________________ TestUsingFramework.test_acquire_timed_alarm __________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0xfffbf435b310> def test_acquire_timed_alarm(self): import sys if not sys.platform.startswith('linux'): py.test.skip("skipped on non-linux") import time from rpython.rlib import rsignal def f(): l = allocate_lock() l.acquire(True) # rsignal.pypysig_setflag(rsignal.SIGALRM) rsignal.c_alarm(1) # t1 = time.time() ok = l.acquire_timed(2500000) t2 = time.time() delay = t2 - t1 if ok == 0: # RPY_LOCK_FAILURE return -delay elif ok == 2: # RPY_LOCK_INTR return delay else: # RPY_LOCK_ACQUIRED return 0.0 > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58183fea2dfa80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:210)f [flowgraph] (rpython.rlib.rthread:92)allocate_lock [flowgraph] (rpython.rlib.rthread:249)allocate_ll_lock [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadLockInit [flowgraph] (rpython.rlib.rthread:203)Lock.__del__ [flowgraph] (rpython.rlib.rthread:166)Lock.__init__ [flowgraph] (rpython.rlib.rthread:260)free_ll_lock [flowgraph] (rpython.rlib.rthread:266)acquire_NOAUTO [flowgraph] (rpython.rlib.rthread:169)Lock.acquire [flowgraph] (rpython.rlib.rthread:272)release_NOAUTO [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLock [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLock [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)pypysig_setflag [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)alarm [flowgraph] (rpython.rlib.rtime:146)time [flowgraph] (rpython.rlib.rtime:101)decode_timeval [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rlib.rthread:192)Lock.acquire_timed [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLockTimed [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLockTimed [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (?:2)formatd [flowgraph] (rpython.rlib.rfloat:105)formatd [flowgraph] (rpython.rlib.rdtoa:290)dtoa_formatd [flowgraph] (rpython.rlib.rdtoa:248)dtoa [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)_PyPy_dg_dtoa [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)_PyPy_dg_freedtoa [flowgraph] (rpython.rlib.rdtoa:82)format_nonfinite [flowgraph] (rpython.rlib.rdtoa:97)format_number [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [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: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:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58184000382880] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c581840003b3000] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rstr:890)ll_char_isdigit [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [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:912)<lambda> [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)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] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [rtyper] specializing: 100 / 633 blocks (15%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rstr:856)ll_stringslice_startonly [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 200 / 735 blocks (27%) [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [rtyper] specializing: 300 / 777 blocks (38%) [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:328)ll_append_charpsize [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rtyper.rstr:930)ll_lower_char [flowgraph] (rpython.rtyper.lltypesystem.rstr:1046)ll_contains [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [rtyper] specializing: 400 / 804 blocks (49%) [rtyper] specializing: 500 / 804 blocks (62%) [rtyper] specializing: 600 / 804 blocks (74%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 700 / 806 blocks (86%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 800 / 808 blocks (99%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] -=- specialized 810 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c581840195fd180] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c5818401962b400] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in allocate_ll_lock [backendopt:removecasts] removed 1 cast_pointers in Lock.acquire [backendopt:removecasts] removed 2 cast_pointers in dtoa_formatd [backendopt:removecasts] removed 3 cast_pointers in dtoa [backendopt:removecasts] removed 1 cast_pointers in format_nonfinite [backendopt:removecasts] removed 4 cast_pointers in format_number [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_grow_by__stringbuilderPtr_Signed [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_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in _ll_stringslice__rpy_stringPtr_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6740___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6745___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in copy_raw_to_string__arrayPtr_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 _PyPy_dg_freedtoa__arrayPtr_star_1 [backendopt:inlining] 0.00 isconstant__v6719___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6711___simple_call__function__star_2 [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 ll_append_char__stringbuilderPtr_Char [backendopt:inlining] 0.00 ll_getlength__stringbuilderPtr [backendopt:inlining] 0.00 memo_emptystrfun_0 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isvirtual__v6743___simple_call__function_ [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_foldable_nonnegCons_arrayPtr_Signed [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isvirtual__v6748___simple_call__function_ [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 conditional_call__v6714___simple_call__function__star_3 [backendopt:inlining] 0.00 _PyPy_dg_dtoa__Float_Signed_Signed_arrayPtr_arrayPtr_arrayPtr_star_6 [backendopt:inlining] 0.00 isconstant__v6709___simple_call__function_ [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isconstant__v6705___simple_call__function_ [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isconstant__v6724___simple_call__function_ [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 isconstant__v6735___simple_call__function_ [backendopt:inlining] 0.00 copy_raw_to_string__arrayPtr_rpy_stringPtr_Signed_Signed [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 conditional_call__v6736___simple_call__function__star_3 [backendopt:inlining] 0.00 isconstant__v6713___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6742___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6707___simple_call__function_ [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 isconstant__v6731___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6732___simple_call__function_ [backendopt:inlining] 0.00 RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1 [backendopt:inlining] 0.00 isconstant__v6715___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6726___simple_call__function_ [backendopt:inlining] 0.00 ll_append_multiple_char__stringbuilderPtr_Char_Signed [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 isconstant__v6734___simple_call__function_ [backendopt:inlining] 0.00 pypysig_setflag__Signed_star_1 [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_Signed_star_3 [backendopt:inlining] 0.00 isconstant__v6720___simple_call__function_ [backendopt:inlining] 0.00 alarm__Signed_star_1 [backendopt:inlining] 0.00 RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2 [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 Lock.__init__ [backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_fixed_getitem_fast__arrayPtr_Signed [backendopt:inlining] 4.00 ll_min__Unsigned_Unsigned [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_usec [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_sec [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_shrink_array__rpy_stringPtr_Signed [backendopt:inlining] 4.00 ll_getitem_foldable_nonneg__arrayPtr_Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 ll_build_look_inside_iff__stringbuilderPtr [backendopt:inlining] 7.00 release_NOAUTO [backendopt:inlining] 7.50 ll_char_isdigit__Char [backendopt:inlining] 7.50 mallocstr__Signed [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 llrepr_out__float [backendopt:inlining] 9.00 formatd [backendopt:inlining] 9.00 formatd [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] 9.50 ll_chr2str__Char [backendopt:inlining] 7.00 acquire [backendopt:inlining] 10.75 ll_lower_char__Char [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 ll_stringslice_startonly__rpy_stringPtr_Signed [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 acquire_NOAUTO [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6730___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6738___simple_call__function_ [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 17.00 ll_contains__rpy_stringPtr_Char [backendopt:inlining] 6.75 loop_unrolling_heuristic__v6741___simple_call__function_ [backendopt:inlining] 18.12 ll_stringslice_startstop__rpy_stringPtr_Signed_Signed [backendopt:inlining] 19.00 ll_shrink_final__stringbuilderPtr [backendopt:inlining] 16.00 decode_timeval [backendopt:inlining] 17.00 allocate_lock [backendopt:inlining] 22.00 ll_shrink_array__rpy_stringPtr_Signed [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v6704___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6725___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6728___simple_call__function_ [backendopt:inlining] 29.00 free_ll_lock [backendopt:inlining] 27.50 ll_new__Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6703___simple_call__function_ [backendopt:inlining] inlined 235 callsites. [backendopt:removecasts] removed 2 cast_pointers in time [backendopt:malloc] starting malloc removal [backendopt:malloc] 4 simple mallocs removed in 'f' [backendopt:malloc] 3 simple mallocs removed in 'allocate_ll_lock' [backendopt:malloc] 3 simple mallocs removed in 'RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1' [backendopt:malloc] 5 simple mallocs removed in 'Lock.acquire' [backendopt:malloc] 5 simple mallocs removed in 'RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2' [backendopt:malloc] 2 simple mallocs removed in 'pypysig_setflag__Signed_star_1' [backendopt:malloc] 2 simple mallocs removed in 'alarm__Signed_star_1' [backendopt:malloc] 6 simple mallocs removed in 'Lock.acquire_timed' [backendopt:malloc] 6 simple mallocs removed in 'RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 13 simple mallocs removed in '_PyPy_dg_dtoa__Float_Signed_Signed_arrayPtr_arrayPtr_arrayPtr_star_6' [backendopt:malloc] 3 simple mallocs removed in '_PyPy_dg_freedtoa__arrayPtr_star_1' [backendopt:malloc] 7 simple mallocs removed in 'format_number' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [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] 4 simple mallocs removed in '_ll_append_multiple_char__stringbuilderPtr_Char_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_append_char__stringbuilderPtr_Char' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6711___simple_call__function__star_2' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6714___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__v6736___simple_call__function__star_3' [backendopt:malloc] removed 83 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt] merging blocks in f [backendopt] merging blocks in dtoa_formatd [backendopt] merging blocks in format_number [c5818403420e500] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c5818403425da80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58184034bcd280] translation-task} [translation:info] Creating database for generating c source... [c58184034be0200] {translation-task starting database_c [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 [c58184036127000] translation-task} ________________________ TestUsingFramework.test_tlref _________________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0xfffbdf97f450> def test_tlref(self): class FooBar(object): pass t = ThreadLocalReference(FooBar) def f(): x1 = FooBar() t.set(x1) import gc; gc.collect() assert t.get() is x1 return 42 > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c5818404006a200] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:235)f [flowgraph] (rpython.rlib.rthread:413)set [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:1166)ll_writebarrier [flowgraph] (rpython.rlib.rthread:403)get [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [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: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:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58184045edae00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58184045f07e80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)<lambda> [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [rtyper] specializing: 100 / 324 blocks (30%) [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [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: 200 / 383 blocks (52%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 300 / 385 blocks (77%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] -=- specialized 387 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58184053aa6b00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58184053ad3400] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6781___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__v6786___simple_call__function_ [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [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 isconstant__v6783___simple_call__function_ [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 isconstant__v6773___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6755___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6756___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6779___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6764___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6762___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6784___simple_call__function_ [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 conditional_call__v6778___simple_call__function__star_3 [backendopt:inlining] 0.00 isconstant__v6761___simple_call__function_ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isconstant__v6772___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6777___simple_call__function_ [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isconstant__v6765___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6766___simple_call__function__star_3 [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 cast_instance_to_base_ptr__rpython_rlib_test_test_rthread_FooBar [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_writebarrier__TRACETLREF3Ptr [backendopt:inlining] 2.00 get [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.50 mallocstr__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 set [backendopt:inlining] 7.00 acquire [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6768___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6760___simple_call__function_ [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 4.00 loop_unrolling_heuristic__v6782___simple_call__function_ [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.50 f [backendopt:inlining] 19.25 _errno_after__v6752___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6753___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6758___simple_call__function_ [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.87 _errno_before__v6751___simple_call__function_ [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] inlined 124 callsites. [backendopt:removecasts] removed 1 cast_pointers in entry_point [backendopt:removecasts] removed 1 cast_pointers in f [backendopt:malloc] starting malloc removal [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [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] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6766___simple_call__function__star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6778___simple_call__function__star_3' [backendopt:malloc] removed 18 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c5818405a7e1f00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c5818405a82ca80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c5818405b075000] translation-task} [translation:info] Creating database for generating c source... [c5818405b081d80] {translation-task starting database_c [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] specializing: 400 / 424 blocks (94%) [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 [c5818405c558d00] translation-task} ___________________ TestUsingFramework.test_tlref_keepalive ____________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0xfffbdf1e4090> no__thread = True def test_tlref_keepalive(self, no__thread=True): import weakref from rpython.config.translationoption import SUPPORT__THREAD if not (SUPPORT__THREAD or no__thread): py.test.skip("no __thread support here") class FooBar(object): def __init__(self, a, b): self.lst = [a, b] t = ThreadLocalReference(FooBar) t2 = ThreadLocalReference(FooBar) def tset(): x1 = FooBar(40, 2) t.set(x1) return weakref.ref(x1) tset._dont_inline_ = True def t2set(): x1 = FooBar(50, 3) t2.set(x1) return weakref.ref(x1) t2set._dont_inline_ = True class WrFromThread: pass wr_from_thread = WrFromThread() def f(): config = objectmodel.fetch_translated_config() assert t.automatic_keepalive(config) is True wr = tset() wr2 = t2set() import gc; gc.collect() # the two 'x1' should not be collected x1 = t.get() assert x1 is not None assert wr() is not None assert wr() is x1 assert x1.lst == [40, 2] x2 = t2.get() assert x2 is not None assert wr2() is not None assert wr2() is x2 assert x2.lst == [50, 3] return wr, wr2 def thread_entry_point(): wr, wr2 = f() wr_from_thread.wr = wr wr_from_thread.wr2 = wr2 wr_from_thread.seen = True def main(): wr_from_thread.seen = False start_new_thread(thread_entry_point, ()) wr1, wr2 = f() count = 0 while True: time.sleep(0.5) if wr_from_thread.seen or count >= 50: break count += 1 assert wr_from_thread.seen is True wr_other_1 = wr_from_thread.wr wr_other_2 = wr_from_thread.wr2 import gc; gc.collect() # wr_other_*() should be collected here assert wr1() is not None # this thread, still running assert wr2() is not None # this thread, still running assert wr_other_1() is None # other thread, not running any more assert wr_other_2() is None # other thread, not running any more assert wr1().lst == [40, 2] assert wr2().lst == [50, 3] return 42 extra_options = {'no__thread': no__thread, 'shared': True} > fn = self.getcompiled(main, [], extra_options=extra_options) rlib/test/test_rthread.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58184070bb9880] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:310)main [flowgraph] (rpython.rlib.rthread:130)start_new_thread [flowgraph] (rpython.rlib.rthread:99)ll_start_new_thread [flowgraph] (rpython.rlib.rgil:153)allocate [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadStart [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadStart [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.test.test_rthread:304)thread_entry_point [flowgraph] (rpython.rlib.test.test_rthread:286)f [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.rlib.rthread:446)automatic_keepalive [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.test.test_rthread:270)tset [flowgraph] (rpython.rlib.test.test_rthread:265)FooBar.__init__ [flowgraph] (rpython.rlib.rthread:413)set [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [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.rlib.rgc:1166)ll_writebarrier [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.test.test_rthread:276)t2set [flowgraph] (rpython.rlib.rthread:413)set [flowgraph] (rpython.rlib.rgc:1166)ll_writebarrier [flowgraph] (rpython.rlib.rthread:403)get [flowgraph] (rpython.rlib.rthread:403)get [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.rtime:282)sleep [flowgraph] (rpython.rtyper.lltypesystem.lltype:2296)scoped_alloc [flowgraph] (rpython.rtyper.lltypesystem.lltype:2280)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2286)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2289)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)select [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_select [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__make_scoped_allocator_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818407e5f6e80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c5818407e625880] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:218)ll_math_fmod [flowgraph] (rpython.rtyper.rlist:588)ll_append [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] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [rtyper] specializing: 100 / 640 blocks (15%) [rtyper] specializing: 200 / 640 blocks (31%) [rtyper] specializing: 300 / 640 blocks (46%) [rtyper] specializing: 400 / 640 blocks (62%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 500 / 644 blocks (77%) [rtyper] specializing: 600 / 644 blocks (93%) [rtyper] -=- specialized 644 blocks -=- [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fmod [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_fmod [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rfloat:567)_likely_raise [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fabs [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:91)ll_math_isnan [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] -=- specialized 48 more blocks -=- [rtyper] specializing: 700 / 701 blocks (99%) [rtyper] -=- specialized 9 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58184095118780] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c5818409514a080] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 7 cast_pointers in main [backendopt:removecasts] removed 1 cast_pointers in ll_start_new_thread__thread_entry_point [backendopt:removecasts] removed 8 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 3 cast_pointers in sleep [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [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__v6797___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6803___simple_call__function_ [backendopt:removecasts] removed 3 cast_pointers in _likely_raise [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 isconstant__v6829___simple_call__function_ [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isconstant__v6819___simple_call__function_ [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 cast_instance_to_base_ptr__rpython_rlib_test_test_rthread_FooBar [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 isvirtual__v6807___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6793___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6801___simple_call__function_ [backendopt:inlining] 0.00 fmod__Float_Float_star_2 [backendopt:inlining] 0.00 isconstant__v6828___simple_call__function_ [backendopt:inlining] 0.00 ll_unsigned__Unsigned [backendopt:inlining] 0.00 isconstant__v6823___simple_call__function_ [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 memo_conststr_0 [backendopt:inlining] 0.00 isconstant__v6800___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6818___simple_call__function__star_3 [backendopt:inlining] 0.00 fabs__Float_star_1 [backendopt:inlining] 0.00 isvirtual__v6813___simple_call__function_ [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 conditional_call__v6830___simple_call__function__star_3 [backendopt:inlining] 0.00 RPyThreadStart__thread_entry_pointConst_star_1 [backendopt:inlining] 0.00 select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5 [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isconstant__v6806___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6812___simple_call__function_ [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 isconstant__v6815___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6794___simple_call__function_ [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 ll_setitem_nonneg__dum_nocheckConst_arrayPtr_Signed_Signed [backendopt:inlining] 0.00 isconstant__v6824___simple_call__function_ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_fixed_newlist__GcArray_SignedLlT_Signed [backendopt:inlining] 2.00 ll_fixed_length__arrayPtr [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_writebarrier__TRACETLREF5Ptr [backendopt:inlining] 2.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 get [backendopt:inlining] 2.00 ll_math_isnan__Float [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_writebarrier__TRACETLREF4Ptr [backendopt:inlining] 2.00 get_or_make_raw [backendopt:inlining] 2.00 get [backendopt:inlining] 4.00 ll_fixed_getitem_fast__arrayPtr_Signed [backendopt:inlining] 4.00 ll_math_isfinite__Float [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_sec_Signed [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_usec_Signed [backendopt:inlining] 4.00 ll_fixed_setitem_fast__arrayPtr_Signed_Signed [backendopt:inlining] 4.00 __exit____star_3 [backendopt:inlining] 5.00 release [backendopt:inlining] 2.00 get_or_make_ident [backendopt:inlining] 5.00 allocate [backendopt:inlining] 5.50 ll_math_isinf__Float [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 6.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 acquire [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 start_new_thread__thread_entry_point [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_listeq_look_inside_iff__arrayPtr_arrayPtr_NoneConst [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 set [backendopt:inlining] 4.00 set [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 9.00 acquire_maybe_in_new_thread [backendopt:inlining] 12.00 scoped_alloc__timeval_False [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 6.75 loop_unrolling_heuristic__v6799___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6810___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6817___simple_call__function_ [backendopt:inlining] 15.00 thread_entry_point [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 21.00 ccall_fmod [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v6832___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6790___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6788___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6804___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6809___simple_call__function_ [backendopt:inlining] 12.00 FooBar.__init__ [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 29.05 ll_listeq__v6792___simple_call__function_ [backendopt:inlining] 29.05 ll_listeq__v6796___simple_call__function_ [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6831___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6789___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6787___simple_call__function_ [backendopt:inlining] inlined 243 callsites. [backendopt:removecasts] removed 1 cast_pointers in tset [backendopt:removecasts] removed 1 cast_pointers in t2set [backendopt:malloc] starting malloc removal [backendopt:malloc] 2 simple mallocs removed in 'll_start_new_thread__thread_entry_point' [backendopt:malloc] 2 simple mallocs removed in 'RPyThreadStart__thread_entry_pointConst_star_1' [backendopt:malloc] 1 simple mallocs removed in 'wrapper' [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] 1 simple mallocs removed in 'sleep' [backendopt:malloc] 8 simple mallocs removed in 'select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5' [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_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6818___simple_call__function__star_3' [backendopt:malloc] 5 simple mallocs removed in 'll_math_fmod__Float_Float' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6830___simple_call__function__star_3' [backendopt:malloc] 5 simple mallocs removed in 'fmod__Float_Float_star_2' [backendopt:malloc] 3 simple mallocs removed in '_likely_raise' [backendopt:malloc] 3 simple mallocs removed in 'fabs__Float_star_1' [backendopt:malloc] removed 48 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c581840a1e7ef80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4065 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c581840a1ece180] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c581840a277f300] translation-task} [translation:info] Creating database for generating c source... [c581840a278c600] {translation-task starting database_c [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 [c581840a3cd8080] translation-task} =========================== short test summary info ============================ FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_start_new_thread FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_gc_locking FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_acquire_timed_1sec FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_acquire_timed_huge_timeout FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_acquire_timed_alarm FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_tlref FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_tlref_keepalive =============== 7 failed, 12 passed, 1 skipped in 52.40 seconds ================ ++ 23:46:30 starting rlib/test/test_rtime.py [271 started in total] __ rlib/test/test_rtime.py [268 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items rlib/test/test_rtime.py ..... =========================== 5 passed in 2.35 seconds =========================== ++ 23:46:33 starting rlib/test/test_rtimer.py [272 started in total] __ rlib/test/test_rtimer.py [269 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/test/test_rtimer.py ...... =========================== 6 passed in 8.67 seconds =========================== ++ 23:46:43 starting rlib/test/test_runicode.py [273 started in total] __ rlib/test/test_runicode.py [270 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 48 items rlib/test/test_runicode.py ................................................ ========================== 48 passed in 15.51 seconds ========================== ++ 23:47:01 starting rlib/test/test_rurandom.py [274 started in total] __ rlib/test/test_rurandom.py [271 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rurandom.py .. =========================== 2 passed in 1.16 seconds =========================== ++ 23:47:03 starting rlib/test/test_rutf8.py [275 started in total] __ rlib/test/test_rutf8.py [272 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items rlib/test/test_rutf8.py ....................... ========================== 23 passed in 35.52 seconds ========================== ++ 23:47:41 starting rlib/test/test_rweakkeydict.py [276 started in total] __ rlib/test/test_rweakkeydict.py [273 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items rlib/test/test_rweakkeydict.py .....Xxx ================ 5 passed, 2 xfailed, 1 xpassed in 7.27 seconds ================ ++ 23:47:49 starting rlib/test/test_rweaklist.py [277 started in total] __ rlib/test/test_rweaklist.py [274 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rweaklist.py .. =========================== 2 passed in 0.23 seconds =========================== ++ 23:47:51 starting rlib/test/test_rweakref.py [278 started in total] __ rlib/test/test_rweakref.py [275 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/test/test_rweakref.py . =========================== 1 passed in 1.16 seconds =========================== ++ 23:47:53 starting rlib/test/test_rweakvaldict.py [279 started in total] __ rlib/test/test_rsocket.py [276 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 68 items rlib/test/test_rsocket.py ...........................................................xxx....s. ============== 64 passed, 1 skipped, 3 xfailed in 185.94 seconds =============== ++ 23:47:59 starting rlib/test/test_rwin32.py [280 started in total] __ rlib/test/test_rwin32.py [277 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.01 seconds =========================== ++ 23:48:00 starting rlib/test/test_rzipfile.py [281 started in total] __ rlib/test/test_rweakvaldict.py [278 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items rlib/test/test_rweakvaldict.py .......X..... ==================== 12 passed, 1 xpassed in 20.80 seconds ===================== ++ 23:48:17 starting rlib/test/test_rzlib.py [282 started in total] __ rlib/test/test_rzipfile.py [279 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rzipfile.py .. ========================== 2 passed in 29.83 seconds =========================== ++ 23:48:33 starting rlib/test/test_signature.py [283 started in total] __ rlib/test/test_signature.py [280 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items rlib/test/test_signature.py .....x..............xxx ===================== 19 passed, 4 xfailed in 1.41 seconds ===================== ++ 23:48:35 starting rlib/test/test_streamio.py [284 started in total] __ rlib/test/test_streamio.py [281 done in total, somefailed=True] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 112 items rlib/test/test_streamio.py ...........................................................................................................F.... =================================== FAILURES =================================== _____________________ TestDiskFile.test_write_interrupted ______________________ self = <rpython.rlib.test.test_streamio.TestDiskFile instance at 0xfffc328b6e60> def test_write_interrupted(self): try: from signal import alarm, signal, SIG_DFL, SIGALRM except ImportError: pytest.skip('no alarm on this platform') try: read_fd, write_fd = os.pipe() file = streamio.DiskFile(write_fd) def handler(*a): os.read(read_fd, 2000) alarm(1) signal(SIGALRM, handler) alarm(1) # Write to the pipe until it is full buf = "FILL THE PIPE" * 1000 while True: > if os.write(write_fd, buf) < len(buf): E OSError: [Errno 4] Interrupted system call rlib/test/test_streamio.py:1116: OSError =========================== short test summary info ============================ FAIL rlib/test/test_streamio.py::TestDiskFile::()::test_write_interrupted ==================== 1 failed, 111 passed in 80.79 seconds ===================== ++ 23:50:02 starting rlib/test/test_z3.py [285 started in total] __ rlib/test/test_z3.py [282 done in total, somefailed=False] _________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.01 seconds =========================== ++ 23:50:03 starting rlib/unicodedata/test/test_codegen.py [286 started in total] __ rlib/unicodedata/test/test_codegen.py [283 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/unicodedata/test/test_codegen.py .. =========================== 2 passed in 0.91 seconds =========================== ++ 23:50:05 starting rlib/unicodedata/test/test_dawg.py [287 started in total] __ rlib/unicodedata/test/test_dawg.py [284 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items rlib/unicodedata/test/test_dawg.py ......... =========================== 9 passed in 4.43 seconds =========================== ++ 23:50:11 starting rlib/unicodedata/test/test_ucd.py [288 started in total] __ rlib/unicodedata/test/test_ucd.py [285 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/unicodedata/test/test_ucd.py .... ========================== 4 passed in 15.13 seconds =========================== ++ 23:50:28 starting rlib/unicodedata/test/test_unicodedata.py [289 started in total] __ rlib/unicodedata/test/test_unicodedata.py [286 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 26 items rlib/unicodedata/test/test_unicodedata.py .......................... ========================== 26 passed in 18.09 seconds ========================== ++ 23:50:48 starting rtyper/lltypesystem/module/test [290 started in total] __ rlib/test/test_rzlib.py [287 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 22 items rlib/test/test_rzlib.py ................s..... ==================== 21 passed, 1 skipped in 149.76 seconds ==================== ++ 23:50:49 starting rtyper/lltypesystem/test [291 started in total] __ rtyper/lltypesystem/module/test [288 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 200 items rtyper/lltypesystem/module/test/test_ll_math.py ............................................................................................................................................................................ rtyper/lltypesystem/module/test/test_llinterp_math.py ............................ ========================= 200 passed in 21.85 seconds ========================== ++ 23:51:12 starting rtyper/test [292 started in total] __ rtyper/lltypesystem/test [289 done in total, somefailed=True] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 276 items rtyper/lltypesystem/test/test_ll2ctypes.py ...........................................................................n: 3 Arg 0: 1 Arg 1: 20 Arg 2: 300 ....s. rtyper/lltypesystem/test/test_llarena.py .....s......F rtyper/lltypesystem/test/test_llgroup.py .... rtyper/lltypesystem/test/test_llmemory.py ..................................s.... rtyper/lltypesystem/test/test_lloperation.py ......... rtyper/lltypesystem/test/test_lltype.py ............................................................ rtyper/lltypesystem/test/test_rffi.py ................................s........FF.sF....... rtyper/lltypesystem/test/test_rtagged.py .............. rtyper/lltypesystem/test/test_ztranslated.py FF. =================================== FAILURES =================================== __________________ TestStandalone.test_compiled_arena_protect __________________ self = <rpython.rtyper.lltypesystem.test.test_llarena.TestStandalone object at 0xfffc6ae13c50> def test_compiled_arena_protect(self): import sys S = lltype.Struct('S', ('x', lltype.Signed)) # def fn(argv): testrun = int(argv[1]) a = arena_malloc(65536, False) arena_reserve(a, llmemory.sizeof(S)) p = llmemory.cast_adr_to_ptr(a + 23432, lltype.Ptr(S)) p.x = 123 assert p.x == 123 arena_protect(a, 65536, True) result = 0 if testrun == 1: print p.x # segfault if testrun == 2: p.x = 124 # segfault arena_protect(a, 65536, False) p.x += 10 print p.x return 0 # t, cbuilder = self.compile(fn) data = cbuilder.cmdexec('0') assert data == '133\n' if has_protect: if sys.platform.startswith('win'): # Do not open error dialog box import ctypes SEM_NOGPFAULTERRORBOX = 0x0002 # From MSDN old_err_mode = ctypes.windll.kernel32.GetErrorMode() new_err_mode = old_err_mode | SEM_NOGPFAULTERRORBOX ctypes.windll.kernel32.SetErrorMode(new_err_mode) > cbuilder.cmdexec('1', expect_crash=True) rtyper/lltypesystem/test/test_llarena.py:360: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.translator.c.genc.CStandaloneBuilder object at 0xfffc6b4ce410> args = '1', env = None, err = False, expect_crash = True exe = local('/tmp/pytest/usession-main-4086/testing_2/testing_2') def cmdexec(self, args='', env=None, err=False, expect_crash=False, exe=None): assert self._compiled if sys.platform == 'win32': #Prevent opening a dialog box import ctypes winapi = ctypes.windll.kernel32 SetErrorMode = winapi.SetErrorMode SetErrorMode.argtypes=[ctypes.c_int] SEM_FAILCRITICALERRORS = 1 SEM_NOGPFAULTERRORBOX = 2 SEM_NOOPENFILEERRORBOX = 0x8000 flags = SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX \ | SEM_NOOPENFILEERRORBOX #Since there is no GetErrorMode, do a double Set old_mode = SetErrorMode(flags) SetErrorMode(old_mode | flags) if env is None: envrepr = '' else: envrepr = ' [env=%r]' % (env,) env.update(os.environ) if exe is None: exe = self.executable_name log.cmdexec('%s %s%s' % (exe, args, envrepr)) res = self.translator.platform.execute(exe, args, env=env) if sys.platform == 'win32': SetErrorMode(old_mode) if res.returncode != 0: if expect_crash: if type(expect_crash) is int and expect_crash != res.returncode: raise Exception("Returned %d, but expected %d" % ( res.returncode, expect_crash)) return res.out, res.err print(res.err, file=sys.stderr) raise Exception("Returned %d" % (res.returncode,)) if expect_crash: > raise Exception("Program did not crash!") E Exception: Program did not crash! translator/c/genc.py:320: Exception ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 371 blocks (26%) [rtyper] specializing: 200 / 432 blocks (46%) [rtyper] specializing: 300 / 432 blocks (69%) [rtyper] specializing: 400 / 434 blocks (92%) [rtyper] -=- specialized 434 blocks -=- [rtyper] -=- specialized 12 more blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- [rtyper] specializing: 500 / 535 blocks (93%) [rtyper] -=- specialized 60 more blocks -=- [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [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 [rtyper] specializing: 600 / 611 blocks (98%) [rtyper] -=- specialized 76 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [rtyper] -=- specialized 30 more blocks -=- [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [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] 393 nodes [ array: 26 func: 165 refcnt rtti: 18 struct: 184 ] [c:database] Completed [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_rtyper.c [c:writing] data_rpython_rtyper_lltypesystem.c [c:writing] data_rpython_rtyper_lltypesystem_test.c [c:writing] data_rpython_translator_c.c [c:writing] nonfuncnodes.c [c:writing] data_rpython_rlib_1.c [c:writing] data_rpython_rtyper_lltypesystem_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_rtyper_lltypesystem_test.c [c:writing] rpython_translator.c [c:writing] rpython_translator_c.c [platform:execute] make in /tmp/pytest/usession-main-4086/testing_2 [c:cmdexec] /tmp/pytest/usession-main-4086/testing_2/testing_2 0 [c:cmdexec] /tmp/pytest/usession-main-4086/testing_2/testing_2 1 ___________________ TestCRffi.test_nonmovingbuffer_semispace ___________________ self = <rpython.rtyper.lltypesystem.test.test_rffi.TestCRffi instance at 0xfffc650e2d70> def test_nonmovingbuffer_semispace(self): d = 'cool data' def f(): counter = 0 for n in range(32): buf, llobj, flag = get_nonmovingbuffer_ll(d) try: for i in range(len(d)): if buf[i] == d[i]: counter += 1 finally: free_nonmovingbuffer_ll(buf, llobj, flag) return counter > fn = self.compile(f, [], gcpolicy='semispace') rtyper/lltypesystem/test/test_rffi.py:614: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rtyper/lltypesystem/test/test_rffi.py:878: in compile return compile_c(func, args, **kwds) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc64841810> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc649e9ed0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58186bb3867080] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rtyper.lltypesystem.test.test_rffi:603)f [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [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:937)free_nonmovingbuffer_ll [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [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.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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58186bb986ec80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58186bb989f000] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [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] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [rtyper] specializing: 100 / 392 blocks (25%) [flowgraph] (rpython.rtyper.rstr:949)ll_stritem_nonneg_checked [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 200 / 399 blocks (50%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 300 / 403 blocks (74%) [rtyper] specializing: 400 / 403 blocks (99%) [rtyper] -=- specialized 403 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58186bc813e000] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58186bc816af00] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 2 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v27561___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__v27567___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_stritem_nonneg_checked__LLHelpersConst_rpy_stringPtr_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 isconstant__v27576___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27582___simple_call__function_star_3 [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 isconstant__v27580___simple_call__function [backendopt:inlining] 0.00 isconstant__v27564___simple_call__function [backendopt:inlining] 0.00 isconstant__v27558___simple_call__function [backendopt:inlining] 0.00 isconstant__v27579___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27565___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27577___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27553___simple_call__function_star_3 [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 isconstant__v27557___simple_call__function [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 isconstant__v27551___simple_call__function [backendopt:inlining] 0.00 isconstant__v27552___simple_call__function [backendopt:inlining] 0.00 isconstant__v27570___simple_call__function [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 isvirtual__v27571___simple_call__function [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.50 mallocstr__Signed [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_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_strs_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] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.25 loop_unrolling_heuristic__v27563___simple_call__function [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27574___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27583___simple_call__function [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 10.50 ll_stritem_nonneg_checked__LLHelpersConst_rpy_stringPtr_Signed [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v27549___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27569___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27573___simple_call__function [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.87 _errno_before__v27548___simple_call__function [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] inlined 132 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 6 simple mallocs removed in 'f' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [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] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27553___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__v27582___simple_call__function_star_3' [backendopt:malloc] removed 24 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58186bd006db80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58186bd00ba600] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58186bd08ec400] translation-task} [translation:info] Creating database for generating c source... [c58186bd08f9500] {translation-task starting database_c [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.framework:178)frameworkgc_setup [flowgraph] (rpython.memory.gctransform.framework:184)frameworkgc__teardown [flowgraph] (rpython.memory.gctransform.shadowstack:80)incr_stack [flowgraph] (rpython.memory.gctransform.shadowstack:86)decr_stack [flowgraph] (rpython.memory.gctypelayout:594)ll_weakref_deref [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fixedsize_clear [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear [flowgraph] (rpython.memory.gc.semispace:248)SemiSpaceGC.collect [flowgraph] (rpython.memory.gc.base:165)GCBase.collect_step [flowgraph] (rpython.memory.gc.base:156)GCBase.enable [flowgraph] (rpython.memory.gc.base:159)GCBase.disable [flowgraph] (rpython.memory.gc.base:162)GCBase.isenabled [flowgraph] (rpython.memory.gc.base:512)MovingGCBase.can_move [flowgraph] (rpython.memory.gc.semispace:136)SemiSpaceGC.shrink_array [flowgraph] (rpython.memory.gc.semispace:731)SemiSpaceGC.heap_stats [flowgraph] (rpython.memory.gc.base:118)GCBase.get_member_index [flowgraph] (rpython.memory.gc.base:149)GCBase.get_type_id_cast [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fast [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear_fast [flowgraph] (rpython.memory.gc.semispace:676)SemiSpaceGC.identityhash [flowgraph] (rpython.memory.gc.semispace:158)SemiSpaceGC.obtain_free_space [flowgraph] (rpython.memory.gc.base:515)MovingGCBase.id [flowgraph] (rpython.memory.gc.inspector:32)get_rpy_roots [flowgraph] (rpython.memory.gc.inspector:63)get_rpy_referents [flowgraph] (rpython.memory.gc.inspector:76)get_rpy_memory_usage [flowgraph] (rpython.memory.gc.inspector:79)get_rpy_type_index [flowgraph] (rpython.memory.gc.inspector:83)is_rpy_instance [flowgraph] (rpython.memory.gc.inspector:265)dump_rpy_heap [flowgraph] (rpython.memory.gc.inspector:281)get_typeids_z [flowgraph] (rpython.memory.gc.inspector:285)get_typeids_list [flowgraph] (rpython.memory.gc.semispace:232)SemiSpaceGC.set_max_heap_size [flowgraph] (rpython.memory.gc.base:213)GCBase.malloc_fixed_or_varsize_nonmovable [flowgraph] (rpython.memory.gc.semispace:151)SemiSpaceGC.register_finalizer [flowgraph] (rpython.memory.gctransform.shadowstack:258)gc_increase_root_stack_depth [flowgraph] (rpython.memory.gctransform.shadowstack:108)setup_root_walker [flowgraph] (rpython.memory.gctransform.shadowstack:351)ShadowStackPool.increase_root_stack_depth [flowgraph] (rpython.memory.gc.base:380)GCBase.is_valid_gc_object [flowgraph] (rpython.memory.gc.semispace:474)SemiSpaceGC.get_type_id [flowgraph] (rpython.memory.gc.semispace:166)SemiSpaceGC.try_obtain_free_space [flowgraph] (rpython.memory.gc.semispace:87)SemiSpaceGC._teardown [flowgraph] (rpython.memory.gc.base:442)GCBase.debug_check_consistency [flowgraph] (rpython.memory.gctypelayout:131)GCData.q_member_index [flowgraph] (rpython.memory.gctypelayout:59)GCData.get [flowgraph] (rpython.memory.gctypelayout:204)_check_valid_type_info [flowgraph] (rpython.memory.gc.semispace:342)SemiSpaceGC.get_size_incl_hash [flowgraph] (rpython.memory.gc.inspector:56)_do_append_rpy_referents [flowgraph] (rpython.memory.gc.semispace:644)SemiSpaceGC._is_in_the_space [flowgraph] (rpython.memory.gc.inspector:201)HeapDumper.__init__ [flowgraph] (rpython.memory.gc.inspector:173)BaseWalker.process [flowgraph] (rpython.memory.gc.base:130)GCBase.header [flowgraph] (rpython.memory.gctransform.shadowstack:288)ShadowStackPool.initial_setup [flowgraph] (rpython.memory.gc.inspector:25)_do_append_rpy_roots [flowgraph] (rpython.memory.gc.base:146)GCBase.get_size [flowgraph] (rpython.memory.gc.base:259)GCBase.trace [flowgraph] (rpython.memory.gc.inspector:112)BaseWalker.add_roots [flowgraph] (rpython.memory.gc.inspector:99)BaseWalker.__init__ [flowgraph] (rpython.memory.gctransform.shadowstack:344)ShadowStackPool._prepare_unused_stack [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.support:101)AddressStack.__init__ [flowgraph] (rpython.memory.support:307)AddressDict [flowgraph] (rpython.memory.support:40)FreeList.get [flowgraph] (rpython.memory.gctransform.framework:1758)walk_roots [flowgraph] (rpython.memory.lldict:17)newdict [flowgraph] (rpython.rtyper.lltypesystem.rdict:667)ll_newdict_size [flowgraph] (rpython.memory.gc.base:377)GCBase.points_to_valid_gc_object [flowgraph] (rpython.memory.lldict:20)dict_allocate [flowgraph] (rpython.memory.gctransform.shadowstack:112)walk_stack_roots [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gc.inspector:14)_append_rpy_root [flowgraph] (rpython.memory.gctransform.shadowstack:335)ShadowStackPool.start_fresh_new_state [flowgraph] (rpython.memory.lldict:29)dict_allocate_entries [flowgraph] (rpython.memory.gc.semispace:255)SemiSpaceGC.semispace_collect [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (?:2)debug_start [flowgraph] (rpython.memory.gc.semispace:641)SemiSpaceGC._is_external [flowgraph] (rpython.rlib.debug:99)debug_start [flowgraph] (rpython.memory.gctypelayout:143)GCData.q_fast_path_tracing [flowgraph] (rpython.memory.gc.base:134)GCBase._get_size_for_typeid [flowgraph] (rpython.memory.gctransform.shadowstack:43)walk_stack_root [flowgraph] (rpython.memory.gctypelayout:135)GCData.q_is_rpython_class [flowgraph] (rpython.memory.gc.base:543)MovingGCBase._compute_id [flowgraph] (rpython.memory.gctypelayout:110)GCData.q_fixed_size [flowgraph] (rpython.memory.gctransform.shadowstack:93)<lambda> [flowgraph] (rpython.memory.gctypelayout:73)GCData.q_is_varsize [flowgraph] (rpython.memory.gctransform.shadowstack:376)ShadowStackPool._resize [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gctypelayout:119)GCData.q_varsize_offset_to_length [flowgraph] (rpython.memory.gctypelayout:66)GCData.get_varsize [flowgraph] (rpython.memory.gctypelayout:85)GCData.q_is_gcarrayofgcptr [flowgraph] (rpython.memory.gc.inspector:259)_hd_add_root [flowgraph] (rpython.memory.gctypelayout:107)GCData.q_offsets_to_gc_pointers [flowgraph] (rpython.memory.gc.inspector:123)BaseWalker.add [flowgraph] (rpython.memory.gctypelayout:207)_check_valid_type_info_varsize [flowgraph] (rpython.memory.support:122)AddressStack.append [flowgraph] (rpython.memory.gctransform.framework:1754)setup_root_walker [flowgraph] (rpython.memory.gc.base:295)GCBase._trace_slow_path [flowgraph] (rpython.memory.support:108)AddressStack.enlarge [flowgraph] (rpython.memory.gctypelayout:77)GCData.q_has_gcptr_in_varsize [flowgraph] (rpython.memory.gc.inspector:44)_append_rpy_referent [flowgraph] (rpython.memory.gctypelayout:139)GCData.q_has_custom_trace [flowgraph] (rpython.memory.gctypelayout:116)GCData.q_varsize_offset_to_variable_part [flowgraph] (rpython.memory.gctypelayout:113)GCData.q_varsize_item_sizes [flowgraph] (rpython.memory.gctypelayout:122)GCData.q_varsize_offsets_to_gcpointers_in_var_part [flowgraph] (rpython.rtyper.lltypesystem.rdict:866)ll_contains [flowgraph] (rpython.memory.lldict:47)dict_keyhash [flowgraph] (rpython.memory.gctransform.framework:596)custom_trace_dispatcher [flowgraph] (rpython.memory.lldict:44)_hash [flowgraph] (rpython.memory.support:10)mangle_hash [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.memory.lldict:50)dict_entry_valid [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.llarena:365)round_up_for_allocation [flowgraph] (rpython.memory.lldict:59)dict_add [flowgraph] (rpython.rtyper.lltypesystem.rdict:459)ll_dict_setitem [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rdict:544)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rdict:554)_ll_dict_resize_to [flowgraph] (rpython.memory.lldict:40)dict_delete_entries [flowgraph] (rpython.memory.lldict:53)dict_entry_hash [flowgraph] (rpython.memory.gc.base:410)GCBase.enum_live_with_finalizers [flowgraph] (rpython.memory.gc.semispace:67)SemiSpaceGC.setup [flowgraph] (rpython.rtyper.lltypesystem.rdict:495)ll_dict_insertclean [flowgraph] (rpython.memory.gc.base:410)GCBase.enum_live_with_finalizers [flowgraph] (rpython.memory.gc.semispace:380)SemiSpaceGC._get_object_hash [flowgraph] (rpython.rtyper.lltypesystem.rdict:639)ll_dict_lookup_clean [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.memory.gc.base:506)MovingGCBase.setup [flowgraph] (rpython.memory.gc.semispace:672)SemiSpaceGC._compute_current_nursery_hash [flowgraph] (rpython.memory.gc.base:45)GCBase.setup [flowgraph] (rpython.memory.support:228)AddressDeque.__init__ [flowgraph] (rpython.memory.lldict:56)dict_get [flowgraph] (rpython.rtyper.lltypesystem.rdict:735)ll_get [flowgraph] (rpython.rtyper.lltypesystem.rdict:434)ll_get_value [flowgraph] (rpython.memory.gc.semispace:484)SemiSpaceGC.init_gc_object [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.memory.gc.semispace:471)SemiSpaceGC.combine [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.memory.support:250)AddressDeque.append [flowgraph] (rpython.memory.support:235)AddressDeque.enlarge [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.gc.base:410)GCBase.enum_live_with_finalizers [flowgraph] (rpython.memory.gc.base:401)GCBase.enum_pending_finalizers [flowgraph] (rpython.memory.support:272)AddressDeque.foreach [flowgraph] (rpython.memory.gc.semispace:727)_track_heap_root [flowgraph] (rpython.memory.gc.semispace:717)SemiSpaceGC.track_heap [flowgraph] (rpython.memory.gc.base:127)GCBase.size_gc_header [flowgraph] (rpython.memory.gc.base:259)GCBase.trace [flowgraph] (rpython.memory.gctypelayout:94)GCData.q_finalizer_handlers [flowgraph] (rpython.memory.gc.base:295)GCBase._trace_slow_path [flowgraph] (rpython.memory.gctransform.framework:596)custom_trace_dispatcher [flowgraph] (rpython.memory.gc.base:252)gc_callback_track_heap_parent [flowgraph] (rpython.memory.gc.semispace:709)SemiSpaceGC.track_heap_parent [flowgraph] (rpython.memory.gc.base:401)GCBase.enum_pending_finalizers [flowgraph] (rpython.memory.gc.base:401)GCBase.enum_pending_finalizers [flowgraph] (rpython.memory.gc.base:58)GCBase.post_setup [c58186c01a38c80] translation-task} __________________ TestCRffi.test_nonmovingbuffer_incminimark __________________ self = <rpython.rtyper.lltypesystem.test.test_rffi.TestCRffi instance at 0xfffc63cd1690> def test_nonmovingbuffer_incminimark(self): d = 'cool data' def f(): counter = 0 for n in range(32): buf, llobj, flag = get_nonmovingbuffer_ll(d) try: for i in range(len(d)): if buf[i] == d[i]: counter += 1 finally: free_nonmovingbuffer_ll(buf, llobj, flag) return counter > fn = self.compile(f, [], gcpolicy='incminimark') rtyper/lltypesystem/test/test_rffi.py:635: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rtyper/lltypesystem/test/test_rffi.py:878: in compile return compile_c(func, args, **kwds) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58186c192f4b80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rtyper.lltypesystem.test.test_rffi:624)f [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [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:937)free_nonmovingbuffer_ll [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [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.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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58186c1f3ea800] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58186c1f418680] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)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] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [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] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [rtyper] specializing: 100 / 374 blocks (26%) [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.rstr:949)ll_stritem_nonneg_checked [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 200 / 399 blocks (50%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 300 / 401 blocks (74%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 400 / 403 blocks (99%) [rtyper] -=- specialized 403 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58186c2db94680] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58186c2dbc1380] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 2 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v27605___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__v27609___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_stritem_nonneg_checked__LLHelpersConst_rpy_stringPtr_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 isconstant__v27630___simple_call__function [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 isconstant__v27617___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27619___simple_call__function [backendopt:inlining] 0.00 isconstant__v27606___simple_call__function [backendopt:inlining] 0.00 isconstant__v27612___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 conditional_call__v27622___simple_call__function_star_3 [backendopt:inlining] 0.00 isvirtual__v27613___simple_call__function [backendopt:inlining] 0.00 isconstant__v27623___simple_call__function [backendopt:inlining] 0.00 isconstant__v27621___simple_call__function [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isvirtual__v27607___simple_call__function [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v27636___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27635___simple_call__function_star_3 [backendopt:inlining] 0.00 isconstant__v27628___simple_call__function [backendopt:inlining] 0.00 isconstant__v27634___simple_call__function [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 getraw [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 loop_unrolling_heuristic__v27604___simple_call__function [backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 acquire [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.50 mallocstr__Signed [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_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [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] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27618___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27625___simple_call__function [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 10.50 ll_stritem_nonneg_checked__LLHelpersConst_rpy_stringPtr_Signed [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v27602___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27610___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27615___simple_call__function [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v27601___simple_call__function [backendopt:inlining] inlined 133 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 6 simple mallocs removed in 'f' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [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] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27622___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27635___simple_call__function_star_3' [backendopt:malloc] removed 24 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58186c35858180] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58186c358a4c80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58186c360e0700] translation-task} [translation:info] Creating database for generating c source... [c58186c360ed600] {translation-task starting database_c [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 [c58186c37611400] translation-task} _______________ TestCRffi.test__get_raw_address_buf_from_string ________________ self = <rpython.rtyper.lltypesystem.test.test_rffi.TestCRffi instance at 0xfffc63e90f50> def test__get_raw_address_buf_from_string(self): from rpython.rlib import rgc from rpython.rtyper.lltypesystem import rffi def check_content(strings, rawptrs): for i in range(len(strings)): p = rawptrs[i] expected = strings[i] + '\x00' for j in range(len(expected)): assert p[j] == expected[j] def f(n): strings = ["foo%d" % i for i in range(n)] rawptrs = [rffi._get_raw_address_buf_from_string(s) for s in strings] check_content(strings, rawptrs) rgc.collect(); rgc.collect(); rgc.collect() check_content(strings, rawptrs) for i in range(len(strings)): # check that it still returns the # same raw ptrs p1 = rffi._get_raw_address_buf_from_string(strings[i]) assert rawptrs[i] == p1 del strings rgc.collect(); rgc.collect(); rgc.collect() return 42 rffi._StrFinalizerQueue.print_debugging = True try: xf = self.compile(f, [int], gcpolicy="incminimark", > return_stderr=True) rtyper/lltypesystem/test/test_rffi.py:912: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rtyper/lltypesystem/test/test_rffi.py:878: in compile return compile_c(func, args, **kwds) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58186c4380d880] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rtyper.lltypesystem.test.test_rffi:894)f [flowgraph] (rpython.rtyper.lltypesystem.test.test_rffi:887)check_content [flowgraph] (rpython.rtyper.lltypesystem.rffi:1584)_get_raw_address_buf_from_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [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.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.lltypesystem.rffi:1564)finalizer_trigger [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [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:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58186c4af36080] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58186c4af69a80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rlist:588)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)<lambda> [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] (rpython.rtyper.lltypesystem.rordereddict:1284)ll_dict_get [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.rlist:588)ll_append [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)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [rtyper] specializing: 100 / 1186 blocks (8%) [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [rtyper] specializing: 200 / 1308 blocks (15%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 300 / 1310 blocks (22%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 400 / 1315 blocks (30%) [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [rtyper] specializing: 500 / 1317 blocks (37%) [rtyper] specializing: 600 / 1317 blocks (45%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 700 / 1319 blocks (53%) [rtyper] specializing: 800 / 1319 blocks (60%) [rtyper] specializing: 900 / 1319 blocks (68%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 1000 / 1321 blocks (75%) [rtyper] specializing: 1100 / 1321 blocks (83%) [rtyper] specializing: 1200 / 1321 blocks (90%) [rtyper] specializing: 1300 / 1321 blocks (98%) [rtyper] -=- specialized 1321 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58186ca82a7180] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58186ca82d4a80] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in check_content [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 3 cast_pointers in ll_dict_rehash_after_translation__dicttablePtr [backendopt:removecasts] removed 1 cast_pointers in ll_dict_reindex__dicttablePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_clear_indexes__dicttablePtr_Signed [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v27675___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v27676___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_remove_deleted_items__dicttablePtr [backendopt:removecasts] removed 3 cast_pointers in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v27682___simple_call__function [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v27683___simple_call__function [backendopt:removecasts] removed 2 cast_pointers in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_listnext__listiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v27695___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__v27701___simple_call__function [backendopt:removecasts] removed 4 cast_pointers in ll_int__rpy_stringPtr_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UINTLlT [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UnsignedLlT [backendopt:inlining] 0.00 isconstant__v27698___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27716___simple_call__function_star_3 [backendopt:inlining] 0.00 isconstant__v27704___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27647___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_USHORTLlT [backendopt:inlining] 0.00 isconstant__v27721___simple_call__function [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 isconstant__v27686___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27699___simple_call__function [backendopt:inlining] 0.00 isconstant__v27726___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27733___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UCHARLlT [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isconstant__v27732___simple_call__function [backendopt:inlining] 0.00 isconstant__v27660___simple_call__function [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_fastConst_listPtr_Signed [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v27690___simple_call__function [backendopt:inlining] 0.00 isconstant__v27710___simple_call__function [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_fastConst_listPtr_Signed [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UINTLlT [backendopt:inlining] 0.00 isvirtual__v27655___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v27659___simple_call__function [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v27735___simple_call__function [backendopt:inlining] 0.00 isconstant__v27657___simple_call__function [backendopt:inlining] 0.00 isconstant__v27720___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isvirtual__v27678___simple_call__function [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isvirtual__v27727___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27656___simple_call__function [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 conditional_call__v27738___simple_call__function_star_3 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 isconstant__v27736___simple_call__function [backendopt:inlining] 0.00 isconstant__v27703___simple_call__function [backendopt:inlining] 0.00 ll_hash_int__Signed [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UCHARLlT [backendopt:inlining] 0.00 isvirtual__v27674___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27644___simple_call__function [backendopt:inlining] 0.00 isconstant__v27714___simple_call__function [backendopt:inlining] 0.00 isconstant__v27715___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_USHORTLlT [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 isconstant__v27679___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v27708___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27654___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UnsignedLlT [backendopt:inlining] 0.00 conditional_call__v27705___simple_call__function_star_3 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isvirtual__v27641___simple_call__function [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 conditional_call__v27687___simple_call__function_star_3 [backendopt:inlining] 0.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 0.00 isconstant__v27658___simple_call__function [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 0.00 isconstant__v27692___simple_call__function [backendopt:inlining] 0.00 isconstant__v27685___simple_call__function [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 register_finalizer___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 next_dead___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 ll_int_py_div_nonnegargs__Signed_Signed [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 4.00 _ll_len_of_d_indexes__dicttablePtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 loop_unrolling_heuristic__v27697___simple_call__function [backendopt:inlining] 4.00 ll_min__Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 5.00 free_charp [backendopt:inlining] 6.00 _overallocate_entries_len__Signed [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 2.00 ll_len__listPtr [backendopt:inlining] 7.00 ll_dict_create_initial_index_look_inside_iff__dicttablePtr [backendopt:inlining] 7.00 ll_dict_grow_look_inside_iff__dicttablePtr [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 acquire [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 8.00 ll_newemptylist__GcStruct_listLlT [backendopt:inlining] 8.00 ll_listiter__Ptr_GcStruct_listiterLlT_listPtr [backendopt:inlining] 8.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 8.00 ll_newemptylist__GcStruct_listLlT [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_call_lookup_function_look_inside_iff__dicttablePtr_Signed_Signed_Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [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] 9.00 ll_dict_setitem__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_USHORTLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UnsignedLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UINTLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UCHARLlT [backendopt:inlining] 6.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_GCREFPtr [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_arrayPtr [backendopt:inlining] 11.00 _ll_dict_setitem_lookup_done_look_inside_iff__dicttablePtr_Signed_arrayPtr_Signed_Signed [backendopt:inlining] 6.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27739___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27730___simple_call__function [backendopt:inlining] 15.00 ll_int_py_div__Signed_Signed [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 16.00 ll_valid_from_value__arrayPtr_Signed [backendopt:inlining] 9.00 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 15.00 ll_dict_resize__dicttablePtr [backendopt:inlining] 18.00 ll_dict_create_initial_index__v27652___simple_call__function [backendopt:inlining] 18.00 ll_dict_create_initial_index__v27669___simple_call__function [backendopt:inlining] 20.00 ll_dict_setitem_with_hash__dicttablePtr_Signed_Signed_arrayPtr [backendopt:inlining] 14.00 ll_hash_recomputed__arrayPtr_dicttablePtr_Signed [backendopt:inlining] 19.00 ll_listnext__listiterPtr [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 17.00 ll_append__listPtr_arrayPtr [backendopt:inlining] 17.00 ll_append__listPtr_GCREFPtr [backendopt:inlining] 19.25 _errno_after__v27638___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27725___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27729___simple_call__function [backendopt:inlining] 26.50 ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:inlining] 26.50 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 29.50 ll_malloc_indexes_and_choose_lookup__dicttablePtr_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 30.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 25.00 ll_dict_get__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 32.00 _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v27637___simple_call__function [backendopt:inlining] inlined 333 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 2 simple mallocs removed in 'entry_point' [backendopt:malloc] 5 simple mallocs removed in 'f' [backendopt:malloc] 4 simple mallocs removed in 'check_content' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'finalizer_trigger' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [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 'll_dict_lookup__v27643___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27645___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27651___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27653___simple_call__function' [backendopt:malloc] 4 simple mallocs removed in 'll_dict_rehash_after_translation__dicttablePtr' [backendopt:malloc] 1 simple mallocs removed in 'll_valid_from_value__arrayPtr_Signed' [backendopt:malloc] 8 simple mallocs removed in 'll_dict_reindex__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_hash_recomputed__arrayPtr_dicttablePtr_Signed' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27668___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27670___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27671___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27672___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v27675___simple_call__function' [backendopt:malloc] 3 simple mallocs removed in 'll_dict_remove_deleted_items__dicttablePtr' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v27683___simple_call__function' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27687___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_get__dicttablePtr_Signed_arrayPtr' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem_with_hash__dicttablePtr_Signed_Signed' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27705___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27716___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__v27738___simple_call__function_star_3' [backendopt:malloc] removed 74 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt] merging blocks in ll_call_lookup_function__v27639___simple_call__function [backendopt] merging blocks in ll_dict_reindex__dicttablePtr_Signed [backendopt] merging blocks in ll_clear_indexes__dicttablePtr_Signed [backendopt] merging blocks in ll_call_lookup_function__v27663___simple_call__function [backendopt] merging blocks in ll_dict_grow__v27676___simple_call__function [backendopt] merging blocks in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt] merging blocks in ll_dict_grow__v27682___simple_call__function [backendopt] merging blocks in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [c58186cc07f3e00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58186cc0842800] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58186cc12d2a00] translation-task} [translation:info] Creating database for generating c source... [c58186cc12e0080] {translation-task starting database_c [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 [c58186cc2854d00] translation-task} __________________________ test_compiled_incminimark ___________________________ def test_compiled_incminimark(): > fn = compile(main, [], gcpolicy="incminimark") rtyper/lltypesystem/test/test_ztranslated.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58186cf42dcf80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:39)main [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:13)use_str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1525)get_raw_address_of_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:1584)_get_raw_address_buf_from_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [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.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:8)debug_assert [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.lltypesystem.rffi:1564)finalizer_trigger [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:30)long_str [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [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:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58186cfc829d80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58186cfc85d380] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [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:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)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] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1313)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:588)ll_append [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] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1284)ll_dict_get [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [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 [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [rtyper] specializing: 100 / 900 blocks (11%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [rtyper] specializing: 200 / 1057 blocks (18%) [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [rtyper] specializing: 300 / 1059 blocks (28%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 400 / 1068 blocks (37%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 500 / 1070 blocks (46%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 600 / 1072 blocks (55%) [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [rtyper] specializing: 700 / 1077 blocks (64%) [rtyper] specializing: 800 / 1077 blocks (74%) [rtyper] specializing: 900 / 1077 blocks (83%) [rtyper] specializing: 1000 / 1077 blocks (92%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] -=- specialized 1079 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c581871af635080] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c581871af662780] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 1 cast_pointers in debug_assert [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 3 cast_pointers in ll_dict_rehash_after_translation__dicttablePtr [backendopt:removecasts] removed 1 cast_pointers in ll_dict_reindex__dicttablePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_clear_indexes__dicttablePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v28334___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__v28340___simple_call__function [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v28341___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v28344___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_remove_deleted_items__dicttablePtr [backendopt:removecasts] removed 3 cast_pointers in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v28350___simple_call__function [backendopt:removecasts] removed 2 cast_pointers in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v28351___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 isvirtual__v28338___simple_call__function [backendopt:inlining] 0.00 isconstant__v28293___simple_call__function [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v28298___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28276___simple_call__function [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isconstant__v28347___simple_call__function [backendopt:inlining] 0.00 isconstant__v28297___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UCHARLlT [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 isvirtual__v28346___simple_call__function [backendopt:inlining] 0.00 isconstant__v28320___simple_call__function [backendopt:inlining] 0.00 ll_hash_int__Signed [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UCHARLlT [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UINTLlT [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_USHORTLlT [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 isvirtual__v28305___simple_call__function [backendopt:inlining] 0.00 conditional_call__v28285___simple_call__function_star_3 [backendopt:inlining] 0.00 isconstant__v28321___simple_call__function [backendopt:inlining] 0.00 isconstant__v28280___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UnsignedLlT [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_USHORTLlT [backendopt:inlining] 0.00 isvirtual__v28302___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UnsignedLlT [backendopt:inlining] 0.00 isconstant__v28284___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28317___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28314___simple_call__function [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isconstant__v28319___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28316___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isvirtual__v28282___simple_call__function [backendopt:inlining] 0.00 isconstant__v28337___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 conditional_call__v28299___simple_call__function_star_3 [backendopt:inlining] 0.00 isconstant__v28292___simple_call__function [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 isvirtual__v28343___simple_call__function [backendopt:inlining] 0.00 isconstant__v28318___simple_call__function [backendopt:inlining] 0.00 isconstant__v28286___simple_call__function [backendopt:inlining] 0.00 isconstant__v28274___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UINTLlT [backendopt:inlining] 0.00 isvirtual__v28315___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_getnextindex__stringiterPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 next_dead___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 register_finalizer___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 ll_int_py_div_nonnegargs__Signed_Signed [backendopt:inlining] 4.00 _ll_len_of_d_indexes__dicttablePtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_min__Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 5.00 free_charp [backendopt:inlining] 6.00 _overallocate_entries_len__Signed [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_dict_grow_look_inside_iff__dicttablePtr [backendopt:inlining] 7.00 ll_dict_create_initial_index_look_inside_iff__dicttablePtr [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 acquire [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 ll_str__CharR_CharConst_Char [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 8.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [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_call_lookup_function_look_inside_iff__dicttablePtr_Signed_Signed_Signed [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_dict_setitem__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 9.50 ll_chr2str__Char [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UINTLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_USHORTLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UCHARLlT [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UnsignedLlT [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 _ll_dict_setitem_lookup_done_look_inside_iff__dicttablePtr_Signed_arrayPtr_Signed_Signed [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 6.75 loop_unrolling_heuristic__v28336___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v28281___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v28288___simple_call__function [backendopt:inlining] 14.00 ll_hash_recomputed__arrayPtr_dicttablePtr_Signed [backendopt:inlining] 15.00 ll_int_py_div__Signed_Signed [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 16.00 ll_valid_from_value__arrayPtr_Signed [backendopt:inlining] 15.00 ll_dict_resize__dicttablePtr [backendopt:inlining] 18.00 ll_dict_create_initial_index__v28308___simple_call__function [backendopt:inlining] 18.00 ll_dict_create_initial_index__v28331___simple_call__function [backendopt:inlining] 20.00 ll_dict_setitem_with_hash__dicttablePtr_Signed_Signed_arrayPtr [backendopt:inlining] 22.00 debug_assert [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 25.00 ll_dict_get__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 19.25 _errno_after__v28272___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v28275___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v28278___simple_call__function [backendopt:inlining] 26.50 ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:inlining] 26.50 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 23.37 get_raw_address_of_string [backendopt:inlining] 29.50 ll_malloc_indexes_and_choose_lookup__dicttablePtr_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 30.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 32.00 _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v28271___simple_call__function [backendopt:inlining] inlined 266 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'finalizer_trigger' [backendopt:malloc] 2 simple mallocs removed in 'long_str' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [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] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v28285___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v28299___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem_with_hash__dicttablePtr_Signed_Signed' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28304___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28306___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28307___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28309___simple_call__function' [backendopt:malloc] 4 simple mallocs removed in 'll_dict_rehash_after_translation__dicttablePtr' [backendopt:malloc] 8 simple mallocs removed in 'll_dict_reindex__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_valid_from_value__arrayPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_hash_recomputed__arrayPtr_dicttablePtr_Signed' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28325___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28329___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28330___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28332___simple_call__function' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_get__dicttablePtr_Signed_arrayPtr' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v28341___simple_call__function' [backendopt:malloc] 3 simple mallocs removed in 'll_dict_remove_deleted_items__dicttablePtr' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v28351___simple_call__function' [backendopt:malloc] removed 61 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt] merging blocks in ll_call_lookup_function__v28300___simple_call__function [backendopt] merging blocks in ll_dict_reindex__dicttablePtr_Signed [backendopt] merging blocks in ll_clear_indexes__dicttablePtr_Signed [backendopt] merging blocks in ll_call_lookup_function__v28333___simple_call__function [backendopt] merging blocks in ll_dict_grow__v28344___simple_call__function [backendopt] merging blocks in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt] merging blocks in ll_dict_grow__v28350___simple_call__function [backendopt] merging blocks in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [c581871c4a55700] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c581871c4aa2d00] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c581871c553a200] translation-task} [translation:info] Creating database for generating c source... [c581871c5548080] {translation-task starting database_c [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] specializing: 1100 / 1116 blocks (98%) [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 [c581871c6abae00] translation-task} ___________________________ test_compiled_semispace ____________________________ def test_compiled_semispace(): > fn = compile(main, [], gcpolicy="semispace") rtyper/lltypesystem/test/test_ztranslated.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc63190c90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc649e9ed0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c581871e63a1e00] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:39)main [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:13)use_str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1525)get_raw_address_of_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:1584)_get_raw_address_buf_from_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [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.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:8)debug_assert [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.lltypesystem.rffi:1564)finalizer_trigger [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:30)long_str [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [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:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c581871ee42f680] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c581871ee45ea80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:588)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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1284)ll_dict_get [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [rtyper] specializing: 100 / 932 blocks (10%) [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [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 [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)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] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:1313)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 200 / 1063 blocks (18%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 300 / 1068 blocks (28%) [rtyper] specializing: 400 / 1068 blocks (37%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 500 / 1072 blocks (46%) [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [rtyper] specializing: 600 / 1074 blocks (55%) [rtyper] specializing: 700 / 1074 blocks (65%) [rtyper] specializing: 800 / 1074 blocks (74%) [rtyper] specializing: 900 / 1074 blocks (83%) [rtyper] specializing: 1000 / 1074 blocks (93%) [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [rtyper] -=- specialized 1079 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c5818722ca55f00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c5818722ca83b00] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 1 cast_pointers in debug_assert [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 3 cast_pointers in ll_dict_rehash_after_translation__dicttablePtr [backendopt:removecasts] removed 1 cast_pointers in ll_dict_reindex__dicttablePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_clear_indexes__dicttablePtr_Signed [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v28399___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v28403___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_remove_deleted_items__dicttablePtr [backendopt:removecasts] removed 3 cast_pointers in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v28407___simple_call__function [backendopt:removecasts] removed 2 cast_pointers in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v28409___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v28410___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__v28416___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_USHORTLlT [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_USHORTLlT [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UnsignedLlT [backendopt:inlining] 0.00 isconstant__v28356___simple_call__function [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UCHARLlT [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 conditional_call__v28429___simple_call__function_star_3 [backendopt:inlining] 0.00 isvirtual__v28381___simple_call__function [backendopt:inlining] 0.00 conditional_call__v28357___simple_call__function_star_3 [backendopt:inlining] 0.00 isconstant__v28405___simple_call__function [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 isconstant__v28428___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28414___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UnsignedLlT [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isvirtual__v28378___simple_call__function [backendopt:inlining] 0.00 isconstant__v28425___simple_call__function [backendopt:inlining] 0.00 isconstant__v28419___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UINTLlT [backendopt:inlining] 0.00 isconstant__v28383___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isvirtual__v28376___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28426___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28404___simple_call__function [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 ll_hash_int__Signed [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UCHARLlT [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UINTLlT [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v28386___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v28413___simple_call__function [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 isvirtual__v28382___simple_call__function [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isvirtual__v28420___simple_call__function [backendopt:inlining] 0.00 isconstant__v28385___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28401___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28377___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28366___simple_call__function [backendopt:inlining] 0.00 isconstant__v28384___simple_call__function [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isconstant__v28355___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v28362___simple_call__function [backendopt:inlining] 0.00 isconstant__v28430___simple_call__function [backendopt:inlining] 0.00 isconstant__v28361___simple_call__function [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_int_py_div_nonnegargs__Signed_Signed [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 next_dead___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 register_finalizer___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_getnextindex__stringiterPtr [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 4.00 _ll_len_of_d_indexes__dicttablePtr [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 4.00 ll_min__Signed_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 5.00 free_charp [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 6.00 _overallocate_entries_len__Signed [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_dict_create_initial_index_look_inside_iff__dicttablePtr [backendopt:inlining] 7.00 ll_dict_grow_look_inside_iff__dicttablePtr [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 ll_str__CharR_CharConst_Char [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 8.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [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_call_lookup_function_look_inside_iff__dicttablePtr_Signed_Signed_Signed [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] 9.00 ll_dict_setitem__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 9.50 ll_chr2str__Char [backendopt:inlining] 7.00 acquire [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UnsignedLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_USHORTLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UINTLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UCHARLlT [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 _ll_dict_setitem_lookup_done_look_inside_iff__dicttablePtr_Signed_arrayPtr_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 6.75 loop_unrolling_heuristic__v28412___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v28423___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v28432___simple_call__function [backendopt:inlining] 15.00 ll_int_py_div__Signed_Signed [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 16.00 ll_valid_from_value__arrayPtr_Signed [backendopt:inlining] 9.00 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 15.00 ll_dict_resize__dicttablePtr [backendopt:inlining] 18.00 ll_dict_create_initial_index__v28373___simple_call__function [backendopt:inlining] 18.00 ll_dict_create_initial_index__v28397___simple_call__function [backendopt:inlining] 20.00 ll_dict_setitem_with_hash__dicttablePtr_Signed_Signed_arrayPtr [backendopt:inlining] 14.00 ll_hash_recomputed__arrayPtr_dicttablePtr_Signed [backendopt:inlining] 22.00 debug_assert [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v28353___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v28418___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v28422___simple_call__function [backendopt:inlining] 26.50 ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:inlining] 26.50 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 23.37 get_raw_address_of_string [backendopt:inlining] 29.50 ll_malloc_indexes_and_choose_lookup__dicttablePtr_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 30.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 25.00 ll_dict_get__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 32.00 _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v28352___simple_call__function [backendopt:inlining] inlined 260 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'finalizer_trigger' [backendopt:malloc] 2 simple mallocs removed in 'long_str' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [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] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v28357___simple_call__function_star_3' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28368___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28374___simple_call__function' [backendopt:malloc] 4 simple mallocs removed in 'll_dict_rehash_after_translation__dicttablePtr' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28379___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28380___simple_call__function' [backendopt:malloc] 8 simple mallocs removed in 'll_dict_reindex__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_valid_from_value__arrayPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_hash_recomputed__arrayPtr_dicttablePtr_Signed' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28390___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28392___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28393___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28396___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v28399___simple_call__function' [backendopt:malloc] 3 simple mallocs removed in 'll_dict_remove_deleted_items__dicttablePtr' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v28409___simple_call__function' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_get__dicttablePtr_Signed_arrayPtr' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem_with_hash__dicttablePtr_Signed_Signed' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v28429___simple_call__function_star_3' [backendopt:malloc] removed 61 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt] merging blocks in ll_call_lookup_function__v28367___simple_call__function [backendopt] merging blocks in ll_dict_reindex__dicttablePtr_Signed [backendopt] merging blocks in ll_clear_indexes__dicttablePtr_Signed [backendopt] merging blocks in ll_call_lookup_function__v28398___simple_call__function [backendopt] merging blocks in ll_dict_grow__v28403___simple_call__function [backendopt] merging blocks in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt] merging blocks in ll_dict_grow__v28407___simple_call__function [backendopt] merging blocks in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [c581872418d2580] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4086 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58187241922680] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c581872423eac80] translation-task} [translation:info] Creating database for generating c source... [c581872423f9300] {translation-task starting database_c [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] specializing: 1100 / 1116 blocks (98%) [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.framework:178)frameworkgc_setup [flowgraph] (rpython.memory.gctransform.framework:184)frameworkgc__teardown [flowgraph] (rpython.memory.gctransform.shadowstack:80)incr_stack [flowgraph] (rpython.memory.gctransform.shadowstack:86)decr_stack [flowgraph] (rpython.memory.gctypelayout:594)ll_weakref_deref [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fixedsize_clear [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear [flowgraph] (rpython.memory.gc.semispace:248)SemiSpaceGC.collect [flowgraph] (rpython.memory.gc.base:165)GCBase.collect_step [flowgraph] (rpython.memory.gc.base:156)GCBase.enable [flowgraph] (rpython.memory.gc.base:159)GCBase.disable [flowgraph] (rpython.memory.gc.base:162)GCBase.isenabled [flowgraph] (rpython.memory.gc.base:512)MovingGCBase.can_move [flowgraph] (rpython.memory.gc.semispace:136)SemiSpaceGC.shrink_array [flowgraph] (rpython.memory.gc.semispace:731)SemiSpaceGC.heap_stats [flowgraph] (rpython.memory.gc.base:118)GCBase.get_member_index [flowgraph] (rpython.memory.gc.base:149)GCBase.get_type_id_cast [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fast [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear_fast [flowgraph] (rpython.memory.gc.semispace:676)SemiSpaceGC.identityhash [flowgraph] (rpython.memory.gc.semispace:158)SemiSpaceGC.obtain_free_space [flowgraph] (rpython.memory.gc.base:515)MovingGCBase.id [flowgraph] (rpython.memory.gc.inspector:32)get_rpy_roots [flowgraph] (rpython.memory.gc.inspector:63)get_rpy_referents [flowgraph] (rpython.memory.gc.inspector:76)get_rpy_memory_usage [flowgraph] (rpython.memory.gc.inspector:79)get_rpy_type_index [flowgraph] (rpython.memory.gc.inspector:83)is_rpy_instance [flowgraph] (rpython.memory.gc.inspector:265)dump_rpy_heap [flowgraph] (rpython.memory.gc.inspector:281)get_typeids_z [flowgraph] (rpython.memory.gc.inspector:285)get_typeids_list [flowgraph] (rpython.memory.gc.semispace:232)SemiSpaceGC.set_max_heap_size [flowgraph] (rpython.memory.gc.base:213)GCBase.malloc_fixed_or_varsize_nonmovable [flowgraph] (rpython.memory.gc.semispace:151)SemiSpaceGC.register_finalizer [flowgraph] (rpython.memory.gctransform.shadowstack:258)gc_increase_root_stack_depth [flowgraph] (rpython.memory.gctransform.shadowstack:108)setup_root_walker [flowgraph] (rpython.memory.gc.base:380)GCBase.is_valid_gc_object [flowgraph] (rpython.memory.gctransform.shadowstack:351)ShadowStackPool.increase_root_stack_depth [flowgraph] (rpython.memory.gc.semispace:474)SemiSpaceGC.get_type_id [flowgraph] (rpython.memory.gc.base:130)GCBase.header [flowgraph] (rpython.memory.gc.inspector:56)_do_append_rpy_referents [flowgraph] (rpython.memory.gc.base:259)GCBase.trace [flowgraph] (rpython.memory.gctransform.shadowstack:288)ShadowStackPool.initial_setup [flowgraph] (rpython.memory.gc.semispace:166)SemiSpaceGC.try_obtain_free_space [flowgraph] (rpython.memory.gc.base:442)GCBase.debug_check_consistency [flowgraph] (rpython.memory.gc.semispace:342)SemiSpaceGC.get_size_incl_hash [flowgraph] (rpython.memory.gc.semispace:87)SemiSpaceGC._teardown [flowgraph] (rpython.memory.gc.inspector:201)HeapDumper.__init__ [flowgraph] (rpython.memory.gc.inspector:173)BaseWalker.process [flowgraph] (rpython.memory.gc.base:146)GCBase.get_size [flowgraph] (rpython.memory.gc.inspector:99)BaseWalker.__init__ [flowgraph] (rpython.memory.gc.inspector:112)BaseWalker.add_roots [flowgraph] (rpython.memory.gctransform.shadowstack:344)ShadowStackPool._prepare_unused_stack [flowgraph] (rpython.memory.gc.inspector:25)_do_append_rpy_roots [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.support:307)AddressDict [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.lldict:17)newdict [flowgraph] (rpython.memory.support:101)AddressStack.__init__ [flowgraph] (rpython.memory.gctransform.framework:1758)walk_roots [flowgraph] (rpython.rtyper.lltypesystem.rdict:667)ll_newdict_size [flowgraph] (rpython.memory.support:40)FreeList.get [flowgraph] (rpython.memory.gc.base:377)GCBase.points_to_valid_gc_object [flowgraph] (rpython.memory.lldict:20)dict_allocate [flowgraph] (rpython.memory.gctransform.shadowstack:112)walk_stack_roots [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gc.inspector:14)_append_rpy_root [flowgraph] (rpython.memory.gctransform.shadowstack:335)ShadowStackPool.start_fresh_new_state [flowgraph] (rpython.memory.lldict:29)dict_allocate_entries [flowgraph] (rpython.memory.gc.semispace:644)SemiSpaceGC._is_in_the_space [flowgraph] (rpython.memory.gctypelayout:131)GCData.q_member_index [flowgraph] (rpython.memory.gc.semispace:255)SemiSpaceGC.semispace_collect [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gc.semispace:641)SemiSpaceGC._is_external [flowgraph] (rpython.memory.gctypelayout:59)GCData.get [flowgraph] (?:2)debug_start [flowgraph] (rpython.memory.gc.inspector:259)_hd_add_root [flowgraph] (rpython.memory.gc.inspector:123)BaseWalker.add [flowgraph] (rpython.rlib.debug:99)debug_start [flowgraph] (rpython.memory.gctypelayout:204)_check_valid_type_info [flowgraph] (rpython.memory.support:122)AddressStack.append [flowgraph] (rpython.memory.gc.base:543)MovingGCBase._compute_id [flowgraph] (rpython.memory.support:108)AddressStack.enlarge [flowgraph] (rpython.memory.gctypelayout:143)GCData.q_fast_path_tracing [flowgraph] (rpython.memory.gctypelayout:135)GCData.q_is_rpython_class [flowgraph] (rpython.memory.gc.base:134)GCBase._get_size_for_typeid [flowgraph] (rpython.memory.gctypelayout:110)GCData.q_fixed_size [flowgraph] (rpython.memory.gctypelayout:73)GCData.q_is_varsize [flowgraph] (rpython.memory.gctransform.shadowstack:376)ShadowStackPool._resize [flowgraph] (rpython.memory.gctransform.shadowstack:43)walk_stack_root [flowgraph] (rpython.memory.gctypelayout:85)GCData.q_is_gcarrayofgcptr [flowgraph] (rpython.memory.gctypelayout:107)GCData.q_offsets_to_gc_pointers [flowgraph] (rpython.memory.gctypelayout:119)GCData.q_varsize_offset_to_length [flowgraph] (rpython.memory.gctypelayout:66)GCData.get_varsize [flowgraph] (rpython.memory.gctypelayout:207)_check_valid_type_info_varsize [flowgraph] (rpython.memory.gctransform.shadowstack:93)<lambda> [flowgraph] (rpython.memory.gctransform.framework:1754)setup_root_walker [flowgraph] (rpython.memory.gc.base:295)GCBase._trace_slow_path [flowgraph] (rpython.memory.gctypelayout:77)GCData.q_has_gcptr_in_varsize [flowgraph] (rpython.memory.gc.inspector:44)_append_rpy_referent [flowgraph] (rpython.memory.gctypelayout:139)GCData.q_has_custom_trace [flowgraph] (rpython.memory.gctypelayout:116)GCData.q_varsize_offset_to_variable_part [flowgraph] (rpython.memory.gctypelayout:122)GCData.q_varsize_offsets_to_gcpointers_in_var_part [flowgraph] (rpython.memory.gctypelayout:113)GCData.q_varsize_item_sizes [flowgraph] (rpython.rtyper.lltypesystem.rdict:866)ll_contains [flowgraph] (rpython.memory.gctransform.framework:596)custom_trace_dispatcher [flowgraph] (rpython.memory.lldict:47)dict_keyhash [flowgraph] (rpython.memory.lldict:44)_hash [flowgraph] (rpython.memory.support:10)mangle_hash [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.memory.lldict:50)dict_entry_valid [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.llarena:365)round_up_for_allocation [flowgraph] (rpython.memory.lldict:59)dict_add [flowgraph] (rpython.rtyper.lltypesystem.rdict:459)ll_dict_setitem [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rdict:544)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rdict:554)_ll_dict_resize_to [flowgraph] (rpython.memory.lldict:40)dict_delete_entries [flowgraph] (rpython.memory.lldict:53)dict_entry_hash [flowgraph] (rpython.memory.gc.semispace:380)SemiSpaceGC._get_object_hash [flowgraph] (rpython.rtyper.lltypesystem.rdict:495)ll_dict_insertclean [flowgraph] (rpython.memory.gc.semispace:67)SemiSpaceGC.setup [flowgraph] (rpython.rtyper.lltypesystem.rdict:639)ll_dict_lookup_clean [flowgraph] (rpython.memory.gc.base:506)MovingGCBase.setup [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.memory.gc.base:45)GCBase.setup [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.gc.semispace:672)SemiSpaceGC._compute_current_nursery_hash [flowgraph] (rpython.memory.support:228)AddressDeque.__init__ [flowgraph] (rpython.memory.lldict:56)dict_get [flowgraph] (rpython.memory.gc.semispace:484)SemiSpaceGC.init_gc_object [flowgraph] (rpython.memory.gc.semispace:471)SemiSpaceGC.combine [flowgraph] (rpython.memory.gc.semispace:668)SemiSpaceGC.is_in_nursery [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rdict:735)ll_get [flowgraph] (rpython.rtyper.lltypesystem.rdict:434)ll_get_value [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.memory.support:250)AddressDeque.append [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.support:235)AddressDeque.enlarge [flowgraph] (rpython.memory.gc.base:58)GCBase.post_setup [c5818725c90b280] translation-task} =========================== short test summary info ============================ FAIL rtyper/lltypesystem/test/test_llarena.py::TestStandalone::()::test_compiled_arena_protect FAIL rtyper/lltypesystem/test/test_rffi.py::TestCRffi::()::test_nonmovingbuffer_semispace FAIL rtyper/lltypesystem/test/test_rffi.py::TestCRffi::()::test_nonmovingbuffer_incminimark FAIL rtyper/lltypesystem/test/test_rffi.py::TestCRffi::()::test__get_raw_address_buf_from_string FAIL rtyper/lltypesystem/test/test_ztranslated.py::test_compiled_incminimark FAIL rtyper/lltypesystem/test/test_ztranslated.py::test_compiled_semispace ============== 6 failed, 265 passed, 5 skipped in 179.77 seconds =============== ++ 23:53:57 starting rtyper/tool/test [293 started in total] __ rtyper/tool/test [290 done in total, somefailed=False] _____________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 38 items rtyper/tool/test/test_mkrffi.py ....... rtyper/tool/test/test_rffi_platform.py ............................ rtyper/tool/test/test_rfficache.py ... ========================== 38 passed in 4.50 seconds =========================== ++ 23:54:03 starting tool/algo/test [294 started in total] __ tool/algo/test [291 done in total, somefailed=False] _______________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 44 items tool/algo/test/test_bitstring.py .... tool/algo/test/test_color.py ..... tool/algo/test/test_graphlib.py ...s....ss.....s....s....... tool/algo/test/test_regalloc.py .. tool/algo/test/test_sparsemat.py ... tool/algo/test/test_unionfind.py .. ==================== 39 passed, 5 skipped in 24.43 seconds ===================== ++ 23:54:30 starting tool/cparser/test [295 started in total] __ tool/cparser/test [292 done in total, somefailed=False] ____________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items tool/cparser/test/test_cts.py ..................... ========================== 21 passed in 2.28 seconds =========================== ++ 23:54:34 starting tool/jitlogparser/test [296 started in total] __ tool/jitlogparser/test [293 done in total, somefailed=False] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 24 items tool/jitlogparser/test/test_parser.py .......ss...ssss....... tool/jitlogparser/test/test_storage.py . ===================== 18 passed, 6 skipped in 0.23 seconds ===================== ++ 23:54:35 starting tool/pytest/test [297 started in total] __ tool/pytest/test [294 done in total, somefailed=False] _____________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items tool/pytest/test/test_expecttest.py s ========================== 1 skipped in 0.11 seconds =========================== ++ 23:54:36 starting tool/test [298 started in total] __ tool/test [295 done in total, somefailed=False] ____________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 67 items tool/test/test_ansi_print.py ........ tool/test/test_descriptor.py ... tool/test/test_error.py .... tool/test/test_flattenrec.py . tool/test/test_frozenlist.py . tool/test/test_gcc_cache.py ..... tool/test/test_identitydict.py .......... tool/test/test_killsubprocess.py ... tool/test/test_leakfinder.py ........ tool/test/test_logparser.py ... tool/test/test_nullpath.py . tool/test/test_pairtype.py ....... tool/test/test_runsubprocess.py ..... tool/test/test_sourcetools.py .... tool/test/test_udir.py .. tool/test/test_version.py .. ========================== 67 passed in 7.81 seconds =========================== ++ 23:54:46 starting translator/backendopt/test [299 started in total] __ translator/backendopt/test [296 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 182 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........ ==================== 177 passed, 5 skipped in 11.55 seconds ==================== ++ 23:55:01 starting translator/c/test/test_backendoptimized.py [300 started in total] __ translator/c/test/test_backendoptimized.py [297 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 90 items translator/c/test/test_backendoptimized.py .......................................................................................... ========================= 90 passed in 446.01 seconds ========================== ++ 00:02:35 starting translator/c/test/test_boehm.py [301 started in total] __ translator/c/test/test_boehm.py [298 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items translator/c/test/test_boehm.py ................. ========================== 17 passed in 92.21 seconds ========================== ++ 00:04:10 starting translator/c/test/test_database.py [302 started in total] __ translator/c/test/test_database.py [299 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items translator/c/test/test_database.py ................. ========================== 17 passed in 2.12 seconds =========================== ++ 00:04:13 starting translator/c/test/test_exception.py [303 started in total] __ translator/c/test/test_exception.py [300 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items translator/c/test/test_exception.py .......... ========================== 10 passed in 43.30 seconds ========================== ++ 00:05:05 starting translator/c/test/test_extfunc.py [304 started in total] __ rtyper/test [301 done in total, somefailed=False] __________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1161 items rtyper/test/test_annlowlevel.py .......... rtyper/test/test_controllerentry.py ........ rtyper/test/test_exception.py ......... rtyper/test/test_extfunc.py ....... rtyper/test/test_extregistry.py ....... rtyper/test/test_generator.py ...x.. rtyper/test/test_llann.py ......................... rtyper/test/test_llannotation.py ... rtyper/test/test_llinterp.py .........................s....... rtyper/test/test_llop.py ........ rtyper/test/test_nongc.py ........ rtyper/test/test_normalizecalls.py ................. rtyper/test/test_rbool.py ........ rtyper/test/test_rbuilder.py ..................... rtyper/test/test_rbuiltin.py ....................s..ss................... rtyper/test/test_rbytearray.py ...... rtyper/test/test_rclass.py ...................................................................x..... rtyper/test/test_rconstantdict.py ..... rtyper/test/test_rdict.py ......................................................................... rtyper/test/test_remptydict.py .. rtyper/test/test_rfloat.py ............................ rtyper/test/test_rint.py ........................s........ rtyper/test/test_rlist.py .................................................................................................. rtyper/test/test_rordereddict.py ............................................................................................................................................ rtyper/test/test_rpbc.py .................................................................................s..........s.......................................................................................s..........s...... rtyper/test/test_rptr.py ....................... rtyper/test/test_rrange.py ................ rtyper/test/test_rstr.py ........................................................................................ rtyper/test/test_rtuple.py ................................. rtyper/test/test_rtyper.py ........ rtyper/test/test_runicode.py .........................................................................s..............ssssssssssss... rtyper/test/test_rvirtualizable.py ............. rtyper/test/test_rweakref.py ....... ============= 1137 passed, 22 skipped, 2 xfailed in 929.83 seconds ============= ++ 00:06:49 starting translator/c/test/test_genc.py [305 started in total] __ rlib/test/test_rbigint.py [302 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 199 items rlib/test/test_rbigint.py ....................................................................................................................................................................................................... ======================== 199 passed in 1634.72 seconds ========================= ++ 00:06:57 starting translator/c/test/test_lladdresses.py [306 started in total] __ translator/c/test/test_lladdresses.py [303 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items translator/c/test/test_lladdresses.py ................. ========================== 17 passed in 70.09 seconds ========================== ++ 00:08:10 starting translator/c/test/test_llop.py [307 started in total] __ translator/c/test/test_genc.py [304 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 24 items translator/c/test/test_genc.py ........................ ========================= 24 passed in 107.19 seconds ========================== ++ 00:08:38 starting translator/c/test/test_lltyped.py [308 started in total] __ translator/c/test/test_llop.py [305 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items translator/c/test/test_llop.py .... ========================== 4 passed in 35.20 seconds =========================== ++ 00:08:48 starting translator/c/test/test_math.py [309 started in total] __ translator/c/test/test_math.py [306 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items translator/c/test/test_math.py .. ========================== 2 passed in 38.84 seconds =========================== ++ 00:09:32 starting translator/c/test/test_newgc.py [310 started in total] __ translator/c/test/test_extfunc.py [307 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/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 276.30 seconds ==================== ++ 00:09:46 starting translator/c/test/test_refcount.py [311 started in total] __ translator/c/test/test_refcount.py [308 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items translator/c/test/test_refcount.py .......... ========================== 10 passed in 49.80 seconds ========================== ++ 00:10:38 starting translator/c/test/test_rtagged.py [312 started in total] __ translator/c/test/test_rtagged.py [309 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items translator/c/test/test_rtagged.py .. =========================== 2 passed in 4.36 seconds =========================== ++ 00:10:43 starting translator/c/test/test_standalone.py [313 started in total] __ translator/c/test/test_lltyped.py [310 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 50 items translator/c/test/test_lltyped.py ..................s..............s................ ==================== 48 passed, 2 skipped in 225.44 seconds ==================== ++ 00:12:30 starting translator/c/test/test_standalone_print_function.py [314 started in total] __ translator/c/test/test_standalone_print_function.py [311 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items translator/c/test/test_standalone_print_function.py . ========================== 1 passed in 10.99 seconds =========================== ++ 00:12:42 starting translator/c/test/test_support.py [315 started in total] __ translator/c/test/test_support.py [312 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 107 items translator/c/test/test_support.py ........................................................................................................... ========================== 107 passed in 0.26 seconds ========================== ++ 00:12:43 starting translator/c/test/test_symbolic.py [316 started in total] __ translator/c/test/test_symbolic.py [313 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items translator/c/test/test_symbolic.py ....... ========================== 7 passed in 27.18 seconds =========================== ++ 00:13:16 starting translator/c/test/test_typed.py [317 started in total] __ translator/c/test/test_standalone.py [314 done in total, somefailed=True] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 42 items translator/c/test/test_standalone.py ...s..............s......s...........FFFF. =================================== FAILURES =================================== __________________________ TestThread.test_stack_size __________________________ self = <rpython.translator.c.test.test_standalone.TestThread object at 0xfffe1bef5690> def test_stack_size(self): import time from rpython.rlib import rthread from rpython.rtyper.lltypesystem import lltype class State: pass state = State() def recurse(n): if n > 0: return recurse(n-1)+1 else: time.sleep(0.2) # invokes before/after return 0 # recurse a lot RECURSION = 19500 if sys.platform == 'win32': # If I understand it correctly: # - The stack size "reserved" for a new thread is a compile-time # option (by default: 1Mb). This is a minimum that user code # cannot control. # - set_stacksize() only sets the initially "committed" size, # which eventually requires a larger "reserved" size. # - The limit below is large enough to exceed the "reserved" size, # for small values of set_stacksize(). RECURSION = 150 * 1000 def bootstrap(): recurse(RECURSION) state.count += 1 def entry_point(argv): os.write(1, "hello world\n") error = rthread.set_stacksize(int(argv[1])) if error != 0: os.write(2, "set_stacksize(%d) returned %d\n" % ( int(argv[1]), error)) raise AssertionError # malloc a bit s1 = State(); s2 = State(); s3 = State() s1.x = 0x11111111; s2.x = 0x22222222; s3.x = 0x33333333 # start 3 new threads state.count = 0 ident1 = rthread.start_new_thread(bootstrap, ()) ident2 = rthread.start_new_thread(bootstrap, ()) ident3 = rthread.start_new_thread(bootstrap, ()) # wait for the 3 threads to finish while True: if state.count == 3: break time.sleep(0.1) # invokes before/after # check that the malloced structures were not overwritten assert s1.x == 0x11111111 assert s2.x == 0x22222222 assert s3.x == 0x33333333 os.write(1, "done\n") return 0 > t, cbuilder = self.compile(entry_point) translator/c/test/test_standalone.py:1306: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:1240: in compile cbuilder.generate_source(defines=cbuilder.DEBUG_DEFINES) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 312 blocks (32%) [rtyper] specializing: 200 / 376 blocks (53%) [rtyper] specializing: 300 / 431 blocks (69%) [rtyper] specializing: 400 / 435 blocks (91%) [rtyper] -=- specialized 435 blocks -=- [rtyper] -=- specialized 48 more blocks -=- [rtyper] -=- specialized 9 more blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] specializing: 500 / 521 blocks (95%) [rtyper] -=- specialized 25 more blocks -=- ________________________ TestThread.test_thread_and_gc _________________________ self = <rpython.translator.c.test.test_standalone.TestThread object at 0xfffe1ba7c2d0> def test_thread_and_gc(self): import time, gc from rpython.rlib import rthread, rposix from rpython.rtyper.lltypesystem import lltype class State: pass state = State() class Cons: def __init__(self, head, tail): self.head = head self.tail = tail def check_errno(value): rposix.set_saved_errno(value) for i in range(10000000): pass assert rposix.get_saved_errno() == value def bootstrap(): rthread.gc_thread_start() check_errno(42) state.xlist.append(Cons(123, Cons(456, None))) gc.collect() rthread.gc_thread_die() def new_thread(): ident = rthread.start_new_thread(bootstrap, ()) check_errno(41) time.sleep(0.5) # enough time to start, hopefully return ident def entry_point(argv): os.write(1, "hello world\n") state.xlist = [] x2 = Cons(51, Cons(62, Cons(74, None))) # start 5 new threads ident1 = new_thread() ident2 = new_thread() # gc.collect() # ident3 = new_thread() ident4 = new_thread() ident5 = new_thread() # wait for the 5 threads to finish while True: gc.collect() if len(state.xlist) == 5: break time.sleep(0.1) # invokes before/after # check that the malloced structures were not overwritten assert x2.head == 51 assert x2.tail.head == 62 assert x2.tail.tail.head == 74 assert x2.tail.tail.tail is None # check the structures produced by the threads for i in range(5): assert state.xlist[i].head == 123 assert state.xlist[i].tail.head == 456 assert state.xlist[i].tail.tail is None os.write(1, "%d ok\n" % (i+1)) return 0 def runme(no__thread): t, cbuilder = self.compile(entry_point, no__thread=no__thread) data = cbuilder.cmdexec('') assert data.splitlines() == ['hello world', '1 ok', '2 ok', '3 ok', '4 ok', '5 ok'] if SUPPORT__THREAD: runme(no__thread=False) > runme(no__thread=True) translator/c/test/test_standalone.py:1407: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:1396: in runme t, cbuilder = self.compile(entry_point, no__thread=no__thread) translator/c/test/test_standalone.py:1240: in compile cbuilder.generate_source(defines=cbuilder.DEBUG_DEFINES) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 359 blocks (27%) [rtyper] specializing: 200 / 398 blocks (50%) [rtyper] specializing: 300 / 500 blocks (60%) [rtyper] specializing: 400 / 502 blocks (79%) [rtyper] specializing: 500 / 504 blocks (99%) [rtyper] -=- specialized 504 blocks -=- [rtyper] -=- specialized 48 more blocks -=- [rtyper] -=- specialized 9 more blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- _________________ TestThread.test_gc_with_fork_without_threads _________________ self = <rpython.translator.c.test.test_standalone.TestThread object at 0xfffe1bc07fd0> def test_gc_with_fork_without_threads(self): if not hasattr(os, 'fork'): py.test.skip("requires fork()") def entry_point(argv): childpid = os.fork() if childpid == 0: print "Testing..." else: pid, status = os.waitpid(childpid, 0) assert pid == childpid assert status == 0 print "OK." return 0 > t, cbuilder = self.compile(entry_point) translator/c/test/test_standalone.py:1425: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:1240: in compile cbuilder.generate_source(defines=cbuilder.DEBUG_DEFINES) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 422 blocks (23%) [rtyper] specializing: 200 / 424 blocks (47%) [rtyper] specializing: 300 / 424 blocks (70%) [rtyper] specializing: 400 / 424 blocks (94%) [rtyper] -=- specialized 424 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- ___________________ TestThread.test_thread_and_gc_with_fork ____________________ self = <rpython.translator.c.test.test_standalone.TestThread object at 0xfffe1b45e310> def test_thread_and_gc_with_fork(self): # This checks that memory allocated for the shadow stacks of the # other threads is really released when doing a fork() -- or at # least that the object referenced from stacks that are no longer # alive are really freed. import time, gc, os from rpython.rlib import rthread if not hasattr(os, 'fork'): py.test.skip("requires fork()") from rpython.rtyper.lltypesystem import rffi, lltype direct_write = rffi.llexternal( "write", [rffi.INT, rffi.CCHARP, rffi.SIZE_T], lltype.Void, _nowrapper=True) class State: pass state = State() class Cons: def __init__(self, head, tail): self.head = head self.tail = tail class Stuff: def __del__(self): p = rffi.str2charp('d') one = rffi.cast(rffi.SIZE_T, 1) direct_write(rffi.cast(rffi.INT, state.write_end), p, one) rffi.free_charp(p) def allocate_stuff(): s = Stuff() os.write(state.write_end, 'a') return s def run_in_thread(): for i in range(10): state.xlist.append(Cons(123, Cons(456, None))) time.sleep(0.01) childpid = os.fork() return childpid def bootstrap(): rthread.gc_thread_start() childpid = run_in_thread() gc.collect() # collect both in the child and in the parent gc.collect() gc.collect() if childpid == 0: os.write(state.write_end, 'c') # "I did not die!" from child else: os.write(state.write_end, 'p') # "I did not die!" from parent rthread.gc_thread_die() def new_thread(): ident = rthread.start_new_thread(bootstrap, ()) time.sleep(0.5) # enough time to start, hopefully return ident def start_arthreads(): s = allocate_stuff() ident1 = new_thread() ident2 = new_thread() ident3 = new_thread() ident4 = new_thread() ident5 = new_thread() # wait for 4 more seconds, which should be plenty of time time.sleep(4) keepalive_until_here(s) def entry_point(argv): os.write(1, "hello world\n") state.xlist = [] state.deleted = 0 state.read_end, state.write_end = os.pipe() x2 = Cons(51, Cons(62, Cons(74, None))) # start 5 new threads start_arthreads() # force freeing gc.collect() gc.collect() gc.collect() # return everything that was written to the pipe so far, # followed by the final dot. os.write(state.write_end, '.') result = os.read(state.read_end, 256) os.write(1, "got: %s\n" % result) return 0 > t, cbuilder = self.compile(entry_point) translator/c/test/test_standalone.py:1520: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:1240: in compile cbuilder.generate_source(defines=cbuilder.DEBUG_DEFINES) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 513 blocks (19%) [rtyper] specializing: 200 / 648 blocks (30%) [rtyper] specializing: 300 / 653 blocks (45%) [rtyper] specializing: 400 / 653 blocks (61%) [rtyper] specializing: 500 / 653 blocks (76%) [rtyper] specializing: 600 / 653 blocks (91%) [rtyper] -=- specialized 653 blocks -=- [rtyper] specializing: 700 / 701 blocks (99%) [rtyper] -=- specialized 48 more blocks -=- [rtyper] -=- specialized 9 more blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- =========================== short test summary info ============================ FAIL translator/c/test/test_standalone.py::TestThread::()::test_stack_size FAIL translator/c/test/test_standalone.py::TestThread::()::test_thread_and_gc FAIL translator/c/test/test_standalone.py::TestThread::()::test_gc_with_fork_without_threads FAIL translator/c/test/test_standalone.py::TestThread::()::test_thread_and_gc_with_fork =============== 4 failed, 35 passed, 3 skipped in 241.12 seconds =============== ++ 00:14:49 starting translator/platform/arch/test [318 started in total] __ translator/platform/arch/test [315 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.01 seconds =========================== ++ 00:14:50 starting translator/platform/test [319 started in total] __ translator/platform/test [316 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/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 18.74 seconds ===================== ++ 00:15:10 starting translator/sandbox/test [320 started in total] __ rlib/rsre/test/test_zjit.py [317 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 26 items rlib/rsre/test/test_zjit.py .....................x.... =================== 25 passed, 1 xfailed in 2433.69 seconds ==================== ++ 00:17:11 starting translator/test [321 started in total] __ translator/sandbox/test [318 done in total, somefailed=True] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 30 items translator/sandbox/test/test_sandbox.py ........F.s.s.F.. translator/sandbox/test/test_sandlib.py .s....... translator/sandbox/test/test_vfs.py .... =================================== FAILURES =================================== ________________________________ test_hybrid_gc ________________________________ def test_hybrid_gc(): def entry_point(argv): l = [] for i in range(int(argv[1])): l.append("x" * int(argv[2])) return int(len(l) > 1000) > exe = compile(entry_point, gc='hybrid', lldebug=True) translator/sandbox/test/test_sandbox.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/sandbox/test/test_sandbox.py:43: in compile return str(t.compile()) translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.sandbox.test.test_sandbox:195)entry_point [translation:info] Annotating&simplifying... [c58190f95de9680] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [c58190f95ff6500] translation-task} [translation:info] RTyping... [c58190f96004580] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 100 / 168 blocks (59%) [rtyper] -=- specialized 168 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58190f9e929400] translation-task} [translation:info] lltype back-end optimisations... [c58190f9e936280] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 4 cast_pointers in ll_int__rpy_stringPtr_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 0.00 isconstant__v27235___simple_call__function [backendopt:inlining] 0.00 isconstant__v27230___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27229___simple_call__function_star_3 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v27234___simple_call__function [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v27228___simple_call__function [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_fastConst_listPtr_Signed [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 2.00 ll_len__listPtr [backendopt:inlining] 7.50 mallocstr__Signed [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] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_GCREFPtr [backendopt:inlining] 6.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 17.00 ll_append__listPtr_GCREFPtr [backendopt:inlining] 26.83 ll_char_mul__Char_Signed [backendopt:inlining] inlined 35 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 2 simple mallocs removed in 'entry_point' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27229___simple_call__function_star_3' [backendopt:malloc] removed 4 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58190fa0fa0680] translation-task} [translation:info] inserting stack checks... [c58190fa0fb0080] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58190fa1775280] translation-task} [translation:info] Creating database for generating c source... [c58190fa1782980] {translation-task starting database_c [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] specializing: 200 / 205 blocks (97%) [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 [c58190fa2f53e00] translation-task} ______________________ TestPrintedResults.test_safefuncs _______________________ self = <rpython.translator.sandbox.test.test_sandbox.TestPrintedResults instance at 0xfffcaba935a0> def test_safefuncs(self): import math def entry_point(argv): a = float(argv[1]) print int(math.floor(a - 0.2)), print int(math.ceil(a)), print int(100.0 * math.sin(a)), mantissa, exponent = math.frexp(a) print int(100.0 * mantissa), exponent, fracpart, intpart = math.modf(a) print int(100.0 * fracpart), int(intpart), print return 0 > self.run(entry_point, ["3.011"], "2 4 13 75 2 1 3\n") translator/sandbox/test/test_sandbox.py:352: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/sandbox/test/test_sandbox.py:335: in run output, error = proc.communicate() translator/sandbox/sandlib.py:307: in communicate self.handle_forever() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.translator.sandbox.sandlib.SimpleIOSandboxedProc object at 0xfffcab540810> 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 -11 translator/sandbox/sandlib.py:220: OSError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.sandbox.test.test_sandbox:341)entry_point\n[translation:info] Annotating&simplifying...\n[c5819114a428d80] {translation-task\nstarting annotate \n[translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy\n[flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item\n[flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline\n[flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end\n[flowgraph] (rpython.rlib.rposix:500)write\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll\n[flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs\n[flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write\n[flowgraph] (rpython.rlib.rgil:160)release\n[flowgraph] (rpython.rlib.rposix:151)_errno_before\n[flowgraph] (rpython.rlib.rthread:349)getraw\n[flowgraph] (rpython.rlib.rthread:349)getraw\n[flowgraph] (rpython.rlib.rposix:170)_errno_after\n[flowgraph] (rpython.rlib.rthread:364)setraw\n[flowgraph] (rpython.rlib.rthread:364)setraw\n[flowgraph] (rpython.rlib.rgil:171)acquire\n[flowgraph] (rpython.rlib.rthread:282)gc_thread_run\n[flowgraph] (rpython.rlib.rposix:430)handle_posix_error\n[flowgraph] (rpython.rlib.rarithmetic:139)widen\n[flowgraph] (rpython.rlib.rposix:113)get_saved_errno\n[flowgraph] (?:1)memo_offsetof_0\n[flowgraph] (?:1)memo_itemoffsetof_0\n[flowgraph] (?:1)memo__sizeof_none_0\n[flowgraph] (?:1)memo_itemoffsetof_0\n[flowgraph] (?:1)memo__isfunctype_0\n[flowgraph] (?:1)memo__isfunctype_0\n[flowgraph] (?:1)memo__should_widen_type_0\n[c5819114fc5fb80] translation-task}\n[translation:info] RTyping...\n[c5819114fc71300] {translation-task\nstarting rtype_lltype \n[flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info\n[flowgraph] (rpython.rtyper.rstr:425)ll_str\n[flowgraph] (?:1)memo_ll_constant_0\n[flowgraph] (?:11)ll_join_strs_look_inside_iff\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda>\n[flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr\n[flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic\n[flowgraph] (?:2)mallocstr\n[flowgraph] (rpython.rlib.jit:269)isconstant\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr\n[flowgraph] (rpython.rlib.jit:281)isvirtual\n[flowgraph] (?:2)ll_join_strs_trampoline\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen\n[flowgraph] (rpython.rtyper.rint:149)ll_str\n[flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec\n[flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter\n[rtyper] specializing: 100 / 225 blocks (44%)\n[flowgraph] (rpython.rtyper.rlist:588)ll_append\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge\n[flowgraph] (rpython.rlib.jit:269)isconstant\n[flowgraph] (rpython.rlib.jit:269)isconstant\n[flowgraph] (rpython.rlib.jit:1300)conditional_call\n[flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda>\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really\n[flowgraph] (rpython.rlib.jit:269)isconstant\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array\n[flowgraph] (?:2)ll_arraycopy\n[flowgraph] (rpython.rlib.rgc:362)ll_arraycopy\n[flowgraph] (rpython.rlib.rgc:342)copy_item\n[flowgraph] (rpython.rlib.jit:269)isconstant\n[flowgraph] (?:2)_ll_list_resize_hint_really_trampoline\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items\n[flowgraph] (?:1)memo__ll_prebuilt_empty_array_0\n[flowgraph] (?:1)memo__contains_gcptr_0\n[flowgraph] (?:1)memo_itemoffsetof_0\n[flowgraph] (?:11)ll_join_chars_look_inside_iff\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda>\n[flowgraph] (rpython.rlib.jit:269)isconstant\n[flowgraph] (rpython.rlib.jit:281)isvirtual\n[flowgraph] (?:2)ll_join_chars_trampoline\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars\n[flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff\n[flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly\n[flowgraph] (rpython.rtyper.rlist:539)ll_null_item\n[flowgraph] (rpython.rtyper.rlist:912)<lambda>\n[flowgraph] (rpython.rlib.jit:269)isconstant\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le\n[flowgraph] (rpython.rlib.jit:269)isconstant\n[flowgraph] (rpython.rlib.jit:281)isvirtual\n[flowgraph] (?:2)ll_listdelslice_startonly_trampoline\n[flowgraph] (rpython.rlib.jit:269)isconstant\n[flowgraph] (rpython.rlib.jit:1300)conditional_call\n[flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly\n[flowgraph] (rpython.translator.sandbox.rsandbox:157)sandboxed_ll_os.ll_os_write\n[flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:199)ll_math_modf\n[flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg\n[flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items\n[flowgraph] (rpython.rtyper.rstr:996)ll_float\n[flowgraph] (rpython.rlib.rfloat:87)rstring_to_float\n[flowgraph] (rpython.rlib.rdtoa:54)strtod\n[flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:278)_PyPy_dg_strtod\n[flowgraph] (?:1)memo__isfunctype_0\n[flowgraph] (?:1)memo__isfunctype_0\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:278)floor\n[flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:367)ll_math_ceil\n[flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:345)ll_math_sin\n[flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp\n[rtyper] specializing: 200 / 436 blocks (45%)\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg\n[flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div\n[rtyper] specializing: 300 / 440 blocks (68%)\n[flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod\n[rtyper] specializing: 400 / 442 blocks (90%)\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice\n[flowgraph] (?:1)memo_emptystrfun_0\n[rtyper] -=- specialized 459 blocks -=-\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:278)sin\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ceil\n[flowgraph] (rpython.rlib.rmarshal:223)dump_string_or_none\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_ceil\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:278)modf\n[flowgraph] (rpython.rlib.rposix:151)_errno_before\n[flowgraph] (rpython.rlib.rmarshal:129)dump_none\n[flowgraph] (rpython.rlib.rmarshal:119)w_long\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:278)copysign\n[flowgraph] (rpython.rlib.rposix:170)_errno_after\n[flowgraph] (rpython.rlib.rmarshal:473)dump_tuple\n[flowgraph] (rpython.rlib.rmarshal:157)dump_int\n[flowgraph] (rpython.rlib.rmarshal:184)dump_longlong\n[flowgraph] (rpython.translator.sandbox.rsandbox:72)sandboxed_io\n[flowgraph] (rpython.rtyper.lltypesystem.lltype:2296)scoped_alloc\n[flowgraph] (rpython.rtyper.lltypesystem.lltype:2280)ScopedAlloc_Array of Char {'nolength': True} .__init__\n[flowgraph] (rpython.rtyper.lltypesystem.lltype:2286)ScopedAlloc_Array of Char {'nolength': True} .__enter__\n[flowgraph] (rpython.rlib.rfloat:585)_error_check_errno_unary_math\n[flowgraph] (rpython.rlib.rfloat:567)_likely_raise\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fabs\n[flowgraph] (rpython.translator.sandbox.rsandbox:40)writeall_not_sandboxed\n[flowgraph] (rpython.rtyper.lltypesystem.lltype:2289)ScopedAlloc_Array of Char {'nolength': True} .__exit__\n[flowgraph] (rpython.translator.sandbox.rsandbox:55)FdLoader.__init__\n[flowgraph] (rpython.rlib.rmarshal:173)load_int\n[flowgraph] (rpython.rlib.rmarshal:312)readchr\n[flowgraph] (rpython.rlib.rmarshal:284)Loader.__init__\n[flowgraph] (rpython.translator.sandbox.rsandbox:60)FdLoader.need_more_data\n[flowgraph] (rpython.rlib.rmarshal:325)readlong\n[flowgraph] (rpython.translator.sandbox.rsandbox:90)reraise_error\n[flowgraph] (rpython.rlib.rmarshal:166)load_int_nonneg\n[flowgraph] (rpython.rlib.rmarshal:288)Loader.check_finished\n[flowgraph] (?:1)memo__isfunctype_0\n[flowgraph] (?:1)memo__isfunctype_0\n[flowgraph] (?:1)memo__isfunctype_0\n[flowgraph] (?:1)memo__make_scoped_allocator_0\n[flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:91)ll_math_isnan\n[flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite\n[flowgraph] (rpython.rtyper.rlist:572)ll_len\n[flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange\n[flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter\n[rtyper] specializing: 500 / 694 blocks (72%)\n[flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist\n[flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg\n[flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast\n[rtyper] specializing: 600 / 711 blocks (84%)\n[flowgraph] (rpython.rtyper.rlist:792)ll_extend_with_str\n[flowgraph] (rpython.rtyper.rlist:795)ll_extend_with_str_slice_startonly\n[flowgraph] (rpython.rtyper.rlist:547)listItemType\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length\n[flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf\n[rtyper] specializing: 700 / 733 blocks (95%)\n[rtyper] -=- specialized 274 more blocks -=-\n[rtyper] -=- specialized 9 more blocks -=-\n[flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass\n[flowgraph] (rpython.rtyper.rclass:1130)ll_type\n[rtyper] -=- specialized 4 more blocks -=-\n[c58191170bcf100] translation-task}\n[translation:info] lltype back-end optimisations...\n[c58191170bdc200] {translation-task\nstarting backendopt_lltype \n[backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string\n[backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write\n[backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v35102___simple_call__function\n[backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed\n[backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v35108___simple_call__function\n[backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr\n[backendopt:removecasts] removed 2 cast_pointers in ll_math_modf__Float\n[backendopt:removecasts] removed 3 cast_pointers in ll_float__rpy_stringPtr\n[backendopt:removecasts] removed 2 cast_pointers in strtod__SomeString\n[backendopt:removecasts] removed 1 cast_pointers in ll_math_sin__Float\n[backendopt:removecasts] removed 2 cast_pointers in ll_math_frexp__Float\n[backendopt:removecasts] removed 1 cast_pointers in _ll_stringslice__rpy_stringPtr_Signed_Signed\n[backendopt:removecasts] removed 3 cast_pointers in _likely_raise\n[backendopt:removecasts] removed 2 cast_pointers in writeall_not_sandboxed\n[backendopt:removecasts] removed 1 cast_pointers in load_int\n[backendopt:removecasts] removed 4 cast_pointers in FdLoader.need_more_data\n[backendopt:removecasts] removed 12 cast_pointers in reraise_error\n[backendopt:removecasts] removed 1 cast_pointers in load_int_nonneg\n[backendopt:removecasts] removed 1 cast_pointers in Loader.check_finished\n[backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed\n[backendopt:removecasts] removed 1 cast_pointers in ll_getitem_nonneg__dum_checkidxConst_ll_getitem_fastConst_listPtr_Signed\n[backendopt:removecasts] removed 2 cast_pointers in ll_extend_with_str_slice_startonly__listPtr_rpy_stringPtr_ll_strlenConst_ll_stritem_nonnegConst_Signed\n[backendopt:inlining] phase with threshold factor: 32.4\n[backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic\n[backendopt:inlining] 0.00 isvirtual__v35123___simple_call__function\n[backendopt:inlining] 0.00 isvirtual__v35131___simple_call__function\n[backendopt:inlining] 0.00 _PyPy_dg_strtod__arrayPtr_arrayPtr_star_2\n[backendopt:inlining] 0.00 ll_getitem_fast__listPtr_Signed\n[backendopt:inlining] 0.00 ceil__Float_star_1\n[backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr\n[backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_fastConst_listPtr_Signed\n[backendopt:inlining] 0.00 conditional_call__v35112___simple_call__function_star_3\n[backendopt:inlining] 0.00 fabs__Float_star_1\n[backendopt:inlining] 0.00 isconstant__v35133___simple_call__function\n[backendopt:inlining] 0.00 isconstant__v35111___simple_call__function\n[backendopt:inlining] 0.00 isconstant__v35110___simple_call__function\n[backendopt:inlining] 0.00 isconstant__v35128___simple_call__function\n[backendopt:inlining] 0.00 isconstant__v35117___simple_call__function\n[backendopt:inlining] 0.00 memo_ll_constant_0\n[backendopt:inlining] 0.00 ll_getitem_nonneg__dum_checkidxConst_ll_getitem_fastConst_listPtr_Signed\n[backendopt:inlining] 0.00 memo_emptystrfun_0\n[backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0\n[backendopt:inlining] 0.00 isvirtual__v35106___simple_call__function\n[backendopt:inlining] 0.00 __exit____star_3\n[backendopt:inlining] 0.00 sin__Float_star_1\n[backendopt:inlining] 0.00 widen__int\n[backendopt:inlining] 0.00 modf__Float_arrayPtr_star_2\n[backendopt:inlining] 0.00 conditional_call__v35134___simple_call__function_star_3\n[backendopt:inlining] 0.00 isconstant__v35116___simple_call__function\n[backendopt:inlining] 0.00 memo__sizeof_none_0\n[backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3\n[backendopt:inlining] 0.00 isconstant__v35105___simple_call__function\n[backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed\n[backendopt:inlining] 0.00 floor__Float_star_1\n[backendopt:inlining] 0.00 isconstant__v35130___simple_call__function\n[backendopt:inlining] 0.00 isconstant__v35122___simple_call__function\n[backendopt:inlining] 0.00 frexp__Float_arrayPtr_star_2\n[backendopt:inlining] 0.00 get_nonmovingbuffer_ll_final_null__SomeString\n[backendopt:inlining] 0.00 copy_string_to_raw\n[backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__\n[backendopt:inlining] 0.00 gc_thread_run\n[backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__\n[backendopt:inlining] 0.00 _get_raw_buf__rpy_string\n[backendopt:inlining] 0.00 ll_getitem_fast__listPtr_Signed\n[backendopt:inlining] 0.00 get_nonmovingbuffer_ll\n[backendopt:inlining] 0.00 copysign__Float_Float_star_2\n[backendopt:inlining] 0.00 get_nonmovingbuffer_ll_final_null__SomeString\n[backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr\n[backendopt:inlining] 0.00 get_nonmovingbuffer_ll_final_null__SomeString\n[backendopt:inlining] 2.00 ll_length__listPtr\n[backendopt:inlining] 2.00 ll_items__listPtr\n[backendopt:inlining] 2.00 getraw\n[backendopt:inlining] 2.00 ll_math_isnan__Float\n[backendopt:inlining] 2.00 ScopedAlloc_Array of Char {'nolength': True} .__enter__\n[backendopt:inlining] 2.00 getraw\n[backendopt:inlining] 2.00 setraw\n[backendopt:inlining] 2.00 setraw\n[backendopt:inlining] 2.00 ll_length__rpy_stringPtr\n[backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned\n[backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned\n[backendopt:inlining] 2.00 ll_items__listPtr\n[backendopt:inlining] 2.00 ll_unsigned__Signed\n[backendopt:inlining] 4.00 ll_math_isfinite__Float\n[backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed\n[backendopt:inlining] 4.00 __exit____star_3\n[backendopt:inlining] 4.00 Loader.__init__\n[backendopt:inlining] 4.00 ScopedAlloc_Array of Char {'nolength': True} .__init__\n[backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr\n[backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed\n[backendopt:inlining] 5.00 release\n[backendopt:inlining] 5.50 ll_math_isinf__Float\n[backendopt:inlining] 6.00 _str_ofs__rpy_string\n[backendopt:inlining] 0.00 get_nonmovingbuffer_ll_final_null__SomeString\n[backendopt:inlining] 7.00 mallocstr__Signed\n[backendopt:inlining] 4.00 get_saved_errno\n[backendopt:inlining] 2.00 ll_len__listPtr\n[backendopt:inlining] 7.00 dump_none\n[backendopt:inlining] 7.00 dump_int\n[backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed\n[backendopt:inlining] 7.00 rstring_to_float__SomeString\n[backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed\n[backendopt:inlining] 7.00 rpython_print_newline\n[backendopt:inlining] 7.50 mallocstr__Signed\n[backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed\n[backendopt:inlining] 8.00 ll_newemptylist__GcStruct_listLlT\n[backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool\n[backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT\n[backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT\n[backendopt:inlining] 7.00 acquire\n[backendopt:inlining] 6.00 ll_getitem_fast__listPtr_Signed\n[backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed\n[backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char\n[backendopt:inlining] 11.00 ll_extend_with_str__listPtr_rpy_stringPtr_ll_strlenConst_ll_stritem_nonnegConst\n[backendopt:inlining] 8.00 FdLoader.__init__\n[backendopt:inlining] 6.00 ll_getitem_fast__listPtr_Signed\n[backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr\n[backendopt:inlining] 12.00 ll_striter__rpy_stringPtr\n[backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed\n[backendopt:inlining] 10.00 scoped_alloc__array_False\n[backendopt:inlining] 13.00 free_nonmovingbuffer_ll\n[backendopt:inlining] 6.75 loop_unrolling_heuristic__v35104___simple_call__function\n[backendopt:inlining] 9.00 ll_listdelslice_startonly__v35126___simple_call__function\n[backendopt:inlining] 9.00 ll_listdelslice_startonly__v35135___simple_call__function\n[backendopt:inlining] 14.00 load_int_nonneg\n[backendopt:inlining] 15.50 ll_strnext__stringiterPtr\n[backendopt:inlining] 13.00 Loader.check_finished\n[backendopt:inlining] 18.12 ll_stringslice_startstop__rpy_stringPtr_Signed_Signed\n[backendopt:inlining] 21.00 ccall_ceil\n[backendopt:inlining] 23.00 dump_longlong\n[backendopt:inlining] 17.00 ll_append__listPtr_Char\n[backendopt:inlining] 19.25 _errno_after__v35137___simple_call__function\n[backendopt:inlining] 19.25 _errno_after__v35101___simple_call__function\n[backendopt:inlining] 26.16 ll_join_chars__v35120___simple_call__function\n[backendopt:inlining] 26.16 ll_join_chars__v35125___simple_call__function\n[backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed\n[backendopt:inlining] 27.87 ll_math_frexp__Float\n[backendopt:inlining] 27.50 _error_check_errno_unary_math__False\n[backendopt:inlining] 31.75 handle_posix_error__write\n[backendopt:inlining] 31.87 _errno_before__v35136___simple_call__function\n[backendopt:inlining] 31.87 _errno_before__v35100___simple_call__function\n[backendopt:inlining] inlined 263 callsites.\n[backendopt:removecasts] removed 2 cast_pointers in strtod__SomeString\n[backendopt:malloc] starting malloc removal\n[backendopt:malloc] 4 simple mallocs removed in 'entry_point'\n[backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item'\n[backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end'\n[backendopt:malloc] 3 simple mallocs removed in 'write'\n[backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__'\n[backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3'\n[backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed'\n[backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v35112___simple_call__function_star_3'\n[backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed'\n[backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v35134___simple_call__function_star_3'\n[backendopt:malloc] 3 simple mallocs removed in 'll_math_modf__Float'\n[backendopt:malloc] 1 simple mallocs removed in 'strtod__SomeString'\n[backendopt:malloc] 5 simple mallocs removed in '_PyPy_dg_strtod__arrayPtr_arrayPtr_star_2'\n[backendopt:malloc] 3 simple mallocs removed in 'floor__Float_star_1'\n[backendopt:malloc] 3 simple mallocs removed in 'll_math_ceil__Float'\n[backendopt:malloc] 3 simple mallocs removed in 'll_math_sin__Float'\n[backendopt:malloc] 3 simple mallocs removed in 'sin__Float_star_1'\n[backendopt:malloc] 3 simple mallocs removed in 'ceil__Float_star_1'\n[backendopt:malloc] 5 simple mallocs removed in 'frexp__Float_arrayPtr_star_2'\n[backendopt:malloc] 5 simple mallocs removed in 'modf__Float_arrayPtr_star_2'\n[backendopt:malloc] 3 simple mallocs removed in 'copysign__Float_Float_star_2'\n[backendopt:malloc] 3 simple mallocs removed in 'sandboxed_io'\n[backendopt:malloc] 3 simple mallocs removed in '_likely_raise'\n[backendopt:malloc] 3 simple mallocs removed in 'fabs__Float_star_1'\n[backendopt:malloc] 3 simple mallocs removed in 'FdLoader.need_more_data'\n[backendopt:malloc] removed 71 simple mallocs in total\n[backendopt:mergeifblocks] starting to merge if blocks\n[backendopt] merging blocks in load_int\n[backendopt] merging blocks in reraise_error\n[c5819117f108180] translation-task}\n[translation:info] inserting stack checks...\n[c5819117f118f00] {translation-task\nstarting stackcheckinsertion_lltype \n[flowgraph] (rpython.rlib.rstack:42)stack_check\n[flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath\n[rtyper] -=- specialized 8 more blocks -=-\n[translation:info] inserted 0 stack checks.\n[c5819117fa2fd80] translation-task}\n[translation:info] Creating database for generating c source...\n[c5819117fa3e000] {translation-task\nstarting database_c \n[flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred\n[flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type\n[flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value\n[flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear\n[flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise\n[flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise\n[flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception\n[flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception\n[flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr\n[flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr\n[flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type\n[rtyper] -=- specialized 25 more blocks -=-\n[flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize\n[flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero\n[flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length\n[flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize\n[flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero\n[flowgraph] (rpython.memory.gctransform.refcounting:34)ll_incref\n[flowgraph] (rpython.memory.gctransform.refcounting:38)ll_decref\n[flowgraph] (rpython.memory.gctransform.refcounting:45)ll_decref_simple\n[flowgraph] (rpython.memory.gctransform.refcounting:53)ll_no_pointer_dealloc\n[flowgraph] (rpython.memory.gctransform.refcounting:58)ll_malloc_fixedsize\n[flowgraph] (rpython.memory.gctransform.refcounting:64)ll_malloc_varsize_no_length\n[flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize\n[flowgraph] (rpython.memory.gctransform.refcounting:78)ll_identityhash\n[flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize\n[flowgraph] (rpython.memory.gctransform.transform:461)_ll_compute_size\n[rtyper] specializing: 800 / 839 blocks (95%)\n[rtyper] -=- specialized 60 more blocks -=-\n[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_varsize_no_length_zero__Signed_Signed_Signed\n[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_fixedsize__Signed\n[backendopt:removecasts] removed 1 cast_pointers in _ll_compute_size__Signed_Signed_Signed\n[backendopt:removecasts] removed 1 cast_pointers in ll_malloc_varsize_no_length__Signed_Signed_Signed\n[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_varsize_no_length__Signed_Signed_Signed\n[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_fixedsize_zero__Signed\n[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_fixedsize__Signed\n[backendopt:inlining] phase with threshold factor: 32.4\n[backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic\n[backendopt:inlining] 0.00 _ll_compute_size__Signed_Signed_Signed\n[backendopt:inlining] 9.00 _ll_malloc_fixedsize__Signed\n[backendopt:inlining] 16.50 _ll_malloc_varsize_no_length__Signed_Signed_Signed\n[backendopt:inlining] 20.75 ll_malloc_varsize_no_length__Signed_Signed_Signed\n[backendopt:inlining] inlined 6 callsites.\n[backendopt:malloc] starting malloc removal\n[backendopt:malloc] removed 0 simple mallocs in total\n[backendopt:mergeifblocks] starting to merge if blocks\n[flowgraph] (rpython.translator.c.genc:261)entrypoint_wrapper\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str\n[flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str\n[flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string\n[flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast\n[flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set\n[flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero\n[flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit\n[flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit\n[flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null\n[flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist\n[flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear\n[flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff\n[flowgraph] (rpython.rtyper.rlist:528)<lambda>\n[flowgraph] (rpython.rlib.jit:269)isconstant\n[flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull\n[flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline\n[flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull\n[flowgraph] (?:1)memo__null_of_type_0\n[rtyper] specializing: 900 / 915 blocks (98%)\n[rtyper] -=- specialized 76 more blocks -=-\n[flowgraph] (?:1)ll_deallocator\n[flowgraph] (?:1)ll_deallocator\n[flowgraph] (rpython.memory.gctransform.refcounting:264)ll_dealloc\n[rtyper] -=- specialized 0 more blocks -=-\n[flowgraph] (?:1)ll_deallocator\n[flowgraph] (?:1)ll_deallocator\n[flowgraph] (?:1)ll_deallocator\n[flowgraph] (?:1)ll_deallocator\n[flowgraph] (?:1)ll_deallocator\n[flowgraph] (?:1)ll_deallocator\n[flowgraph] (?:1)ll_deallocator\n[flowgraph] (?:1)ll_deallocator\n[rtyper] -=- specialized 28 more blocks -=-\n[backendopt:inlining] phase with threshold factor: 32.4\n[backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic\n[backendopt:inlining] 4.00 ll_runtime_type_info__objectPtr\n[backendopt:inlining] inlined 1 callsites.\n[backendopt:malloc] starting malloc removal\n[backendopt:malloc] removed 0 simple mallocs in total\n[backendopt:mergeifblocks] starting to merge if blocks\n[backendopt:malloc] removed 0 simple mallocs in total\n[c:database] GC transformer: finished helpers\n[c:database] GC transformer: finished tables\n[c:database] Inlining GC helpers and postprocessing\n[c] 327 nodes [ array: 25 func: 95 refcnt rtti: 18 struct: 189 ]\n[c:database] Completed\n[translation:info] database for generating C source was created\n[c581911b18f0c80] translation-task}\n[translation:info] Generating c source...\n[c581911b1900280] {translation-task\nstarting source_c \n[c:writing] structdef.h\n[c:writing] forwarddecl.h\n[c:writing] preimpl.h\n[c:writing] data_rpython_flowspace.c\n[c:writing] data_rpython_memory_gctransform.c\n[c:writing] data_rpython_rlib.c\n[c:writing] data_rpython_rtyper_lltypesystem_module.c\n[c:writing] data_rpython_translator_c.c\n[c:writing] data_rpython_translator_sandbox.c\n[c:writing] nonfuncnodes.c\n[c:writing] data_rpython_rlib_1.c\n[c:writing] data_rpython_rtyper_lltypesystem.c\n[c:writing] data_rpython_rtyper_lltypesystem_module_1.c\n[c:writing] data_rpython_translator_sandbox_1.c\n[c:writing] data_rpython_translator_sandbox_test.c\n[c:writing] implement.c\n[c:writing] rpython_flowspace.c\n[c:writing] rpython_memory_gctransform.c\n[c:writing] rpython_rlib.c\n[c:writing] rpython_rtyper.c\n[c:writing] rpython_rtyper_lltypesystem.c\n[c:writing] rpython_rtyper_lltypesystem_module.c\n[c:writing] rpython_translator.c\n[c:writing] rpython_translator_c.c\n[c:writing] rpython_translator_sandbox.c\n[c:writing] rpython_translator_sandbox_test.c\n[translation:info] written: /tmp/pytest/usession-main-4160/testing_12/testing_12.c\n[c581911c2551000] translation-task}\n[translation:info] Compiling c source...\n[c581911c255d980] {translation-task\nstarting compile_c \n[platform:execute] make in /tmp/pytest/usession-main-4160/testing_12\n[platform:WARNING] In file included from /build_dir/rpython-linux-aarch64/build/rpython/translator/c/src/g_include.h:9,\n[platform:WARNING] from rpython_flowspace.c:6:\n[platform:WARNING] rpython_flowspace.c: In function \u2018pypy_g_rpython_print_end\u2019:\n[platform:WARNING] /build_dir/rpython-linux-aarch64/build/rpython/translator/c/src/mem.h:21:27: warning: attempt to free a non-heap object \u2018pypy_g_rpy_string_17\u2019 [-Wfree-nonheap-object]\n[platform:WARNING] 21 | #define OP_RAW_FREE(p, r) free(p); COUNT_FREE;\n[platform:WARNING] | ^~~~~~~\n[platform:WARNING] /build_dir/rpython-linux-aarch64/build/rpython/translator/c/src/mem.h:37:20: note: in expansion of macro \u2018OP_RAW_FREE\u2019\n[platform:WARNING] 37 | #define OP_FREE(p) OP_RAW_FREE(p, do_not_use)\n[platform:WARNING] | ^~~~~~~~~~~\n[platform:WARNING] rpython_flowspace.c:273:4: note: in expansion of macro \u2018OP_FREE\u2019\n[platform:WARNING] 273 | OP_FREE(l_adr_2220);\n[platform:WARNING] | ^~~~~~~\n[platform:WARNING] /build_dir/rpython-linux-aarch64/build/rpython/translator/c/src/mem.h:21:27: warning: attempt to free a non-heap object \u2018pypy_g_rpy_string_17\u2019 [-Wfree-nonheap-object]\n[platform:WARNING] 21 | #define OP_RAW_FREE(p, r) free(p); COUNT_FREE;\n[platform:WARNING] | ^~~~~~~\n[platform:WARNING] /build_dir/rpython-linux-aarch64/build/rpython/translator/c/src/mem.h:37:20: note: in expansion of macro \u2018OP_RAW_FREE\u2019\n[platform:WARNING] 37 | #define OP_FREE(p) OP_RAW_FREE(p, do_not_use)\n[platform:WARNING] | ^~~~~~~~~~~\n[platform:WARNING] rpython_flowspace.c:367:5: note: in expansion of macro \u2018OP_FREE\u2019\n[platform:WARNING] 367 | OP_FREE(l_v35373);\n[platform:WARNING] | ^~~~~~~\n[platform:WARNING] /build_dir/rpython-linux-aarch64/build/rpython/translator/c/src/mem.h:21:27: warning: attempt to free a non-heap object \u2018pypy_g_rpy_string_17\u2019 [-Wfree-nonheap-object]\n[platform:WARNING] 21 | #define OP_RAW_FREE(p, r) free(p); COUNT_FREE;\n[platform:WARNING] | ^~~~~~~\n[platform:WARNING] /build_dir/rpython-linux-aarch64/build/rpython/translator/c/src/mem.h:37:20: note: in expansion of macro \u2018OP_RAW_FREE\u2019\n[platform:WARNING] 37 | #define OP_FREE(p) OP_RAW_FREE(p, do_not_use)\n[platform:WARNING] | ^~~~~~~~~~~\n[platform:WARNING] rpython_flowspace.c:484:5: note: in expansion of macro \u2018OP_FREE\u2019\n[platform:WARNING] 484 | OP_FREE(l_adr_2227);\n[platform:WARNING] | ^~~~~~~\n[platform:WARNING] /build_dir/rpython-linux-aarch64/build/rpython/translator/c/src/mem.h:21:27: warning: attempt to free a non-heap object \u2018pypy_g_rpy_string_17\u2019 [-Wfree-nonheap-object]\n[platform:WARNING] 21 | #define OP_RAW_FREE(p, r) free(p); COUNT_FREE;\n[platform:WARNING] | ^~~~~~~\n[platform:WARNING] /build_dir/rpython-linux-aarch64/build/rpython/translator/c/src/mem.h:37:20: note: in expansion of macro \u2018OP_RAW_FREE\u2019\n[platform:WARNING] 37 | #define OP_FREE(p) OP_RAW_FREE(p, do_not_use)\n[platform:WARNING] | ^~~~~~~~~~~\n[platform:WARNING] rpython_flowspace.c:530:5: note: in expansion of macro \u2018OP_FREE\u2019\n[platform:WARNING] 530 | OP_FREE(l_adr_2223);\n[platform:WARNING] | ^~~~~~~\n[platform:WARNING] /build_dir/rpython-linux-aarch64/build/rpython/translator/c/src/mem.h:21:27: warning: attempt to free a non-heap object \u2018pypy_g_rpy_string_17\u2019 [-Wfree-nonheap-object]\n[platform:WARNING] 21 | #define OP_RAW_FREE(p, r) free(p); COUNT_FREE;\n[platform:WARNING] | ^~~~~~~\n[platform:WARNING] /build_dir/rpython-linux-aarch64/build/rpython/translator/c/src/mem.h:37:20: note: in expansion of macro \u2018OP_RAW_FREE\u2019\n[platform:WARNING] 37 | #define OP_FREE(p) OP_RAW_FREE(p, do_not_use)\n[platform:WARNING] | ^~~~~~~~~~~\n[platform:WARNING] rpython_flowspace.c:578:4: note: in expansion of macro \u2018OP_FREE\u2019\n[platform:WARNING] 578 | OP_FREE(l_adr_2224);\n[platform:WARNING] | ^~~~~~~\n[translation:info] created: /tmp/pytest/usession-main-4160/testing_12/testing_12\n[c581912459cb500] translation-task}\n[translation:info] usession directory: /tmp/pytest/usession-main-4160 =========================== short test summary info ============================ FAIL translator/sandbox/test/test_sandbox.py::test_hybrid_gc FAIL translator/sandbox/test/test_sandbox.py::TestPrintedResults::()::test_safefuncs =============== 2 failed, 25 passed, 3 skipped in 149.64 seconds =============== ++ 00:17:42 starting translator/tool/test [322 started in total] __ translator/test [319 done in total, somefailed=True] _______________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 66 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 .F translator/test/test_timing.py . translator/test/test_translator.py . translator/test/test_uniquename.py . translator/test/test_unsimplify.py ..... =================================== FAILURES =================================== ______________________________ test_gctransformed ______________________________ def test_gctransformed(): t = TranslationContext() a = t.buildannotator() a.build_types(g, [int]) a.simplify() t.buildrtyper().specialize() backend_optimizations(t) t.checkgraphs() n = insert_ll_stackcheck(t) t.checkgraphs() assert n == 1 exctransf = t.getexceptiontransformer() f_graph = graphof(t, f) exctransf.create_exception_handling(f_graph) if option.view: f_graph.show() check(f_graph, 'f') > class GCTransform(shadowstack.ShadowStackFrameworkGCTransformer): translator/test/test_stackcheck.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/test/test_stackcheck.py:98: in GCTransform from rpython.memory.gc.generation import GenerationGC as \ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 9 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] inlined 2 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] removed 0 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [rtyper] -=- specialized 8 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- =========================== short test summary info ============================ FAIL translator/test/test_stackcheck.py::test_gctransformed =============== 1 failed, 64 passed, 1 skipped in 52.69 seconds ================ __ translator/tool/test [320 done in total, somefailed=False] _________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items translator/tool/test/test_cbuild.py ......s.s. translator/tool/test/test_staticsizereport.py .. translator/tool/test/test_taskengine.py ... ==================== 13 passed, 2 skipped in 23.59 seconds ===================== __ translator/c/test/test_typed.py [321 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 76 items translator/c/test/test_typed.py ............................................................................ ========================= 76 passed in 421.44 seconds ========================== __ translator/c/test/test_newgc.py [322 done in total, somefailed=True] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-aarch64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-aarch64/build/pytest.pyc rootdir: /build_dir/rpython-linux-aarch64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 556 items translator/c/test/test_newgc.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE ==================================== ERRORS ==================================== ____________ ERROR at setup of TestSemiSpaceGC.test_finalizer_order ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c5818e291021000] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [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.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [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.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rlib.rposix:518)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [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.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818e38d32af80] translation-task} [translation:info] RTyping... [c5818e38d33c700] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.rlist:588)ll_append [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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [rtyper] specializing: 200 / 3125 blocks (6%) [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [rtyper] specializing: 600 / 5024 blocks (11%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:588)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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [rtyper] specializing: 900 / 5446 blocks (16%) [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [rtyper] specializing: 1200 / 5522 blocks (21%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [rtyper] specializing: 1400 / 5579 blocks (25%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 1700 / 5586 blocks (30%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 2000 / 5593 blocks (35%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 2300 / 5593 blocks (41%) [rtyper] specializing: 2600 / 5593 blocks (46%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [rtyper] specializing: 2900 / 5597 blocks (51%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [rtyper] specializing: 3200 / 5601 blocks (57%) [rtyper] specializing: 3500 / 5601 blocks (62%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 3800 / 5601 blocks (67%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 4100 / 5603 blocks (73%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 4400 / 5607 blocks (78%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 4700 / 5609 blocks (83%) [rtyper] specializing: 5000 / 5609 blocks (89%) [rtyper] specializing: 5300 / 5609 blocks (94%) [rtyper] specializing: 5600 / 5609 blocks (99%) [rtyper] -=- specialized 5609 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c5818e6a44e4500] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4150 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5818e6a451ee00] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c5818e6a757d580] translation-task} [translation:info] Creating database for generating c source... [c5818e6a758be00] {translation-task starting database_c [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.framework:178)frameworkgc_setup [flowgraph] (rpython.memory.gctransform.framework:184)frameworkgc__teardown [flowgraph] (rpython.memory.gctransform.shadowstack:80)incr_stack [flowgraph] (rpython.memory.gctransform.shadowstack:86)decr_stack [flowgraph] (rpython.memory.gctypelayout:594)ll_weakref_deref [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fixedsize_clear [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear [flowgraph] (rpython.memory.gc.semispace:248)SemiSpaceGC.collect [flowgraph] (rpython.memory.gc.base:165)GCBase.collect_step [flowgraph] (rpython.memory.gc.base:156)GCBase.enable [flowgraph] (rpython.memory.gc.base:159)GCBase.disable [flowgraph] (rpython.memory.gc.base:162)GCBase.isenabled [flowgraph] (rpython.memory.gc.base:512)MovingGCBase.can_move [flowgraph] (rpython.memory.gc.semispace:136)SemiSpaceGC.shrink_array [flowgraph] (rpython.memory.gc.semispace:731)SemiSpaceGC.heap_stats [flowgraph] (rpython.memory.gc.base:118)GCBase.get_member_index [flowgraph] (rpython.memory.gc.base:149)GCBase.get_type_id_cast [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fast [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear_fast [flowgraph] (rpython.memory.gc.semispace:676)SemiSpaceGC.identityhash [flowgraph] (rpython.memory.gc.semispace:158)SemiSpaceGC.obtain_free_space [flowgraph] (rpython.memory.gc.base:515)MovingGCBase.id [flowgraph] (rpython.memory.gc.inspector:32)get_rpy_roots [flowgraph] (rpython.memory.gc.inspector:63)get_rpy_referents [flowgraph] (rpython.memory.gc.inspector:76)get_rpy_memory_usage [flowgraph] (rpython.memory.gc.inspector:79)get_rpy_type_index [flowgraph] (rpython.memory.gc.inspector:83)is_rpy_instance [flowgraph] (rpython.memory.gc.inspector:265)dump_rpy_heap [flowgraph] (rpython.memory.gc.inspector:281)get_typeids_z [flowgraph] (rpython.memory.gc.inspector:285)get_typeids_list [flowgraph] (rpython.memory.gc.semispace:232)SemiSpaceGC.set_max_heap_size [flowgraph] (rpython.memory.gc.base:213)GCBase.malloc_fixed_or_varsize_nonmovable [flowgraph] (rpython.memory.gc.semispace:151)SemiSpaceGC.register_finalizer [flowgraph] (rpython.memory.gctransform.shadowstack:258)gc_increase_root_stack_depth [flowgraph] (rpython.memory.gc.semispace:166)SemiSpaceGC.try_obtain_free_space [flowgraph] (rpython.memory.gc.semispace:474)SemiSpaceGC.get_type_id [flowgraph] (rpython.memory.gctransform.shadowstack:108)setup_root_walker [flowgraph] (rpython.memory.gc.base:442)GCBase.debug_check_consistency [flowgraph] (rpython.memory.gc.inspector:201)HeapDumper.__init__ [flowgraph] (rpython.memory.gc.inspector:173)BaseWalker.process [flowgraph] (rpython.memory.gc.base:380)GCBase.is_valid_gc_object [flowgraph] (rpython.memory.gc.semispace:87)SemiSpaceGC._teardown [flowgraph] (rpython.memory.gc.inspector:56)_do_append_rpy_referents [flowgraph] (rpython.memory.gc.base:259)GCBase.trace [flowgraph] (rpython.memory.gc.base:130)GCBase.header [flowgraph] (rpython.memory.gctransform.shadowstack:351)ShadowStackPool.increase_root_stack_depth [flowgraph] (rpython.memory.gc.semispace:342)SemiSpaceGC.get_size_incl_hash [flowgraph] (rpython.memory.gc.inspector:112)BaseWalker.add_roots [flowgraph] (rpython.memory.gctransform.shadowstack:288)ShadowStackPool.initial_setup [flowgraph] (rpython.memory.gc.base:146)GCBase.get_size [flowgraph] (rpython.memory.gc.inspector:25)_do_append_rpy_roots [flowgraph] (rpython.memory.gc.inspector:99)BaseWalker.__init__ [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.support:307)AddressDict [flowgraph] (rpython.memory.gctransform.shadowstack:344)ShadowStackPool._prepare_unused_stack [flowgraph] (rpython.memory.lldict:17)newdict [flowgraph] (rpython.memory.support:101)AddressStack.__init__ [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.support:40)FreeList.get [flowgraph] (rpython.memory.gctransform.framework:1758)walk_roots [flowgraph] (rpython.rtyper.lltypesystem.rdict:667)ll_newdict_size [flowgraph] (rpython.memory.lldict:20)dict_allocate [flowgraph] (rpython.memory.gc.base:377)GCBase.points_to_valid_gc_object [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gctransform.shadowstack:112)walk_stack_roots [flowgraph] (rpython.memory.gc.inspector:259)_hd_add_root [flowgraph] (rpython.memory.gc.inspector:123)BaseWalker.add [flowgraph] (rpython.memory.support:122)AddressStack.append [flowgraph] (rpython.memory.gctransform.shadowstack:335)ShadowStackPool.start_fresh_new_state [flowgraph] (rpython.memory.gc.semispace:255)SemiSpaceGC.semispace_collect [flowgraph] (rpython.memory.gctypelayout:131)GCData.q_member_index [flowgraph] (rpython.memory.lldict:29)dict_allocate_entries [flowgraph] (rpython.memory.gc.semispace:644)SemiSpaceGC._is_in_the_space [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gctypelayout:59)GCData.get [flowgraph] (rpython.memory.gc.inspector:14)_append_rpy_root [flowgraph] (rpython.memory.gctypelayout:204)_check_valid_type_info [flowgraph] (?:2)debug_start [flowgraph] (rpython.memory.gc.semispace:641)SemiSpaceGC._is_external [flowgraph] (rpython.rlib.debug:99)debug_start [flowgraph] (rpython.memory.gctypelayout:143)GCData.q_fast_path_tracing [flowgraph] (rpython.memory.gc.base:134)GCBase._get_size_for_typeid [flowgraph] (rpython.memory.gctypelayout:135)GCData.q_is_rpython_class [flowgraph] (rpython.memory.gctypelayout:110)GCData.q_fixed_size [flowgraph] (rpython.memory.gc.base:543)MovingGCBase._compute_id [flowgraph] (rpython.memory.gctypelayout:73)GCData.q_is_varsize [flowgraph] (rpython.memory.gctransform.shadowstack:376)ShadowStackPool._resize [flowgraph] (rpython.memory.gctransform.shadowstack:43)walk_stack_root [flowgraph] (rpython.memory.support:108)AddressStack.enlarge [flowgraph] (rpython.memory.gctypelayout:85)GCData.q_is_gcarrayofgcptr [flowgraph] (rpython.memory.gctypelayout:107)GCData.q_offsets_to_gc_pointers [flowgraph] (rpython.memory.gctypelayout:119)GCData.q_varsize_offset_to_length [flowgraph] (rpython.memory.gctypelayout:66)GCData.get_varsize [flowgraph] (rpython.memory.gctypelayout:207)_check_valid_type_info_varsize [flowgraph] (rpython.memory.gctransform.shadowstack:93)<lambda> [flowgraph] (rpython.memory.gctransform.framework:1754)setup_root_walker [flowgraph] (rpython.memory.gc.base:295)GCBase._trace_slow_path [flowgraph] (rpython.memory.gctypelayout:77)GCData.q_has_gcptr_in_varsize [flowgraph] (rpython.memory.gc.inspector:44)_append_rpy_referent [flowgraph] (rpython.memory.gctypelayout:139)GCData.q_has_custom_trace [flowgraph] (rpython.memory.gctypelayout:116)GCData.q_varsize_offset_to_variable_part [flowgraph] (rpython.memory.gctypelayout:113)GCData.q_varsize_item_sizes [flowgraph] (rpython.memory.gctypelayout:122)GCData.q_varsize_offsets_to_gcpointers_in_var_part [flowgraph] (rpython.rtyper.lltypesystem.rdict:866)ll_contains [flowgraph] (rpython.memory.lldict:47)dict_keyhash [flowgraph] (rpython.memory.gctransform.framework:596)custom_trace_dispatcher [flowgraph] (rpython.memory.lldict:44)_hash [flowgraph] (rpython.memory.support:10)mangle_hash [flowgraph] (rpython.translator.c.test.test_newgc:451)customtrace [flowgraph] (rpython.memory.gc.base:338)GCBase._trace_callback [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (rpython.memory.lldict:50)dict_entry_valid [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.llarena:365)round_up_for_allocation [flowgraph] (rpython.memory.lldict:59)dict_add [flowgraph] (rpython.rtyper.lltypesystem.rdict:459)ll_dict_setitem [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rdict:544)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rdict:554)_ll_dict_resize_to [flowgraph] (rpython.memory.lldict:40)dict_delete_entries [flowgraph] (rpython.memory.lldict:53)dict_entry_hash [flowgraph] (rpython.memory.gc.semispace:380)SemiSpaceGC._get_object_hash [flowgraph] (rpython.memory.gc.semispace:67)SemiSpaceGC.setup [flowgraph] (rpython.rtyper.lltypesystem.rdict:495)ll_dict_insertclean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.memory.gc.base:506)MovingGCBase.setup [flowgraph] (rpython.rtyper.lltypesystem.rdict:639)ll_dict_lookup_clean [flowgraph] (rpython.memory.gc.base:45)GCBase.setup [flowgraph] (rpython.memory.support:228)AddressDeque.__init__ [flowgraph] (rpython.memory.gc.semispace:672)SemiSpaceGC._compute_current_nursery_hash [flowgraph] (rpython.memory.lldict:56)dict_get [flowgraph] (rpython.memory.gc.semispace:484)SemiSpaceGC.init_gc_object [flowgraph] (rpython.memory.gc.semispace:471)SemiSpaceGC.combine [flowgraph] (rpython.memory.gc.semispace:668)SemiSpaceGC.is_in_nursery [flowgraph] (rpython.rtyper.lltypesystem.rdict:735)ll_get [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rdict:434)ll_get_value [flowgraph] (rpython.memory.support:250)AddressDeque.append [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.support:235)AddressDeque.enlarge [flowgraph] (rpython.memory.gc.base:58)GCBase.post_setup [c5818e6c22fd600] translation-task} ___ ERROR at setup of TestSemiSpaceGC.test_from_objwithfinalizer_to_youngobj ___ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_empty_collect _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_framework_simple ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_framework_safe_pushpop _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_framework_protect_getfield _______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError __________ ERROR at setup of TestSemiSpaceGC.test_framework_varsized ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_framework_using_lists _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_framework_static_roots _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_framework_nongc_static_root ______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_framework_void_array __________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _______ ERROR at setup of TestSemiSpaceGC.test_framework_malloc_failure ________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_framework_array_of_void ________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_framework_opaque ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError __________ ERROR at setup of TestSemiSpaceGC.test_framework_finalizer __________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______________ ERROR at setup of TestSemiSpaceGC.test_del_catches ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______________ ERROR at setup of TestSemiSpaceGC.test_del_raises _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_custom_trace ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_custom_light_finalizer _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________________ ERROR at setup of TestSemiSpaceGC.test_weakref ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_prebuilt_weakref ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_prebuilt_dicts_of_all_sizes ______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_framework_malloc_raw __________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____ ERROR at setup of TestSemiSpaceGC.test_framework_del_seeing_new_types _____ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____ ERROR at setup of TestSemiSpaceGC.test_framework_late_filling_pointers ____ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____________ ERROR at setup of TestSemiSpaceGC.test_zero_raw_malloc ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_object_alignment ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _______________ ERROR at setup of TestSemiSpaceGC.test_void_list _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_open_read_write_seek_close _______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_callback_with_collect _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _______________ ERROR at setup of TestSemiSpaceGC.test_can_move ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_resizable_buffer ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_hash_preservation ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_hash_overflow _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_hash_varsized _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_arraycopy_writebarrier_int _______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_arraycopy_writebarrier_ptr _______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_get_rpy_roots _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_get_rpy_referents ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____________ ERROR at setup of TestSemiSpaceGC.test_is_rpy_instance ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_try_cast_gcref_to_instance _______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_get_rpy_memory_usage __________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError __________ ERROR at setup of TestSemiSpaceGC.test_get_rpy_type_index ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_dump_rpy_heap _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____________ ERROR at setup of TestSemiSpaceGC.test_write_typeids_z ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_gcflag_extra ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_check_zero_works ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_long_chain_of_instances ________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _______________ ERROR at setup of TestSemiSpaceGC.test_many_ids ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_gc_set_max_heap_size __________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_gc_heap_stats _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____________ ERROR at setup of TestSemiSpaceGC.test_string_builder _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____ ERROR at setup of TestSemiSpaceGC.test_string_builder_over_allocation _____ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____ ERROR at setup of TestSemiSpaceGC.test_string_builder_multiple_builds _____ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___ ERROR at setup of TestSemiSpaceGC.test_string_builder_multiple_builds_2 ____ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_nursery_hash_base ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_extra_item_after_alloc _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________________ ERROR at setup of TestSemiSpaceGC.test_rerased ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0xfffc70b9ce90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0xfffc771960d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_finalizer_order ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c5818ee958b9000] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rthread:364)setraw [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.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [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] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [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: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.rlib.rposix:518)lseek [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818ef55f8a580] translation-task} [translation:info] RTyping... [c5818ef55f9c680] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [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__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [rtyper] specializing: 200 / 2777 blocks (7%) [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:588)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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [rtyper] specializing: 400 / 3260 blocks (12%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [rtyper] specializing: 1000 / 5512 blocks (18%) [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [rtyper] specializing: 1300 / 5563 blocks (23%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 1400 / 5581 blocks (25%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 1700 / 5586 blocks (30%) [rtyper] specializing: 2000 / 5586 blocks (35%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 2300 / 5592 blocks (41%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 2600 / 5597 blocks (46%) [rtyper] specializing: 2900 / 5597 blocks (51%) [rtyper] specializing: 3200 / 5597 blocks (57%) [rtyper] specializing: 3500 / 5597 blocks (62%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 3800 / 5605 blocks (67%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 4100 / 5609 blocks (73%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 4400 / 5609 blocks (78%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 4700 / 5609 blocks (83%) [rtyper] specializing: 5000 / 5609 blocks (89%) [rtyper] specializing: 5300 / 5609 blocks (94%) [rtyper] specializing: 5600 / 5609 blocks (99%) [rtyper] -=- specialized 5609 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c5818f1fd79f280] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4150 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5818f1fd7dab80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c5818f227696000] translation-task} [translation:info] Creating database for generating c source... [c5818f2276a6000] {translation-task starting database_c [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 [c5818f228ef0400] translation-task} _ ERROR at setup of TestGenerationalGC.test_from_objwithfinalizer_to_youngobj __ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_empty_collect ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_framework_simple __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_framework_safe_pushpop _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestGenerationalGC.test_framework_protect_getfield _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestGenerationalGC.test_framework_varsized _________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_framework_using_lists ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_framework_static_roots _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestGenerationalGC.test_framework_nongc_static_root _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestGenerationalGC.test_framework_void_array ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestGenerationalGC.test_framework_malloc_failure ______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestGenerationalGC.test_framework_array_of_void _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_framework_opaque __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestGenerationalGC.test_framework_finalizer _________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestGenerationalGC.test_del_catches _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestGenerationalGC.test_del_raises _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestGenerationalGC.test_custom_trace ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_custom_light_finalizer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestGenerationalGC.test_weakref _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_prebuilt_weakref __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestGenerationalGC.test_prebuilt_dicts_of_all_sizes _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestGenerationalGC.test_framework_malloc_raw ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestGenerationalGC.test_framework_del_seeing_new_types ___ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestGenerationalGC.test_framework_late_filling_pointers ___ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_zero_raw_malloc ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_object_alignment __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestGenerationalGC.test_void_list ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestGenerationalGC.test_open_read_write_seek_close _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_callback_with_collect ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestGenerationalGC.test_can_move ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_resizable_buffer __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestGenerationalGC.test_hash_preservation __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_hash_overflow ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_hash_varsized ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestGenerationalGC.test_arraycopy_writebarrier_int _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestGenerationalGC.test_arraycopy_writebarrier_ptr _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_get_rpy_roots ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestGenerationalGC.test_get_rpy_referents __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_is_rpy_instance ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestGenerationalGC.test_try_cast_gcref_to_instance _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestGenerationalGC.test_get_rpy_memory_usage ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestGenerationalGC.test_get_rpy_type_index _________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_dump_rpy_heap ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_write_typeids_z ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestGenerationalGC.test_gcflag_extra ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_check_zero_works __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestGenerationalGC.test_long_chain_of_instances _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestGenerationalGC.test_many_ids ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestGenerationalGC.test_gc_set_max_heap_size ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_gc_heap_stats ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_string_builder ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestGenerationalGC.test_string_builder_over_allocation ___ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestGenerationalGC.test_string_builder_multiple_builds ___ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestGenerationalGC.test_string_builder_multiple_builds_2 __ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestGenerationalGC.test_nursery_hash_base __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_extra_item_after_alloc _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestGenerationalGC.test_rerased _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_finalizer_order ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c5818f60c5ab880] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (?:2)mallocstr [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [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.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [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:278)close [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [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:278)read [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:3)ccall_read [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:518)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [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: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.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818f68049b180] translation-task} [translation:info] RTyping... [c5818f6804ac680] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [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] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [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.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [rtyper] specializing: 200 / 2304 blocks (8%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.rlist:588)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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [rtyper] specializing: 500 / 3162 blocks (15%) [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [rtyper] specializing: 900 / 4135 blocks (21%) [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)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] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:588)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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:504)_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:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [rtyper] specializing: 1400 / 5579 blocks (25%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 1700 / 5586 blocks (30%) [rtyper] specializing: 2000 / 5586 blocks (35%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 2300 / 5592 blocks (41%) [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 2600 / 5594 blocks (46%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 2900 / 5596 blocks (51%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 3200 / 5596 blocks (57%) [rtyper] specializing: 3500 / 5596 blocks (62%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 3800 / 5600 blocks (67%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 4100 / 5609 blocks (73%) [rtyper] specializing: 4400 / 5609 blocks (78%) [rtyper] specializing: 4700 / 5609 blocks (83%) [rtyper] specializing: 5000 / 5609 blocks (89%) [rtyper] specializing: 5300 / 5609 blocks (94%) [rtyper] specializing: 5600 / 5609 blocks (99%) [rtyper] -=- specialized 5609 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c5818f85983b200] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4150 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5818f859872c80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c5818f85c77fb00] translation-task} [translation:info] Creating database for generating c source... [c5818f85c78e380] {translation-task starting database_c [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 [c5818f85deb5200] translation-task} ____ ERROR at setup of TestHybridGC.test_from_objwithfinalizer_to_youngobj _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_empty_collect _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_framework_simple _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_framework_safe_pushpop __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGC.test_framework_protect_getfield ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridGC.test_framework_varsized ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_framework_using_lists ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_framework_static_roots __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGC.test_framework_nongc_static_root ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGC.test_framework_void_array ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridGC.test_framework_malloc_failure _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridGC.test_framework_array_of_void __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_framework_opaque _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGC.test_framework_finalizer ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______________ ERROR at setup of TestHybridGC.test_del_catches ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________________ ERROR at setup of TestHybridGC.test_del_raises ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______________ ERROR at setup of TestHybridGC.test_custom_trace _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_custom_light_finalizer __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________________ ERROR at setup of TestHybridGC.test_weakref __________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_prebuilt_weakref _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGC.test_prebuilt_dicts_of_all_sizes ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGC.test_framework_malloc_raw ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGC.test_framework_del_seeing_new_types ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridGC.test_framework_late_filling_pointers ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_zero_raw_malloc ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_object_alignment _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________________ ERROR at setup of TestHybridGC.test_void_list _________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGC.test_open_read_write_seek_close ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_callback_with_collect ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________________ ERROR at setup of TestHybridGC.test_can_move _________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_resizable_buffer _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridGC.test_hash_preservation _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_hash_overflow _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_hash_varsized _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGC.test_arraycopy_writebarrier_int ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGC.test_arraycopy_writebarrier_ptr ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_get_rpy_roots _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridGC.test_get_rpy_referents _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_is_rpy_instance ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGC.test_try_cast_gcref_to_instance ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGC.test_get_rpy_memory_usage ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridGC.test_get_rpy_type_index ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_dump_rpy_heap _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_write_typeids_z ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______________ ERROR at setup of TestHybridGC.test_gcflag_extra _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_check_zero_works _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridGC.test_long_chain_of_instances __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________________ ERROR at setup of TestHybridGC.test_many_ids _________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_gc_heap_stats _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_string_builder ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGC.test_string_builder_over_allocation ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGC.test_string_builder_multiple_builds ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridGC.test_string_builder_multiple_builds_2 _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridGC.test_nursery_hash_base _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_extra_item_after_alloc __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________________ ERROR at setup of TestHybridGC.test_rerased __________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGC.test_gc_set_max_heap_size ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGCRemoveTypePtr.test_finalizer_order _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c5818fcaa2eb700] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (?:2)mallocstr [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [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.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [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.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [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.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [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:278)close [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [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:518)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [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: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.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818fd76771080] translation-task} [translation:info] RTyping... [c5818fd76782d80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [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.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [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 [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.rlist:588)ll_append [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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [rtyper] specializing: 200 / 2764 blocks (7%) [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [rtyper] specializing: 400 / 2975 blocks (13%) [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [rtyper] specializing: 600 / 3036 blocks (19%) [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:504)_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.rlist:516)_ll_alloc_and_clear [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [rtyper] specializing: 1400 / 5579 blocks (25%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 1700 / 5584 blocks (30%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 2000 / 5591 blocks (35%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 2300 / 5597 blocks (41%) [rtyper] specializing: 2600 / 5597 blocks (46%) [rtyper] specializing: 2900 / 5597 blocks (51%) [rtyper] specializing: 3200 / 5597 blocks (57%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 3500 / 5605 blocks (62%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 3800 / 5607 blocks (67%) [rtyper] specializing: 4100 / 5607 blocks (73%) [rtyper] specializing: 4400 / 5607 blocks (78%) [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 4700 / 5609 blocks (83%) [rtyper] specializing: 5000 / 5609 blocks (89%) [rtyper] specializing: 5300 / 5609 blocks (94%) [rtyper] specializing: 5600 / 5609 blocks (99%) [rtyper] -=- specialized 5609 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c58190040964800] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4150 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5819004099ef80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c58190043570400] translation-task} [translation:info] Creating database for generating c source... [c5819004357fe00] {translation-task starting database_c [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 [c58190044c75d00] translation-task} ERROR at setup of TestHybridGCRemoveTypePtr.test_from_objwithfinalizer_to_youngobj cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_empty_collect ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_simple _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_safe_pushpop ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_protect_getfield __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_varsized ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_using_lists ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_static_roots ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_nongc_static_root _ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_void_array _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_malloc_failure ___ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_array_of_void ___ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_opaque _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_finalizer _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridGCRemoveTypePtr.test_del_catches _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridGCRemoveTypePtr.test_del_raises __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_custom_trace _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_custom_light_finalizer ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGCRemoveTypePtr.test_weakref ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_prebuilt_weakref _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_prebuilt_dicts_of_all_sizes _ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_malloc_raw _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_del_seeing_new_types cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_late_filling_pointers cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGCRemoveTypePtr.test_zero_raw_malloc _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_object_alignment _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGCRemoveTypePtr.test_void_list __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_open_read_write_seek_close __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_callback_with_collect ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGCRemoveTypePtr.test_can_move ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_resizable_buffer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_hash_preservation ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_hash_overflow ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_hash_varsized ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_arraycopy_writebarrier_int __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_arraycopy_writebarrier_ptr __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_get_rpy_roots ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_get_rpy_referents ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGCRemoveTypePtr.test_is_rpy_instance _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_try_cast_gcref_to_instance __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_get_rpy_memory_usage _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridGCRemoveTypePtr.test_get_rpy_type_index ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_dump_rpy_heap ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGCRemoveTypePtr.test_write_typeids_z _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_gcflag_extra _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_check_zero_works _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_long_chain_of_instances ___ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGCRemoveTypePtr.test_many_ids ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_gc_heap_stats ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGCRemoveTypePtr.test_string_builder ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridGCRemoveTypePtr.test_string_builder_over_allocation cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridGCRemoveTypePtr.test_string_builder_multiple_builds cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridGCRemoveTypePtr.test_string_builder_multiple_builds_2 cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_nursery_hash_base ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_extra_item_after_alloc ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGCRemoveTypePtr.test_rerased ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_gc_set_max_heap_size _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_finalizer_order _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c581904b5f19f00] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:1612)f_nongc_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:1644)f_nongc_opaque_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.translator.c.test.test_newgc:1641)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1635)A.__init__ [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_get_digestbyname [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:1609)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1606)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_get_digestbyname [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_new [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_MD_CTX_new [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_DigestInit [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_DigestInit [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_free [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [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] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [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: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.rlib.rposix:518)lseek [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c58190544c13300] translation-task} [translation:info] RTyping... [c58190544c26580] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [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 [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [rtyper] specializing: 100 / 1765 blocks (5%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rlist:588)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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rlib.jit:269)isconstant [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_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [rtyper] specializing: 400 / 3427 blocks (11%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [rtyper] specializing: 600 / 3561 blocks (16%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 1100 / 4818 blocks (22%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [rtyper] specializing: 1500 / 5655 blocks (26%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 1800 / 5660 blocks (31%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 2100 / 5662 blocks (37%) [rtyper] specializing: 2400 / 5662 blocks (42%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 2700 / 5670 blocks (47%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 3000 / 5675 blocks (52%) [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 3300 / 5677 blocks (58%) [rtyper] specializing: 3600 / 5677 blocks (63%) [rtyper] specializing: 3900 / 5677 blocks (68%) [rtyper] specializing: 4200 / 5677 blocks (73%) [rtyper] specializing: 4500 / 5677 blocks (79%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 4800 / 5677 blocks (84%) [rtyper] specializing: 5100 / 5677 blocks (89%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 5400 / 5677 blocks (95%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] -=- specialized 5679 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] specializing: 5700 / 5711 blocks (99%) [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c5819077e90b080] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4150 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5819077e946600] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c581907819f6780] translation-task} [translation:info] Creating database for generating c source... [c58190781a07880] {translation-task starting database_c [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 [c58190783291280] translation-task} ___ ERROR at setup of TestMiniMarkGC.test_from_objwithfinalizer_to_youngobj ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_empty_collect ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_framework_simple ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_framework_safe_pushpop _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGC.test_framework_protect_getfield _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGC.test_framework_varsized ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_framework_using_lists __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_framework_static_roots _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGC.test_framework_nongc_static_root _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_framework_void_array __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGC.test_framework_malloc_failure ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGC.test_framework_array_of_void _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_framework_opaque ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_framework_finalizer ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______________ ERROR at setup of TestMiniMarkGC.test_del_catches _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______________ ERROR at setup of TestMiniMarkGC.test_del_raises _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______________ ERROR at setup of TestMiniMarkGC.test_custom_trace ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_custom_light_finalizer _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________________ ERROR at setup of TestMiniMarkGC.test_weakref _________________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_prebuilt_weakref ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGC.test_prebuilt_dicts_of_all_sizes _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_framework_malloc_raw __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGC.test_framework_del_seeing_new_types _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGC.test_framework_late_filling_pointers _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_zero_raw_malloc _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_object_alignment ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______________ ERROR at setup of TestMiniMarkGC.test_void_list ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGC.test_open_read_write_seek_close _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_callback_with_collect __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________________ ERROR at setup of TestMiniMarkGC.test_can_move ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_resizable_buffer ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGC.test_hash_preservation ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_hash_overflow ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_hash_varsized ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGC.test_arraycopy_writebarrier_int _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGC.test_arraycopy_writebarrier_ptr _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_get_rpy_roots ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGC.test_get_rpy_referents ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_is_rpy_instance _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGC.test_try_cast_gcref_to_instance _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_get_rpy_memory_usage __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGC.test_get_rpy_type_index ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_dump_rpy_heap ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_write_typeids_z _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______________ ERROR at setup of TestMiniMarkGC.test_gcflag_extra ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_check_zero_works ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGC.test_long_chain_of_instances _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________________ ERROR at setup of TestMiniMarkGC.test_many_ids ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_gc_set_max_heap_size __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_string_builder _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGC.test_string_builder_over_allocation _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGC.test_string_builder_multiple_builds _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGC.test_string_builder_multiple_builds_2 ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGC.test_nursery_hash_base ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_extra_item_after_alloc _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________________ ERROR at setup of TestMiniMarkGC.test_rerased _________________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_gc_heap_stats ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_nongc_attached_to_gc __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGC.test_nongc_opaque_attached_to_gc _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_limited_memory _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_finalizer_order _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c58190c76fc8700] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:1734)f_random_pin [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:1884)f_collect_step [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1717)f_total_memory_pressure [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:1925)f_total_gc_time [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1612)f_nongc_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1644)f_nongc_opaque_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:1821)f_ignore_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:1882)X.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.translator.c.test.test_newgc:1814)g [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1949)f_increase_root_stack_depth [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory [flowgraph] (rpython.translator.c.test.test_newgc:1845)f_enable_disable [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory_linux [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:1703)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1700)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1707)B.__init__ [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:1843)X.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.rlib.rgc:745)increase_root_stack_depth [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:1641)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1635)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_get_digestbyname [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.rlib.rgc:36)old_state [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.translator.c.test.test_newgc:1609)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1606)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.translator.c.test.test_newgc:1811)finalizer_trigger [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:1942)g [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.rlib.rgc:39)new_state [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (?:2)mallocstr [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rgc:712)may_ignore_finalizer [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_get_digestbyname [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [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.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_new [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_MD_CTX_new [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rlib.rgc:42)is_done [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_DigestInit [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rlib.rgc:51)is_done__states [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_DigestInit [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_free [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [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:518)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [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: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.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [c58190d76a29480] translation-task} [translation:info] RTyping... [c58190d76a3da80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.rlist:588)ll_append [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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [rtyper] specializing: 200 / 2729 blocks (7%) [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:633)ll_pop_default [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [rtyper] specializing: 500 / 3724 blocks (13%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)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:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.rlist:588)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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [rtyper] specializing: 900 / 4698 blocks (19%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:504)_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:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [rtyper] specializing: 1300 / 5284 blocks (24%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [rtyper] specializing: 1600 / 5865 blocks (27%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 1900 / 5872 blocks (32%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [rtyper] specializing: 2200 / 5876 blocks (37%) [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 2500 / 5882 blocks (42%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 2800 / 5888 blocks (47%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 3100 / 5893 blocks (52%) [rtyper] specializing: 3400 / 5893 blocks (57%) [rtyper] specializing: 3700 / 5893 blocks (62%) [rtyper] specializing: 4000 / 5893 blocks (67%) [rtyper] specializing: 4300 / 5893 blocks (72%) [rtyper] specializing: 4600 / 5893 blocks (78%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 4900 / 5893 blocks (83%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [rtyper] specializing: 5200 / 5893 blocks (88%) [rtyper] specializing: 5500 / 5893 blocks (93%) [rtyper] specializing: 5800 / 5893 blocks (98%) [rtyper] -=- specialized 5893 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] specializing: 5900 / 5925 blocks (99%) [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c581910c64a3480] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4150 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c581910c64dc480] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 17 stack checks. [c581910c9695880] translation-task} [translation:info] Creating database for generating c source... [c581910c96a4700] {translation-task starting database_c [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 [c581910caec9580] translation-task} ERROR at setup of TestIncrementalMiniMarkGC.test_from_objwithfinalizer_to_youngobj cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_empty_collect ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_simple _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_safe_pushpop ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_protect_getfield __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_varsized ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_using_lists ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_static_roots ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_nongc_static_root _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_void_array _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_malloc_failure ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_array_of_void ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_opaque _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_finalizer _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _________ ERROR at setup of TestIncrementalMiniMarkGC.test_del_catches _________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _________ ERROR at setup of TestIncrementalMiniMarkGC.test_del_raises __________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_custom_trace _________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_custom_light_finalizer ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___________ ERROR at setup of TestIncrementalMiniMarkGC.test_weakref ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_prebuilt_weakref _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_prebuilt_dicts_of_all_sizes _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_malloc_raw _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGC.test_framework_del_seeing_new_types cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGC.test_framework_late_filling_pointers cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_zero_raw_malloc _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_object_alignment _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestIncrementalMiniMarkGC.test_void_list __________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_open_read_write_seek_close __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_callback_with_collect ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestIncrementalMiniMarkGC.test_can_move ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_resizable_buffer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_preservation ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_overflow ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_varsized ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_arraycopy_writebarrier_int __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_arraycopy_writebarrier_ptr __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_roots ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_referents ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_is_rpy_instance _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_try_cast_gcref_to_instance __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_memory_usage _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_type_index ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_dump_rpy_heap ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_write_typeids_z _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_gcflag_extra _________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_check_zero_works _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_long_chain_of_instances ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestIncrementalMiniMarkGC.test_many_ids ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_gc_set_max_heap_size _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_over_allocation cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_multiple_builds cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_multiple_builds_2 cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_nursery_hash_base ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_extra_item_after_alloc ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___________ ERROR at setup of TestIncrementalMiniMarkGC.test_rerased ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_gc_heap_stats ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_nongc_attached_to_gc _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_nongc_opaque_attached_to_gc _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_limited_memory ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_total_memory_pressure ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _________ ERROR at setup of TestIncrementalMiniMarkGC.test_random_pin __________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_limited_memory_linux _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_ignore_finalizer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_enable_disable ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_collect_step _________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_total_gc_time ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGC.test_increase_root_stack_depth __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_finalizer_order ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c581916eacb8200] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:1997)f_tagged [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:2030)f_erased [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:1988)fn [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:2017)fn [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:2052)BoxedObject.__init__ [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.translator.c.test.test_newgc:2054)BoxedObject.meth [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rlib.objectmodel:766)UnboxedObject.__init__ [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.translator.c.test.test_newgc:2059)UnboxedObject.meth [flowgraph] (rpython.translator.c.test.test_newgc:2047)TaggedBase.meth [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [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.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [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:518)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [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: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.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c581917b5fe4300] translation-task} [translation:info] RTyping... [c581917b5ff6000] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 100 / 1688 blocks (5%) [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [rtyper] specializing: 200 / 1862 blocks (10%) [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rlist:588)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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rtagged:155)ll_unboxed_getclass [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [rtyper] specializing: 500 / 3266 blocks (15%) [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)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] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [rtyper] specializing: 900 / 4274 blocks (21%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rlib.rerased:196)ll_unerase_int [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 1500 / 5623 blocks (26%) [rtyper] specializing: 1800 / 5623 blocks (32%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 2100 / 5629 blocks (37%) [rtyper] specializing: 2400 / 5629 blocks (42%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 2700 / 5633 blocks (47%) [rtyper] specializing: 3000 / 5633 blocks (53%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 3300 / 5638 blocks (58%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [rtyper] specializing: 3600 / 5638 blocks (63%) [rtyper] specializing: 3900 / 5638 blocks (69%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 4200 / 5642 blocks (74%) [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 4500 / 5646 blocks (79%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 4800 / 5648 blocks (84%) [rtyper] specializing: 5100 / 5648 blocks (90%) [rtyper] specializing: 5400 / 5648 blocks (95%) [rtyper] -=- specialized 5648 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c58191a3c6f0780] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4150 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c58191a3c729000] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c58191a3f572d80] translation-task} [translation:info] Creating database for generating c source... [c58191a3f582380] {translation-task starting database_c [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] specializing: 5700 / 5715 blocks (99%) [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 [c58191a40cc4d80] translation-task} ERROR at setup of TestHybridTaggedPointers.test_from_objwithfinalizer_to_youngobj cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_empty_collect _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_framework_simple _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_framework_safe_pushpop ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridTaggedPointers.test_framework_protect_getfield __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridTaggedPointers.test_framework_varsized ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_framework_using_lists _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_framework_static_roots ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridTaggedPointers.test_framework_nongc_static_root __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridTaggedPointers.test_framework_void_array _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridTaggedPointers.test_framework_malloc_failure ___ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridTaggedPointers.test_framework_array_of_void ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_framework_opaque _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridTaggedPointers.test_framework_finalizer ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridTaggedPointers.test_del_catches __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridTaggedPointers.test_del_raises __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridTaggedPointers.test_custom_trace _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_custom_light_finalizer ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridTaggedPointers.test_weakref ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_prebuilt_weakref _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridTaggedPointers.test_prebuilt_dicts_of_all_sizes __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridTaggedPointers.test_framework_malloc_raw _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridTaggedPointers.test_framework_del_seeing_new_types cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridTaggedPointers.test_framework_late_filling_pointers cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_zero_raw_malloc ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_object_alignment _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridTaggedPointers.test_void_list ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridTaggedPointers.test_open_read_write_seek_close __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_callback_with_collect _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridTaggedPointers.test_can_move ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_resizable_buffer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridTaggedPointers.test_hash_preservation _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_hash_overflow _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_hash_varsized _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridTaggedPointers.test_arraycopy_writebarrier_int __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridTaggedPointers.test_arraycopy_writebarrier_ptr __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_get_rpy_roots _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridTaggedPointers.test_get_rpy_referents _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_is_rpy_instance ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridTaggedPointers.test_try_cast_gcref_to_instance __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridTaggedPointers.test_get_rpy_memory_usage _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridTaggedPointers.test_get_rpy_type_index ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_dump_rpy_heap _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_write_typeids_z ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridTaggedPointers.test_gcflag_extra _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_check_zero_works _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridTaggedPointers.test_long_chain_of_instances ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridTaggedPointers.test_many_ids ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_gc_heap_stats _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_string_builder ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridTaggedPointers.test_string_builder_over_allocation cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridTaggedPointers.test_string_builder_multiple_builds cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridTaggedPointers.test_string_builder_multiple_builds_2 cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridTaggedPointers.test_nursery_hash_base _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_extra_item_after_alloc ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridTaggedPointers.test_rerased ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridTaggedPointers.test_gc_set_max_heap_size _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridTaggedPointers.test_tagged ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridTaggedPointers.test_erased ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_finalizer_order _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c58191f02b0f700] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:1612)f_nongc_attached_to_gc [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:2030)f_erased [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:1644)f_nongc_opaque_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:1997)f_tagged [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.translator.c.test.test_newgc:2017)fn [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1988)fn [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.translator.c.test.test_newgc:2052)BoxedObject.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1641)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1635)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_get_digestbyname [flowgraph] (rpython.translator.c.test.test_newgc:2054)BoxedObject.meth [flowgraph] (rpython.translator.c.test.test_newgc:1609)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1606)A.__init__ [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rlib.objectmodel:766)UnboxedObject.__init__ [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_get_digestbyname [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [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.rgil:171)acquire [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.translator.c.test.test_newgc:2059)UnboxedObject.meth [flowgraph] (rpython.translator.c.test.test_newgc:2047)TaggedBase.meth [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_new [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_MD_CTX_new [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_DigestInit [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_DigestInit [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_free [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [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:278)close [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [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:518)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [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: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.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c58191fa5883680] translation-task} [translation:info] RTyping... [c58191fa5893e00] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [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 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [rtyper] specializing: 100 / 1625 blocks (6%) [flowgraph] (rpython.rtyper.rlist:588)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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rlib.rerased:196)ll_unerase_int [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [rtyper] specializing: 300 / 2520 blocks (11%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.rlist:588)ll_append [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)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [rtyper] specializing: 600 / 3356 blocks (17%) [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:588)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)<lambda> [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] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [rtyper] specializing: 1000 / 4162 blocks (24%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rtagged:155)ll_unboxed_getclass [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [rtyper] specializing: 1500 / 5688 blocks (26%) [rtyper] specializing: 1800 / 5688 blocks (31%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 2100 / 5694 blocks (36%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 2400 / 5699 blocks (42%) [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 2700 / 5701 blocks (47%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 3000 / 5705 blocks (52%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 3300 / 5707 blocks (57%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 3600 / 5711 blocks (63%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 3900 / 5716 blocks (68%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 4200 / 5716 blocks (73%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 4500 / 5718 blocks (78%) [rtyper] specializing: 4800 / 5718 blocks (83%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 5100 / 5718 blocks (89%) [rtyper] specializing: 5400 / 5718 blocks (94%) [rtyper] specializing: 5700 / 5718 blocks (99%) [rtyper] -=- specialized 5718 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c581921bc34ce80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4150 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c581921bc384380] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c581921bf2a6d80] translation-task} [translation:info] Creating database for generating c source... [c581921bf2b5280] {translation-task starting database_c [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 [c581921c0974c00] translation-task} ERROR at setup of TestMiniMarkGCMostCompact.test_from_objwithfinalizer_to_youngobj cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_empty_collect ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_simple _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_safe_pushpop ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_protect_getfield __ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_varsized ______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_using_lists ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_static_roots ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_nongc_static_root _ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_void_array _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_malloc_failure ___ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_array_of_void ___ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_opaque _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_finalizer _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGCMostCompact.test_del_catches _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGCMostCompact.test_del_raises __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_custom_trace _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_custom_light_finalizer ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGCMostCompact.test_weakref ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_prebuilt_weakref _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_prebuilt_dicts_of_all_sizes _ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_malloc_raw _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ERROR at setup of TestMiniMarkGCMostCompact.test_framework_del_seeing_new_types cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ERROR at setup of TestMiniMarkGCMostCompact.test_framework_late_filling_pointers cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_zero_raw_malloc _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_object_alignment _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGCMostCompact.test_void_list __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_open_read_write_seek_close __ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_callback_with_collect ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGCMostCompact.test_can_move ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_resizable_buffer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_preservation ______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_overflow ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_varsized ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_arraycopy_writebarrier_int __ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_arraycopy_writebarrier_ptr __ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_roots ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_referents ______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_is_rpy_instance _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_try_cast_gcref_to_instance __ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_memory_usage _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_type_index ______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_dump_rpy_heap ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_write_typeids_z _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_gcflag_extra _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_check_zero_works _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_long_chain_of_instances ___ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGCMostCompact.test_many_ids ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_gc_set_max_heap_size _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_over_allocation cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_multiple_builds cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_multiple_builds_2 cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_nursery_hash_base ______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_extra_item_after_alloc ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGCMostCompact.test_rerased ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_gc_heap_stats ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_nongc_attached_to_gc _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_nongc_opaque_attached_to_gc _ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_limited_memory ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGCMostCompact.test_tagged ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGCMostCompact.test_erased ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_finalizer_order __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c58192776e12f00] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:2030)f_erased [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:1734)f_random_pin [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:1717)f_total_memory_pressure [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1644)f_nongc_opaque_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:1821)f_ignore_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:1925)f_total_gc_time [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:1884)f_collect_step [flowgraph] (rpython.translator.c.test.test_newgc:1612)f_nongc_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:1997)f_tagged [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:1814)g [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.translator.c.test.test_newgc:1882)X.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.translator.c.test.test_newgc:1988)fn [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:2017)fn [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1641)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1635)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1845)f_enable_disable [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:1949)f_increase_root_stack_depth [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory_linux [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:2052)BoxedObject.__init__ [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.rlib.rgc:36)old_state [flowgraph] (rpython.translator.c.test.test_newgc:1703)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1700)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1707)B.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_get_digestbyname [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:1843)X.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.rlib.rgc:745)increase_root_stack_depth [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:2054)BoxedObject.meth [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.translator.c.test.test_newgc:1609)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1606)A.__init__ [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.translator.c.test.test_newgc:1811)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rlib.rgc:39)new_state [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.translator.c.test.test_newgc:1942)g [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (?:2)mallocstr [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.objectmodel:766)UnboxedObject.__init__ [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rlib.rgc:712)may_ignore_finalizer [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_get_digestbyname [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [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.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rlib.rgc:42)is_done [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.translator.c.test.test_newgc:2059)UnboxedObject.meth [flowgraph] (rpython.translator.c.test.test_newgc:2047)TaggedBase.meth [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:51)is_done__states [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [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.rgc:571)next_dead [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_new [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_MD_CTX_new [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_DigestInit [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_DigestInit [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_free [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [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] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [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.rlib.rposix:518)lseek [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [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.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c581927f611a780] translation-task} [translation:info] RTyping... [c581927f612c280] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [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__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [rtyper] specializing: 200 / 3006 blocks (6%) [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rtagged:155)ll_unboxed_getclass [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [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] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [rtyper] specializing: 500 / 3793 blocks (13%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [rtyper] specializing: 900 / 4878 blocks (18%) [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:588)ll_append [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)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [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] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.rlist:588)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:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [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.rtyper.lltypesystem.llmemory:411)sizeof [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] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rlib.rerased:196)ll_unerase_int [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [rtyper] specializing: 1200 / 5121 blocks (23%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:633)ll_pop_default [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:504)_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] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [rtyper] specializing: 1700 / 5904 blocks (28%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 2000 / 5908 blocks (33%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [rtyper] specializing: 2300 / 5912 blocks (38%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 2600 / 5917 blocks (43%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 2900 / 5921 blocks (48%) [rtyper] specializing: 3200 / 5921 blocks (54%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 3500 / 5923 blocks (59%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 3800 / 5923 blocks (64%) [rtyper] specializing: 4100 / 5923 blocks (69%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [rtyper] specializing: 4400 / 5925 blocks (74%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 4700 / 5927 blocks (79%) [rtyper] specializing: 5000 / 5927 blocks (84%) [rtyper] specializing: 5300 / 5927 blocks (89%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 5600 / 5932 blocks (94%) [rtyper] specializing: 5900 / 5932 blocks (99%) [rtyper] -=- specialized 5932 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c581929a9ec3e80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-4150 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c581929a9efea00] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 17 stack checks. [c581929ad038700] translation-task} [translation:info] Creating database for generating c source... [c581929ad047580] {translation-task starting database_c [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 [c581929ae748800] translation-task} ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_from_objwithfinalizer_to_youngobj cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_empty_collect ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_simple _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_safe_pushpop cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_protect_getfield cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_varsized cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_using_lists cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_static_roots cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_nongc_static_root cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_void_array cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_malloc_failure cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_array_of_void cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_opaque _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_finalizer cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_del_catches ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_del_raises ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_custom_trace ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_custom_light_finalizer cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_weakref ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_prebuilt_weakref _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_prebuilt_dicts_of_all_sizes cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_malloc_raw cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_del_seeing_new_types cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_late_filling_pointers cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_zero_raw_malloc __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_object_alignment _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_void_list _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_open_read_write_seek_close cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_callback_with_collect cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_can_move _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_resizable_buffer _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_preservation _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_overflow ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_varsized ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_arraycopy_writebarrier_int cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_arraycopy_writebarrier_ptr cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_roots ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_referents _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_is_rpy_instance __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_try_cast_gcref_to_instance cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_memory_usage cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_type_index cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_dump_rpy_heap ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_write_typeids_z __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gcflag_extra ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_check_zero_works _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_long_chain_of_instances cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_many_ids _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gc_set_max_heap_size cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_over_allocation cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_multiple_builds cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_multiple_builds_2 cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nursery_hash_base _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_extra_item_after_alloc cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_rerased ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gc_heap_stats ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nongc_attached_to_gc cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nongc_opaque_attached_to_gc cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_limited_memory __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_total_memory_pressure cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_random_pin ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_limited_memory_linux cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_ignore_finalizer _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_enable_disable __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_collect_step ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_total_gc_time ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_increase_root_stack_depth cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_tagged ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_erased ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ========================= 556 error in 664.11 seconds ========================== program finished with exit code 1 elapsedTime=3922.342387