virt_test/bin/python testrunner/runner.py --logfile=testrun.log --config=pypy/testrunner_cfg.py '--config=~/machine_cfg.py' --root=rpython --timeout=4000 in dir /build_dir/rpython-linux-x86-32/build (timeout 4000 secs) watching logfiles {'pytestLog': 'testrun.log'} argv: ['virt_test/bin/python', 'testrunner/runner.py', '--logfile=testrun.log', '--config=pypy/testrunner_cfg.py', '--config=~/machine_cfg.py', '--root=rpython', '--timeout=4000'] environment: AUDITWHEEL_ARCH=i686 AUDITWHEEL_PLAT=manylinux2014_i686 AUDITWHEEL_POLICY=manylinux2014 DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root HOME=/home/buildslave HOSTNAME=ffc60fde56a7 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/lib:/opt/rh/devtoolset-10/root/usr/lib/dyninst 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-x86-32/build PYPYCHERRYPICK= PYPY_LOCALBASE=/usr/local PYPY_MAKE_PORTABLE=1 PYTHONPATH=.: SHELL=/bin/bash SHLVL=3 SSL_CERT_FILE=/opt/_internal/certs.pem TERM=xterm TMPDIR=/build_dir/tmp/pytest USER=buildslave _=/usr/bin/linux32 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 ++ 08:24:45 starting annotator/test [1 started in total] ++ 08:24:45 starting config/test [2 started in total] ++ 08:24:45 starting flowspace/test [3 started in total] ++ 08:24:45 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/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.91 seconds ===================== ++ 08:24:57 starting jit/backend/aarch64/test/test_call.py [5 started in total] __ jit/backend/aarch64/test/test_basic.py [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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:24:57 starting jit/backend/aarch64/test/test_calling_convention.py [6 started in total] __ jit/backend/aarch64/test/test_calling_convention.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:01 starting jit/backend/aarch64/test/test_del.py [7 started in total] __ jit/backend/aarch64/test/test_call.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.74 seconds =========================== ++ 08:25:01 starting jit/backend/aarch64/test/test_dict.py [8 started in total] __ jit/backend/aarch64/test/test_dict.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:04 starting jit/backend/aarch64/test/test_exception.py [9 started in total] __ jit/backend/aarch64/test/test_del.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:04 starting jit/backend/aarch64/test/test_fficall.py [10 started in total] __ jit/backend/aarch64/test/test_exception.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:07 starting jit/backend/aarch64/test/test_float.py [11 started in total] __ jit/backend/aarch64/test/test_fficall.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:07 starting jit/backend/aarch64/test/test_instr_builder.py [12 started in total] __ jit/backend/aarch64/test/test_float.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:11 starting jit/backend/aarch64/test/test_jitlog.py [13 started in total] __ jit/backend/aarch64/test/test_instr_builder.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:11 starting jit/backend/aarch64/test/test_list.py [14 started in total] __ jit/backend/aarch64/test/test_jitlog.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:14 starting jit/backend/aarch64/test/test_llop.py [15 started in total] __ jit/backend/aarch64/test/test_list.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:14 starting jit/backend/aarch64/test/test_loop_unroll.py [16 started in total] __ jit/backend/aarch64/test/test_llop.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:17 starting jit/backend/aarch64/test/test_quasiimmut.py [17 started in total] __ jit/backend/aarch64/test/test_loop_unroll.py [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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:17 starting jit/backend/aarch64/test/test_rawmem.py [18 started in total] __ jit/backend/aarch64/test/test_quasiimmut.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:21 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:21 starting jit/backend/aarch64/test/test_runner.py [20 started in total] __ jit/backend/aarch64/test/test_recursive.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:24 starting jit/backend/aarch64/test/test_rvmprof.py [21 started in total] __ jit/backend/aarch64/test/test_runner.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:24 starting jit/backend/aarch64/test/test_send.py [22 started in total] __ jit/backend/aarch64/test/test_rvmprof.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:27 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:28 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:31 starting jit/backend/aarch64/test/test_tl.py [25 started in total] __ jit/backend/aarch64/test/test_string.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:31 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:33 starting jit/backend/aarch64/test/test_virtual.py [27 started in total] __ jit/backend/aarch64/test/test_tl.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:34 starting jit/backend/aarch64/test/test_virtualizable.py [28 started in total] __ jit/backend/aarch64/test/test_virtual.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:37 starting jit/backend/aarch64/test/test_virtualref.py [29 started in total] __ jit/backend/aarch64/test/test_virtualizable.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:38 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:40 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=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:41 starting jit/backend/aarch64/test/test_zrpy_releasegil.py [32 started in total] __ jit/backend/aarch64/test/test_zrpy_gc_boehm.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:44 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=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:44 starting jit/backend/aarch64/test/test_ztranslation_basic.py [34 started in total] __ config/test [31 done in total, somefailed=False] ___________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/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 10.32 seconds ===================== ++ 08:25:45 starting jit/backend/aarch64/test/test_ztranslation_call_assembler.py [35 started in total] __ jit/backend/aarch64/test/test_zrpy_vmprof.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:47 starting jit/backend/aarch64/test/test_ztranslation_jit_stats.py [36 started in total] __ jit/backend/aarch64/test/test_ztranslation_basic.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:48 starting jit/backend/arm/test [37 started in total] __ jit/backend/aarch64/test/test_ztranslation_call_assembler.py [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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:48 starting jit/backend/llgraph/test [38 started in total] __ jit/backend/arm/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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.01 seconds ========================= ++ 08:25:50 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 08:25:50 starting jit/backend/ppc/test [40 started in total] __ annotator/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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.py rootdir: /build_dir/rpython-linux-x86-32/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, 7 xfailed, 3 xpassed in 57.46 seconds =============== ++ 08:25:51 starting jit/backend/riscv/test [41 started in total] __ jit/backend/ppc/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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 08:25:54 starting jit/backend/test [42 started in total] __ jit/backend/riscv/test [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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 08:25:54 starting jit/backend/x86/test/test_assembler.py [43 started in total] __ jit/backend/llgraph/test [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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/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.................s.....s.........s.....s........ ==================== 140 passed, 16 skipped in 5.90 seconds ==================== ++ 08:25:57 starting jit/backend/x86/test/test_basic.py [44 started in total] __ jit/backend/x86/test/test_assembler.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_assembler.py ... =========================== 3 passed in 0.96 seconds =========================== ++ 08:25:58 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items jit/backend/x86/test/test_call.py ................ ========================== 16 passed in 9.30 seconds =========================== ++ 08:26:13 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items jit/backend/x86/test/test_callbuilder.py .. =========================== 2 passed in 0.12 seconds =========================== ++ 08:26:16 starting jit/backend/x86/test/test_calling_convention.py [47 started in total] __ jit/backend/llsupport/test [44 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/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 ...................... 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 0xf1b310ec> meth = <bound method TestFramework.test_gc_malloc of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xf1b310ec>> 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 0xf1a423cc> meth = <bound method TestFramework.test_gc_malloc_array of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xf1a423cc>> 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 0xf19601cc> meth = <bound method TestFramework.test_gc_malloc_str of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xf19601cc>> 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 0xf1c5402c> meth = <bound method TestFramework.test_gc_malloc_unicode of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xf1c5402c>> 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 0xf1c5b20c> meth = <bound method TestFramework.test_gen_write_barrier of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0xf1c5b20c>> 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 0xf1c4484c> meth = <bound method TestFrameworkMiniMark.test_gc_malloc of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xf1c4484c>> 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 0xf1c3fbac> meth = <bound method TestFrameworkMiniMark.test_gc_malloc_array of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xf1c3fbac>> 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 0xf19daacc> meth = <bound method TestFrameworkMiniMark.test_gc_malloc_str of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xf19daacc>> 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 0xf185922c> meth = <bound method TestFrameworkMiniMark.test_gc_malloc_unicode of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xf185922c>> 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 0xf172f42c> meth = <bound method TestFrameworkMiniMark.test_gen_write_barrier of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0xf172f42c>> 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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, 254 passed, 154 skipped, 10 error in 56.40 seconds ========= ++ 08:26:56 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_del.py ... =========================== 3 passed in 2.84 seconds =========================== ++ 08:27:03 starting jit/backend/x86/test/test_dict.py [49 started in total] __ jit/backend/x86/test/test_calling_convention.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/backend/x86/test/test_calling_convention.py ......s ===================== 6 passed, 1 skipped in 81.47 seconds ===================== ++ 08:27:44 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 32 items jit/backend/x86/test/test_exception.py s............................... ==================== 31 passed, 1 skipped in 19.04 seconds ===================== ++ 08:28:07 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items jit/backend/x86/test/test_fficall.py ............ ========================== 12 passed in 36.10 seconds ========================== ++ 08:28:52 starting jit/backend/x86/test/test_float.py [52 started in total] __ jit/backend/x86/test/test_dict.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items jit/backend/x86/test/test_dict.py .................... ========================= 20 passed in 109.92 seconds ========================== ++ 08:28:59 starting jit/backend/x86/test/test_jitlog.py [53 started in total] __ jit/backend/x86/test/test_float.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items jit/backend/x86/test/test_float.py .......... ========================== 10 passed in 6.78 seconds =========================== ++ 08:29:04 starting jit/backend/x86/test/test_jump.py [54 started in total] __ jit/backend/x86/test/test_basic.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 194 items jit/backend/x86/test/test_basic.py .s...........................................................................................................................................s................s..............s...........s........ =================== 189 passed, 5 skipped in 190.44 seconds ==================== ++ 08:29:12 starting jit/backend/x86/test/test_list.py [55 started in total] __ jit/backend/x86/test/test_jump.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items jit/backend/x86/test/test_jump.py ............ ========================== 12 passed in 15.58 seconds ========================== ++ 08:29:24 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/backend/x86/test/test_llop.py ..... =========================== 5 passed in 6.26 seconds =========================== ++ 08:29:34 starting jit/backend/x86/test/test_longlong.py [57 started in total] __ jit/backend/x86/test/test_list.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items jit/backend/x86/test/test_list.py ...s................... ==================== 22 passed, 1 skipped in 24.21 seconds ===================== ++ 08:29:45 starting jit/backend/x86/test/test_loop_unroll.py [58 started in total] __ jit/backend/x86/test/test_jitlog.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_jitlog.py ... ========================== 3 passed in 44.17 seconds =========================== ++ 08:29:50 starting jit/backend/x86/test/test_quasiimmut.py [59 started in total] __ jit/backend/x86/test/test_longlong.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items jit/backend/x86/test/test_longlong.py .............. ========================== 14 passed in 12.75 seconds ========================== ++ 08:29:51 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/backend/x86/test/test_rawmem.py ....... =========================== 7 passed in 4.56 seconds =========================== ++ 08:30:00 starting jit/backend/x86/test/test_recursive.py [61 started in total] __ jit/backend/x86/test/test_quasiimmut.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items jit/backend/x86/test/test_quasiimmut.py ..............s..... ==================== 19 passed, 1 skipped in 15.07 seconds ===================== ++ 08:30:10 starting jit/backend/x86/test/test_regalloc.py [62 started in total] __ jit/backend/x86/test/test_regalloc.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 19 items jit/backend/x86/test/test_regalloc.py ....s........s.ssss ===================== 13 passed, 6 skipped in 1.63 seconds ===================== ++ 08:30:17 starting jit/backend/x86/test/test_regloc.py [63 started in total] __ jit/backend/x86/test/test_regloc.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items jit/backend/x86/test/test_regloc.py .....ssssssssssssssssssss ===================== 5 passed, 20 skipped in 0.33 seconds ===================== ++ 08:30:22 starting jit/backend/x86/test/test_runner.py [64 started in total] __ jit/backend/x86/test/test_loop_unroll.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/backend/x86/test/test_loop_unroll.py ..............................ss.s... ==================== 34 passed, 3 skipped in 63.17 seconds ===================== ++ 08:30:58 starting jit/backend/x86/test/test_rvmprof.py [65 started in total] __ jit/backend/x86/test/test_rvmprof.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_rvmprof.py ... =========================== 3 passed in 9.54 seconds =========================== ++ 08:31:12 starting jit/backend/x86/test/test_rx86.py [66 started in total] __ jit/backend/x86/test/test_rx86.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 34 items jit/backend/x86/test/test_rx86.py .................................. ========================== 34 passed in 0.14 seconds =========================== ++ 08:31:16 starting jit/backend/x86/test/test_rx86_32_auto_encoding.py [67 started in total] __ jit/backend/x86/test/test_recursive.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 42 items jit/backend/x86/test/test_recursive.py ................s........s..............s. ==================== 39 passed, 3 skipped in 190.92 seconds ==================== ++ 08:33:15 starting jit/backend/x86/test/test_rx86_64_auto_encoding.py [68 started in total] __ jit/backend/x86/test/test_rx86_64_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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.11 seconds =========================== ++ 08:33:21 starting jit/backend/x86/test/test_send.py [69 started in total] __ jit/backend/x86/test/test_send.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items jit/backend/x86/test/test_send.py ....................... ========================== 23 passed in 35.26 seconds ========================== ++ 08:34:05 starting jit/backend/x86/test/test_slist.py [70 started in total] __ jit/backend/x86/test/test_slist.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items jit/backend/x86/test/test_slist.py s..... ===================== 5 passed, 1 skipped in 9.26 seconds ====================== ++ 08:34:19 starting jit/backend/x86/test/test_string.py [71 started in total] __ jit/backend/x86/test/test_runner.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 172 items jit/backend/x86/test/test_runner.py ............................................................................................s...read saved errno: 24 read saved errno: 0 read saved errno: 25 read saved errno: 0 .ss..................................................sssss....s....ss...s... =================== 160 passed, 12 skipped in 384.64 seconds =================== ++ 08:36:51 starting jit/backend/x86/test/test_symbolic_x86.py [72 started in total] __ jit/backend/x86/test/test_symbolic_x86.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items jit/backend/x86/test/test_symbolic_x86.py ...... =========================== 6 passed in 0.05 seconds =========================== ++ 08:36:58 starting jit/backend/x86/test/test_tl.py [73 started in total] __ jit/backend/x86/test/test_string.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 97 items jit/backend/x86/test/test_string.py .............................s............................................s...................... ==================== 95 passed, 2 skipped in 167.51 seconds ==================== ++ 08:37:13 starting jit/backend/x86/test/test_tlc.py [74 started in total] __ jit/backend/x86/test/test_tlc.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_tlc.py ss. ===================== 1 passed, 2 skipped in 12.67 seconds ===================== ++ 08:37:33 starting jit/backend/x86/test/test_tracelimit.py [75 started in total] __ jit/backend/x86/test/test_tl.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/backend/x86/test/test_tl.py ..... ========================== 5 passed in 31.70 seconds =========================== ++ 08:37:36 starting jit/backend/x86/test/test_virtual.py [76 started in total] __ jit/backend/test [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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/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 734.91 seconds ========================== ++ 08:38:17 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 52 items jit/backend/x86/test/test_virtual.py .................................................... ========================== 52 passed in 64.56 seconds ========================== ++ 08:38:49 starting jit/backend/x86/test/test_virtualref.py [78 started in total] __ jit/backend/x86/test/test_virtualref.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items jit/backend/x86/test/test_virtualref.py ..s.................. ==================== 20 passed, 1 skipped in 30.94 seconds ===================== ++ 08:39:27 starting jit/backend/x86/test/test_x86vector.py [79 started in total] __ jit/backend/x86/test/test_x86vector.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.85 seconds =========================== ++ 08:39:34 starting jit/backend/x86/test/test_zmath.py [80 started in total] __ jit/backend/x86/test/test_virtualizable.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/backend/x86/test/test_virtualizable.py s...x................................ =============== 35 passed, 1 skipped, 1 xfailed in 98.73 seconds =============== ++ 08:40:06 starting jit/backend/x86/test/test_zrpy_gc.py [81 started in total] __ jit/backend/x86/test/test_zmath.py [78 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/x86/test/test_zmath.py . ========================== 1 passed in 31.27 seconds =========================== ++ 08:40:12 starting jit/backend/x86/test/test_zrpy_gc_boehm.py [82 started in total] __ jit/backend/x86/test/test_zrpy_gc.py [79 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 19 items jit/backend/x86/test/test_zrpy_gc.py EEEEEEEEEEEEEEEEEEE ==================================== ERRORS ==================================== __________ ERROR at setup of TestShadowStack.test_compile_framework_1 __________ cls = <class 'rpython.jit.backend.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 / 463 blocks (21%) [rtyper] specializing: 400 / 1322 blocks (30%) [rtyper] specializing: 500 / 1322 blocks (37%) [rtyper] specializing: 600 / 1322 blocks (45%) [rtyper] specializing: 700 / 1322 blocks (52%) [rtyper] specializing: 800 / 1322 blocks (60%) [rtyper] specializing: 900 / 1324 blocks (67%) [rtyper] specializing: 1000 / 1324 blocks (75%) [rtyper] specializing: 1100 / 1324 blocks (83%) [rtyper] specializing: 1200 / 1326 blocks (90%) [rtyper] specializing: 1300 / 1326 blocks (98%) [rtyper] -=- specialized 1326 blocks -=- [rtyper] -=- specialized 4 more blocks -=- __________ ERROR at setup of TestShadowStack.test_compile_framework_2 __________ cls = <class 'rpython.jit.backend.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 34.65 seconds =========================== ++ 08:40:50 starting jit/backend/x86/test/test_zrpy_releasegil.py [83 started in total] __ jit/backend/x86/test/test_zrpy_releasegil.py [80 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_zrpy_releasegil.py EEE ==================================== ERRORS ==================================== ________________ ERROR at setup of TestShadowStack.test_simple _________________ cls = <class 'rpython.jit.backend.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 / 930 blocks (10%) [rtyper] specializing: 200 / 1172 blocks (17%) [rtyper] specializing: 300 / 1217 blocks (24%) [rtyper] specializing: 400 / 1221 blocks (32%) [rtyper] specializing: 500 / 1221 blocks (40%) [rtyper] specializing: 600 / 1221 blocks (49%) [rtyper] specializing: 700 / 1221 blocks (57%) [rtyper] specializing: 800 / 1221 blocks (65%) [rtyper] specializing: 900 / 1221 blocks (73%) [rtyper] specializing: 1000 / 1221 blocks (81%) [rtyper] specializing: 1100 / 1221 blocks (90%) [rtyper] specializing: 1200 / 1221 blocks (98%) [rtyper] -=- specialized 1221 blocks -=- [rtyper] -=- specialized 4 more blocks -=- ______________ ERROR at setup of TestShadowStack.test_close_stack ______________ cls = <class 'rpython.jit.backend.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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.x86.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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 12.02 seconds =========================== ++ 08:41:10 starting jit/backend/x86/test/test_zrpy_vecopt.py [84 started in total] __ jit/backend/x86/test/test_tracelimit.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/backend/x86/test/test_tracelimit.py ..... ========================== 5 passed in 264.09 seconds ========================== ++ 08:42:08 starting jit/backend/x86/test/test_zrpy_vmprof.py [85 started in total] __ jit/backend/x86/test/test_zrpy_vmprof.py [82 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/x86/test/test_zrpy_vmprof.py F =================================== FAILURES =================================== ___________________________ TestZVMprof.test_vmprof ____________________________ self = <rpython.jit.backend.x86.test.test_zrpy_vmprof.TestZVMprof object at 0xf592f7ac> 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/x86/runner.py:147: in __init__ super(CPU386, self).__init__(*args, **kwargs) jit/backend/x86/runner.py:43: 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-x86-32/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/build/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 / 453 blocks (22%) [rtyper] specializing: 200 / 455 blocks (43%) [rtyper] specializing: 300 / 469 blocks (63%) [rtyper] specializing: 400 / 719 blocks (55%) [rtyper] specializing: 500 / 723 blocks (69%) [rtyper] specializing: 600 / 728 blocks (82%) [rtyper] specializing: 700 / 728 blocks (96%) [rtyper] -=- specialized 728 blocks -=- [rtyper] -=- specialized 4 more blocks -=- =========================== short test summary info ============================ FAIL jit/backend/x86/test/test_zrpy_vmprof.py::TestZVMprof::()::test_vmprof =========================== 1 failed in 5.18 seconds =========================== ++ 08:42:18 starting jit/backend/x86/test/test_ztranslation_basic.py [86 started in total] __ jit/backend/x86/test/test_rx86_32_auto_encoding.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 615 items jit/backend/x86/test/test_rx86_32_auto_encoding.py ..................................................s...................................................................................s..s....................................................................................................................s........................................................................................................................................................................................................................................................................................................................................................................ =================== 611 passed, 4 skipped in 672.41 seconds ==================== ++ 08:42:34 starting jit/backend/x86/test/test_ztranslation_call_assembler.py [87 started in total] __ jit/backend/x86/test/test_zrpy_vecopt.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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/x86/test/test_zrpy_vecopt.py . ========================== 1 passed in 524.77 seconds ========================== ++ 08:50:04 starting jit/backend/x86/test/test_ztranslation_external_exception.py [88 started in total] __ jit/backend/x86/test/test_ztranslation_external_exception.py [85 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-x86-32/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-32/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-32/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/x86/test/test_ztranslation_external_exception.py F =================================== FAILURES =================================== _ TestTranslationRemoveTypePtrX86.test_external_exception_handling_translates __ self = <rpython.jit.backend.x86.test.test_ztranslation_external_exception.TestTranslationRemoveTypePtrX86 object at 0xf5981b0c> def test_external_exception_handling_translates(self): jitdriver = JitDriver(greens = [], reds = ['n', 'total']) class ImDone(Exception): def __init__(self, resvalue): self.resvalue = resvalue @dont_look_inside def f(x, total): if x <= 30: raise ImDone(total * 10) if x > 200: return 2 raise ValueError @dont_look_inside def g(x): if x > 150: raise ValueError return 2 class Base: def meth(self): return 2 class Sub(Base): def meth(self): return 1 @dont_look_inside def h(x): if x < 20000: return Sub() else: return Base() def myportal(i): set_param(jitdriver, "threshold", 3) set_param(jitdriver, "trace_eagerness", 2) total = 0 n = i while True: jitdriver.can_enter_jit(n=n, total=total) jitdriver.jit_merge_point(n=n, total=total) try: total += f(n, total) except ValueError: total += 1 try: total += g(n) except ValueError: total -= 1 n -= h(n).meth() # this is to force a GUARD_CLASS def main(i): try: myportal(i) except ImDone as e: return e.resvalue # XXX custom fishing, depends on the exact env var and format logfile = udir.join('test_ztranslation.log') os.environ['PYPYLOG'] = 'jit-log-opt:%s' % (logfile,) try: > res = self.meta_interp(main, [400]) jit/backend/llsupport/test/ztranslation_test.py:334: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/test/support.py:63: in meta_interp **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, command interrupted, attempting to kill process killed by signal 9 program finished with exit code -1 elapsedTime=1611.810330