virt_test\Scripts\python.exe testrunner/runner.py --logfile=testrun.log --config=pypy/testrunner_cfg.py --config=~/machine_cfg.py --root=pypy --timeout=4000 in dir d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build (timeout 4000 secs) watching logfiles {'pytestLog': 'testrun.log'} argv: ['virt_test\\Scripts\\python.exe', 'testrunner/runner.py', '--logfile=testrun.log', '--config=pypy/testrunner_cfg.py', '--config=~/machine_cfg.py', '--root=pypy', '--timeout=4000'] environment: ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\matti\AppData\Roaming ASL.LOG=Destination=file CHOCOLATEYINSTALL=C:\ProgramData\chocolatey CHOCOLATEYLASTPATHUPDATE=133185086718935289 CHOCOLATEYTOOLSLOCATION=C:\tools CLINK_DIR=C:\Program Files (x86)\clink\0.4.9 COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files COMMONPROGRAMW6432=C:\Program Files\Common Files COMPUTERNAME=DESKTOP-RYZEN COMSPEC=C:\WINDOWS\system32\cmd.exe CONDA_BAT=d:\miniconda\condabin\conda.bat CONDA_EXE=d:\miniconda\Scripts\conda.exe CONDA_SHLVL=0 CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7 CUDA_PATH_V11_7=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7 DRIVERDATA=C:\Windows\System32\Drivers\DriverData LOCALAPPDATA=C:\Users\matti\AppData\Local NUMBER_OF_PROCESSORS=2 NVTOOLSEXT_PATH=C:\Program Files\NVIDIA Corporation\NvToolsExt\ OS=Windows_NT PATH=d:\CPython27\lib\site-packages\pywin32_system32;d:\pypy_stuff\pypy\externals\bin;D:\CPython27;D:\pypy_stuff\pypy2.7-v7.3.18\Scripts;D:\pypy_stuff\pypy2.7-v7.3.18;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseHg\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\WINDOWS\System32\OpenSSH PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=x86 PROCESSOR_ARCHITEW6432=AMD64 PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD PROCESSOR_LEVEL=23 PROCESSOR_REVISION=7100 PROGRAMDATA=C:\ProgramData PROGRAMFILES=C:\Program Files (x86) PROGRAMFILES(X86)=C:\Program Files (x86) PROGRAMW6432=C:\Program Files PROMPT=$P$G PSMODULEPATH=%ProgramFiles%\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public PWD=d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build PYPYCHERRYPICK= PYPY_ENABLE_WINCONSOLEIO=1 PYTEST_XDIST_AUTO_NUM_WORKERS=4 PYTHONPATH=.; RTOOLS40_HOME=C:\rtools40 RTOOLS43_HOME=C:\rtools43 RTOOLS44_HOME=C:\rtools44 SYSTEMDRIVE=C: SYSTEMROOT=C:\WINDOWS TEMP=D:\SystemTemp TMP=D:\SystemTemp TMPDIR=d:\systemtemp\pytest USERDOMAIN=DESKTOP-RYZEN USERNAME=matti USERPROFILE=C:\Users\matti VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ WINDIR=C:\WINDOWS using PTY: False using config pypy/testrunner_cfg.py using config C:\Users\matti/machine_cfg.py running 4 parallel test workers setting MAKEFLAGS to ' ' (space) -- config/test -- interpreter/astcompiler/test -- interpreter/pyparser/test -- interpreter/test -- module/__builtin__/test -- module/__pypy__/test -- module/_abc/test -- module/_ast/test -- module/_cffi_backend/test -- module/_codecs/test -- module/_collections/test -- module/_continuation/test -- module/_cppyy/test -- module/_csv/test -- module/_demo/test -- module/_hpy_universal/test/_vendored -- module/_hpy_universal/test/pypy -- module/_io/test -- module/_jitlog/test -- module/_locale/test -- module/_lsprof/test -- module/_md5/test -- module/_minimal_curses/test -- module/_multibytecodec/test -- module/_multiprocessing/test -- module/_opcode/test -- module/_pickle/test -- module/_pickle_support/test -- module/_posixsubprocess/test -- module/_pypyjson/test -- module/_random/test -- module/_rawffi/alt/test -- module/_rawffi/test -- module/_socket/test -- module/_sre/test -- module/_vmprof/test -- module/_warnings/test -- module/_weakref/test -- module/_winreg/test -- module/array/test -- module/atexit/test -- module/binascii/test -- module/bz2/test -- module/cmath/test -- module/cpyext/test/test_api.py -- module/cpyext/test/test_arraymodule.py -- module/cpyext/test/test_async_iter.py -- module/cpyext/test/test_boolobject.py -- module/cpyext/test/test_borrow.py -- module/cpyext/test/test_buffer.py -- module/cpyext/test/test_bytearrayobject.py -- module/cpyext/test/test_bytesobject.py -- module/cpyext/test/test_capsule.py -- module/cpyext/test/test_cell.py -- module/cpyext/test/test_classobject.py -- module/cpyext/test/test_codecs.py -- module/cpyext/test/test_complexobject.py -- module/cpyext/test/test_contextvars.py -- module/cpyext/test/test_cpyext.py -- module/cpyext/test/test_datetime.py -- module/cpyext/test/test_dictobject.py -- module/cpyext/test/test_eval.py -- module/cpyext/test/test_exception.py -- module/cpyext/test/test_fileobject.py -- module/cpyext/test/test_floatobject.py -- module/cpyext/test/test_frameobject.py -- module/cpyext/test/test_funcobject.py -- module/cpyext/test/test_genobject.py -- module/cpyext/test/test_getargs.py -- module/cpyext/test/test_import.py -- module/cpyext/test/test_iterator.py -- module/cpyext/test/test_listobject.py -- module/cpyext/test/test_longobject.py -- module/cpyext/test/test_mapping.py -- module/cpyext/test/test_marshal.py -- module/cpyext/test/test_memoryobject.py -- module/cpyext/test/test_methodobject.py -- module/cpyext/test/test_misc.py -- module/cpyext/test/test_module.py -- module/cpyext/test/test_namespaceobject.py -- module/cpyext/test/test_ndarrayobject.py -- module/cpyext/test/test_number.py -- module/cpyext/test/test_object.py -- module/cpyext/test/test_pyerrors.py -- module/cpyext/test/test_pyfile.py -- module/cpyext/test/test_pymem.py -- module/cpyext/test/test_pysignals.py -- module/cpyext/test/test_pystate.py -- module/cpyext/test/test_pystrhex.py -- module/cpyext/test/test_pystrtod.py -- module/cpyext/test/test_sequence.py -- module/cpyext/test/test_setobject.py -- module/cpyext/test/test_sliceobject.py -- module/cpyext/test/test_structseq.py -- module/cpyext/test/test_sysmodule.py -- module/cpyext/test/test_thread.py -- module/cpyext/test/test_traceback.py -- module/cpyext/test/test_translate.py -- module/cpyext/test/test_tupleobject.py -- module/cpyext/test/test_typeobject.py -- module/cpyext/test/test_unicodeobject.py -- module/cpyext/test/test_userslots.py -- module/cpyext/test/test_version.py -- module/cpyext/test/test_weakref.py -- module/crypt/test -- module/errno/test -- module/exceptions/test -- module/faulthandler/test -- module/fcntl/test -- module/gc/test -- module/imp/test -- module/itertools/test -- module/marshal/test -- module/math/test -- module/micronumpy/test -- module/mmap/test -- module/operator/test -- module/posix/test -- module/pwd/test -- module/pyexpat/test -- module/pypyjit/test -- module/select/test -- module/signal/test -- module/struct/test -- module/sys/test -- module/termios/test -- module/test_lib_pypy -- module/thread/test -- module/time/test -- module/token/test -- module/unicodedata/test -- module/zipimport/test -- module/zlib/test -- objspace/fake/test -- objspace/std/test -- objspace/test -- sandbox/test -- tool/bench/test -- tool/memusage/test -- tool/pytest/fake_pytest/test -- tool/pytest/test -- tool/release/test -- tool/test -- total: 143 to run ++ 00:26:07 starting config/test [1 started in total] ++ 00:26:07 starting interpreter/astcompiler/test [2 started in total] ++ 00:26:07 starting interpreter/pyparser/test [3 started in total] ++ 00:26:07 starting interpreter/test [4 started in total] __ config/test [1 done in total, somefailed=False] ____________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.py rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 161 items / 1 skipped config\test\test_pypyoption.py ................................................................................................................................................................. =================== 161 passed, 1 skipped in 175.49 seconds =================== ++ 00:29:10 starting module/__builtin__/test [5 started in total] __ interpreter/pyparser/test [2 done in total, somefailed=False] ______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 192 items interpreter\pyparser\test\apptest_parsestring.py ...... interpreter\pyparser\test\test_automata.py ... interpreter\pyparser\test\test_future.py ................................... interpreter\pyparser\test\test_gendfa.py . interpreter\pyparser\test\test_parsestring.py ............ interpreter\pyparser\test\test_pyparse.py ......................................................................................................... interpreter\pyparser\test\test_pytokenizer.py .............................. ======================== 192 passed in 476.52 seconds ========================= ++ 00:34:09 starting module/__pypy__/test [6 started in total] __ module/__builtin__/test [3 done in total, somefailed=False] ________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 319 items module\__builtin__\test\apptest_compile.py ..................... module\__builtin__\test\apptest_descriptor.py ..... module\__builtin__\test\apptest_operator.py ... module\__builtin__\test\apptest_print.py ... module\__builtin__\test\test_abstractinst.py ..........s.. module\__builtin__\test\test_breakpoint.py ........ module\__builtin__\test\test_builtin.py ....................................................................... module\__builtin__\test\test_compile.py .. module\__builtin__\test\test_construct_singletons.py . module\__builtin__\test\test_descriptor.py ................................... module\__builtin__\test\test_dir.py ........... module\__builtin__\test\test_filter.py ........ module\__builtin__\test\test_filter_pickle.py ..... module\__builtin__\test\test_format.py . module\__builtin__\test\test_functional.py ........................................................................................ module\__builtin__\test\test_map_pickle.py ... module\__builtin__\test\test_minmax.py ....................... module\__builtin__\test\test_rawinput.py .. module\__builtin__\test\test_sum.py . module\__builtin__\test\test_vars.py ... module\__builtin__\test\test_zip.py ........... module\__builtin__\test\test_zip_pickle.py . =================== 318 passed, 1 skipped in 380.76 seconds =================== ++ 00:35:38 starting module/_abc/test [7 started in total] __ interpreter/astcompiler/test [4 done in total, somefailed=False] ___________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1512 items interpreter\astcompiler\test\apptest_compiler.py ...... interpreter\astcompiler\test\apptest_exceptiongroup.py ......................... interpreter\astcompiler\test\apptest_misc.py ............... interpreter\astcompiler\test\apptest_patma.py ......................................... interpreter\astcompiler\test\test_assemble.py ....................... interpreter\astcompiler\test\test_ast.py ............ interpreter\astcompiler\test\test_astbuilder.py ................................................................................................................. interpreter\astcompiler\test\test_compiler.py ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. interpreter\astcompiler\test\test_misc.py ............... interpreter\astcompiler\test\test_symtable.py ........................................ interpreter\astcompiler\test\test_unparse.py ................................ interpreter\astcompiler\test\test_validate.py ..................................................... ======================== 1512 passed in 596.27 seconds ======================== ++ 00:36:06 starting module/_ast/test [8 started in total] __ module/_abc/test [5 done in total, somefailed=False] _______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 6 items module\_abc\test\apptest_abc.py ... module\_abc\test\test_abc.py ... ========================= 6 passed in 195.98 seconds ========================== ++ 00:38:58 starting module/_cffi_backend/test [9 started in total] __ interpreter/test [6 done in total, somefailed=True] ________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1342 items interpreter\test\apptest_annotations.py .......................... interpreter\test\apptest_annotations_string.py ...... interpreter\test\apptest_buffer.py ..... interpreter\test\apptest_class.py ................ interpreter\test\apptest_coroutine.py ..................................................... interpreter\test\apptest_descrtypecheck.py .. interpreter\test\apptest_exceptions.py .......................... interpreter\test\apptest_exctable_dis.py ......... interpreter\test\apptest_exec.py ......................... interpreter\test\apptest_extcall.py ..... interpreter\test\apptest_function.py .....................................s..................................................... interpreter\test\apptest_generator.py ................................................................... interpreter\test\apptest_nestedscope.py .................. interpreter\test\apptest_pycode.py .... interpreter\test\apptest_pyframe.py ................................................................ interpreter\test\apptest_raise.py ..................................................... interpreter\test\apptest_settrace_jump.py . interpreter\test\apptest_sys_settrace.py .............................................................................................................................................. interpreter\test\apptest_traceback.py ......F. interpreter\test\apptest_unraisable.py .... interpreter\test\apptest_with_leak.py ......... interpreter\test\test_app_main.py ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssF.. interpreter\test\test_appinterp.py ............. interpreter\test\test_argument.py .............................................. interpreter\test\test_buffer.py ... interpreter\test\test_cellfamily.py ....... interpreter\test\test_code.py ............ interpreter\test\test_compiler.py ............................................................................................................. interpreter\test\test_error.py .............. interpreter\test\test_exceptcomp.py ......... interpreter\test\test_executioncontext.py ................ interpreter\test\test_extmodules.py . interpreter\test\test_fsencode.py F.. interpreter\test\test_function.py ............. interpreter\test\test_gateway.py .........................................ss......................... interpreter\test\test_generator.py . interpreter\test\test_interpreter.py ................................................. interpreter\test\test_location.py .......... interpreter\test\test_main.py ..... interpreter\test\test_mixedmodule.py ...... interpreter\test\test_module.py ....................... interpreter\test\test_objspace.py ............................................ interpreter\test\test_pycode.py .. interpreter\test\test_pyframe.py ................................ interpreter\test\test_reverse_debugging.py .. interpreter\test\test_special.py ... interpreter\test\test_syntax.py ......................................................... interpreter\test\test_targetpypy.py .. interpreter\test\test_typedef.py ................... interpreter\test\test_unicodehelper.py .......... interpreter\test\test_zpy.py ssssssss interpreter\test\test_zzpickle_and_slow.py s.....s..s..sss........ss...s. ================================== FAILURES =================================== __________________________ test_colors_in_traceback ___________________________ def test_colors_in_traceback(): import os def division_by_zero(a, b): return ( a + b / 0 # abc ) old_value = os.environ.get('FORCE_COLOR', None) os.environ['FORCE_COLOR'] = '1' try: from _colorize import can_colorize, ANSIColors > assert can_colorize() E (application-level) AssertionError: assert False E + where False = <function can_colorize at 0x0000022bca287d38>() interpreter\test\apptest_traceback.py:177: AssertionError __________________ AppTestAppMain.test_setup_bootstrap_path ___________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000022bc61ae3d8> def test_setup_bootstrap_path(self): # Check how sys.path is handled depending on if we can find a copy of # the stdlib in setup_bootstrap_path. import sys, os old_sys_path = sys.path[:] old_cwd = os.getcwd() # make sure cwd does not contain a stdlib if self.tmp_dir.startswith(self.trunkdir): skip('TMPDIR is inside the PyPy source') sys.path.append(self.goal_dir) tmp_pypy_c = os.path.join(self.tmp_dir, 'pypy3-c') try: os.chdir(self.tmp_dir) # If we are running PyPy with a libpypy3-c, the following # lines find the stdlib anyway. Otherwise, it is not found. expected_found = ( getattr(sys, 'pypy_translation_info', {}) .get('translation.shared')) import app_main app_main.setup_bootstrap_path(tmp_pypy_c) if not sys.platform == 'win32': assert sys.executable == '' if not expected_found: assert sys.path == old_sys_path + [self.goal_dir] app_main.setup_bootstrap_path(self.fake_exe) if not sys.platform == 'win32': # an existing file is always 'executable' on windows assert sys.executable == '' # not executable! if not expected_found: assert sys.path == old_sys_path + [self.goal_dir] os.chmod(self.fake_exe, 0o755) app_main.setup_bootstrap_path(self.fake_exe) > assert sys.executable == self.fake_exe E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\interpreter\test\test_app_main.py:1319]:38: AssertionError _____________________ TestFSEncode.test_fsencode_fsdecode _____________________ self = <pypy.interpreter.test.test_fsencode.TestFSEncode instance at 0x0000022be02790e0> def test_fsencode_fsdecode(self): space = self.space strs = [u"/home/bar/baz", u"c:\\"] if self.special_char: strs.append(self.special_char) for st in strs: # check roundtrip w_st = space.newtext(st.encode('utf8'), len(st)) w_enc = space.fsencode(w_st) w_st2 = space.fsdecode(w_enc) assert space.eq_w(w_st, w_st2) > assert space.fsdecode_w(w_enc) == st E assert '\xc3\xa4' == u'\xe4' E - \xc3\xa4 E + \xe4 interpreter\test\test_fsencode.py:77: AssertionError ---------------------------- Captured stderr call ----------------------------- d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\interpreter\test\test_fsencode.py:77: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal assert space.fsdecode_w(w_enc) == st d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\interpreter\test\test_fsencode.py:1: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal import sys =========================== short test summary info =========================== FAIL interpreter\test\apptest_traceback.py::test_colors_in_traceback FAIL interpreter\test\test_app_main.py::AppTestAppMain::()::test_setup_bootstrap_path FAIL interpreter\test\test_fsencode.py::TestFSEncode::()::test_fsencode_fsdecode ============ 3 failed, 1231 passed, 108 skipped in 816.09 seconds ============= ++ 00:39:46 starting module/_codecs/test [10 started in total] __ module/_ast/test [7 done in total, somefailed=False] _______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 55 items module\_ast\test\apptest_ast.py ... module\_ast\test\test_ast.py .................................................... ========================= 55 passed in 247.72 seconds ========================= ++ 00:40:17 starting module/_collections/test [11 started in total] __ module/__pypy__/test [8 done in total, somefailed=True] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 81 items module\__pypy__\test\apptest_picklebuffer.py ...... module\__pypy__\test\test_builders.py ..... module\__pypy__\test\test_bytebuffer.py ... module\__pypy__\test\test_debug.py ...F... module\__pypy__\test\test_identitydict.py ...... module\__pypy__\test\test_intop.py ........... module\__pypy__\test\test_locals2fast.py ..... module\__pypy__\test\test_magic.py .......... module\__pypy__\test\test_newmemoryview.py ........ module\__pypy__\test\test_os.py F module\__pypy__\test\test_signal.py ..sss module\__pypy__\test\test_special.py ............s. ================================== FAILURES =================================== ___________________ AppTestDebug.test_debug_read_timestamp ____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000024b789bfd70> def test_debug_read_timestamp(self): from __pypy__ import debug_read_timestamp a = debug_read_timestamp() b = debug_read_timestamp() > assert b > a E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\__pypy__\test\test_debug.py:52]:5: AssertionError _________________________ AppTestOs.test_real_getenv __________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000024b7915e4b8> def test_real_getenv(self): import __pypy__.os import os key = 'UNLIKELY_SET' assert key not in os.environ os.putenv(key, '42') # this one skips Python cache > assert __pypy__.os.real_getenv(key) == '42' E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\__pypy__\test\test_os.py:4]:9: AssertionError =========================== short test summary info =========================== FAIL module\__pypy__\test\test_debug.py::AppTestDebug::()::test_debug_read_timestamp FAIL module\__pypy__\test\test_os.py::AppTestOs::()::test_real_getenv ============== 2 failed, 75 passed, 4 skipped in 374.10 seconds =============== ++ 00:40:32 starting module/_continuation/test [12 started in total] __ module/_collections/test [9 done in total, somefailed=False] _______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 66 items module\_collections\test\apptest_defaultdict.py .............. module\_collections\test\apptest_deque.py .......................................... module\_collections\test\apptest_ordereddict.py .......... ========================= 66 passed in 150.30 seconds ========================= ++ 00:42:52 starting module/_cppyy/test [13 started in total] __ module/_cppyy/test [10 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ======================== no tests ran in 0.02 seconds ========================= ++ 00:42:55 starting module/_csv/test [14 started in total] __ module/_continuation/test [11 done in total, somefailed=False] _____________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 32 items / 3 skipped module\_continuation\test\test_generator.py ssss module\_continuation\test\test_greenlet.py s.ssssss.sssssssssssssss.sss =================== 3 passed, 32 skipped in 204.05 seconds ==================== ++ 00:43:59 starting module/_demo/test [15 started in total] __ module/_codecs/test [12 done in total, somefailed=True] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 98 items module\_codecs\test\apptest_codecs.py .. module\_codecs\test\test_codecs.py ...........................................................................F......s...... module\_codecs\test\test_locale.py FFF... module\_codecs\test\test_ztranslation.py . ================================== FAILURES =================================== _____________________ AppTestPartialEvaluation.test_mbcs ______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000200ac19e7c8> def test_mbcs(self): import sys if sys.platform != 'win32': return # sanity test from _codecs import mbcs_encode, mbcs_decode toencode = u'caf\xe9', 'caf\xe9' try: # test for non-latin1 codepage, more general test needed import winreg key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'System\CurrentControlSet\Control\Nls\CodePage') if winreg.QueryValueEx(key, 'ACP')[0] == u'1255': # non-latin1 toencode = u'caf\xbf',b'caf\xbf' except: assert False, 'cannot test mbcs on this windows system, check code page' assert u'test'.encode('mbcs') == b'test' > assert toencode[0].encode('mbcs') == toencode[1] E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_codecs\test\test_codecs.py:1380]:19: AssertionError _____________________ TestLocaleCodec.test_encode_locale ______________________ self = <pypy.module._codecs.test.test_locale.TestLocaleCodec object at 0x00000200a3320c60> def test_encode_locale(self): self.setlocale("en_US.UTF-8") for locale_encoder in (utf8_encode_locale_surrogateescape, utf8_encode_locale_strict): for val in u'foo', u' 日本', u'\U0001320C': utf8 = val.encode('utf-8') encoded = locale_encoder(utf8, len(val)) > assert encoded.decode('utf8') == val E assert u'\u320c' == u'\U0001320c' E - \u320c E + \U0001320c module\_codecs\test\test_locale.py:45: AssertionError _______________ TestLocaleCodec.test_encode_locale_errorhandler _______________ self = <pypy.module._codecs.test.test_locale.TestLocaleCodec object at 0x00000200a2c5c0c8> def test_encode_locale_errorhandler(self): self.setlocale("en_US.UTF-8") locale_encoder = utf8_encode_locale_surrogateescape utf8_encoder = self.getencoder('utf-8') encode_error_handler = self.getstate().encode_error_handler for val in u'foo\udc80bar', u'\udcff\U0001320C': s = val.encode('utf8') w_s = self.space.newtext(s) expected = utf8_encoder(self.space, s, w_s, 'surrogateescape', encode_error_handler) utf8 = val.encode('utf-8') > assert locale_encoder(utf8, len(val)) == expected E assert '\xff\xe3\x88\x8c' == '\xff\xf0\x93\x88\x8c' E - \xff\xe3\x88\x8c E ? ^ E + \xff\xf0\x93\x88\x8c E ? ^^^^^ module\_codecs\test\test_locale.py:58: AssertionError _____________________ TestLocaleCodec.test_decode_locale ______________________ self = <pypy.module._codecs.test.test_locale.TestLocaleCodec object at 0x00000200a4326f70> def test_decode_locale(self): self.setlocale("en_US.UTF-8") utf8_decoder = self.getdecoder('utf-8') for locale_decoder in (str_decode_locale_surrogateescape, str_decode_locale_strict): for val in 'foo', ' \xe6\x97\xa5\xe6\x9c\xac', '\xf0\x93\x88\x8c': w_s = self.space.newbytes(val) assert (locale_decoder(val) == utf8_decoder(self.space, val, w_s, 'strict', > True, None)[:2]) E assert ('\xef\xbf\xbd', 1) == ('\xf0\x93\x88\x8c', 1) E At index 0 diff: '\xef\xbf\xbd' != '\xf0\x93\x88\x8c' E Use -v to get the full diff module\_codecs\test\test_locale.py:69: AssertionError =========================== short test summary info =========================== FAIL module\_codecs\test\test_codecs.py::AppTestPartialEvaluation::()::test_mbcs FAIL module\_codecs\test\test_locale.py::TestLocaleCodec::()::test_encode_locale FAIL module\_codecs\test\test_locale.py::TestLocaleCodec::()::test_encode_locale_errorhandler FAIL module\_codecs\test\test_locale.py::TestLocaleCodec::()::test_decode_locale ============== 4 failed, 93 passed, 1 skipped in 270.08 seconds =============== ++ 00:44:19 starting module/_hpy_universal/test/_vendored [16 started in total] __ module/_demo/test [13 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\_demo\test\test_import.py .. module\_demo\test\test_sieve.py . ========================== 3 passed in 99.73 seconds ========================== ++ 00:45:43 starting module/_hpy_universal/test/pypy [17 started in total] __ module/_csv/test [14 done in total, somefailed=False] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 34 items module\_csv\test\test_dialect.py .............. module\_csv\test\test_reader.py ............. module\_csv\test\test_writer.py ...... module\_csv\test\test_ztranslation.py . ========================= 34 passed in 210.39 seconds ========================= ++ 00:46:29 starting module/_io/test [18 started in total] __ module/_hpy_universal/test/pypy [15 done in total, somefailed=False] _______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (0d4dcfdded47, Oct 09 2024, 22:30:52)\n[PyPy 7.3.18-alpha0 with MSC v.1929 64 bit (AMD64)]')argparse.c buildvalue.c format.c helpers.c structseq.c Microsoft (R) Library Manager Version 14.41.34123.0 Copyright (C) Microsoft Corporation. All rights reserved. ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ======================== no tests ran in 0.01 seconds ========================= ++ 00:47:47 starting module/_jitlog/test [19 started in total] __ module/_hpy_universal/test/_vendored [16 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (0d4dcfdded47, Oct 09 2024, 22:30:52)\n[PyPy 7.3.18-alpha0 with MSC v.1929 64 bit (AMD64)]')argparse.c buildvalue.c format.c helpers.c structseq.c Microsoft (R) Library Manager Version 14.41.34123.0 Copyright (C) Microsoft Corporation. All rights reserved. ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ======================== no tests ran in 0.01 seconds ========================= ++ 00:48:06 starting module/_locale/test [20 started in total] __ module/_jitlog/test [17 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\_jitlog\test\test__jitlog.py s ========================= 1 skipped in 73.33 seconds ========================== ++ 00:49:09 starting module/_lsprof/test [21 started in total] __ module/_locale/test [18 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items module\_locale\test\test_locale.py .......ss.ss.s. =================== 10 passed, 5 skipped in 130.65 seconds ==================== ++ 00:50:19 starting module/_md5/test [22 started in total] __ module/_lsprof/test [19 done in total, somefailed=True] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module\_lsprof\test\test_cprofile.py .F..F. ================================== FAILURES =================================== ________________________ AppTestCProfile.test_builtins ________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002100c65f408> def test_builtins(self): import _lsprof prof = _lsprof.Profiler() lst = [] prof.enable() lst.append(len(lst)) prof.disable() stats = prof.getstats() expected = ( "<built-in method builtins.len>", "<method 'append' of 'list' objects>", "<method 'disable' of '_lsprof.Profiler' objects>", ) for entry in stats: > assert entry.code in expected E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_lsprof\test\test_cprofile.py:13]:15: AssertionError ____________________ AppTestCProfile.test_scale_of_result _____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002100c65f408> def test_scale_of_result(self): import _lsprof, time prof = _lsprof.Profiler() def foo(n): t = time.time() while abs(t - time.time()) < 1.0: pass # busy-wait for 1 second def bar(n): foo(n) prof.enable() bar(0) prof.disable() stats = prof.getstats() entries = {} for entry in stats: entries[entry.code] = entry efoo = entries[foo.__code__] ebar = entries[bar.__code__] > assert 0.9 < efoo.totaltime < 2.9 E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_lsprof\test\test_cprofile.py:130]:19: AssertionError =========================== short test summary info =========================== FAIL module\_lsprof\test\test_cprofile.py::AppTestCProfile::()::test_builtins FAIL module\_lsprof\test\test_cprofile.py::AppTestCProfile::()::test_scale_of_result ==================== 2 failed, 4 passed in 146.42 seconds ===================== ++ 00:51:37 starting module/_minimal_curses/test [23 started in total] __ module/_md5/test [20 done in total, somefailed=False] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items module\_md5\test\test_md5.py ........ ========================= 8 passed in 107.31 seconds ========================== ++ 00:52:11 starting module/_multibytecodec/test [24 started in total] __ module/_io/test [21 done in total, somefailed=True] ________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 299 items module\_io\test\apptest_bufferedio.py . module\_io\test\apptest_bytesio.py ................. module\_io\test\apptest_io.py .......................F.....F..........F.. module\_io\test\apptest_stringio.py ........................... module\_io\test\apptest_textio.py ..............................s................. module\_io\test\test_bufferedio.py .....................ss......................ss........................ss................................ module\_io\test\test_fileio.py ..................s................. module\_io\test\test_interp_textio.py ......FF. module\_io\test\test_win32consoleio.py ......s...... ================================== FAILURES =================================== ________________________________ test_telling _________________________________ tempfile = W_UnicodeObject('d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-50\\tempfile') def test_telling(tempfile): with _io.open(tempfile, "w+", encoding="utf8") as f: p0 = f.tell() f.write("\xff\n") p1 = f.tell() f.write("\xff\n") p2 = f.tell() f.seek(0) assert p0 == 0 > assert p1 == 3 E (application-level) AssertionError: assert 4 == 3 module\_io\test\apptest_io.py:287: AssertionError ____________________________ test_warn_on_dealloc _____________________________ tempfile = W_UnicodeObject('d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-56\\tempfile') def test_warn_on_dealloc(tempfile): > _check_warn_on_dealloc(tempfile, 'wb', buffering=0) module\_io\test\apptest_io.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = W_TupleObject(W_UnicodeObject('d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-56\\tempfile'), W_UnicodeObject('wb')) kwargs = W_DictObject(<pypy.objspace.std.kwargsdict.KwargsDictStrategy object at 0x000001ebc61fa918>) gc = <pypy.module.gc.moduledef.Module object at 0x000001ebc529f600> warnings = <pypy.interpreter.module.Module object at 0x000001ebc82ecb10> f = <pypy.objspace.std.noneobject.W_NoneObject object at 0x000001ebc3085718> r = W_UnicodeObject("<_io.FileIO name='d:\\\\systemtemp\\\\pytest\\\\pytest-of-matti\\\\pytest-56\\\\tempfile' mode='wb' closefd=True>") w = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...reter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001ebcfac9408>]) @py_assert2 = <pypy.objspace.std.noneobject.W_NoneObject object at 0x000001ebc3085718> @py_assert5 = W_UnicodeObject('{message : ResourceWarning("unclosed file <_io.FileIO name=\'...\pypy\\\\module\\\\_io\\\\test\\\\apptest_io.py\', lineno : 371, line : None}') @py_assert4 = <pypy.objspace.std.noneobject.W_NoneObject object at 0x000001ebc3085718> @py_format7 = W_UnicodeObject('"<_io.FileIO name=\'d:\\\\\\\\systemtemp\\\\\\\\pytest\\\\\\\...ne : None}\' = str(<warnings.WarningMessage object at 0x000001ebcfac9408>)\n}') @py_format9 = W_UnicodeObject('assert "<_io.FileIO name=\'d:\\\\\\\\systemtemp\\\\\\\\pytest...ne : None}\' = str(<warnings.WarningMessage object at 0x000001ebcfac9408>)\n}') def _check_warn_on_dealloc(*args, **kwargs): import gc import warnings f = open(*args, **kwargs) r = repr(f) gc.collect() with warnings.catch_warnings(record=True) as w: warnings.simplefilter('always') f = None gc.collect() assert len(w) == 1, len(w) > assert r in str(w[0]) E (application-level) AssertionError: assert "<_io.FileIO name='d:\\\\systemtemp\\\\pytest\\\\pytest-of-matti\\\\pytest-56\\\\tempfile' mode='wb' closefd=True>" in '{message : ResourceWarning("unclosed file <_io.FileIO name=\'d:\\\\\\\\systemtemp\\\\\\\\pytest\\\\\\\\pytest-of-matti\\\\\\\\pytest-56\\\\\\\\tempfile\' mode=\'wb\' closefd=True>"), category : \'ResourceWarning\', filename : \'d:\\\\pypy_stuff\\\\buildbot64\\\\slave\\\\own-win-x86-64\\\\build\\\\pypy\\\\module\\\\_io\\\\test\\\\apptest_io.py\', lineno : 371, line : None}' E + where '{message : ResourceWarning("unclosed file <_io.FileIO name=\'d:\\\\\\\\systemtemp\\\\\\\\pytest\\\\\\\\pytest-of-matti\\\\\\\\pytest-56\\\\\\\\tempfile\' mode=\'wb\' closefd=True>"), category : \'ResourceWarning\', filename : \'d:\\\\pypy_stuff\\\\buildbot64\\\\slave\\\\own-win-x86-64\\\\build\\\\pypy\\\\module\\\\_io\\\\test\\\\apptest_io.py\', lineno : 371, line : None}' = str(<warnings.WarningMessage object at 0x000001ebcfac9408>) module\_io\test\apptest_io.py:373: AssertionError ___________________________ test_tell_univnewlines ____________________________ tempfile = W_UnicodeObject('d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-65\\tempfile') def test_tell_univnewlines(tempfile): import io import sys NEWLINE = '\r\n' with io.open(tempfile, "w") as fp: fp.write(DATA_CRLF) with io.open(tempfile, "r") as fp: assert repr(fp.newlines) == repr(None) data = fp.readline() pos = fp.tell() if "__pypy__" in sys.modules: > assert repr(fp.newlines) == repr(NEWLINE) E (application-level) AssertionError: assert "'\\r'" == "'\\r\\n'" E + where "'\\r'" = repr('\r') E + where '\r' = <_io.TextIOWrapper name='d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-65\\tempfile' mode='r' encoding='utf-8'>.newlines E + and "'\\r\\n'" = repr('\r\n') module\_io\test\apptest_io.py:559: AssertionError __________________________________ test_tell __________________________________ space = StdObjSpace @given(content=st_readline(characters=st.characters(blacklist_categories='C'))) > def test_tell(space, content): module\_io\test\test_interp_textio.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ..\virt_test\site-packages\hypothesis\core.py:563: in execute result = self.test_runner(data, run) ..\virt_test\site-packages\hypothesis\executors.py:56: in default_new_style_executor return function(data) ..\virt_test\site-packages\hypothesis\core.py:561: in run return test(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, content = (u'\n', [0, -1]) @given(content=st_readline(characters=st.characters(blacklist_categories='C'))) def test_tell(space, content): txt, limits = content restxt = translate_newlines(txt) resstr = restxt.encode('utf-8') for read_chars_before_seeking in range(len(restxt)): w_stream = W_BytesIO(space) w_stream.descr_init(space, space.newbytes(txt.encode('utf-8'))) w_textio = W_TextIOWrapper(space) w_textio.descr_init( space, w_stream, encoding='utf-8' ) w_res1 = w_textio.read_w(space, space.newint(read_chars_before_seeking)) assert space.len_w(w_res1) <= read_chars_before_seeking w_tell = w_textio.tell_w(space) w_textio.seek_w(space, space.newint(0)) # seek to beginning w_textio.seek_w(space, w_tell) # then back to position w_res2 = w_textio.read_w(space) w_res = space.add(w_res1, w_res2) res = space.text_w(w_res) > assert res == resstr E assert '\n' == '\r\n' E - E + \r module\_io\test\test_interp_textio.py:170: AssertionError --------------------------------- Hypothesis ---------------------------------- Falsifying example: test_tell(space=StdObjSpace, content=(u'\n', [0, -1])) ___________________________ test_getstate_setstate ____________________________ space = StdObjSpace @given(content=st_readline(characters=st.characters(blacklist_categories='C'))) > def test_getstate_setstate(space, content): module\_io\test\test_interp_textio.py:173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ..\virt_test\site-packages\hypothesis\core.py:563: in execute result = self.test_runner(data, run) ..\virt_test\site-packages\hypothesis\executors.py:56: in default_new_style_executor return function(data) ..\virt_test\site-packages\hypothesis\core.py:561: in run return test(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, content = (u'\n', [0, -1]) @given(content=st_readline(characters=st.characters(blacklist_categories='C'))) def test_getstate_setstate(space, content): txt, limits = content restxt = translate_newlines(txt) for read_chars_before_getstate in range(len(restxt)): w_stream = W_BytesIO(space) w_stream.descr_init(space, space.newbytes(txt.encode('utf-8'))) w_textio = W_TextIOWrapper(space) w_textio.descr_init( space, w_stream, encoding='utf-8' ) w_state_start = w_textio.w_decoder.getstate_w(space) w_res1 = w_textio.read_w(space, space.newint(read_chars_before_getstate)) w_current_state = w_textio.w_decoder.getstate_w(space) w_textio.w_decoder.setstate_w(space, w_state_start) w_textio.w_decoder.setstate_w(space, w_current_state) w_res2 = w_textio.read_w(space) w_res = space.add(w_res1, w_res2) res = space.text_w(w_res).decode("utf-8") > assert res == restxt E assert u'\n' == u'\r\n' module\_io\test\test_interp_textio.py:194: AssertionError --------------------------------- Hypothesis ---------------------------------- Falsifying example: test_getstate_setstate(space=StdObjSpace, content=(u'\n', [0, -1])) =========================== short test summary info =========================== FAIL module\_io\test\apptest_io.py::test_telling FAIL module\_io\test\apptest_io.py::test_warn_on_dealloc FAIL module\_io\test\apptest_io.py::test_tell_univnewlines FAIL module\_io\test\test_interp_textio.py::test_tell FAIL module\_io\test\test_interp_textio.py::test_getstate_setstate ============== 5 failed, 285 passed, 9 skipped in 344.61 seconds ============== ++ 00:52:20 starting module/_multiprocessing/test [25 started in total] __ module/_minimal_curses/test [22 done in total, somefailed=False] ___________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True module\_minimal_curses\test\test_curses.py ssssss ========================= 6 skipped in 90.20 seconds ========================== ++ 00:53:14 starting module/_opcode/test [26 started in total] __ module/_multibytecodec/test [23 done in total, somefailed=True] ____________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 67 items module\_multibytecodec\test\apptest_codecs.py ................... module\_multibytecodec\test\apptest_incremental.py ...................F module\_multibytecodec\test\apptest_stream.py ..... module\_multibytecodec\test\test_c_codecs.py ..................s module\_multibytecodec\test\test_multibtye_codecs.py ... module\_multibytecodec\test\test_translation.py s ================================== FAILURES =================================== _________________________ test_incremental_big5hkscs __________________________ def test_incremental_big5hkscs(): import _codecs import _io with open(myfile + '/big5hkscs.txt', 'rb') as fid: uni_str = fid.read() with open(myfile + '/big5hkscs-utf8.txt', 'rb') as fid: utf8str = fid.read() UTF8Reader = _codecs.lookup('utf-8').streamreader for sizehint in [None] + list(range(1, 33)) + [64, 128, 256, 512, 1024]: istream = UTF8Reader(_io.BytesIO(utf8str)) ostream = _io.BytesIO() encoder = IncrementalBig5hkscsEncoder() while 1: if sizehint is not None: data = istream.read(sizehint) else: data = istream.read() if not data: break > e = encoder.encode(data) E (application-level) UnicodeEncodeError: 'big5hkscs' codec can't encode character '\U0002010c' in position 0: illegal multibyte sequence module\_multibytecodec\test\apptest_incremental.py:270: UnicodeEncodeError =========================== short test summary info =========================== FAIL module\_multibytecodec\test\apptest_incremental.py::test_incremental_big5hkscs ============== 1 failed, 64 passed, 2 skipped in 171.92 seconds =============== ++ 00:55:08 starting module/_pickle/test [27 started in total] __ module/_opcode/test [24 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 5 items module\_opcode\test\apptest_opcode.py ..... ========================= 5 passed in 125.26 seconds ========================== ++ 00:55:27 starting module/_pickle_support/test [28 started in total] __ module/_pickle_support/test [25 done in total, somefailed=False] ___________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1 items module\_pickle_support\test\apptest__pickle_support.py . ========================= 1 passed in 117.67 seconds ========================== ++ 00:57:33 starting module/_posixsubprocess/test [29 started in total] __ module/_multiprocessing/test [26 done in total, somefailed=True] ___________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items module\_multiprocessing\test\test_interp_semaphore.py s module\_multiprocessing\test\test_semaphore.py s........E module\_multiprocessing\test\test_win32.py . module\_multiprocessing\test\test_ztranslation.py . =================================== ERRORS ==================================== ____________ ERROR at teardown of AppTestSemaphore.test_in_threads ____________ self = <CallInfo when='teardown' exception: { array [ '%', 'L', 'E', '\x00' ]: ... File "d:\pypy_stuff\buildbot64\slav...bot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 523, in rawallocate flavor='raw') }> func = <function <lambda> at 0x000001d5aeeef088>, when = 'teardown' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_teardown'> kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppT...s, 0 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppTestMethod 'test_closesocket'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x000001d59fc61478> hook = <_HookCaller 'pytest_runtest_teardown'>, methods = [] kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppT...s, 0 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppTestMethod 'test_closesocket'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_teardown'>, methods = [] kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppT...s, 0 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppTestMethod 'test_closesocket'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppTestMethod 'test_closesocket'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_teardown at 0x000001d5ace65b00> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 0 meths, kwargs={'i...losesocket'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x000001d5adaf17a0> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x000001d5adaf17a0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 0 meths, kwargs={'i...losesocket'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppTestMethod 'test_closesocket'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.conftest.LeakFinder instance at 0x000001d5a14a1f20> item = <AppTestMethod 'test_in_threads'> @pytest.hookimpl(trylast=True) def pytest_runtest_teardown(self, item): if not isinstance(item, py.test.collect.Function): return if (not getattr(item.obj, 'dont_track_allocations', False) and leakfinder.TRACK_ALLOCATIONS): kwds = {} try: kwds['do_collection'] = item.track_allocations_collect except AttributeError: pass item._pypytest_leaks = leakfinder.stop_tracking_allocations(False, **kwds) else: # stop_tracking_allocations() already called item._pypytest_leaks = None # check for leaks, but only if the test passed so far if getattr(item, '_success', False) and item._pypytest_leaks: > raise leakfinder.MallocMismatch(item._pypytest_leaks) E MallocMismatch: { E E array [ '%', 'L', 'E', '\x00' ]: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdataobj.py", line 13, in <module> E from pypy.module._cffi_backend import misc E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\misc.py", line 125, in <module> E FORMAT_LONGDOUBLE = rffi.str2charp("%LE") E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 821, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Struct cffi_ctxobj { ctx, info } at 0x1d5a014be90>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 738, in make_plain_ffi_object E r.__init__(space, src_ctx) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 59, in __init__ E self.ctxobj = parse_c_type.allocate_ctxobj(src_ctx) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\parse_c_type.py", line 71, in allocate_ctxobj E p = lltype.malloc(CTXOBJ, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1d5ab494ec0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 131, in ffiobj_init E ntypes = allocate_array(ffi, _CFFI_OPCODE_T, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1d5a7b8bd00>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 191, in descr_init E w__typenames, w__includes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 146, in ffiobj_init E p = allocate(ffi, size) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1d5a00a6c60>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6940>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6ac0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6b40>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6a00>: E <C object Array of Char {'nolength': True} at 0x1d5a00a67a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6b60>: E <C object Array of Char {'nolength': True} at 0x1d5a00a65e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6b00>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6820>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6a20>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6d40>: E <C object Array of Char {'nolength': True} at 0x1d5a00a68c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6660>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6600>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6b80>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6cc0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a67e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6980>: E <C object Array of Char {'nolength': True} at 0x1d5a8387c90>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6700>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6620>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6ba0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6c80>: E <C object Array of Char {'nolength': True} at 0x1d5a00a67c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6ce0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a65a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6a60>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6be0>: E <C object Array of Char {'nolength': True} at 0x1d5a8022490>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6bc0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6c00>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6ca0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6a80>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6740>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6720>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6760>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6780>: E <C object Array of Char {'nolength': True} at 0x1d5a00a69a0>: E <C object Array of Char {'nolength': True} at 0x1d5a8022610>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6c20>: E <C object Array of Char {'nolength': True} at 0x1d5a8022160>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6d00>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6900>: E <C object Array of Char {'nolength': True} at 0x1d5a8022190>: E <C object Array of Char {'nolength': True} at 0x1d5a00a65c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6800>: E <C object Array of Char {'nolength': True} at 0x1d5a00a69c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a69e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6840>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6680>: E <C object Array of Char {'nolength': True} at 0x1d5a00a66c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6d80>: E <C object Array of Char {'nolength': True} at 0x1d5a00a66a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6d20>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6880>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6a40>: E <C object Array of Char {'nolength': True} at 0x1d5a00a68a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6920>: E <C object Array of Char {'nolength': True} at 0x1d5a8389030>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6ec0>: E <C object Array of Char {'nolength': True} at 0x1d5a8388950>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6dc0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6e00>: E <C object Array of Char {'nolength': True} at 0x1d5a00a74c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7280>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6e60>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7320>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7500>: E <C object Array of Char {'nolength': True} at 0x1d5a00a73e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a73a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a72c0>: E <C object Array of Char {'nolength': True} at 0x1d5a8388250>: E <C object Array of Char {'nolength': True} at 0x1d5a83889d0>: E <C object Array of Char {'nolength': True} at 0x1d5a8388d10>: E <C object Array of Char {'nolength': True} at 0x1d5a00a72e0>: E <C object Array of Char {'nolength': True} at 0x1d5a8388260>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7020>: E <C object Array of Char {'nolength': True} at 0x1d5a00a71a0>: E <C object Array of Char {'nolength': True} at 0x1d5a8388f40>: E <C object Array of Char {'nolength': True} at 0x1d5a83884e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a71c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6f20>: E <C object Array of Char {'nolength': True} at 0x1d5a00a70c0>: E <C object Array of Char {'nolength': True} at 0x1d5a8388e20>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6f00>: E <C object Array of Char {'nolength': True} at 0x1d5a8389590>: E <C object Array of Char {'nolength': True} at 0x1d5a8389a80>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 153, in ffiobj_init E nglobs[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 821, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x1d5a6285e00>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 174, in ffiobj_init E nstructs = allocate_array(ffi, STRUCT_UNION_S, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1d5a5fd7de0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 175, in ffiobj_init E nfields = allocate_array(ffi, FIELD_S, nftot) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1d5a8cd44a0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd46b0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4b30>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4450>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5280>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd44c0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4490>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd44f0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4710>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5790>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4af0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7240>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7200>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6f40>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4f70>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6f80>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4a50>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7360>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7580>: E <C object Array of Char {'nolength': True} at 0x1d5a8022640>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7780>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7cc0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a77c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7a60>: E <C object Array of Char {'nolength': True} at 0x1d5a00a78c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a79e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7a20>: E <C object Array of Char {'nolength': True} at 0x1d5a80225b0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd6800>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7600>: E <C object Array of Char {'nolength': True} at 0x1d5a00a76e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6500>: E <C object Array of Char {'nolength': True} at 0x1d5a00a64c0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd6040>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5da0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5e80>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6340>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 185, in ffiobj_init E nstructs[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 821, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x1d5a00a6fa0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4520>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4930>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4600>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4440>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4820>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd48c0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4e90>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4750>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6de0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a74a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6e20>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7300>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7400>: E <C object Array of Char {'nolength': True} at 0x1d5a00a71e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7560>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7460>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4b40>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd52c0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4d50>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4650>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5110>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5320>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6e40>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7420>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5690>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd58d0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4700>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6fc0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd53a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a70a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a74e0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5cc0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd53d0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7520>: E <C object Array of Char {'nolength': True} at 0x1d5a00a70e0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4a20>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5570>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5800>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5e30>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4360>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7540>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6ea0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7040>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5410>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7340>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6fe0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7440>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7480>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7080>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6f60>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5bf0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd49d0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7380>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd59e0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd6140>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd64e0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4a00>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7000>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd59a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a73c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7120>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6ee0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6e80>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd6230>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7100>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7160>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6da0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7140>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7060>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7260>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd64d0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd6a30>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5a00>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7c80>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7740>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7ba0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7bc0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7be0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a75a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7b60>: E <C object Array of Char {'nolength': True} at 0x1d5a00a77a0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd4b80>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7c00>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7aa0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a78e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a75c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a76a0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd6b80>: E <C object Array of Char {'nolength': True} at 0x1d5a00a76c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7700>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd7000>: E <C object Array of Char {'nolength': True} at 0x1d5a00a75e0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd64a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7900>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd6670>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5b30>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd5220>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7ac0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7860>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7ae0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7b00>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7720>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7b40>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7a40>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5460>: E <C object Array of Char {'nolength': True} at 0x1d5a00a4e00>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5180>: E <C object Array of Char {'nolength': True} at 0x1d5a00a54a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a51a0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a51e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5280>: E <C object Array of Char {'nolength': True} at 0x1d5a00a4e20>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5480>: E <C object Array of Char {'nolength': True} at 0x1d5a00a4f20>: E <C object Array of Char {'nolength': True} at 0x1d5a00a56e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5860>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5880>: E <C object Array of Char {'nolength': True} at 0x1d5a00a59e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5fe0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a60e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5ec0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6100>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd56e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6560>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6440>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5ee0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6120>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd70d0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd7250>: E <C object Array of Char {'nolength': True} at 0x1d5a00a61c0>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd74d0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5f20>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6420>: E <C object Array of Char {'nolength': True} at 0x1d5a00a63e0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6320>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5f80>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6360>: E <C object Array of Char {'nolength': True} at 0x1d5a00a5dc0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a6640>: E <C object Array of Char {'nolength': True} at 0x1d5a8cd7020>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 209, in ffiobj_init E nfields[nf].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 821, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x1d59fed25e0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 235, in ffiobj_init E ntypenames = allocate_array(ffi, TYPENAME_S, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1d5a00a7220>: E <C object Array of Char {'nolength': True} at 0x1d5a00a4f00>: E <C object Array of Char {'nolength': True} at 0x1d5a8388560>: E <C object Array of Char {'nolength': True} at 0x1d5a00a63c0>: E <C object Array of Char {'nolength': True} at 0x1d5a00a7820>: E <C object Array of Char {'nolength': True} at 0x1d5a00a58e0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026680>: E <C object Array of Char {'nolength': True} at 0x1d5a8389ab0>: E <C object Array of Char {'nolength': True} at 0x1d5a70269c0>: E <C object Array of Char {'nolength': True} at 0x1d5a8388fa0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026ae0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026540>: E <C object Array of Char {'nolength': True} at 0x1d5a7026b20>: E <C object Array of Char {'nolength': True} at 0x1d5a70266a0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026460>: E <C object Array of Char {'nolength': True} at 0x1d5a83890d0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026a00>: E <C object Array of Char {'nolength': True} at 0x1d5a80228b0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026a40>: E <C object Array of Char {'nolength': True} at 0x1d5a7026b60>: E <C object Array of Char {'nolength': True} at 0x1d5a8389310>: E <C object Array of Char {'nolength': True} at 0x1d5a7026760>: E <C object Array of Char {'nolength': True} at 0x1d5a7026840>: E <C object Array of Char {'nolength': True} at 0x1d5a7026500>: E <C object Array of Char {'nolength': True} at 0x1d5a7026640>: E <C object Array of Char {'nolength': True} at 0x1d5a7026560>: E <C object Array of Char {'nolength': True} at 0x1d5a70264a0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026720>: E <C object Array of Char {'nolength': True} at 0x1d5a80221c0>: E <C object Array of Char {'nolength': True} at 0x1d5a70264e0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026980>: E <C object Array of Char {'nolength': True} at 0x1d5a8022b50>: E <C object Array of Char {'nolength': True} at 0x1d5a7026c00>: E <C object Array of Char {'nolength': True} at 0x1d5a7026480>: E <C object Array of Char {'nolength': True} at 0x1d5a7026ac0>: E <C object Array of Char {'nolength': True} at 0x1d5a8389b70>: E <C object Array of Char {'nolength': True} at 0x1d5a7026700>: E <C object Array of Char {'nolength': True} at 0x1d5a70268a0>: E <C object Array of Char {'nolength': True} at 0x1d5a8388e30>: E <C object Array of Char {'nolength': True} at 0x1d5a8022c40>: E <C object Array of Char {'nolength': True} at 0x1d5a7027000>: E <C object Array of Char {'nolength': True} at 0x1d5a7026d80>: E <C object Array of Char {'nolength': True} at 0x1d5a7027320>: E <C object Array of Char {'nolength': True} at 0x1d5a7026d60>: E <C object Array of Char {'nolength': True} at 0x1d5a7027200>: E <C object Array of Char {'nolength': True} at 0x1d5a70271c0>: E <C object Array of Char {'nolength': True} at 0x1d5a70273a0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026dc0>: E <C object Array of Char {'nolength': True} at 0x1d5a7027360>: E <C object Array of Char {'nolength': True} at 0x1d5a8389b60>: E <C object Array of Char {'nolength': True} at 0x1d5a7026e00>: E <C object Array of Char {'nolength': True} at 0x1d5a7026c60>: E <C object Array of Char {'nolength': True} at 0x1d5a7026f40>: E <C object Array of Char {'nolength': True} at 0x1d5a70272a0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026de0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026e40>: E <C object Array of Char {'nolength': True} at 0x1d5a8389f70>: E <C object Array of Char {'nolength': True} at 0x1d5a7026e80>: E <C object Array of Char {'nolength': True} at 0x1d5a7026e20>: E <C object Array of Char {'nolength': True} at 0x1d5a7027180>: E <C object Array of Char {'nolength': True} at 0x1d5a7026fe0>: E <C object Array of Char {'nolength': True} at 0x1d5a8022370>: E <C object Array of Char {'nolength': True} at 0x1d5a8389670>: E <C object Array of Char {'nolength': True} at 0x1d5a7026ec0>: E <C object Array of Char {'nolength': True} at 0x1d5a7026ca0>: E <C object Array of Char {'nolength': True} at 0x1d5a838a580>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 239, in ffiobj_init E ntypenames[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 821, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Struct CIF_DESCRIPTION { cif, abi, nargs, rtype, atypes, exchange_size, exchange_result, exchange_args } at 0x1d5a851c1d0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\newtype.py", line 752, in _build_function_type E fct = ctypefunc.W_CTypeFunc(space, fargs, fresult, ellipsis, abi) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 53, in __init__ E builder.rawallocate(self) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 523, in rawallocate E flavor='raw') E } ..\rpython\conftest.py:103: MallocMismatch =============== 10 passed, 2 skipped, 1 error in 337.48 seconds =============== ++ 00:58:04 starting module/_pypyjson/test [30 started in total] __ module/_posixsubprocess/test [27 done in total, somefailed=True] ___________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 0 items / 2 errors =================================== ERRORS ==================================== __ ERROR collecting pypy/module/_posixsubprocess/test/apptest_subprocess.py ___ tool\pytest\apptest2.py:25: in collect space = objspace.gettestobjspace(**spaceconfig) tool\pytest\objspace.py:24: in gettestobjspace space = maketestobjspace(config) tool\pytest\objspace.py:34: in maketestobjspace space = make_objspace(config) tool\option.py:33: in make_objspace return StdObjSpace(config) interpreter\baseobjspace.py:458: in __init__ self.initialize() objspace\std\objspace.py:115: in initialize self.make_builtins() interpreter\baseobjspace.py:666: in make_builtins self.install_mixedmodule(mixedname) interpreter\baseobjspace.py:707: in install_mixedmodule self.setbuiltinmodule(mixedname) interpreter\baseobjspace.py:544: in setbuiltinmodule mod = Module(self, self.newtext(name)) interpreter\mixedmodule.py:27: in __init__ self.__class__.buildloaders() module\fcntl\moduledef.py:17: in buildloaders from pypy.module.fcntl import interp_fcntl module\fcntl\interp_fcntl.py:44: in <module> for k, v in platform.configure(CConfig).items(): ..\rpython\rtyper\tool\rffi_platform.py:216: in configure for name, result in zip(entries, results): ..\rpython\rtyper\tool\rffi_platform.py:241: in configure_entries writer.path, eci, ignore_errors=ignore_errors)) ..\rpython\rtyper\tool\rffi_platform.py:745: in run_example_code output = build_executable_cache(files, eci, ignore_errors=ignore_errors) ..\rpython\tool\gcc_cache.py:28: in build_executable_cache result = platform.execute(platform.compile(c_files, eci)) ..\rpython\translator\platform\__init__.py:57: in compile ofiles = self._compile_o_files(cfiles, eci, standalone) ..\rpython\translator\platform\__init__.py:79: in _compile_o_files ofiles.append(self._compile_c_file(self.cc, cfile, compile_args)) ..\rpython\translator\platform\windows.py:290: in _compile_c_file self._execute_c_compiler(cc, args, oname) ..\rpython\translator\platform\__init__.py:143: in _execute_c_compiler self._handle_error(returncode, stdout, stderr, outname) ..\rpython\translator\platform\windows.py:319: in _handle_error raise CompilationError(stdout, stderr) E CompilationError: CompilationError(err=""" E platcheck_73.c E d:\systemtemp\pytest\usession-py3.11-27\platcheck_73.c(93): fatal error C1083: Cannot open include file: 'sys/file.h': No such file or directory E """) ------------------------------- Captured stderr ------------------------------- [platform:Error] platcheck_73.c [platform:Error] d:\systemtemp\pytest\usession-py3.11-27\platcheck_73.c(93): fatal error C1083: Cannot open include file: 'sys/file.h': No such file or directory ___ ERROR collecting pypy/module/_posixsubprocess/test/test_ztranslation.py ___ ..\py\_path\local.py:650: in pyimport __import__(modname) module\_posixsubprocess\test\__init__.py:5: in <module> pytest.skip("not on windows", allow_module_level=True) E TypeError: skip() got an unexpected keyword argument 'allow_module_level' ========================== 2 error in 81.96 seconds =========================== ++ 00:59:02 starting module/_random/test [31 started in total] __ module/_pickle/test [28 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 96 items module\_pickle\test\apptest_optional_frames.py .. module\_pickle\test\apptest_pickle.py ...............................................................s... module\_pickle\test\apptest_pypy_extensions.py ........................... =================== 95 passed, 1 skipped in 275.96 seconds ==================== ++ 00:59:47 starting module/_rawffi/alt/test [32 started in total] __ module/_pypyjson/test [29 done in total, somefailed=False] _________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 55 items module\_pypyjson\test\apptest__pypyjson.py ........ module\_pypyjson\test\test__pypyjson.py ............................................ module\_pypyjson\test\test_simd.py ... ========================= 55 passed in 184.15 seconds ========================= ++ 01:01:15 starting module/_rawffi/test [33 started in total] __ module/_random/test [30 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items module\_random\test\test_random.py ............ module\_random\test\test_ztranslation.py . ========================= 13 passed in 163.03 seconds ========================= ++ 01:01:52 starting module/_socket/test [34 started in total] __ module/_rawffi/alt/test [31 done in total, somefailed=False] _______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 73 items module\_rawffi\alt\test\test_ffitype.py ..... module\_rawffi\alt\test\test_funcptr.py ..s..............................ss.ss.... module\_rawffi\alt\test\test_struct.py ............... module\_rawffi\alt\test\test_type_converter.py ........... =================== 68 passed, 5 skipped in 169.63 seconds ==================== ++ 01:02:44 starting module/_sre/test [35 started in total] __ module/_rawffi/test [32 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 84 items module\_rawffi\test\apptest_rawffi.py . module\_rawffi\test\test__rawffi.py .................s.................................s................. module\_rawffi\test\test_exit.py s module\_rawffi\test\test_nested.py ...... module\_rawffi\test\test_struct.py ... module\_rawffi\test\test_tracker.py ... module\_rawffi\test\test_ztranslation.py . =================== 81 passed, 3 skipped in 260.22 seconds ==================== n: 2 Arg 0: 3 Arg 1: 15 ++ 01:05:39 starting module/_vmprof/test [36 started in total] __ module/_vmprof/test [33 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ======================== no tests ran in 0.00 seconds ========================= ++ 01:05:40 starting module/_warnings/test [37 started in total] __ module/_socket/test [34 done in total, somefailed=True] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 87 items module\_socket\test\apptest_socket.py ..........ss.............F..s.....s...s.ss..s...s....s...sssss module\_socket\test\test_sock_app.py .......s.........ss.s... module\_socket\test\test_ztranslation.py . ================================== FAILURES =================================== ___________________________ test_recvmsg_issue2649 ____________________________ @pytest.mark.skipif(sys.platform == 'win32', reason="no recvmsg on win32") @pytest.mark.skipif(sys.platform == 'darwin', reason="no MSG_ERRQUEUE on macos") def test_recvmsg_issue2649(): import _socket as socket listener = socket.socket(family=socket.AF_INET, type=socket.SOCK_DGRAM) listener.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) listener.bind(('127.0.0.1', 1234)) s = socket.socket(family=socket.AF_INET, type=socket.SOCK_DGRAM) s.sendto(b'x', ('127.0.0.1', 1234)) > with pytest.raises(BlockingIOError): queue = s.recvmsg(1024, 1024, socket.MSG_ERRQUEUE) E (application-level) AssertionError: raises() expected <class 'BlockingIOError'>, but got <class 'AttributeError'> module\_socket\test\apptest_socket.py:334: AssertionError =========================== short test summary info =========================== FAIL module\_socket\test\apptest_socket.py::test_recvmsg_issue2649 ============== 1 failed, 67 passed, 19 skipped in 296.31 seconds ============== ++ 01:06:54 starting module/_weakref/test [38 started in total] __ module/_sre/test [35 done in total, somefailed=False] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 160 items module\_sre\test\apptest_sre.py .................................................................. module\_sre\test\test_app_sre.py .................................................................. module\_sre\test\test_sre_buf.py ............................ ======================== 160 passed in 247.81 seconds ========================= ++ 01:07:01 starting module/_winreg/test [39 started in total] __ module/_warnings/test [36 done in total, somefailed=False] _________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 17 items module\_warnings\test\apptest_warnings.py ........s.s..... module\_warnings\test\test_warnings.py . =================== 15 passed, 2 skipped in 177.23 seconds ==================== ++ 01:08:45 starting module/array/test [40 started in total] __ module/_winreg/test [37 done in total, somefailed=True] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 22 items module\_winreg\test\test_winreg.py ..F...........s..ss... ================================== FAILURES =================================== ________________________ AppTestFfi.test_simple_write _________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002964b362e90> def test_simple_write(self): from winreg import SetValue, QueryValue, REG_SZ value = u"Some Default value" SetValue(self.root_key, self.test_key_name, REG_SZ, value) > assert QueryValue(self.root_key, self.test_key_name) == value E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_winreg\test\test_winreg.py:76]:5: AssertionError =========================== short test summary info =========================== FAIL module\_winreg\test\test_winreg.py::AppTestFfi::()::test_simple_write ============== 1 failed, 18 passed, 3 skipped in 127.63 seconds =============== ++ 01:09:14 starting module/atexit/test [41 started in total] __ module/_weakref/test [38 done in total, somefailed=False] __________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 43 items module\_weakref\test\apptest_weakref.py ........................................... ========================= 43 passed in 182.40 seconds ========================= ++ 01:09:57 starting module/binascii/test [42 started in total] __ module/atexit/test [39 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 2 items module\atexit\test\apptest_atexit.py .. ========================= 2 passed in 154.34 seconds ========================== ++ 01:11:57 starting module/bz2/test [43 started in total] __ module/_cffi_backend/test [40 done in total, somefailed=True] ______________ [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 467 items module\_cffi_backend\test\test_c.py s.....................s........................................................ssss.s....................................................s.....s...................sss...........................s...s........................s...... module\_cffi_backend\test\test_fastpath.py .................. module\_cffi_backend\test\test_ffi_obj.py .............................................. module\_cffi_backend\test\test_file.py s.. module\_cffi_backend\test\test_parse_c_type.py ..............s... module\_cffi_backend\test\test_re_python.py .................s.. module\_cffi_backend\test\test_recompiler.py ..........F..................F...........................................................s..s............ssss..s.s.ss....... module\_cffi_backend\test\test_unicode_literals.py ....... module\_cffi_backend\test\test_wchar_helper.py . module\_cffi_backend\test\test_ztranslation.py s ================================== FAILURES =================================== __________________ AppTestRecompiler.test_macro_check_value ___________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001e50315e410> def test_macro_check_value(self): # the value '-0x80000000' in C sources does not have a clear meaning # to me; it appears to have a different effect than '-2147483648'... # Moreover, on 32-bits, -2147483648 is actually equal to # -2147483648U, which in turn is equal to 2147483648U and so positive. import sys vals = ['42', '-42', '0x80000000', '-2147483648', '0', '9223372036854775809ULL', '-9223372036854775807LL'] if sys.maxsize <= 2**32: vals.remove('-2147483648') cdef_lines = ['#define FOO_%d_%d %s' % (i, j, vals[i]) for i in range(len(vals)) for j in range(len(vals))] verify_lines = ['#define FOO_%d_%d %s' % (i, j, vals[j]) # [j], not [i] for i in range(len(vals)) for j in range(len(vals))] ffi, lib = self.prepare( '\n'.join(cdef_lines), 'test_macro_check_value_ok', '\n'.join(verify_lines)) for j in range(len(vals)): c_got = int(vals[j].replace('U', '').replace('L', ''), 0) c_compiler_msg = str(c_got) if c_got > 0: c_compiler_msg += ' (0x%x)' % (c_got,) # for i in range(len(vals)): attrname = 'FOO_%d_%d' % (i, j) if i == j: x = getattr(lib, attrname) assert x == c_got else: > e = raises(ffi.error, getattr, lib, attrname) E (application-level) AssertionError: DID NOT RAISE [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\test\test_recompiler.py:237]:38: AssertionError ---------------------------- Captured stdout call ----------------------------- generating d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c _CFFI_test_macro_check_value_ok.c d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(658): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(659): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(721): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(722): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(784): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(785): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(822): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(831): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(840): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(847): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(848): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(849): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(858): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(867): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(876): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(910): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(911): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(973): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(974): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(1036): warning C4146: unary minus operator applied to unsigned type, result still unsigned d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.c(1037): warning C4146: unary minus operator applied to unsigned type, result still unsigned Creating library d:\systemtemp\pytest\usession-py3.11-8\recompiler\Release\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.pypy-73.lib and object d:\systemtemp\pytest\usession-py3.11-8\recompiler\Release\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_macro_check_value_ok.pypy-73.exp Generating code Finished generating code __________ AppTestRecompiler.test_verify_anonymous_enum_with_typedef __________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001e50315e410> def test_verify_anonymous_enum_with_typedef(self): ffi, lib = self.prepare( "typedef enum { AA, ... } e1;", 'test_verify_anonymous_enum_with_typedef1', "typedef enum { BB, CC, AA } e1;") assert lib.AA == 2 assert ffi.sizeof("e1") == ffi.sizeof("int") assert repr(ffi.cast("e1", 2)) == "<cdata 'e1' 2: AA>" # import sys ffi, lib = self.prepare( "typedef enum { AA=%d } e1;" % sys.maxsize, 'test_verify_anonymous_enum_with_typedef2', "typedef enum { AA=%d } e1;" % sys.maxsize) > assert lib.AA == sys.maxsize E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\test\test_recompiler.py:512]:15: AssertionError ---------------------------- Captured stdout call ----------------------------- generating d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_verify_anonymous_enum_with_typedef1.c _CFFI_test_verify_anonymous_enum_with_typedef1.c Creating library d:\systemtemp\pytest\usession-py3.11-8\recompiler\Release\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_verify_anonymous_enum_with_typedef1.pypy-73.lib and object d:\systemtemp\pytest\usession-py3.11-8\recompiler\Release\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_verify_anonymous_enum_with_typedef1.pypy-73.exp Generating code Finished generating code generating d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_verify_anonymous_enum_with_typedef2.c _CFFI_test_verify_anonymous_enum_with_typedef2.c d:\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_verify_anonymous_enum_with_typedef2.c(573): warning C4309: 'initializing': truncation of constant value Creating library d:\systemtemp\pytest\usession-py3.11-8\recompiler\Release\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_verify_anonymous_enum_with_typedef2.pypy-73.lib and object d:\systemtemp\pytest\usession-py3.11-8\recompiler\Release\systemtemp\pytest\usession-py3.11-8\recompiler\_CFFI_test_verify_anonymous_enum_with_typedef2.pypy-73.exp Generating code Finished generating code =========================== short test summary info =========================== FAIL module\_cffi_backend\test\test_recompiler.py::AppTestRecompiler::()::test_macro_check_value FAIL module\_cffi_backend\test\test_recompiler.py::AppTestRecompiler::()::test_verify_anonymous_enum_with_typedef ============= 2 failed, 436 passed, 29 skipped in 2037.80 seconds ============= ++ 01:13:24 starting module/cmath/test [44 started in total] __ module/binascii/test [41 done in total, somefailed=False] __________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 18 items module\binascii\test\test_binascii.py .................. ========================= 18 passed in 205.42 seconds ========================= ++ 01:13:31 starting module/cpyext/test/test_api.py [45 started in total] __ module/array/test [42 done in total, somefailed=True] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 64 items module\array\test\apptest_array.py ... module\array\test\test_array.py .....................s..................s................F.. module\array\test\test_ztranslation.py . ================================== FAILURES =================================== ___________________ AppTestArrayReconstructor.test_unicode ____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001bc70ab4250> def test_unicode(self): import array array_reconstructor = array._array_reconstructor UTF16_LE = 18 UTF16_BE = 19 UTF32_LE = 20 UTF32_BE = 21 teststr = "Bonne Journ\xe9e \U0002030a\U00020347" testcases = ( (UTF16_LE, "UTF-16-LE"), (UTF16_BE, "UTF-16-BE"), (UTF32_LE, "UTF-32-LE"), (UTF32_BE, "UTF-32-BE") ) for testcase in testcases: mformat_code, encoding = testcase a = array.array('u', teststr) b = array_reconstructor( array.array, 'u', mformat_code, teststr.encode(encoding)) > assert a == b E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\array\test\test_array.py:1272]:20: AssertionError =========================== short test summary info =========================== FAIL module\array\test\test_array.py::AppTestArrayReconstructor::()::test_unicode ============== 1 failed, 61 passed, 2 skipped in 295.53 seconds =============== ++ 01:13:45 starting module/cpyext/test/test_arraymodule.py [46 started in total] __ module/bz2/test [43 done in total, somefailed=False] _______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1 items / 3 skipped module\bz2\test\test_large.py s ========================= 4 skipped in 179.03 seconds ========================= ++ 01:15:02 starting module/cpyext/test/test_async_iter.py [47 started in total] __ module/cmath/test [44 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 18 items module\cmath\test\test_cmath.py .................. ========================= 18 passed in 100.18 seconds ========================= ++ 01:15:08 starting module/cpyext/test/test_boolobject.py [48 started in total] __ module/cpyext/test/test_api.py [45 done in total, somefailed=False] ________ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items module\cpyext\test\test_api.py .... ========================= 4 passed in 155.20 seconds ========================== ++ 01:17:55 starting module/cpyext/test/test_borrow.py [49 started in total] __ module/cpyext/test/test_async_iter.py [46 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_async_iter.py sss ========================= 3 skipped in 165.26 seconds ========================= ++ 01:19:32 starting module/cpyext/test/test_buffer.py [50 started in total] __ module/cpyext/test/test_arraymodule.py [47 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 18 items module\cpyext\test\test_arraymodule.py ..........x....... =================== 17 passed, 1 xfailed in 379.47 seconds ==================== ++ 01:21:55 starting module/cpyext/test/test_bytearrayobject.py [51 started in total] __ module/cpyext/test/test_boolobject.py [48 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items module\cpyext\test\test_boolobject.py .... ========================= 4 passed in 339.53 seconds ========================== ++ 01:22:34 starting module/cpyext/test/test_bytesobject.py [52 started in total] __ module/cpyext/test/test_borrow.py [49 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_borrow.py ... ========================= 3 passed in 300.93 seconds ========================== ++ 01:25:07 starting module/cpyext/test/test_capsule.py [53 started in total] __ module/cpyext/test/test_buffer.py [50 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module\cpyext\test\test_buffer.py ..... ========================= 5 passed in 329.63 seconds ========================== ++ 01:27:06 starting module/cpyext/test/test_cell.py [54 started in total] __ module/cpyext/test/test_bytearrayobject.py [51 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module\cpyext\test\test_bytearrayobject.py ...... ========================= 6 passed in 308.89 seconds ========================== ++ 01:28:45 starting module/cpyext/test/test_classobject.py [55 started in total] __ module/cpyext/test/test_bytesobject.py [52 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items module\cpyext\test\test_bytesobject.py .................... ========================= 20 passed in 341.76 seconds ========================= ++ 01:29:59 starting module/cpyext/test/test_codecs.py [56 started in total] __ module/cpyext/test/test_capsule.py [53 done in total, somefailed=False] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_capsule.py ... ========================= 3 passed in 283.23 seconds ========================== ++ 01:31:41 starting module/cpyext/test/test_complexobject.py [57 started in total] __ module/cpyext/test/test_cell.py [54 done in total, somefailed=False] _______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_cell.py . ========================= 1 passed in 252.07 seconds ========================== ++ 01:32:50 starting module/cpyext/test/test_contextvars.py [58 started in total] __ module/cpyext/test/test_classobject.py [55 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items module\cpyext\test\test_classobject.py .. ========================= 2 passed in 246.61 seconds ========================== ++ 01:34:29 starting module/cpyext/test/test_cpyext.py [59 started in total] __ module/cpyext/test/test_codecs.py [56 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_codecs.py ... ========================= 3 passed in 236.27 seconds ========================== ++ 01:35:21 starting module/cpyext/test/test_datetime.py [60 started in total] __ module/cpyext/test/test_complexobject.py [57 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module\cpyext\test\test_complexobject.py ...... ========================= 6 passed in 256.34 seconds ========================== ++ 01:37:25 starting module/cpyext/test/test_dictobject.py [61 started in total] __ module/cpyext/test/test_contextvars.py [58 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_contextvars.py . ========================= 1 passed in 234.35 seconds ========================== ++ 01:38:12 starting module/cpyext/test/test_eval.py [62 started in total] __ module/cpyext/test/test_datetime.py [59 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items module\cpyext\test\test_datetime.py ................ ========================= 16 passed in 356.71 seconds ========================= ++ 01:42:38 starting module/cpyext/test/test_exception.py [63 started in total] __ module/cpyext/test/test_cpyext.py [60 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 26 items module\cpyext\test\test_cpyext.py ...........s.............. =================== 25 passed, 1 skipped in 446.60 seconds ==================== ++ 01:43:14 starting module/cpyext/test/test_fileobject.py [64 started in total] __ module/cpyext/test/test_dictobject.py [61 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 19 items module\cpyext\test\test_dictobject.py ................... ========================= 19 passed in 384.48 seconds ========================= ++ 01:45:14 starting module/cpyext/test/test_floatobject.py [65 started in total] __ module/cpyext/test/test_eval.py [62 done in total, somefailed=False] _______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 19 items module\cpyext\test\test_eval.py ...............x... =================== 18 passed, 1 xfailed in 406.59 seconds ==================== ++ 01:46:37 starting module/cpyext/test/test_frameobject.py [66 started in total] __ module/cpyext/test/test_exception.py [63 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module\cpyext\test\test_exception.py ...... ========================= 6 passed in 290.20 seconds ========================== ++ 01:49:13 starting module/cpyext/test/test_funcobject.py [67 started in total] __ module/cpyext/test/test_fileobject.py [64 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_fileobject.py . ========================= 1 passed in 279.48 seconds ========================== ++ 01:49:36 starting module/cpyext/test/test_genobject.py [68 started in total] __ module/cpyext/test/test_floatobject.py [65 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module\cpyext\test\test_floatobject.py .............. ========================= 14 passed in 365.19 seconds ========================= ++ 01:52:54 starting module/cpyext/test/test_getargs.py [69 started in total] __ module/cpyext/test/test_frameobject.py [66 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items module\cpyext\test\test_frameobject.py .... ========================= 4 passed in 302.63 seconds ========================== ++ 01:53:19 starting module/cpyext/test/test_import.py [70 started in total] __ module/cpyext/test/test_funcobject.py [67 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module\cpyext\test\test_funcobject.py .............. ========================= 14 passed in 455.80 seconds ========================= ++ 01:58:37 starting module/cpyext/test/test_iterator.py [71 started in total] __ module/cpyext/test/test_genobject.py [68 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_genobject.py ... ========================= 3 passed in 472.54 seconds ========================== ++ 01:59:14 starting module/cpyext/test/test_listobject.py [72 started in total] __ module/cpyext/test/test_import.py [69 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items module\cpyext\test\test_import.py ........ ========================= 8 passed in 519.89 seconds ========================== ++ 02:05:02 starting module/cpyext/test/test_longobject.py [73 started in total] __ module/cpyext/test/test_getargs.py [70 done in total, somefailed=False] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items module\cpyext\test\test_getargs.py ................ ========================= 16 passed in 566.02 seconds ========================= ++ 02:05:14 starting module/cpyext/test/test_mapping.py [74 started in total] __ module/cpyext/test/test_iterator.py [71 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module\cpyext\test\test_iterator.py ...... ========================= 6 passed in 427.16 seconds ========================== ++ 02:08:45 starting module/cpyext/test/test_marshal.py [75 started in total] __ module/cpyext/test/test_listobject.py [72 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module\cpyext\test\test_listobject.py .............. ========================= 14 passed in 474.83 seconds ========================= ++ 02:09:58 starting module/cpyext/test/test_memoryobject.py [76 started in total] __ module/cpyext/test/test_mapping.py [73 done in total, somefailed=False] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module\cpyext\test\test_mapping.py ..... ========================= 5 passed in 229.64 seconds ========================== ++ 02:11:58 starting module/cpyext/test/test_methodobject.py [77 started in total] __ module/cpyext/test/test_longobject.py [74 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items module\cpyext\test\test_longobject.py ......................... ========================= 25 passed in 454.92 seconds ========================= ++ 02:15:32 starting module/cpyext/test/test_misc.py [78 started in total] __ module/cpyext/test/test_marshal.py [75 done in total, somefailed=False] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items module\cpyext\test\test_marshal.py .. ========================= 2 passed in 334.81 seconds ========================== ++ 02:16:48 starting module/cpyext/test/test_module.py [79 started in total] __ module/cpyext/test/test_memoryobject.py [76 done in total, somefailed=True] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items module\cpyext\test\test_memoryobject.py ...s..s.F.... ================================== FAILURES =================================== _____________________ AppTestPyBuffer.test_releasebuffer ______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000025b34db4058> def test_releasebuffer(self): module = self.import_extension('foo', [ ("create_test", "METH_NOARGS", """ PyObject *obj; obj = PyObject_New(PyObject, (PyTypeObject*)type); return obj; """), ("get_cnt", "METH_NOARGS", 'return PyLong_FromLong(cnt);'), ("get_dealloc_cnt", "METH_NOARGS", 'return PyLong_FromLong(dealloc_cnt);'), ], prologue=""" static float test_data = 42.f; static int cnt=0; static int dealloc_cnt=0; static PyHeapTypeObject * type=NULL; void dealloc(PyObject *self) { dealloc_cnt++; } int getbuffer(PyObject *obj, Py_buffer *view, int flags) { cnt ++; memset(view, 0, sizeof(Py_buffer)); view->obj = obj; /* see the CPython docs for why we need this incref: https://docs.python.org/3.5/c-api/typeobj.html#c.PyBufferProcs.bf_getbuffer */ Py_INCREF(obj); view->ndim = 0; view->buf = (void *) &test_data; view->itemsize = sizeof(float); view->len = 1; view->strides = NULL; view->shape = NULL; view->format = "f"; return 0; } void releasebuffer(PyObject *obj, Py_buffer *view) { cnt --; } """, more_init=""" type = (PyHeapTypeObject *) PyType_Type.tp_alloc(&PyType_Type, 0); type->ht_type.tp_name = "Test"; type->ht_type.tp_basicsize = sizeof(PyObject); type->ht_name = PyUnicode_FromString("Test"); type->ht_type.tp_flags |= Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HEAPTYPE; type->ht_type.tp_flags &= ~Py_TPFLAGS_HAVE_GC; type->ht_type.tp_dealloc = dealloc; type->ht_type.tp_as_buffer = &type->as_buffer; type->as_buffer.bf_getbuffer = getbuffer; type->as_buffer.bf_releasebuffer = releasebuffer; if (PyType_Ready(&type->ht_type) < 0) INITERROR; """, ) import gc assert module.get_cnt() == 0 a = memoryview(module.create_test()) assert module.get_cnt() == 1 assert module.get_dealloc_cnt() == 0 del a self.debug_collect() assert module.get_cnt() == 0 > assert module.get_dealloc_cnt() == 1 E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\cpyext\test\test_memoryobject.py:296]:69: AssertionError ---------------------------- Captured stdout call ----------------------------- source_0.c Creating library d:\systemtemp\pytest\usession-py3.11-73\foo-4\foo.lib and object d:\systemtemp\pytest\usession-py3.11-73\foo-4\foo.exp Generating code Finished generating code dealloc_trigger... deallocating PyObject * <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0x25b33dc07c0> deallocating PyObject * <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0x25b33dc0b00> deallocating PyObject * <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0x25b33dc1620> dealloc_trigger DONE ---------------------------- Captured stderr call ----------------------------- <function PyModule_Create2 at 0x0000025b35dc84d0> DONE <function PyUnicode_FromString at 0x0000025b33f39790> DONE <function PyType_Ready at 0x0000025b343d9538> DONE <function PyLong_FromLong at 0x0000025b35de6980> DONE <function PyLong_FromLong at 0x0000025b35de6980> DONE <function PyLong_FromLong at 0x0000025b35de6980> DONE <function PyLong_FromLong at 0x0000025b35de6980> DONE <function PyLong_FromLong at 0x0000025b35de6980> DONE =========================== short test summary info =========================== FAIL module\cpyext\test\test_memoryobject.py::AppTestPyBuffer::()::test_releasebuffer ============== 1 failed, 10 passed, 2 skipped in 357.58 seconds =============== ++ 02:18:45 starting module/cpyext/test/test_namespaceobject.py [80 started in total] __ module/cpyext/test/test_methodobject.py [77 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module\cpyext\test\test_methodobject.py .............. ========================= 14 passed in 412.97 seconds ========================= ++ 02:20:22 starting module/cpyext/test/test_ndarrayobject.py [81 started in total] __ module/cpyext/test/test_ndarrayobject.py [78 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================= 1 skipped in 11.83 seconds ========================== ++ 02:22:43 starting module/cpyext/test/test_number.py [82 started in total] __ module/cpyext/test/test_misc.py [79 done in total, somefailed=False] _______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_misc.py . ========================= 1 passed in 335.08 seconds ========================== ++ 02:22:52 starting module/cpyext/test/test_object.py [83 started in total] __ module/cpyext/test/test_namespaceobject.py [80 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_namespaceobject.py . ========================= 1 passed in 238.10 seconds ========================== ++ 02:24:51 starting module/cpyext/test/test_pyerrors.py [84 started in total] __ module/cpyext/test/test_module.py [81 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items module\cpyext\test\test_module.py ......................... ========================= 25 passed in 426.14 seconds ========================= ++ 02:26:11 starting module/cpyext/test/test_pyfile.py [85 started in total] __ module/cpyext/test/test_number.py [82 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items module\cpyext\test\test_number.py ....... ========================= 7 passed in 212.47 seconds ========================== ++ 02:27:21 starting module/cpyext/test/test_pymem.py [86 started in total] __ module/cpyext/test/test_object.py [83 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 39 items module\cpyext\test\test_object.py ......................s................ =================== 38 passed, 1 skipped in 314.18 seconds ==================== ++ 02:29:11 starting module/cpyext/test/test_pysignals.py [87 started in total] __ module/cpyext/test/test_pyfile.py [84 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items module\cpyext\test\test_pyfile.py ...x... ==================== 6 passed, 1 xfailed in 141.45 seconds ==================== ++ 02:29:29 starting module/cpyext/test/test_pystate.py [88 started in total] __ module/cpyext/test/test_pymem.py [85 done in total, somefailed=False] ______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_pymem.py . ========================= 1 passed in 143.76 seconds ========================== ++ 02:31:15 starting module/cpyext/test/test_pystrhex.py [89 started in total] __ module/cpyext/test/test_pyerrors.py [86 done in total, somefailed=True] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 33 items module\cpyext\test\test_pyerrors.py ........s.....sF.......s...s..... ================================== FAILURES =================================== ______________ AppTestFetch.test_SetFromErrnoWithFilename_basic _______________ self = <CallInfo when='call' exception: 'ascii' codec can't encode character u'\xe4' in position 106: ordinal not in range(128)> func = <function <lambda> at 0x0000021926e42980>, when = 'call' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_call'> kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'...all__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x0000021915b81440> hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000002191dee6b20>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'...all__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000002191dee6b20>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'...all__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0000021923ffe840> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000021922baaa60> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000021922baaa60> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0000021923ffe7f0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000021922baaa20> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000021922baaa20> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <AppTestMethod 'test_SetFromErrnoWithFilename_basic'> def pytest_runtest_call(item): try: > item.runtest() ..\_pytest\runner.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_SetFromErrnoWithFilename_basic'> def runtest(self): target = self.obj src = extract_docstring_if_empty_function(target.im_func) space = target.im_self.space if self.config.option.runappdirect: appexec_definitions = self.parent.obj.__dict__ spaceconfig = getattr(self.parent.obj, 'spaceconfig', None) usemodules = spaceconfig.get('usemodules') if spaceconfig else None return run_with_python(self.config.option.python, src, usemodules, **appexec_definitions) filename = self._getdynfilename(target) func = app2interp_temp(src, filename=filename) w_instance = self.parent.w_instance > self.execute_appex(space, func, space, w_instance) tool\pytest\apptest.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_SetFromErrnoWithFilename_basic'> space = StdObjSpace target = <function test_SetFromErrnoWithFilename_basic at 0x0000021926e42bd8> args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000219263cc988>) def execute_appex(self, space, target, *args): self.space = space space.getexecutioncontext().set_sys_exc_info(None) try: > target(*args) tool\pytest\apptest.py:267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000219263cc988>,) w_func = <Function test_SetFromErrnoWithFilename_basic> args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000219263cc988> def appcaller(space, *args_w): if not isinstance(space, ObjSpace): raise TypeError("first argument must be a space instance.") # the last argument can be an Arguments w_func = self.wget(space, name) if not args_w: return space.call_function(w_func) else: args = args_w[-1] assert args is not None if not isinstance(args, Arguments): > return space.call_function(w_func, *args_w) interpreter\gateway.py:1409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function test_SetFromErrnoWithFilename_basic> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000219263cc988>,) nargs = 1, Function = <class 'pypy.interpreter.function.Function'> _Method = <class 'pypy.interpreter.function._Method'> def call_function(self, w_func, *args_w): nargs = len(args_w) # used for pruning funccall versions if not self.config.objspace.disable_call_speedhacks and nargs < 5: # start of hack for performance from pypy.interpreter.function import Function, _Method if isinstance(w_func, _Method): if nargs < 4: func = w_func.w_function if isinstance(func, Function): return func.funccall(w_func.w_instance, *args_w) if isinstance(w_func, Function): > return w_func.funccall(*args_w) interpreter\baseobjspace.py:1237: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function test_SetFromErrnoWithFilename_basic> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000219263cc988>,) gateway = <module 'pypy.interpreter.gateway' from 'd:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\interpreter\\gateway.pyc'> PyCode = <class 'pypy.interpreter.pycode.PyCode'> code = <code object test_SetFromErrnoWithFilename_basic, file "[d:\pypy_stuff\buildbo...ve\own-win-x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> def funccall(self, *args_w): # speed hack from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit nargs = len(args_w) fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, args_w[0]) elif nargs == 2: assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, args_w[0], args_w[1]) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) return code.fastcall_3(self.space, self, args_w[0], args_w[1], args_w[2]) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) return code.fastcall_4(self.space, self, args_w[0], args_w[1], args_w[2], args_w[3]) elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) if nargs < 5: new_frame = self.space.createframe(code, self.w_func_globals, self) for i in funccallunrolling: if i < nargs: new_frame.locals_cells_stack_w[i] = args_w[i] > return new_frame.run(self.name, self.qualname) interpreter\function.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 name = 'test_SetFromErrnoWithFilename_basic' qualname = 'test_SetFromErrnoWithFilename_basic' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 e = UnicodeEncodeError('ascii', u'\n errno = EBADF;\n ... return NULL;\n ', 106, 107, 'ordinal not in range(128)') def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 pycode = <code object test_SetFromErrnoWithFilename_basic, file "[d:\pypy_stuff\buildbo...ve\own-win-x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> next_instr = 72 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000002191d8b2678> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 co_code = '|\x00j\x00}\x01|\x01d\x00u\x00r\td\x01}\x01d\x02d\x00l\x01}\x02d\x02d\x00l\x02}\x03d\x02d\x00l\x03}\x04d\x03d\x04d\x0...01|\x07j\tj\nd\x13k\x02\x90\x01s\x0cJ\x00\x82\x01|\x07j\tj\x14d\x14k\x02\x90\x01s\x15J\x00\x82\x01d\x00S\x00d\x00S\x00' next_instr = 72 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000002191d8b2678> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 co_code = '|\x00j\x00}\x01|\x01d\x00u\x00r\td\x01}\x01d\x02d\x00l\x01}\x02d\x02d\x00l\x02}\x03d\x02d\x00l\x03}\x04d\x03d\x04d\x0...01|\x07j\tj\nd\x13k\x02\x90\x01s\x0cJ\x00\x82\x01|\x07j\tj\x14d\x14k\x02\x90\x01s\x15J\x00\x82\x01d\x00S\x00d\x00S\x00' next_instr = 102 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000002191d8b2678> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: self.CALL_FUNCTION(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_KW.index: self.CALL_FUNCTION_KW(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: self.CALL_METHOD(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD_KW.index: > self.CALL_METHOD_KW(oparg, next_instr) interpreter\pyopcode.py:315: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 n_arguments = 2, ignored = (102,) W_AbstractTupleObject = <class 'pypy.objspace.std.tupleobject.W_AbstractTupleObject'> w_self = None, space = StdObjSpace @jit.unroll_safe def CALL_METHOD_KW(f, n_arguments, *ignored): from pypy.objspace.std.tupleobject import W_AbstractTupleObject # opargs contains the arg + kwarg count, excluding the implicit 'self' w_self = f.peekvalue_maybe_none(n_arguments + 1) space = f.space # like in BUILD_CONST_KEY_MAP we can't use space.fixedview because then # the immutability of the tuple is lost w_tup_varnames = space.interp_w(W_AbstractTupleObject, f.popvalue()) n_keywords = space.len_w(w_tup_varnames) keyword_names_w = [None] * n_keywords keywords_w = [None] * n_keywords for i in range(n_keywords): keyword_names_w[i] = w_tup_varnames.getitem(space, i) w_value = f.peekvalue(n_keywords - 1 - i) keywords_w[i] = w_value f.dropvalues(n_keywords) n_arguments -= n_keywords n = n_arguments + (w_self is not None) arguments = f.popvalues(n) # includes w_self if it is not None if w_self is None: f.popvalue_maybe_none() # removes w_self, which is None w_callable = f.popvalue() args = f.argument_factory( arguments, keyword_names_w, keywords_w, None, None, methodcall=w_self is not None, w_function=w_callable) if f.get_is_being_profiled() and function.is_builtin_code(w_callable): w_result = f.space.call_args_and_c_profile(f, w_callable, args) else: > w_result = f.space.call_args(w_callable, args) objspace\std\callmethod.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, w_obj = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')]) def call_args(space, w_obj, args): # two special cases for performance if isinstance(w_obj, Function): > return w_obj.call_args(args) objspace\descroperation.py:192: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')]) def call_args(self, args): # delegate activation to code > w_res = self.getcode().funcrun(self, args) interpreter\function.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000219255e4170> func = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')]) def funcrun(self, func, args): > return BuiltinCode.funcrun_obj(self, func, None, args) interpreter\gateway.py:869: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000219255e4170> func = <FunctionWithFixedCode import_extension>, w_obj = None args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: w_result = activation._run(space, scope_w) except DescrMismatch: if w_obj is not None: args = args.prepend(w_obj) return self._type_unwrap_mismatch(space, args) except Exception as e: > self.handle_exception(space, e) interpreter\gateway.py:884: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000219255e4170> space = StdObjSpace e = UnicodeEncodeError('ascii', u'\n errno = EBADF;\n ... return NULL;\n ', 106, 107, 'ordinal not in range(128)') def handle_exception(self, space, e): try: if not we_are_translated(): raise raise e except OperationError: raise except Exception as e: # general fall-back from pypy.interpreter import error > raise error.get_converted_unexpected_exception(space, e) interpreter\gateway.py:908: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000219255e4170> func = <FunctionWithFixedCode import_extension>, w_obj = None args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: > w_result = activation._run(space, scope_w) interpreter\gateway.py:878: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x00000219255e4250> space = StdObjSpace scope_w = [W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...or, code, ar...rn NULL;\n '))]), W_UnicodeObject('#include <errno.h>'), None, W_UnicodeObject(''), W_BoolObject(False)] def _run(self, space, scope_w): > return self.behavior(space, space.text_w(scope_w[0]), scope_w[1], space.text_w(scope_w[2]), scope_w[3], space.text_w(scope_w[4]), space.is_true(scope_w[5])) <7064-codegen d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\tool\sourcetools.py:200>:3: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, modname = 'foo' w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...or, code, arg1, arg2);\n return NULL;\n '))]) prologue = '#include <errno.h>', w_include_dirs = None, more_init = '' PY_SSIZE_T_CLEAN = False @unwrap_spec(modname='text', prologue='text', more_init='text', PY_SSIZE_T_CLEAN=bool) def import_extension(space, modname, w_functions, prologue="", w_include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False): functions = space.unwrap(w_functions) include_dirs = _unwrap_include_dirs(space, w_include_dirs) # If there's already a module under this name (file-based or a # previous inline extension), save it in _module_keepalive before # it's displaced. This prevents its raw allocations (method-name # strings, type dicts, etc.) from being freed during a later # test's leakfinder tracking window. self._file_module_cache.pop(modname, None) w_modules = space.sys.get('modules') try: w_old = space.getitem(w_modules, space.newtext(modname)) self._module_keepalive.append(w_old) except OperationError: pass w_result = self.sys_info.import_extension( modname, functions, prologue, include_dirs, more_init, > PY_SSIZE_T_CLEAN) module\cpyext\test\test_cpyext.py:415: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000021924e27398> modname = 'foo' functions = [(u'set_from_errno', u'METH_NOARGS', u'\n errno = EBADF;\n PyErr_SetFromErrnoWithFilen...mWindowsErrWithFilenameObjects(PyExc_OSError, code, arg1, arg2);\n return NULL;\n ')] prologue = '#include <errno.h>', include_dirs = None, more_init = '' PY_SSIZE_T_CLEAN = False def import_extension(self, modname, functions, prologue="", include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False): > body = prologue + make_methods(functions, modname) tool\cpyext\extbuild.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ functions = [(u'set_from_errno', u'METH_NOARGS', u'\n errno = EBADF;\n PyErr_SetFromErrnoWithFilen...mWindowsErrWithFilenameObjects(PyExc_OSError, code, arg1, arg2);\n return NULL;\n ')] modname = 'foo' def make_methods(functions, modname): methods_table = [] codes = [] for funcname, flags, code in functions: cfuncname = "%s_%s" % (modname, funcname) if 'METH_FASTCALL' in flags and 'METH_KEYWORDS' in flags: signature = ('(PyObject *self, PyObject *const *args, ' 'Py_ssize_t len_args, PyObject *kwnames)') elif 'METH_KEYWORDS' in flags: signature = '(PyObject *self, PyObject *args, PyObject *kwargs)' elif 'METH_FASTCALL' in flags: signature = ('(PyObject *self, PyObject *const *args, ' 'Py_ssize_t len_args)') else: signature = '(PyObject *self, PyObject *args)' methods_table.append( "{\"%s\", (PyCFunction)%s, %s}," % (funcname, cfuncname, flags)) func_code = """ static PyObject* {cfuncname}{signature} {{ {code} }} > """.format(cfuncname=cfuncname, signature=signature, code=code) E UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 106: ordinal not in range(128) tool\cpyext\extbuild.py:139: UnicodeEncodeError =========================== short test summary info =========================== FAIL module\cpyext\test\test_pyerrors.py::AppTestFetch::()::test_SetFromErrnoWithFilename_basic ============== 1 failed, 28 passed, 4 skipped in 275.87 seconds =============== ++ 02:31:19 starting module/cpyext/test/test_pystrtod.py [90 started in total] __ module/cpyext/test/test_pysignals.py [87 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_pysignals.py . ========================= 1 passed in 137.15 seconds ========================== ++ 02:32:29 starting module/cpyext/test/test_sequence.py [91 started in total] __ module/cpyext/test/test_pystate.py [88 done in total, somefailed=False] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module\cpyext\test\test_pystate.py ....x.....sx.. ============== 11 passed, 1 skipped, 2 xfailed in 175.78 seconds ============== ++ 02:33:16 starting module/cpyext/test/test_setobject.py [92 started in total] __ module/cpyext/test/test_pystrhex.py [89 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_pystrhex.py . ========================= 1 passed in 124.08 seconds ========================== ++ 02:34:12 starting module/cpyext/test/test_sliceobject.py [93 started in total] __ module/cpyext/test/test_pystrtod.py [90 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items module\cpyext\test\test_pystrtod.py .................... ========================= 20 passed in 169.64 seconds ========================= ++ 02:34:58 starting module/cpyext/test/test_structseq.py [94 started in total] __ module/cpyext/test/test_sequence.py [91 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items module\cpyext\test\test_sequence.py ....................... ========================= 23 passed in 178.86 seconds ========================= ++ 02:36:30 starting module/cpyext/test/test_sysmodule.py [95 started in total] __ module/cpyext/test/test_setobject.py [92 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items module\cpyext\test\test_setobject.py ......... ========================= 9 passed in 152.46 seconds ========================== ++ 02:36:41 starting module/cpyext/test/test_thread.py [96 started in total] __ module/cpyext/test/test_sliceobject.py [93 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items module\cpyext\test\test_sliceobject.py ........ ========================= 8 passed in 170.05 seconds ========================== ++ 02:37:51 starting module/cpyext/test/test_traceback.py [97 started in total] __ module/cpyext/test/test_structseq.py [94 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_structseq.py . ========================= 1 passed in 125.90 seconds ========================== ++ 02:38:08 starting module/cpyext/test/test_translate.py [98 started in total] __ module/cpyext/test/test_translate.py [95 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_translate.py . ========================== 1 passed in 13.16 seconds ========================== ++ 02:39:16 starting module/cpyext/test/test_tupleobject.py [99 started in total] __ module/cpyext/test/test_sysmodule.py [96 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_sysmodule.py ... ========================= 3 passed in 137.65 seconds ========================== ++ 02:39:33 starting module/cpyext/test/test_typeobject.py [100 started in total] __ module/cpyext/test/test_traceback.py [97 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_traceback.py . ========================== 1 passed in 68.64 seconds ========================== ++ 02:39:56 starting module/cpyext/test/test_unicodeobject.py [101 started in total] __ module/cpyext/test/test_thread.py [98 done in total, somefailed=True] ______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module\cpyext\test\test_thread.py x..Fx. ================================== FAILURES =================================== ________________________ AppTestThread.test_timed_lock ________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000017eab250b10> def test_timed_lock(self): module = self.import_extension('foo', [ ("timed_acquire_lock", "METH_O", """ #ifndef PyThread_acquire_lock_timed #error "seems we are not accessing PyPy's functions" #endif PyLockStatus acquire_result; int microseconds = PyLong_AsLong(args); Py_BEGIN_ALLOW_THREADS acquire_result = PyThread_acquire_lock_timed(global_lock, microseconds, 0); Py_END_ALLOW_THREADS if (acquire_result == PY_LOCK_ACQUIRED) { Py_RETURN_TRUE; } else { Py_RETURN_FALSE; } """), ("release_lock", "METH_NOARGS", """ PyThread_release_lock(global_lock); Py_RETURN_NONE; """), ("cleanup_lock", "METH_NOARGS", """ // cleanup isn't part of the test, but I'd feel guilty otherwise PyThread_free_lock(global_lock); global_lock=NULL; Py_RETURN_NONE; """ ) ], prologue="static PyThread_type_lock global_lock;", more_init="global_lock = PyThread_allocate_lock();" ) try: import threading import time failure = [] assert module.timed_acquire_lock(-1) main_thread_should_release_the_lock_barrier = threading.Barrier(2) def thread_func(): try: if module.timed_acquire_lock(0): failure.append("Lock should be held elsewhere") return if module.timed_acquire_lock(1): failure.append("Lock should be held elsewhere") return finally: main_thread_should_release_the_lock_barrier.wait() if not module.timed_acquire_lock(1000000): failure.append("Lock should have become available") return module.release_lock() thread = threading.Thread(target=thread_func) thread.start() main_thread_should_release_the_lock_barrier.wait() # At this point, thread_func should be waiting 1s for the lock, # so sleep a short amount of time then let it have the lock. time.sleep(0.01) module.release_lock() thread.join() > assert not failure, failure E (application-level) AssertionError: ['Lock should have become available'] [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\cpyext\test\test_thread.py:84]:65: AssertionError ---------------------------- Captured stdout call ----------------------------- source_0.c Creating library d:\systemtemp\pytest\usession-py3.11-93\foo-2\foo.lib and object d:\systemtemp\pytest\usession-py3.11-93\foo-2\foo.exp Generating code Finished generating code ---------------------------- Captured stderr call ----------------------------- <function PyModule_Create2 at 0x0000017ea8263880> DONE <function PyLong_AsLong at 0x0000017ea82a2728> DONE <function PyEval_SaveThread at 0x0000017ea73746b0> DONE <function PyEval_RestoreThread at 0x0000017ea73745c0> DONE <function PyLong_AsLong at 0x0000017ea82a2728> DONE <function PyEval_SaveThread at 0x0000017ea73746b0> DONE <function PyEval_RestoreThread at 0x0000017ea73745c0> DONE <function PyLong_AsLong at 0x0000017ea82a2728> DONE <function PyEval_SaveThread at 0x0000017ea73746b0> DONE <function PyEval_RestoreThread at 0x0000017ea73745c0> DONE <function PyLong_AsLong at 0x0000017ea82a2728> DONE <function PyEval_SaveThread at 0x0000017ea73746b0> DONE <function PyEval_RestoreThread at 0x0000017ea73745c0> DONE =========================== short test summary info =========================== FAIL module\cpyext\test\test_thread.py::AppTestThread::()::test_timed_lock =============== 1 failed, 3 passed, 2 xfailed in 191.31 seconds =============== ++ 02:40:35 starting module/cpyext/test/test_userslots.py [102 started in total] __ module/cpyext/test/test_tupleobject.py [99 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items module\cpyext\test\test_tupleobject.py .......... ========================= 10 passed in 166.41 seconds ========================= ++ 02:43:10 starting module/cpyext/test/test_version.py [103 started in total] __ module/cpyext/test/test_userslots.py [100 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items module\cpyext\test\test_userslots.py ....... ========================= 7 passed in 221.83 seconds ========================== called power ++ 02:44:58 starting module/cpyext/test/test_weakref.py [104 started in total] __ module/cpyext/test/test_unicodeobject.py [101 done in total, somefailed=True] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 76 items module\cpyext\test\test_unicodeobject.py .....................................................FF..................... ================================== FAILURES =================================== ____________________________ TestUnicode.test_mbcs ____________________________ self = <pypy.module.cpyext.test.test_unicodeobject.TestUnicode object at 0x00000292367fda98> space = StdObjSpace def test_mbcs(self, space): if sys.platform != 'win32': py.test.skip("mcbs encoding only exists on Windows") unichars = u"abc" wbuf = rffi.unicode2wcharp(unichars) try: w_bytes = PyUnicode_EncodeMBCS(space, wbuf, 3, None) finally: rffi.free_wcharp(wbuf) assert space.type(w_bytes) is space.w_bytes > assert space.utf8_w(w_bytes) == "abc" module\cpyext\test\test_unicodeobject.py:1230: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interpreter\baseobjspace.py:1940: in utf8_w return w_obj.utf8_w(self) interpreter\baseobjspace.py:274: in utf8_w self._typed_unwrap_error(space, "str") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = W_BytesObject('abc'), space = StdObjSpace, expected = 'str' def _typed_unwrap_error(self, space, expected): raise oefmt(space.w_TypeError, > "expected %s, got %T object", expected, self) E OpErrFmt: [<W_TypeObject 'TypeError' at 0x29230b73328>: expected str, got bytes object] interpreter\baseobjspace.py:318: OpErrFmt __________________________ TestUnicode.test_codepage __________________________ self = <pypy.module.cpyext.test.test_unicodeobject.TestUnicode object at 0x00000292352ff2f0> space = StdObjSpace def test_codepage(self, space): if sys.platform != 'win32': py.test.skip("codepage encoding only exists on Windows") chars = "abc" w_obj = space.newtext(chars) w_bytes = PyUnicode_EncodeCodePage(space, 932, w_obj, None) assert space.type(w_bytes) is space.w_bytes > assert space.utf8_w(w_bytes) == "abc" module\cpyext\test\test_unicodeobject.py:1239: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interpreter\baseobjspace.py:1940: in utf8_w return w_obj.utf8_w(self) interpreter\baseobjspace.py:274: in utf8_w self._typed_unwrap_error(space, "str") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = W_BytesObject('abc'), space = StdObjSpace, expected = 'str' def _typed_unwrap_error(self, space, expected): raise oefmt(space.w_TypeError, > "expected %s, got %T object", expected, self) E OpErrFmt: [<W_TypeObject 'TypeError' at 0x29230b73328>: expected str, got bytes object] interpreter\baseobjspace.py:318: OpErrFmt =========================== short test summary info =========================== FAIL module\cpyext\test\test_unicodeobject.py::TestUnicode::()::test_mbcs FAIL module\cpyext\test\test_unicodeobject.py::TestUnicode::()::test_codepage ==================== 2 failed, 74 passed in 451.41 seconds ==================== ++ 02:48:13 starting module/crypt/test [105 started in total] __ module/crypt/test [102 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.02 seconds ========================== ++ 02:48:14 starting module/errno/test [106 started in total] __ module/cpyext/test/test_version.py [103 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_version.py ... ========================= 3 passed in 277.92 seconds ========================== ++ 02:48:54 starting module/exceptions/test [107 started in total] __ module/errno/test [104 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\errno\test\test_errno.py ... ========================== 3 passed in 58.59 seconds ========================== ++ 02:49:14 starting module/faulthandler/test [108 started in total] __ module/faulthandler/test [105 done in total, somefailed=False] _____________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items / 1 skipped module\faulthandler\test\test_ztranslation.py . ==================== 1 passed, 1 skipped in 23.44 seconds ===================== ++ 02:49:43 starting module/fcntl/test [109 started in total] __ module/fcntl/test [106 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.80 seconds ========================== ++ 02:49:45 starting module/gc/test [110 started in total] __ module/exceptions/test [107 done in total, somefailed=False] _______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 98 items module\exceptions\test\apptest_exceptions.py .................................................. module\exceptions\test\test_exc.py ................................................ ========================= 98 passed in 116.02 seconds ========================= ++ 02:50:52 starting module/imp/test [111 started in total] __ module/cpyext/test/test_weakref.py [108 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module\cpyext\test\test_weakref.py ..... ========================= 5 passed in 288.94 seconds ========================== ++ 02:51:26 starting module/itertools/test [112 started in total] __ module/cpyext/test/test_typeobject.py [109 done in total, somefailed=True] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 95 items module\cpyext\test\test_typeobject.py E..................s.........................................FF...........s.....s.............. =================================== ERRORS ==================================== _____________ ERROR at setup of AppTestTypeObject.test_typeobject _____________ self = <CallInfo when='setup' exception: CompilationError(out=""" """)> func = <function <lambda> at 0x0000020cb50c09f8>, when = 'setup' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_setup'> kwargs = {'__multicall__': <_MultiCall 0 results, 5 meths, kwargs={'item': <AppTestMethod 'test_typeobject'>, '__multicall__': <_MultiCall 0 results, 5 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_typeobject'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x0000020cada133d0> hook = <_HookCaller 'pytest_runtest_setup'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000020cb59ccee0>, <_pytest.vendored_packages.pluggy.HookImp...y.HookImpl instance at 0x0000020caded66a0>, <_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000020caded66e0>] kwargs = {'__multicall__': <_MultiCall 0 results, 5 meths, kwargs={'item': <AppTestMethod 'test_typeobject'>, '__multicall__': <_MultiCall 0 results, 5 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_typeobject'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_setup'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000020cb59ccee0>, <_pytest.vendored_packages.pluggy.HookImp...y.HookImpl instance at 0x0000020caded66a0>, <_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000020caded66e0>] kwargs = {'__multicall__': <_MultiCall 0 results, 5 meths, kwargs={'item': <AppTestMethod 'test_typeobject'>, '__multicall__': <_MultiCall 0 results, 5 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_typeobject'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 5 meths, kwargs={'item': <AppTestMethod 'test_typeobject'>, '__multicall__': <_MultiCall 0 results, 5 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_setup at 0x0000020cb296fb78> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 5 meths, kwargs={'i...typeobject'>, '__multicall__': <_MultiCall 0 results, 5 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020cb3e63b20> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020cb3e63b20> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 5 meths, kwargs={'i...typeobject'>, '__multicall__': <_MultiCall 0 results, 5 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 5 meths, kwargs={'item': <AppTestMethod 'test_typeobject'>, '__multicall__': <_MultiCall 0 results, 5 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <AppTestMethod 'test_typeobject'> @pytest.hookimpl(tryfirst=True) def pytest_runtest_setup(item): if isinstance(item, pytest.Function): config = item.config if get_marker(item, name='pypy_only'): if config.applevel is not None and not config.applevel.is_pypy: pytest.skip('PyPy-specific test') appclass = item.getparent(pytest.Class) if appclass is not None: from pypy.tool.pytest.objspace import gettestobjspace # Make cls.space and cls.runappdirect available in tests. spaceconfig = getattr(appclass.obj, 'spaceconfig', {}) > appclass.obj.space = gettestobjspace(**spaceconfig) conftest.py:254: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kwds = {'objspace.disable_entrypoints_in_cffi': True, 'objspace.std.withspecialisedtuple': True, 'usemodules': ['cpyext', 'thread', 'struct', 'array', 'itertools', 'time', ...]} config = <rpython.config.config.Config object at 0x0000020cb28c74b0> key = (((True, True, True, False, True, True, ...), True, None, False, None, False, ...), False, (False, 'lltype', 'c', True, True, 'ref', ...)) def gettestobjspace(**kwds): """ helper for instantiating and caching spaces for testing. """ try: config = make_config(option, **kwds) except ConflictConfigError as e: # this exception is typically only raised if a module is not available. # in this case the test should be skipped py.test.skip(str(e)) if getattr(option, 'runappdirect', None): return TinyObjSpace() key = config.getkey() try: return _SPACECACHE[key] except KeyError: > space = maketestobjspace(config) tool\pytest\objspace.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ config = <rpython.config.config.Config object at 0x0000020cb28c74b0> def maketestobjspace(config=None): if config is None: config = make_config(option) if config.objspace.usemodules.thread: config.translation.thread = True config.objspace.extmodules = 'pypy.tool.pytest.fake_pytest' > space = make_objspace(config) tool\pytest\objspace.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ config = <rpython.config.config.Config object at 0x0000020cb28c74b0> def make_objspace(config): from pypy.objspace.std.objspace import StdObjSpace > return StdObjSpace(config) tool\option.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace config = <rpython.config.config.Config object at 0x0000020cb28c74b0> @not_rpython def __init__(self, config=None): "Basic initialization of objects." self.w_default_importlib_import = None self.fromcache = InternalSpaceCache(self).getorbuild self.threadlocals = ThreadLocals() # set recursion limit # sets all the internal descriptors if config is None: from pypy.config.pypyoption import get_pypy_config config = get_pypy_config(translating=False) self.config = config self.reverse_debugging = config.translation.reverse_debugger self.builtin_modules = {} self.reloading_modules = {} self.interned_strings = make_weak_value_dictionary(self, str, W_Root) self.actionflag = ActionFlag() # changed by the signal module self.check_signal_action = None # changed by the signal module make_finalizer_queue(W_Root, self) self._code_of_sys_exc_info = None self._builtin_functions_by_identifier = {'': None} # can be overridden to a subclass > self.initialize() interpreter\baseobjspace.py:458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace @not_rpython def initialize(self): """only for initializing the space Setup all the object types and implementations. """ setup_prebuilt(self) self.FrameClass = frame.build_frame(self) self.StringObjectCls = W_BytesObject self.UnicodeObjectCls = W_UnicodeObject self.IntObjectCls = W_IntObject self.FloatObjectCls = W_FloatObject # singletons self.w_None = W_NoneObject.w_None self.w_False = W_BoolObject.w_False self.w_True = W_BoolObject.w_True self.w_NotImplemented = self.wrap(special.NotImplemented()) self.w_Ellipsis = self.wrap(special.Ellipsis()) self.w_DisallowNew = self.wrap(special.DisallowNew()) # types builtin_type_classes = { W_BoolObject.typedef: W_BoolObject, W_BytearrayObject.typedef: W_BytearrayObject, W_BytesObject.typedef: W_BytesObject, W_ComplexObject.typedef: W_ComplexObject, W_DictMultiObject.typedef: W_DictMultiObject, W_FloatObject.typedef: W_FloatObject, W_IntObject.typedef: W_AbstractIntObject, W_AbstractSeqIterObject.typedef: W_AbstractSeqIterObject, W_ListObject.typedef: W_ListObject, W_MemoryView.typedef: W_MemoryView, W_NoneObject.typedef: W_NoneObject, W_ObjectObject.typedef: W_ObjectObject, W_SetObject.typedef: W_SetObject, W_FrozensetObject.typedef: W_FrozensetObject, W_SliceObject.typedef: W_SliceObject, W_TupleObject.typedef: W_TupleObject, W_TypeObject.typedef: W_TypeObject, W_UnicodeObject.typedef: W_UnicodeObject, } self.builtin_types = {} self._interplevel_classes = {} for typedef, cls in builtin_type_classes.items(): w_type = self.gettypeobject(typedef) self.builtin_types[typedef.name] = w_type setattr(self, 'w_' + typedef.name, w_type) self._interplevel_classes[w_type] = cls # The loop above sets space.w_str and space.w_bytes. # We rename 'space.w_str' to 'space.w_unicode' and # 'space.w_text'. self.w_unicode = self.w_str self.w_text = self.w_str del self.w_str self.w_long = self.w_int self.w_dict.flag_map_or_seq = 'M' from pypy.objspace.std import dictproxyobject dictproxyobject._set_flag_map_or_seq(self) self.w_list.flag_map_or_seq = 'S' self.w_tuple.flag_map_or_seq = 'S' self.builtin_types['str'] = self.w_unicode self.builtin_types['bytes'] = self.w_bytes self.builtin_types["NotImplemented"] = self.w_NotImplemented self.builtin_types["Ellipsis"] = self.w_Ellipsis # exceptions & builtins > self.make_builtins() objspace\std\objspace.py:115: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace @not_rpython def make_builtins(self): "only for initializing the space." from pypy.module.exceptions.moduledef import Module w_name = self.newtext('__exceptions__') self.exceptions_module = Module(self, w_name) self.exceptions_module.install() from pypy.module.imp.moduledef import Module w_name = self.newtext('_imp') mod = Module(self, w_name) mod.install() from pypy.module.sys.moduledef import Module w_name = self.newtext('sys') self.sys = Module(self, w_name) self.sys.install() from pypy.module.__builtin__.moduledef import Module w_name = self.newtext('builtins') self.builtin = Module(self, w_name) w_builtin = self.builtin w_builtin.install() self.setitem(self.builtin.w_dict, self.newtext('__builtins__'), w_builtin) exception_types_w = self.export_builtin_exceptions() # initialize with "bootstrap types" from objspace (e.g. w_None) types_w = (self.get_builtin_types().items() + exception_types_w.items()) for name, w_type in types_w: self.setitem(self.builtin.w_dict, self.newtext(name), w_type) # install mixed modules bootstrap_modules = set(('sys', 'imp', 'builtins', 'exceptions', 'zipimport', '_frozen_importlib')) for mixedname in self.get_builtinmodule_to_install(): if mixedname not in bootstrap_modules: > self.install_mixedmodule(mixedname) interpreter\baseobjspace.py:666: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, mixedname = '_cffi_backend' @not_rpython def install_mixedmodule(self, mixedname): > self.setbuiltinmodule(mixedname) interpreter\baseobjspace.py:707: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, pkgname = '_cffi_backend' @not_rpython def setbuiltinmodule(self, pkgname): """load a lazy pypy/module and put it into sys.modules""" if '.' in pkgname: fullname = "%s.moduledef" % (pkgname,) importname = pkgname.rsplit('.', 1)[1] else: fullname = "pypy.module.%s.moduledef" % pkgname importname = pkgname Module = __import__(fullname, > None, None, ["Module"]).Module interpreter\baseobjspace.py:538: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from pypy.interpreter.mixedmodule import MixedModule > from rpython.rlib import rdynload, clibffi module\_cffi_backend\moduledef.py:3: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Libffi wrapping """ from __future__ import with_statement from rpython.rtyper.tool import rffi_platform from rpython.rtyper.lltypesystem import lltype, rffi from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.tool import rffi_platform from rpython.rlib.unroll import unrolling_iterable from rpython.rlib.rarithmetic import intmask, is_emulated_long from rpython.rlib.objectmodel import we_are_translated from rpython.rlib.rmmap import alloc from rpython.rlib.rdynload import dlopen, dlclose, dlsym, dlsym_byordinal from rpython.rlib.rdynload import DLOpenError, DLLHANDLE from rpython.rlib import jit, rposix from rpython.rlib.objectmodel import specialize from rpython.translator.tool.cbuild import ExternalCompilationInfo from rpython.translator.platform import platform from rpython.translator import cdir from platform import machine import py import os import sys import ctypes import ctypes.util # maaaybe isinstance here would be better. Think _MSVC = platform.name == "msvc" _MINGW = platform.name == "mingw32" _WIN32 = _MSVC or _MINGW _WIN64 = _WIN32 and is_emulated_long _MAC_OS = platform.name.startswith("darwin") _LITTLE_ENDIAN = sys.byteorder == 'little' _BIG_ENDIAN = sys.byteorder == 'big' _ARM32 = rffi_platform.getdefined('__arm__', '') _ARM64 = rffi_platform.getdefined('__aarch64', '') _MAC_OS_ARM64 = _MAC_OS and _ARM64 if _WIN32: from rpython.rlib import rwin32 separate_module_sources = [''' #include <stdio.h> #include <windows.h> /* Get the module where the "fopen" function resides in */ RPY_EXTERN HMODULE pypy_get_libc_handle(void) { MEMORY_BASIC_INFORMATION mi; char buf[1000]; memset(&mi, 0, sizeof(mi)); if( !VirtualQueryEx(GetCurrentProcess(), &fopen, &mi, sizeof(mi)) ) return (HMODULE)0; GetModuleFileName((HMODULE)mi.AllocationBase, buf, 500); return (HMODULE)mi.AllocationBase; } '''] post_include_bits = ['RPY_EXTERN HMODULE pypy_get_libc_handle(void);\n',] else: separate_module_sources = [] post_include_bits = [] if not _WIN32: includes = ['ffi.h'] if _MAC_OS: pre_include_bits = ['#define MACOSX\n#define USE_FFI_CLOSURE_ALLOC 1'] else: pre_include_bits = [] library_dirs = platform.library_dirs_for_libffi() libraries = ['ffi'] link_files = [] for libdir in library_dirs: candidate = os.path.join(libdir, "libffi.a") if os.path.exists(candidate): link_files.append(candidate) libraries = [] eci = ExternalCompilationInfo( pre_include_bits = pre_include_bits, includes = includes, libraries = libraries, separate_module_sources = separate_module_sources, post_include_bits = post_include_bits, include_dirs = platform.include_dirs_for_libffi(), library_dirs = library_dirs, link_files = link_files, testonly_libraries = ['ffi'], ) elif _MINGW: includes = ['ffi.h'] libraries = ['libffi-5'] eci = ExternalCompilationInfo( libraries = libraries, includes = includes, separate_module_sources = separate_module_sources, post_include_bits = post_include_bits, ) eci = rffi_platform.configure_external_library( 'ffi-5', eci, [dict(prefix='libffi-', include_dir='include', library_dir='.libs'), dict(prefix=r'c:\\mingw64', include_dir='include', library_dir='lib'), ]) else: eci = ExternalCompilationInfo( includes = ['ffi.h', 'windows.h'], libraries = ['kernel32', 'libffi-8'], separate_module_sources = separate_module_sources, post_include_bits = post_include_bits, ) FFI_TYPE_P = lltype.Ptr(lltype.ForwardReference()) FFI_TYPE_PP = rffi.CArrayPtr(FFI_TYPE_P) FFI_TYPE_NULL = lltype.nullptr(FFI_TYPE_P.TO) class CConfig: _compilation_info_ = eci FFI_OK = rffi_platform.ConstantInteger('FFI_OK') FFI_BAD_TYPEDEF = rffi_platform.ConstantInteger('FFI_BAD_TYPEDEF') FFI_DEFAULT_ABI = rffi_platform.ConstantInteger('FFI_DEFAULT_ABI') if _WIN32 and not _WIN64: FFI_STDCALL = rffi_platform.ConstantInteger('FFI_STDCALL') if _ARM32: FFI_SYSV = rffi_platform.ConstantInteger('FFI_SYSV') FFI_VFP = rffi_platform.ConstantInteger('FFI_VFP') FFI_TYPE_STRUCT = rffi_platform.ConstantInteger('FFI_TYPE_STRUCT') size_t = rffi_platform.SimpleType("size_t", rffi.ULONG) ffi_abi = rffi_platform.SimpleType("ffi_abi", rffi.USHORT) ffi_arg = rffi_platform.SimpleType("ffi_arg", lltype.Signed) ffi_type = rffi_platform.Struct('ffi_type', [('size', rffi.ULONG), ('alignment', rffi.USHORT), ('type', rffi.USHORT), ('elements', FFI_TYPE_PP)]) ffi_cif = rffi_platform.Struct('ffi_cif', []) ffi_closure = rffi_platform.Struct('ffi_closure', [('user_data', rffi.VOIDP)]) def add_simple_type(type_name): for name in ['size', 'alignment', 'type']: setattr(CConfig, type_name + '_' + name, rffi_platform.ConstantInteger(type_name + '.' + name)) def configure_simple_type(type_name): l = lltype.malloc(FFI_TYPE_P.TO, flavor='raw', immortal=True) for tp, name in [(size_t, 'size'), (rffi.USHORT, 'alignment'), (rffi.USHORT, 'type')]: value = getattr(cConfig, '%s_%s' % (type_name, name)) setattr(l, 'c_' + name, rffi.cast(tp, value)) l.c_elements = lltype.nullptr(FFI_TYPE_PP.TO) return l base_names = ['double', 'uchar', 'schar', 'sshort', 'ushort', 'uint', 'sint', # ffi_type_slong and ffi_type_ulong are omitted because # their meaning changes too much from one libffi version to # another. DON'T USE THEM! use cast_type_to_ffitype(). 'float', 'longdouble', 'pointer', 'void', # by size 'sint8', 'uint8', 'sint16', 'uint16', 'sint32', 'uint32', 'sint64', 'uint64'] type_names = ['ffi_type_%s' % name for name in base_names] for i in type_names: add_simple_type(i) class cConfig: pass > for k, v in rffi_platform.configure(CConfig).items(): ..\rpython\rlib\clibffi.py:184: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ CConfig = <class rpython.rlib.clibffi.CConfig at 0x0000020cb536c5d0> ignore_errors = False def configure(CConfig, ignore_errors=False): """Examine the local system by running the C compiler. The CConfig class contains CConfigEntry attribues that describe what should be inspected; configure() returns a dict mapping names to the results. """ for attr in ['_includes_', '_libraries_', '_sources_', '_library_dirs_', '_include_dirs_', '_header_']: assert not hasattr(CConfig, attr), \ "Found legacy attribute %s on CConfig" % attr eci = CConfig._compilation_info_ entries = {} for key in dir(CConfig): value = getattr(CConfig, key) if isinstance(value, CConfigEntry): entries[key] = value res = {} if entries: # can be empty if there are only CConfigSingleEntries results = configure_entries( entries.values(), eci, ignore_errors=ignore_errors) > for name, result in zip(entries, results): ..\rpython\rtyper\tool\rffi_platform.py:216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ entries = [<rpython.rtyper.tool.rffi_platform.ConstantInteger object at 0x0000020cb536c6b0>, <rpython.rtyper.tool.rffi_platform....leType object at 0x0000020cb536c790>, <rpython.rtyper.tool.rffi_platform.SimpleType object at 0x0000020cb536c7c8>, ...] eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('ffi.h', 'windows.h')...estonly_libraries=(), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)> ignore_errors = False def configure_entries(entries, eci, ignore_errors=False): writer = _CWriter(eci) writer.write_header() for i, entry in enumerate(entries): writer.write_entry(str(i), entry) writer.start_main() for i, entry in enumerate(entries): writer.write_entry_main(str(i)) writer.close() infolist = list(run_example_code( > writer.path, eci, ignore_errors=ignore_errors)) ..\rpython\rtyper\tool\rffi_platform.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filepath = local('d:\\systemtemp\\pytest\\usession-py3.11-97\\platcheck_91.c') eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('ffi.h', 'windows.h')...estonly_libraries=(), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)> ignore_errors = False def run_example_code(filepath, eci, ignore_errors=False): eci = eci.convert_sources_to_files() files = [filepath] > output = build_executable_cache(files, eci, ignore_errors=ignore_errors) ..\rpython\rtyper\tool\rffi_platform.py:745: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ c_files = [local('d:\\systemtemp\\pytest\\usession-py3.11-97\\platcheck_91.c')] eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('ffi.h', 'windows.h')...estonly_libraries=(), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)> ignore_errors = False def build_executable_cache(c_files, eci, ignore_errors=False): "Builds and run a program; caches the result" # Import 'platform' every time, the compiler may have been changed from rpython.translator.platform import platform path = cache_file_path(c_files, eci, 'build_executable_cache') try: return path.read() except py.error.Error: _previous = platform.log_errors try: if ignore_errors: platform.log_errors = False > result = platform.execute(platform.compile(c_files, eci)) ..\rpython\tool\gcc_cache.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <MsvcPlatform cc=cl.exe> cfiles = [local('d:\\systemtemp\\pytest\\usession-py3.11-97\\platcheck_91.c')] eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('ffi.h', 'windows.h')...estonly_libraries=(), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)> outputfilename = None, standalone = True def compile(self, cfiles, eci, outputfilename=None, standalone=True): > ofiles = self._compile_o_files(cfiles, eci, standalone) ..\rpython\translator\platform\__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <MsvcPlatform cc=cl.exe> cfiles = [local('d:\\systemtemp\\pytest\\usession-py3.11-97\\platcheck_91.c'), local('d:\\systemtemp\\pytest\\usession-py3.11-97\\module_cache\\module_7.c')] eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('ffi.h', 'windows.h')...estonly_libraries=(), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)> standalone = True def _compile_o_files(self, cfiles, eci, standalone=True): cfiles = self._all_cfiles(cfiles, eci) compile_args = self._compile_args_from_eci(eci, standalone) ofiles = [] for cfile in cfiles: # Windows hack: use masm for files ending in .asm if str(cfile).lower().endswith('.asm'): ofiles.append(self._compile_c_file(self.masm, cfile, [])) else: > ofiles.append(self._compile_c_file(self.cc, cfile, compile_args)) ..\rpython\translator\platform\__init__.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <MsvcPlatform cc=cl.exe>, cc = 'cl.exe' cfile = local('d:\\systemtemp\\pytest\\usession-py3.11-97\\platcheck_91.c') compile_args = ['/MD', '/O2', '/Fdd:\\systemtemp\\pytest\\usession-py3.11-97\\'] def _compile_c_file(self, cc, cfile, compile_args): oname = self._make_o_file(cfile, ext='obj') # notabene: (tismer) # This function may be called for .c but also .asm files. # The c compiler accepts any order of arguments, while # the assembler still has the old behavior that all options # must come first, and after the file name all options are ignored. # So please be careful with the order of parameters! ;-) pdb_dir = oname.dirname if pdb_dir: compile_args = compile_args + ['/Fd%s\\' % (pdb_dir,)] args = ['/nologo', '/c'] + compile_args + ['/Fo%s' % (oname,), str(cfile)] > self._execute_c_compiler(cc, args, oname) ..\rpython\translator\platform\windows.py:290: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <MsvcPlatform cc=cl.exe>, cc = 'cl.exe' args = ['/nologo', '/c', '/MD', '/O2', '/Fdd:\\systemtemp\\pytest\\usession-py3.11-97\\', '/Fod:\\systemtemp\\pytest\\usession-py3.11-97\\platcheck_91.obj', ...] outname = local('d:\\systemtemp\\pytest\\usession-py3.11-97\\platcheck_91.obj') cwd = None def _execute_c_compiler(self, cc, args, outname, cwd=None): #log.execute(cc + ' ' + ' '.join(args)) # 'cc' can also contain some options for the C compiler; # e.g. it can be "gcc -m32". We handle it by splitting on ' '. cclist = cc.split() cc = cclist[0] args = cclist[1:] + args returncode, stdout, stderr = _run_subprocess(cc, args, self.c_environ, cwd) > self._handle_error(returncode, stdout, stderr, outname) ..\rpython\translator\platform\__init__.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <MsvcPlatform cc=cl.exe>, returncode = 3221225477, stdout = '' stderr = '' outname = local('d:\\systemtemp\\pytest\\usession-py3.11-97\\platcheck_91.obj') def _handle_error(self, returncode, stdout, stderr, outname): if returncode != 0: # Microsoft compilers write compilation errors to stdout stderr = stdout + stderr errorfile = outname.new(ext='errors') errorfile.write(stderr, mode='wb') if self.log_errors: stderrlines = stderr.splitlines() for line in stderrlines: log.Error(line) # ^^^ don't use ERROR, because it might actually be fine. # Also, ERROR confuses lib-python/conftest.py. > raise CompilationError(stdout, stderr) E CompilationError: CompilationError(out=""" E """) ..\rpython\translator\platform\windows.py:319: CompilationError ================================== FAILURES =================================== ___________ AppTestSlots.test_multiple_inheritance_small_basicsize ____________ self = <CallInfo when='call' exception: command 'd:\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64\\cl.exe' failed with exit status 2> func = <function <lambda> at 0x0000020cbfe7b4c0>, when = 'call' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_call'> kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_small_basi...: <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_multiple_inheritance_small_basicsize'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x0000020cada133d0> hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000020cb59ccf60>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_small_basi...: <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_multiple_inheritance_small_basicsize'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000020cb59ccf60>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_small_basi...: <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_multiple_inheritance_small_basicsize'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_small_basicsize'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0000020cbed00340> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i..._basicsize'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020cc15143e0> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020cc15143e0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i..._basicsize'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_small_basicsize'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0000020cbed00278> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i..._basicsize'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020cc15143a0> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020cc15143a0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i..._basicsize'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_small_basicsize'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <AppTestMethod 'test_multiple_inheritance_small_basicsize'> def pytest_runtest_call(item): try: > item.runtest() ..\_pytest\runner.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_multiple_inheritance_small_basicsize'> def runtest(self): target = self.obj src = extract_docstring_if_empty_function(target.im_func) space = target.im_self.space if self.config.option.runappdirect: appexec_definitions = self.parent.obj.__dict__ spaceconfig = getattr(self.parent.obj, 'spaceconfig', None) usemodules = spaceconfig.get('usemodules') if spaceconfig else None return run_with_python(self.config.option.python, src, usemodules, **appexec_definitions) filename = self._getdynfilename(target) func = app2interp_temp(src, filename=filename) w_instance = self.parent.w_instance > self.execute_appex(space, func, space, w_instance) tool\pytest\apptest.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_multiple_inheritance_small_basicsize'> space = StdObjSpace target = <function test_multiple_inheritance_small_basicsize at 0x0000020cbfe7be20> args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020cb84608a8>) def execute_appex(self, space, target, *args): self.space = space space.getexecutioncontext().set_sys_exc_info(None) try: > target(*args) tool\pytest\apptest.py:267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020cb84608a8>,) w_func = <Function test_multiple_inheritance_small_basicsize> args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020cb84608a8> def appcaller(space, *args_w): if not isinstance(space, ObjSpace): raise TypeError("first argument must be a space instance.") # the last argument can be an Arguments w_func = self.wget(space, name) if not args_w: return space.call_function(w_func) else: args = args_w[-1] assert args is not None if not isinstance(args, Arguments): > return space.call_function(w_func, *args_w) interpreter\gateway.py:1409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace w_func = <Function test_multiple_inheritance_small_basicsize> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020cb84608a8>,) nargs = 1, Function = <class 'pypy.interpreter.function.Function'> _Method = <class 'pypy.interpreter.function._Method'> def call_function(self, w_func, *args_w): nargs = len(args_w) # used for pruning funccall versions if not self.config.objspace.disable_call_speedhacks and nargs < 5: # start of hack for performance from pypy.interpreter.function import Function, _Method if isinstance(w_func, _Method): if nargs < 4: func = w_func.w_function if isinstance(func, Function): return func.funccall(w_func.w_instance, *args_w) if isinstance(w_func, Function): > return w_func.funccall(*args_w) interpreter\baseobjspace.py:1237: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function test_multiple_inheritance_small_basicsize> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020cb84608a8>,) gateway = <module 'pypy.interpreter.gateway' from 'd:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\interpreter\\gateway.pyc'> PyCode = <class 'pypy.interpreter.pycode.PyCode'> code = <code object test_multiple_inheritance_small_basicsize, file "[d:\pypy_stuff\b...own-win-x86-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> def funccall(self, *args_w): # speed hack from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit nargs = len(args_w) fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, args_w[0]) elif nargs == 2: assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, args_w[0], args_w[1]) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) return code.fastcall_3(self.space, self, args_w[0], args_w[1], args_w[2]) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) return code.fastcall_4(self.space, self, args_w[0], args_w[1], args_w[2], args_w[3]) elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) if nargs < 5: new_frame = self.space.createframe(code, self.w_func_globals, self) for i in funccallunrolling: if i < nargs: new_frame.locals_cells_stack_w[i] = args_w[i] > return new_frame.run(self.name, self.qualname) interpreter\function.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> at line 6 name = 'test_multiple_inheritance_small_basicsize' qualname = 'test_multiple_inheritance_small_basicsize' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> at line 6 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> at line 6 e = CompileError(DistutilsExecError("command 'd:\\\\Microsoft Visual Studio\\\\202...\14.41.34120\\\\bin\\\\HostX64\\\\x64\\\\cl.exe' failed with exit status 2",),) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> at line 6 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> at line 6 pycode = <code object test_multiple_inheritance_small_basicsize, file "[d:\pypy_stuff\b...own-win-x86-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000020cb34b6250> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> at line 6 co_code = '|\x00\xa0\x00d\x01d\x02g\x01\xa1\x02}\x01|\x01\xa0\x01\xa1\x00}\x02d\x03t\x02|\x02\x83\x01v\x00s\x13J\x00\x82\x01d\x00S\x00' next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000020cb34b6250> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> at line 6 co_code = '|\x00\xa0\x00d\x01d\x02g\x01\xa1\x02}\x01|\x01\xa0\x01\xa1\x00}\x02d\x03t\x02|\x02\x83\x01v\x00s\x13J\x00\x82\x01d\x00S\x00' next_instr = 12L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000020cb34b6250> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: self.CALL_FUNCTION(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_KW.index: self.CALL_FUNCTION_KW(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: > self.CALL_METHOD(oparg, next_instr) interpreter\pyopcode.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> at line 6 oparg = 2, ignored = (12L,), n_args = 2, w_self = None, n = 2 @jit.unroll_safe def CALL_METHOD(f, oparg, *ignored): # opargs contains the arg, and kwarg count, excluding the implicit 'self' n_args = oparg w_self = f.peekvalue_maybe_none(n_args) n = n_args + (w_self is not None) w_callable = f.peekvalue(n_args + 1) w_result = f.space.call_valuestack( > w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2) objspace\std\callmethod.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <FunctionWithFixedCode import_extension>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> at line 6 dropvalues = 4, methodcall = False def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode import_extension>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1650]", line 1> at line 6 dropvalues = 4, methodcall = False def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, f_0) elif nargs == 2: f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, f_1, f_0) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) frame.dropvalues(dropvalues) return code.fastcall_3(self.space, self, f_2, f_1, f_0) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) f_3 = frame.peekvalue(3) frame.dropvalues(dropvalues) return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0) elif (nargs | Code.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) return self._flat_pycall(code, nargs, frame, dropvalues) elif fast_natural_arity & Code.FLATPYCALL: natural_arity = fast_natural_arity & 0xff if natural_arity > nargs >= natural_arity - len(self.defs_w): assert isinstance(code, PyCode) return self._flat_pycall_defaults(code, nargs, frame, natural_arity - nargs, dropvalues) elif fast_natural_arity == Code.PASSTHROUGHARGS1 and nargs >= 1: assert isinstance(code, gateway.BuiltinCodePassThroughArguments1) w_obj = frame.peekvalue(nargs-1) args = frame.make_arguments(nargs-1, w_function=self) frame.dropvalues(dropvalues) return code.funcrun_obj(self, w_obj, args) args = frame.make_arguments(nargs, methodcall=methodcall, w_function=self) frame.dropvalues(dropvalues) > return self.call_args(args) interpreter\function.py:203: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... PyObject_New(PyObject, B12);\n return obj;\n '))])]) def call_args(self, args): # delegate activation to code > w_res = self.getcode().funcrun(self, args) interpreter\function.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020cb77b8640> func = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... PyObject_New(PyObject, B12);\n return obj;\n '))])]) def funcrun(self, func, args): > return BuiltinCode.funcrun_obj(self, func, None, args) interpreter\gateway.py:869: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020cb77b8640> func = <FunctionWithFixedCode import_extension>, w_obj = None args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... PyObject_New(PyObject, B12);\n return obj;\n '))])]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: w_result = activation._run(space, scope_w) except DescrMismatch: if w_obj is not None: args = args.prepend(w_obj) return self._type_unwrap_mismatch(space, args) except Exception as e: > self.handle_exception(space, e) interpreter\gateway.py:884: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020cb77b8640> space = StdObjSpace e = CompileError(DistutilsExecError("command 'd:\\\\Microsoft Visual Studio\\\\202...\14.41.34120\\\\bin\\\\HostX64\\\\x64\\\\cl.exe' failed with exit status 2",),) def handle_exception(self, space, e): try: if not we_are_translated(): raise raise e except OperationError: raise except Exception as e: # general fall-back from pypy.interpreter import error > raise error.get_converted_unexpected_exception(space, e) interpreter\gateway.py:908: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020cb77b8640> func = <FunctionWithFixedCode import_extension>, w_obj = None args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... PyObject_New(PyObject, B12);\n return obj;\n '))])]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: > w_result = activation._run(space, scope_w) interpreter\gateway.py:878: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x0000020cb77b8720> space = StdObjSpace scope_w = [W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... = PyObject_...;\n return obj;\n '))]), W_UnicodeObject(''), None, W_UnicodeObject(''), W_BoolObject(False)] def _run(self, space, scope_w): > return self.behavior(space, space.text_w(scope_w[0]), scope_w[1], space.text_w(scope_w[2]), scope_w[3], space.text_w(scope_w[4]), space.is_true(scope_w[5])) <3375-codegen d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\tool\sourcetools.py:200>:3: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, modname = 'foo' w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... = PyObject_New(PyObject, B12);\n return obj;\n '))]) prologue = '', w_include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False @unwrap_spec(modname='text', prologue='text', more_init='text', PY_SSIZE_T_CLEAN=bool) def import_extension(space, modname, w_functions, prologue="", w_include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False): functions = space.unwrap(w_functions) include_dirs = _unwrap_include_dirs(space, w_include_dirs) # If there's already a module under this name (file-based or a # previous inline extension), save it in _module_keepalive before # it's displaced. This prevents its raw allocations (method-name # strings, type dicts, etc.) from being freed during a later # test's leakfinder tracking window. self._file_module_cache.pop(modname, None) w_modules = space.sys.get('modules') try: w_old = space.getitem(w_modules, space.newtext(modname)) self._module_keepalive.append(w_old) except OperationError: pass w_result = self.sys_info.import_extension( modname, functions, prologue, include_dirs, more_init, > PY_SSIZE_T_CLEAN) module\cpyext\test\test_cpyext.py:415: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000020cb8460288> modname = 'foo' functions = [(u'new_obj', u'METH_NOARGS', u'\n /* Simulate pybind11: instance struct is PyObject_HEAD + one ptr,\n ...urn NULL;\n\n PyObject *obj = PyObject_New(PyObject, B12);\n return obj;\n ')] prologue = '', include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False def import_extension(self, modname, functions, prologue="", include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False): body = prologue + make_methods(functions, modname) init = """PyObject *mod = PyModule_Create(&moduledef); """ if more_init: init += """#define INITERROR return NULL """ init += more_init init += "\nreturn mod;" return self.import_module( name=modname, init=init, body=body, include_dirs=include_dirs, > PY_SSIZE_T_CLEAN=PY_SSIZE_T_CLEAN) tool\cpyext\extbuild.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000020cb8460288> name = 'foo' init = 'PyObject *mod = PyModule_Create(&moduledef);\n \nreturn mod;' body = u'\n static PyObject* foo_new_obj(PyObject *self, PyObject *args)\n {\n \n /* Simu...LL, /* m_doc */\n -1, /* m_size */\n methods, /* m_methods */\n };\n ' filename = None, include_dirs = None, PY_SSIZE_T_CLEAN = False, use_imp = False def import_module(self, name, init=None, body='', filename=None, include_dirs=None, PY_SSIZE_T_CLEAN=False, use_imp=False): """ init specifies the overall template of the module. if init is None, the module source will be loaded from a file in this test directory, give a name given by the filename parameter. if filename is None, the module name will be used to construct the filename. """ if body or init: if init is None: init = "return PyModule_Create(&moduledef);" if init is not None: code = make_source(name, init, body, PY_SSIZE_T_CLEAN) kwds = dict(source_strings=[code]) else: assert not PY_SSIZE_T_CLEAN if filename is None: filename = name filename = HERE / (filename + ".c") kwds = dict(source_files=[filename]) mod = self.compile_extension_module( > name, include_dirs=include_dirs, **kwds) tool\cpyext\extbuild.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000020cb8460288> name = 'foo', include_dirs = [] source_files = [local('d:\\systemtemp\\pytest\\usession-py3.11-97\\foo-26\\source_0.c')] source_strings = [u'\n \n #include <Python.h>\n\n \n static PyObject* foo_new_obj(PyObject *self, PyObject *args)\n ...\n PyInit_foo(void) {\n PyObject *mod = PyModule_Create(&moduledef);\n \nreturn mod;\n }\n '] def compile_extension_module(self, name, include_dirs=None, source_files=None, source_strings=None): """ Build an extension module and return the filename of the resulting native code file. name is the name of the module, possibly including dots if it is a module inside a package. """ include_dirs = include_dirs or [] modname = name.split('.')[-1] dirname = self.get_builddir(name=modname) if source_strings: assert not source_files files = convert_sources_to_files(source_strings, dirname) source_files = files soname = c_compile(source_files, outputfilename=str(dirname / modname), compile_extra=self.compile_extra, link_extra=self.link_extra, include_dirs=self.include_extra + include_dirs, > libraries=self.extra_libs) tool\cpyext\extbuild.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cfilenames = [local('d:\\systemtemp\\pytest\\usession-py3.11-97\\foo-26\\source_0.c')] outputfilename = local('d:\\systemtemp\\pytest\\usession-py3.11-97\\foo-26\\foo.dll') compile_extra = ['/we4013', '/c', '/nologo', '/Ox', '/W3', '/GL', ...] link_extra = ['/NODEFAULTLIB:Python311.lib', '/DEBUG'] include_dirs = [local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\module\\cpyext\\PC'), local('d:\\systemtemp\\p...py\\module\\cpyext\\parse'), local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\rpython\\translator\\c')] libraries = ['d:\\systemtemp\\pytest\\usession-py3.11-97\\module_cache\\pypyapi'] library_dirs = [] def c_compile(cfilenames, outputfilename, compile_extra=None, link_extra=None, include_dirs=None, libraries=None, library_dirs=None): compile_extra = compile_extra or [] link_extra = link_extra or [] include_dirs = include_dirs or [] libraries = libraries or [] library_dirs = library_dirs or [] if sys.platform == 'win32': link_extra = link_extra + ['/DEBUG'] # generate .pdb file if sys.platform == 'darwin': # support Fink & Darwinports for s in ('/sw/', '/opt/local/'): if (s + 'include' not in include_dirs and os.path.exists(s + 'include')): include_dirs.append(s + 'include') if s + 'lib' not in library_dirs and os.path.exists(s + 'lib'): library_dirs.append(s + 'lib') outputfilename = py.path.local(outputfilename).new(ext=so_ext) saved_environ = os.environ.copy() try: _build( cfilenames, outputfilename, compile_extra, link_extra, > include_dirs, libraries, library_dirs) tool\cpyext\extbuild.py:200: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cfilenames = [local('d:\\systemtemp\\pytest\\usession-py3.11-97\\foo-26\\source_0.c')] outputfilename = local('d:\\systemtemp\\pytest\\usession-py3.11-97\\foo-26\\foo.dll') compile_extra = ['/we4013', '/c', '/nologo', '/Ox', '/W3', '/GL', ...] link_extra = ['/NODEFAULTLIB:Python311.lib', '/DEBUG'] include_dirs = [local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\module\\cpyext\\PC'), local('d:\\systemtemp\\p...py\\module\\cpyext\\parse'), local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\rpython\\translator\\c')] libraries = ['d:\\systemtemp\\pytest\\usession-py3.11-97\\module_cache\\pypyapi'] library_dirs = [] def _build(cfilenames, outputfilename, compile_extra, link_extra, include_dirs, libraries, library_dirs): try: # monkeypatch distutils for some versions of msvc compiler import setuptools except ImportError: # XXX if this fails and is required, # we must call pypy -mensurepip after translation pass from distutils.ccompiler import new_compiler from distutils import sysconfig # XXX for Darwin running old versions of CPython 2.7.x sysconfig.get_config_vars() compiler = new_compiler(force=1) sysconfig.customize_compiler(compiler) # XXX objects = [] for cfile in cfilenames: cfile = py.path.local(cfile) old = cfile.dirpath().chdir() try: res = compiler.compile([cfile.basename], > include_dirs=include_dirs, extra_preargs=compile_extra) tool\cpyext\extbuild.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <distutils._msvccompiler.MSVCCompiler instance at 0x0000020cc1515ae0> sources = ['source_0.c'], output_dir = None, macros = [] include_dirs = [local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\module\\cpyext\\PC'), local('d:\\systemtemp\\p...py\\module\\cpyext\\parse'), local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\rpython\\translator\\c')] debug = 0 extra_preargs = ['/we4013', '/c', '/nologo', '/Ox', '/W3', '/GL', ...] extra_postargs = [], depends = None def compile(self, sources, output_dir=None, macros=None, include_dirs=None, debug=0, extra_preargs=None, extra_postargs=None, depends=None): if not self.initialized: self.initialize() compile_info = self._setup_compile(output_dir, macros, include_dirs, sources, depends, extra_postargs) macros, objects, extra_postargs, pp_opts, build = compile_info compile_opts = extra_preargs or [] compile_opts.append('/c') if debug: compile_opts.extend(self.compile_options_debug) else: compile_opts.extend(self.compile_options) add_cpp_opts = False for obj in objects: try: src, ext = build[obj] except KeyError: continue if debug: # pass the full pathname to MSVC in debug mode, # this allows the debugger to find the source file # without asking the user to browse for it src = os.path.abspath(src) if ext in self._c_extensions: input_opt = "/Tc" + src elif ext in self._cpp_extensions: input_opt = "/Tp" + src add_cpp_opts = True elif ext in self._rc_extensions: # compile .RC to .RES file input_opt = src output_opt = "/fo" + obj try: self.spawn([self.rc] + pp_opts + [output_opt, input_opt]) except DistutilsExecError as msg: raise CompileError(msg) continue elif ext in self._mc_extensions: # Compile .MC to .RC file to .RES file. # * '-h dir' specifies the directory for the # generated include file # * '-r dir' specifies the target directory of the # generated RC file and the binary message resource # it includes # # For now (since there are no options to change this), # we use the source-directory for the include file and # the build directory for the RC file and message # resources. This works at least for win32all. h_dir = os.path.dirname(src) rc_dir = os.path.dirname(obj) try: # first compile .MC to .RC and .H file self.spawn([self.mc, '-h', h_dir, '-r', rc_dir, src]) base, _ = os.path.splitext(os.path.basename (src)) rc_file = os.path.join(rc_dir, base + '.rc') # then compile .RC to .RES file self.spawn([self.rc, "/fo" + obj, rc_file]) except DistutilsExecError as msg: raise CompileError(msg) continue else: # how to handle this file? raise CompileError("Don't know how to compile {} to {}" .format(src, obj)) args = [self.cc] + compile_opts + pp_opts if add_cpp_opts: args.append('/EHsc') args.append(input_opt) args.append("/Fo" + obj) args.extend(extra_postargs) try: self.spawn(args) except DistutilsExecError as msg: > raise CompileError(msg) E CompileError: command 'd:\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64\\cl.exe' failed with exit status 2 d:\pypy_stuff\pypy2.7-v7.3.18\lib-python\2.7\distutils\_msvccompiler.py:403: CompileError ---------------------------- Captured stdout call ----------------------------- source_0.c source_0.c(11): error C2059: syntax error: ';' source_0.c(15): error C2040: 'B1': 'int' differs in levels of indirection from 'PyTypeObject *' source_0.c(16): error C2040: 'B2': 'int' differs in levels of indirection from 'PyTypeObject *' source_0.c(17): error C2040: 'B12': 'int' differs in levels of indirection from 'PyTypeObject *' source_0.c(19): error C2099: initializer is not a constant source_0.c(20): error C2099: initializer is not a constant source_0.c(21): error C2099: initializer is not a constant source_0.c(23): error C2143: syntax error: missing '{' before '->' source_0.c(23): error C2059: syntax error: '->' source_0.c(24): error C2143: syntax error: missing '{' before '->' source_0.c(24): error C2059: syntax error: '->' source_0.c(25): error C2143: syntax error: missing '{' before '->' source_0.c(25): error C2059: syntax error: '->' source_0.c(27): error C2143: syntax error: missing '{' before '->' source_0.c(27): error C2059: syntax error: '->' source_0.c(28): error C2143: syntax error: missing '{' before '->' source_0.c(28): error C2059: syntax error: '->' source_0.c(29): error C2143: syntax error: missing '{' before '->' source_0.c(29): error C2059: syntax error: '->' source_0.c(31): error C2059: syntax error: '<parameter-list>' source_0.c(32): error C2059: syntax error: '<parameter-list>' source_0.c(33): error C2059: syntax error: '<parameter-list>' source_0.c(34): error C2059: syntax error: '<parameter-list>' source_0.c(35): error C2059: syntax error: '<parameter-list>' source_0.c(36): error C2059: syntax error: '<parameter-list>' source_0.c(38): error C2143: syntax error: missing '{' before '->' source_0.c(38): error C2059: syntax error: '->' source_0.c(39): error C2143: syntax error: missing '{' before '->' source_0.c(39): error C2059: syntax error: '->' source_0.c(40): error C2143: syntax error: missing '{' before '->' source_0.c(40): error C2059: syntax error: '->' source_0.c(42): error C2143: syntax error: missing '{' before '->' source_0.c(42): error C2059: syntax error: '->' source_0.c(43): error C2143: syntax error: missing '{' before '->' source_0.c(43): error C2059: syntax error: '->' source_0.c(45): error C2059: syntax error: 'if' source_0.c(46): error C2059: syntax error: 'if' source_0.c(47): error C2059: syntax error: 'if' source_0.c(49): error C2099: initializer is not a constant source_0.c(50): error C2059: syntax error: 'return' source_0.c(52): error C2059: syntax error: '}' source_0.c(63): error C2065: 'methods': undeclared identifier source_0.c(58): error C2099: initializer is not a constant ___ AppTestSlots.test_multiple_inheritance_python_subclass_of_two_cpytypes ____ self = <CallInfo when='call' exception: command 'd:\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64\\cl.exe' failed with exit status 2> func = <function <lambda> at 0x0000020cbfdfad40>, when = 'call' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_call'> kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_python_sub...results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_multiple_inheritance_python_subclass_of_two_cpytypes'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x0000020cada133d0> hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000020cb59ccf60>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_python_sub...results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_multiple_inheritance_python_subclass_of_two_cpytypes'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000020cb59ccf60>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_python_sub...results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_multiple_inheritance_python_subclass_of_two_cpytypes'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_python_subclass_of_two_cpytypes'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0000020cbb084840> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...o_cpytypes'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020cbbaf51a0> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020cbbaf51a0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...o_cpytypes'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_python_subclass_of_two_cpytypes'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0000020cbb0847f0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...o_cpytypes'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020cbbaf5160> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020cbbaf5160> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...o_cpytypes'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance_python_subclass_of_two_cpytypes'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <AppTestMethod 'test_multiple_inheritance_python_subclass_of_two_cpytypes'> def pytest_runtest_call(item): try: > item.runtest() ..\_pytest\runner.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_multiple_inheritance_python_subclass_of_two_cpytypes'> def runtest(self): target = self.obj src = extract_docstring_if_empty_function(target.im_func) space = target.im_self.space if self.config.option.runappdirect: appexec_definitions = self.parent.obj.__dict__ spaceconfig = getattr(self.parent.obj, 'spaceconfig', None) usemodules = spaceconfig.get('usemodules') if spaceconfig else None return run_with_python(self.config.option.python, src, usemodules, **appexec_definitions) filename = self._getdynfilename(target) func = app2interp_temp(src, filename=filename) w_instance = self.parent.w_instance > self.execute_appex(space, func, space, w_instance) tool\pytest\apptest.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_multiple_inheritance_python_subclass_of_two_cpytypes'> space = StdObjSpace target = <function test_multiple_inheritance_python_subclass_of_two_cpytypes at 0x0000020cbfc84098> args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020cb84608a8>) def execute_appex(self, space, target, *args): self.space = space space.getexecutioncontext().set_sys_exc_info(None) try: > target(*args) tool\pytest\apptest.py:267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020cb84608a8>,) w_func = <Function test_multiple_inheritance_python_subclass_of_two_cpytypes> args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020cb84608a8> def appcaller(space, *args_w): if not isinstance(space, ObjSpace): raise TypeError("first argument must be a space instance.") # the last argument can be an Arguments w_func = self.wget(space, name) if not args_w: return space.call_function(w_func) else: args = args_w[-1] assert args is not None if not isinstance(args, Arguments): > return space.call_function(w_func, *args_w) interpreter\gateway.py:1409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace w_func = <Function test_multiple_inheritance_python_subclass_of_two_cpytypes> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020cb84608a8>,) nargs = 1, Function = <class 'pypy.interpreter.function.Function'> _Method = <class 'pypy.interpreter.function._Method'> def call_function(self, w_func, *args_w): nargs = len(args_w) # used for pruning funccall versions if not self.config.objspace.disable_call_speedhacks and nargs < 5: # start of hack for performance from pypy.interpreter.function import Function, _Method if isinstance(w_func, _Method): if nargs < 4: func = w_func.w_function if isinstance(func, Function): return func.funccall(w_func.w_instance, *args_w) if isinstance(w_func, Function): > return w_func.funccall(*args_w) interpreter\baseobjspace.py:1237: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function test_multiple_inheritance_python_subclass_of_two_cpytypes> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020cb84608a8>,) gateway = <module 'pypy.interpreter.gateway' from 'd:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\interpreter\\gateway.pyc'> PyCode = <class 'pypy.interpreter.pycode.PyCode'> code = <code object test_multiple_inheritance_python_subclass_of_two_cpytypes, file "...own-win-x86-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> def funccall(self, *args_w): # speed hack from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit nargs = len(args_w) fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, args_w[0]) elif nargs == 2: assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, args_w[0], args_w[1]) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) return code.fastcall_3(self.space, self, args_w[0], args_w[1], args_w[2]) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) return code.fastcall_4(self.space, self, args_w[0], args_w[1], args_w[2], args_w[3]) elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) if nargs < 5: new_frame = self.space.createframe(code, self.w_func_globals, self) for i in funccallunrolling: if i < nargs: new_frame.locals_cells_stack_w[i] = args_w[i] > return new_frame.run(self.name, self.qualname) interpreter\function.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> at line 8 name = 'test_multiple_inheritance_python_subclass_of_two_cpytypes' qualname = 'test_multiple_inheritance_python_subclass_of_two_cpytypes' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> at line 8 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> at line 8 e = CompileError(DistutilsExecError("command 'd:\\\\Microsoft Visual Studio\\\\202...\14.41.34120\\\\bin\\\\HostX64\\\\x64\\\\cl.exe' failed with exit status 2",),) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> at line 8 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> at line 8 pycode = <code object test_multiple_inheritance_python_subclass_of_two_cpytypes, file "...own-win-x86-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000020cb34b6250> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> at line 8 co_code = '|\x00\xa0\x00d\x01d\x02g\x01\xa1\x02}\x01|\x01\xa0\x01\xa1\x00\\\x02}\x02}\x03G\x00d\x03\x84\x00d\x04|\x02|\x03\x83\x04}\x04|\x04\x83\x00}\x05t\x02|\x05|\x02\x83\x02s\x1fJ\x00\x82\x01t\x02|\x05|\x03\x83\x02s&J\x00\x82\x01d\x00S\x00' next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000020cb34b6250> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> at line 8 co_code = '|\x00\xa0\x00d\x01d\x02g\x01\xa1\x02}\x01|\x01\xa0\x01\xa1\x00\\\x02}\x02}\x03G\x00d\x03\x84\x00d\x04|\x02|\x03\x83\x04}\x04|\x04\x83\x00}\x05t\x02|\x05|\x02\x83\x02s\x1fJ\x00\x82\x01t\x02|\x05|\x03\x83\x02s&J\x00\x82\x01d\x00S\x00' next_instr = 12L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000020cb34b6250> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: self.CALL_FUNCTION(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_KW.index: self.CALL_FUNCTION_KW(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: > self.CALL_METHOD(oparg, next_instr) interpreter\pyopcode.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> at line 8 oparg = 2, ignored = (12L,), n_args = 2, w_self = None, n = 2 @jit.unroll_safe def CALL_METHOD(f, oparg, *ignored): # opargs contains the arg, and kwarg count, excluding the implicit 'self' n_args = oparg w_self = f.peekvalue_maybe_none(n_args) n = n_args + (w_self is not None) w_callable = f.peekvalue(n_args + 1) w_result = f.space.call_valuestack( > w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2) objspace\std\callmethod.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <FunctionWithFixedCode import_extension>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> at line 8 dropvalues = 4, methodcall = False def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode import_extension>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1706]", line 1> at line 8 dropvalues = 4, methodcall = False def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, f_0) elif nargs == 2: f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, f_1, f_0) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) frame.dropvalues(dropvalues) return code.fastcall_3(self.space, self, f_2, f_1, f_0) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) f_3 = frame.peekvalue(3) frame.dropvalues(dropvalues) return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0) elif (nargs | Code.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) return self._flat_pycall(code, nargs, frame, dropvalues) elif fast_natural_arity & Code.FLATPYCALL: natural_arity = fast_natural_arity & 0xff if natural_arity > nargs >= natural_arity - len(self.defs_w): assert isinstance(code, PyCode) return self._flat_pycall_defaults(code, nargs, frame, natural_arity - nargs, dropvalues) elif fast_natural_arity == Code.PASSTHROUGHARGS1 and nargs >= 1: assert isinstance(code, gateway.BuiltinCodePassThroughArguments1) w_obj = frame.peekvalue(nargs-1) args = frame.make_arguments(nargs-1, w_function=self) frame.dropvalues(dropvalues) return code.funcrun_obj(self, w_obj, args) args = frame.make_arguments(nargs, methodcall=methodcall, w_function=self) frame.dropvalues(dropvalues) > return self.call_args(args) interpreter\function.py:203: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n NULL;\n\n return PyTuple_Pack(2, B1, B2);\n '))])]) def call_args(self, args): # delegate activation to code > w_res = self.getcode().funcrun(self, args) interpreter\function.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020cb6d28100> func = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n NULL;\n\n return PyTuple_Pack(2, B1, B2);\n '))])]) def funcrun(self, func, args): > return BuiltinCode.funcrun_obj(self, func, None, args) interpreter\gateway.py:869: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020cb6d28100> func = <FunctionWithFixedCode import_extension>, w_obj = None args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n NULL;\n\n return PyTuple_Pack(2, B1, B2);\n '))])]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: w_result = activation._run(space, scope_w) except DescrMismatch: if w_obj is not None: args = args.prepend(w_obj) return self._type_unwrap_mismatch(space, args) except Exception as e: > self.handle_exception(space, e) interpreter\gateway.py:884: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020cb6d28100> space = StdObjSpace e = CompileError(DistutilsExecError("command 'd:\\\\Microsoft Visual Studio\\\\202...\14.41.34120\\\\bin\\\\HostX64\\\\x64\\\\cl.exe' failed with exit status 2",),) def handle_exception(self, space, e): try: if not we_are_translated(): raise raise e except OperationError: raise except Exception as e: # general fall-back from pypy.interpreter import error > raise error.get_converted_unexpected_exception(space, e) interpreter\gateway.py:908: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020cb6d28100> func = <FunctionWithFixedCode import_extension>, w_obj = None args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n NULL;\n\n return PyTuple_Pack(2, B1, B2);\n '))])]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: > w_result = activation._run(space, scope_w) interpreter\gateway.py:878: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x0000020cb6d28218> space = StdObjSpace scope_w = [W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...urn NULL;\n\...eturn PyTuple_Pack(2, B1, B2);\n '))]), W_UnicodeObject(''), None, W_UnicodeObject(''), W_BoolObject(False)] def _run(self, space, scope_w): > return self.behavior(space, space.text_w(scope_w[0]), scope_w[1], space.text_w(scope_w[2]), scope_w[3], space.text_w(scope_w[4]), space.is_true(scope_w[5])) <3375-codegen d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\tool\sourcetools.py:200>:3: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, modname = 'foo' w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...urn NULL;\n\n return PyTuple_Pack(2, B1, B2);\n '))]) prologue = '', w_include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False @unwrap_spec(modname='text', prologue='text', more_init='text', PY_SSIZE_T_CLEAN=bool) def import_extension(space, modname, w_functions, prologue="", w_include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False): functions = space.unwrap(w_functions) include_dirs = _unwrap_include_dirs(space, w_include_dirs) # If there's already a module under this name (file-based or a # previous inline extension), save it in _module_keepalive before # it's displaced. This prevents its raw allocations (method-name # strings, type dicts, etc.) from being freed during a later # test's leakfinder tracking window. self._file_module_cache.pop(modname, None) w_modules = space.sys.get('modules') try: w_old = space.getitem(w_modules, space.newtext(modname)) self._module_keepalive.append(w_old) except OperationError: pass w_result = self.sys_info.import_extension( modname, functions, prologue, include_dirs, more_init, > PY_SSIZE_T_CLEAN) module\cpyext\test\test_cpyext.py:415: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000020cb8460288> modname = 'foo' functions = [(u'get_bases', u'METH_NOARGS', u'\n /* Simulate two independent pybind11-style types: both have the\n ... if (PyType_Ready(B2) < 0) return NULL;\n\n return PyTuple_Pack(2, B1, B2);\n ')] prologue = '', include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False def import_extension(self, modname, functions, prologue="", include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False): body = prologue + make_methods(functions, modname) init = """PyObject *mod = PyModule_Create(&moduledef); """ if more_init: init += """#define INITERROR return NULL """ init += more_init init += "\nreturn mod;" return self.import_module( name=modname, init=init, body=body, include_dirs=include_dirs, > PY_SSIZE_T_CLEAN=PY_SSIZE_T_CLEAN) tool\cpyext\extbuild.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000020cb8460288> name = 'foo' init = 'PyObject *mod = PyModule_Create(&moduledef);\n \nreturn mod;' body = u'\n static PyObject* foo_get_bases(PyObject *self, PyObject *args)\n {\n \n /* Si...LL, /* m_doc */\n -1, /* m_size */\n methods, /* m_methods */\n };\n ' filename = None, include_dirs = None, PY_SSIZE_T_CLEAN = False, use_imp = False def import_module(self, name, init=None, body='', filename=None, include_dirs=None, PY_SSIZE_T_CLEAN=False, use_imp=False): """ init specifies the overall template of the module. if init is None, the module source will be loaded from a file in this test directory, give a name given by the filename parameter. if filename is None, the module name will be used to construct the filename. """ if body or init: if init is None: init = "return PyModule_Create(&moduledef);" if init is not None: code = make_source(name, init, body, PY_SSIZE_T_CLEAN) kwds = dict(source_strings=[code]) else: assert not PY_SSIZE_T_CLEAN if filename is None: filename = name filename = HERE / (filename + ".c") kwds = dict(source_files=[filename]) mod = self.compile_extension_module( > name, include_dirs=include_dirs, **kwds) tool\cpyext\extbuild.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000020cb8460288> name = 'foo', include_dirs = [] source_files = [local('d:\\systemtemp\\pytest\\usession-py3.11-97\\foo-27\\source_0.c')] source_strings = [u'\n \n #include <Python.h>\n\n \n static PyObject* foo_get_bases(PyObject *self, PyObject *args)\n ...\n PyInit_foo(void) {\n PyObject *mod = PyModule_Create(&moduledef);\n \nreturn mod;\n }\n '] def compile_extension_module(self, name, include_dirs=None, source_files=None, source_strings=None): """ Build an extension module and return the filename of the resulting native code file. name is the name of the module, possibly including dots if it is a module inside a package. """ include_dirs = include_dirs or [] modname = name.split('.')[-1] dirname = self.get_builddir(name=modname) if source_strings: assert not source_files files = convert_sources_to_files(source_strings, dirname) source_files = files soname = c_compile(source_files, outputfilename=str(dirname / modname), compile_extra=self.compile_extra, link_extra=self.link_extra, include_dirs=self.include_extra + include_dirs, > libraries=self.extra_libs) tool\cpyext\extbuild.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cfilenames = [local('d:\\systemtemp\\pytest\\usession-py3.11-97\\foo-27\\source_0.c')] outputfilename = local('d:\\systemtemp\\pytest\\usession-py3.11-97\\foo-27\\foo.dll') compile_extra = ['/we4013', '/c', '/nologo', '/Ox', '/W3', '/GL', ...] link_extra = ['/NODEFAULTLIB:Python311.lib', '/DEBUG'] include_dirs = [local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\module\\cpyext\\PC'), local('d:\\systemtemp\\p...py\\module\\cpyext\\parse'), local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\rpython\\translator\\c')] libraries = ['d:\\systemtemp\\pytest\\usession-py3.11-97\\module_cache\\pypyapi'] library_dirs = [] def c_compile(cfilenames, outputfilename, compile_extra=None, link_extra=None, include_dirs=None, libraries=None, library_dirs=None): compile_extra = compile_extra or [] link_extra = link_extra or [] include_dirs = include_dirs or [] libraries = libraries or [] library_dirs = library_dirs or [] if sys.platform == 'win32': link_extra = link_extra + ['/DEBUG'] # generate .pdb file if sys.platform == 'darwin': # support Fink & Darwinports for s in ('/sw/', '/opt/local/'): if (s + 'include' not in include_dirs and os.path.exists(s + 'include')): include_dirs.append(s + 'include') if s + 'lib' not in library_dirs and os.path.exists(s + 'lib'): library_dirs.append(s + 'lib') outputfilename = py.path.local(outputfilename).new(ext=so_ext) saved_environ = os.environ.copy() try: _build( cfilenames, outputfilename, compile_extra, link_extra, > include_dirs, libraries, library_dirs) tool\cpyext\extbuild.py:200: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cfilenames = [local('d:\\systemtemp\\pytest\\usession-py3.11-97\\foo-27\\source_0.c')] outputfilename = local('d:\\systemtemp\\pytest\\usession-py3.11-97\\foo-27\\foo.dll') compile_extra = ['/we4013', '/c', '/nologo', '/Ox', '/W3', '/GL', ...] link_extra = ['/NODEFAULTLIB:Python311.lib', '/DEBUG'] include_dirs = [local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\module\\cpyext\\PC'), local('d:\\systemtemp\\p...py\\module\\cpyext\\parse'), local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\rpython\\translator\\c')] libraries = ['d:\\systemtemp\\pytest\\usession-py3.11-97\\module_cache\\pypyapi'] library_dirs = [] def _build(cfilenames, outputfilename, compile_extra, link_extra, include_dirs, libraries, library_dirs): try: # monkeypatch distutils for some versions of msvc compiler import setuptools except ImportError: # XXX if this fails and is required, # we must call pypy -mensurepip after translation pass from distutils.ccompiler import new_compiler from distutils import sysconfig # XXX for Darwin running old versions of CPython 2.7.x sysconfig.get_config_vars() compiler = new_compiler(force=1) sysconfig.customize_compiler(compiler) # XXX objects = [] for cfile in cfilenames: cfile = py.path.local(cfile) old = cfile.dirpath().chdir() try: res = compiler.compile([cfile.basename], > include_dirs=include_dirs, extra_preargs=compile_extra) tool\cpyext\extbuild.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <distutils._msvccompiler.MSVCCompiler instance at 0x0000020cbbfa6ce0> sources = ['source_0.c'], output_dir = None, macros = [] include_dirs = [local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\module\\cpyext\\PC'), local('d:\\systemtemp\\p...py\\module\\cpyext\\parse'), local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\rpython\\translator\\c')] debug = 0 extra_preargs = ['/we4013', '/c', '/nologo', '/Ox', '/W3', '/GL', ...] extra_postargs = [], depends = None def compile(self, sources, output_dir=None, macros=None, include_dirs=None, debug=0, extra_preargs=None, extra_postargs=None, depends=None): if not self.initialized: self.initialize() compile_info = self._setup_compile(output_dir, macros, include_dirs, sources, depends, extra_postargs) macros, objects, extra_postargs, pp_opts, build = compile_info compile_opts = extra_preargs or [] compile_opts.append('/c') if debug: compile_opts.extend(self.compile_options_debug) else: compile_opts.extend(self.compile_options) add_cpp_opts = False for obj in objects: try: src, ext = build[obj] except KeyError: continue if debug: # pass the full pathname to MSVC in debug mode, # this allows the debugger to find the source file # without asking the user to browse for it src = os.path.abspath(src) if ext in self._c_extensions: input_opt = "/Tc" + src elif ext in self._cpp_extensions: input_opt = "/Tp" + src add_cpp_opts = True elif ext in self._rc_extensions: # compile .RC to .RES file input_opt = src output_opt = "/fo" + obj try: self.spawn([self.rc] + pp_opts + [output_opt, input_opt]) except DistutilsExecError as msg: raise CompileError(msg) continue elif ext in self._mc_extensions: # Compile .MC to .RC file to .RES file. # * '-h dir' specifies the directory for the # generated include file # * '-r dir' specifies the target directory of the # generated RC file and the binary message resource # it includes # # For now (since there are no options to change this), # we use the source-directory for the include file and # the build directory for the RC file and message # resources. This works at least for win32all. h_dir = os.path.dirname(src) rc_dir = os.path.dirname(obj) try: # first compile .MC to .RC and .H file self.spawn([self.mc, '-h', h_dir, '-r', rc_dir, src]) base, _ = os.path.splitext(os.path.basename (src)) rc_file = os.path.join(rc_dir, base + '.rc') # then compile .RC to .RES file self.spawn([self.rc, "/fo" + obj, rc_file]) except DistutilsExecError as msg: raise CompileError(msg) continue else: # how to handle this file? raise CompileError("Don't know how to compile {} to {}" .format(src, obj)) args = [self.cc] + compile_opts + pp_opts if add_cpp_opts: args.append('/EHsc') args.append(input_opt) args.append("/Fo" + obj) args.extend(extra_postargs) try: self.spawn(args) except DistutilsExecError as msg: > raise CompileError(msg) E CompileError: command 'd:\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64\\cl.exe' failed with exit status 2 d:\pypy_stuff\pypy2.7-v7.3.18\lib-python\2.7\distutils\_msvccompiler.py:403: CompileError ---------------------------- Captured stdout call ----------------------------- source_0.c source_0.c(12): error C2059: syntax error: ';' source_0.c(17): error C2040: 'ObjBase': 'int' differs in levels of indirection from 'PyTypeObject *' source_0.c(18): error C2099: initializer is not a constant source_0.c(19): error C2143: syntax error: missing '{' before '->' source_0.c(19): error C2059: syntax error: '->' source_0.c(20): error C2143: syntax error: missing '{' before '->' source_0.c(20): error C2059: syntax error: '->' source_0.c(21): error C2059: syntax error: '<parameter-list>' source_0.c(22): error C2059: syntax error: '<parameter-list>' source_0.c(23): error C2143: syntax error: missing '{' before '->' source_0.c(23): error C2059: syntax error: '->' source_0.c(24): error C2059: syntax error: 'if' source_0.c(27): error C2040: 'B1': 'int' differs in levels of indirection from 'PyTypeObject *' source_0.c(28): error C2040: 'B2': 'int' differs in levels of indirection from 'PyTypeObject *' source_0.c(30): error C2099: initializer is not a constant source_0.c(31): error C2099: initializer is not a constant source_0.c(32): error C2143: syntax error: missing '{' before '->' source_0.c(32): error C2059: syntax error: '->' source_0.c(33): error C2143: syntax error: missing '{' before '->' source_0.c(33): error C2059: syntax error: '->' source_0.c(34): error C2143: syntax error: missing '{' before '->' source_0.c(34): error C2059: syntax error: '->' source_0.c(35): error C2143: syntax error: missing '{' before '->' source_0.c(35): error C2059: syntax error: '->' source_0.c(36): error C2059: syntax error: '<parameter-list>' source_0.c(37): error C2059: syntax error: '<parameter-list>' source_0.c(38): error C2059: syntax error: '<parameter-list>' source_0.c(39): error C2059: syntax error: '<parameter-list>' source_0.c(40): error C2143: syntax error: missing '{' before '->' source_0.c(40): error C2059: syntax error: '->' source_0.c(40): error C2143: syntax error: missing ')' before '(' source_0.c(40): error C2091: function returns function source_0.c(40): error C2059: syntax error: ')' source_0.c(40): error C2143: syntax error: missing ')' before ';' source_0.c(40): error C2373: 'Py_INCREF': redefinition; different type modifiers d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\cpyext\include\object.h(499): note: see declaration of 'Py_INCREF' source_0.c(41): error C2143: syntax error: missing '{' before '->' source_0.c(41): error C2059: syntax error: '->' source_0.c(41): error C2143: syntax error: missing ')' before '(' source_0.c(41): error C2091: function returns function source_0.c(41): error C2059: syntax error: ')' source_0.c(41): error C2143: syntax error: missing ')' before ';' source_0.c(41): error C2373: 'Py_INCREF': redefinition; different type modifiers d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\cpyext\include\object.h(499): note: see declaration of 'Py_INCREF' source_0.c(42): error C2143: syntax error: missing '{' before '->' source_0.c(42): error C2059: syntax error: '->' source_0.c(43): error C2143: syntax error: missing '{' before '->' source_0.c(43): error C2059: syntax error: '->' source_0.c(44): error C2059: syntax error: 'if' source_0.c(45): error C2059: syntax error: 'if' source_0.c(47): error C2059: syntax error: 'return' source_0.c(49): error C2059: syntax error: '}' source_0.c(60): error C2065: 'methods': undeclared identifier source_0.c(55): error C2099: initializer is not a constant =========================== short test summary info =========================== FAIL module\cpyext\test\test_typeobject.py::AppTestSlots::()::test_multiple_inheritance_small_basicsize FAIL module\cpyext\test\test_typeobject.py::AppTestSlots::()::test_multiple_inheritance_python_subclass_of_two_cpytypes ========== 2 failed, 89 passed, 3 skipped, 1 error in 686.59 seconds ========== ++ 02:52:04 starting module/marshal/test [113 started in total] __ module/gc/test [110 done in total, somefailed=True] ________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 30 items module\gc\test\test_app_referents.py .... module\gc\test\test_gc.py .....x... module\gc\test\test_hook.py ........ module\gc\test\test_referents.py ...F.... module\gc\test\test_ztranslation.py . ================================== FAILURES =================================== _________________ AppTestReferents.test_get_rpy_memory_usage __________________ self = <CallInfo when='call' exception: type object 'W_IntObject' has no attribute '__basicsize__'> func = <function <lambda> at 0x000001caf6100980>, when = 'call' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_call'> kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_rpy_memory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_rpy_memory_usage'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x000001caed441440> hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000001caeed1caa0>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_rpy_memory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_rpy_memory_usage'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000001caeed1caa0>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_rpy_memory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_rpy_memory_usage'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_rpy_memory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x000001caf5110160> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...mory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x000001caf4728120> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x000001caf4728120> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...mory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_rpy_memory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x000001caf51100c0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...mory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x000001caf47280e0> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x000001caf47280e0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...mory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_rpy_memory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <AppTestMethod 'test_get_rpy_memory_usage'> def pytest_runtest_call(item): try: > item.runtest() ..\_pytest\runner.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_get_rpy_memory_usage'> def runtest(self): target = self.obj src = extract_docstring_if_empty_function(target.im_func) space = target.im_self.space if self.config.option.runappdirect: appexec_definitions = self.parent.obj.__dict__ spaceconfig = getattr(self.parent.obj, 'spaceconfig', None) usemodules = spaceconfig.get('usemodules') if spaceconfig else None return run_with_python(self.config.option.python, src, usemodules, **appexec_definitions) filename = self._getdynfilename(target) func = app2interp_temp(src, filename=filename) w_instance = self.parent.w_instance > self.execute_appex(space, func, space, w_instance) tool\pytest\apptest.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_get_rpy_memory_usage'>, space = StdObjSpace target = <function test_get_rpy_memory_usage at 0x000001caf6100c50> args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001caf9610f00>) def execute_appex(self, space, target, *args): self.space = space space.getexecutioncontext().set_sys_exc_info(None) try: > target(*args) tool\pytest\apptest.py:267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001caf9610f00>,) w_func = <Function test_get_rpy_memory_usage> args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001caf9610f00> def appcaller(space, *args_w): if not isinstance(space, ObjSpace): raise TypeError("first argument must be a space instance.") # the last argument can be an Arguments w_func = self.wget(space, name) if not args_w: return space.call_function(w_func) else: args = args_w[-1] assert args is not None if not isinstance(args, Arguments): > return space.call_function(w_func, *args_w) interpreter\gateway.py:1409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function test_get_rpy_memory_usage> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001caf9610f00>,) nargs = 1, Function = <class 'pypy.interpreter.function.Function'> _Method = <class 'pypy.interpreter.function._Method'> def call_function(self, w_func, *args_w): nargs = len(args_w) # used for pruning funccall versions if not self.config.objspace.disable_call_speedhacks and nargs < 5: # start of hack for performance from pypy.interpreter.function import Function, _Method if isinstance(w_func, _Method): if nargs < 4: func = w_func.w_function if isinstance(func, Function): return func.funccall(w_func.w_instance, *args_w) if isinstance(w_func, Function): > return w_func.funccall(*args_w) interpreter\baseobjspace.py:1237: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function test_get_rpy_memory_usage> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001caf9610f00>,) gateway = <module 'pypy.interpreter.gateway' from 'd:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\interpreter\\gateway.pyc'> PyCode = <class 'pypy.interpreter.pycode.PyCode'> code = <code object test_get_rpy_memory_usage, file "[d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> def funccall(self, *args_w): # speed hack from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit nargs = len(args_w) fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, args_w[0]) elif nargs == 2: assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, args_w[0], args_w[1]) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) return code.fastcall_3(self.space, self, args_w[0], args_w[1], args_w[2]) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) return code.fastcall_4(self.space, self, args_w[0], args_w[1], args_w[2], args_w[3]) elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) if nargs < 5: new_frame = self.space.createframe(code, self.w_func_globals, self) for i in funccallunrolling: if i < nargs: new_frame.locals_cells_stack_w[i] = args_w[i] > return new_frame.run(self.name, self.qualname) interpreter\function.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> at line 3 name = 'test_get_rpy_memory_usage', qualname = 'test_get_rpy_memory_usage' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> at line 3 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> at line 3 e = AttributeError("type object 'W_IntObject' has no attribute '__basicsize__'",) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> at line 3 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> at line 3 pycode = <code object test_get_rpy_memory_usage, file "[d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000001caf57e8790> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> at line 3 co_code = 'd\x01d\x00l\x00}\x01|\x01\xa0\x01d\x02\xa1\x01}\x02t\x02|\x02\x83\x01\x01\x00d\x03|\x02\x04\x00\x03\x00k\x01o\x16d\x04k\x01n\x02\x02\x00\x01\x00s\x1bJ\x00\x82\x01d\x00S\x00' next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000001caf57e8790> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> at line 3 co_code = 'd\x01d\x00l\x00}\x01|\x01\xa0\x01d\x02\xa1\x01}\x02t\x02|\x02\x83\x01\x01\x00d\x03|\x02\x04\x00\x03\x00k\x01o\x16d\x04k\x01n\x02\x02\x00\x01\x00s\x1bJ\x00\x82\x01d\x00S\x00' next_instr = 16L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000001caf57e8790> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: self.CALL_FUNCTION(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_KW.index: self.CALL_FUNCTION_KW(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: > self.CALL_METHOD(oparg, next_instr) interpreter\pyopcode.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> at line 3 oparg = 1, ignored = (16L,), n_args = 1, w_self = None, n = 1 @jit.unroll_safe def CALL_METHOD(f, oparg, *ignored): # opargs contains the arg, and kwarg count, excluding the implicit 'self' n_args = oparg w_self = f.peekvalue_maybe_none(n_args) n = n_args + (w_self is not None) w_callable = f.peekvalue(n_args + 1) w_result = f.space.call_valuestack( > w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2) objspace\std\callmethod.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <BuiltinFunction get_rpy_memory_usage>, nargs = 1 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> at line 3 dropvalues = 3, methodcall = False def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <BuiltinFunction get_rpy_memory_usage>, nargs = 1 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...-win-x86-64\build\pypy\module\gc\test\test_referents.py:79]", line 1> at line 3 dropvalues = 3, methodcall = False def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) > return code.fastcall_1(self.space, self, f_0) interpreter\function.py:162: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x000001caf325b868> space = StdObjSpace, w_func = <BuiltinFunction get_rpy_memory_usage> w1 = W_IntObject(12345) @signature(sigtypes.self(), sigtypes.any(), w_root_or_none, w_root_or_none, returns=w_root_or_none) def fastcall_1(self, space, w_func, w1): try: w_result = self.fastfunc_1(space, w1) except DescrMismatch: return self._type_unwrap_mismatch(space, Arguments(space, [w1])) except Exception as e: > self.handle_exception(space, e) interpreter\gateway.py:982: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x000001caf325b868> space = StdObjSpace e = AttributeError("type object 'W_IntObject' has no attribute '__basicsize__'",) def handle_exception(self, space, e): try: if not we_are_translated(): raise raise e except OperationError: raise except Exception as e: # general fall-back from pypy.interpreter import error > raise error.get_converted_unexpected_exception(space, e) interpreter\gateway.py:908: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x000001caf325b868> space = StdObjSpace, w_func = <BuiltinFunction get_rpy_memory_usage> w1 = W_IntObject(12345) @signature(sigtypes.self(), sigtypes.any(), w_root_or_none, w_root_or_none, returns=w_root_or_none) def fastcall_1(self, space, w_func, w1): try: > w_result = self.fastfunc_1(space, w1) interpreter\gateway.py:977: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, w_obj = W_IntObject(12345) def get_rpy_memory_usage(space, w_obj): """Return the memory usage of just the given object or GcRef. This does not include the internal structures of the object.""" gcref = unwrap(space, w_obj) > size = rgc.get_rpy_memory_usage(gcref) module\gc\referents.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ gcref = _GcRef(W_IntObject(12345)) @not_rpython def get_rpy_memory_usage(gcref): # approximate implementation using CPython's type info Class = type(gcref._x) > size = Class.__basicsize__ E AttributeError: type object 'W_IntObject' has no attribute '__basicsize__' ..\rpython\rlib\rgc.py:851: AttributeError =========================== short test summary info =========================== FAIL module\gc\test\test_referents.py::AppTestReferents::()::test_get_rpy_memory_usage ============== 1 failed, 28 passed, 1 xfailed in 140.89 seconds =============== ++ 02:52:12 starting module/math/test [114 started in total] __ module/itertools/test [111 done in total, somefailed=False] ________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 92 items module\itertools\test\apptest_itertools.py .... module\itertools\test\test_itertools.py ....................................................................................... module\itertools\test\test_ztranslation.py . ========================= 92 passed in 191.76 seconds ========================= ++ 02:54:45 starting module/micronumpy/test [115 started in total] __ module/micronumpy/test [112 done in total, somefailed=False] _______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ======================== no tests ran in 0.01 seconds ========================= ++ 02:54:49 starting module/mmap/test [116 started in total] __ module/marshal/test [113 done in total, somefailed=False] __________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 51 items module\marshal\test\apptest_marshal.py ............................................... module\marshal\test\test_marshal.py s module\marshal\test\test_marshalimpl.py ... =================== 50 passed, 1 skipped in 176.03 seconds ==================== ++ 02:55:09 starting module/operator/test [117 started in total] __ module/imp/test [114 done in total, somefailed=True] _______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 123 items module\imp\test\test_app.py .E...................... module\imp\test\test_import.py ...............................................................s...........s......s..s.............. =================================== ERRORS ==================================== ___________ ERROR at teardown of AppTestImpModule.test_find_module ____________ self = <CallInfo when='teardown' exception: { array [ '%', 'L', 'E', '\x00' ]: ... File "d:\pypy_stuff\buildbot64\slav...bot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 523, in rawallocate flavor='raw') }> func = <function <lambda> at 0x000002ac9cfc2cc8>, when = 'teardown' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_teardown'> kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_find_module'>, 'nextitem': <App...rgs={...}>}>, 'item': <AppTestMethod 'test_find_module'>, 'nextitem': <AppTestMethod 'test_find_module_with_encoding'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x000002ac8f5b5398> hook = <_HookCaller 'pytest_runtest_teardown'>, methods = [] kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_find_module'>, 'nextitem': <App...rgs={...}>}>, 'item': <AppTestMethod 'test_find_module'>, 'nextitem': <AppTestMethod 'test_find_module_with_encoding'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_teardown'>, methods = [] kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_find_module'>, 'nextitem': <App...rgs={...}>}>, 'item': <AppTestMethod 'test_find_module'>, 'nextitem': <AppTestMethod 'test_find_module_with_encoding'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_find_module'>, 'nextitem': <AppTestMethod 'test_find_module_with_encoding'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_teardown at 0x000002ac9e818188> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 0 meths, kwargs={'i...h_encoding'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x000002ac94e070e0> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x000002ac94e070e0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 0 meths, kwargs={'i...h_encoding'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_find_module'>, 'nextitem': <AppTestMethod 'test_find_module_with_encoding'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.conftest.LeakFinder instance at 0x000002ac90e1b020> item = <AppTestMethod 'test_find_module'> @pytest.hookimpl(trylast=True) def pytest_runtest_teardown(self, item): if not isinstance(item, py.test.collect.Function): return if (not getattr(item.obj, 'dont_track_allocations', False) and leakfinder.TRACK_ALLOCATIONS): kwds = {} try: kwds['do_collection'] = item.track_allocations_collect except AttributeError: pass item._pypytest_leaks = leakfinder.stop_tracking_allocations(False, **kwds) else: # stop_tracking_allocations() already called item._pypytest_leaks = None # check for leaks, but only if the test passed so far if getattr(item, '_success', False) and item._pypytest_leaks: > raise leakfinder.MallocMismatch(item._pypytest_leaks) E MallocMismatch: { E E array [ '%', 'L', 'E', '\x00' ]: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdataobj.py", line 13, in <module> E from pypy.module._cffi_backend import misc E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\misc.py", line 125, in <module> E FORMAT_LONGDOUBLE = rffi.str2charp("%LE") E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 821, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Struct cffi_ctxobj { ctx, info } at 0x2ac8f79a200>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 738, in make_plain_ffi_object E r.__init__(space, src_ctx) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 59, in __init__ E self.ctxobj = parse_c_type.allocate_ctxobj(src_ctx) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\parse_c_type.py", line 71, in allocate_ctxobj E p = lltype.malloc(CTXOBJ, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x2ac9ae951c0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 131, in ffiobj_init E ntypes = allocate_array(ffi, _CFFI_OPCODE_T, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x2ac8fdce8b0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 191, in descr_init E w__typenames, w__includes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 146, in ffiobj_init E p = allocate(ffi, size) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x2ac8f9f2700>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2720>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2060>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2740>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f23e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2820>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f24a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2760>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2420>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2780>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2480>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f24c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f21c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f27a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f25c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2680>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f24e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2840>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2620>: E <C object Array of Char {'nolength': True} at 0x2ac91ba4610>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f20a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2520>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2220>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2460>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f27c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2560>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f20e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2640>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2200>: E <C object Array of Char {'nolength': True} at 0x2ac96f17f20>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2800>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2540>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2580>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2660>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2320>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f22a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f23c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f38e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f3960>: E <C object Array of Char {'nolength': True} at 0x2ac96f18550>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f3cc0>: E <C object Array of Char {'nolength': True} at 0x2ac96f18160>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f3a00>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f3e00>: E <C object Array of Char {'nolength': True} at 0x2ac96f18970>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4880>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4d00>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4980>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4e40>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4860>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4c80>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4e80>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4fc0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4f00>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4f60>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4d40>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f48a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4d20>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4ea0>: E <C object Array of Char {'nolength': True} at 0x2ac93b55020>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f49e0>: E <C object Array of Char {'nolength': True} at 0x2ac93b58610>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4ae0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4fe0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5000>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f49a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4b20>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4f80>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4ee0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5020>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4b00>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4d80>: E <C object Array of Char {'nolength': True} at 0x2ac93b54dd0>: E <C object Array of Char {'nolength': True} at 0x2ac93b55400>: E <C object Array of Char {'nolength': True} at 0x2ac93b55840>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4e00>: E <C object Array of Char {'nolength': True} at 0x2ac93b550c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5040>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4900>: E <C object Array of Char {'nolength': True} at 0x2ac93b54ca0>: E <C object Array of Char {'nolength': True} at 0x2ac93b553d0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4f20>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4f40>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4be0>: E <C object Array of Char {'nolength': True} at 0x2ac93b552a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4ac0>: E <C object Array of Char {'nolength': True} at 0x2ac93b55bb0>: E <C object Array of Char {'nolength': True} at 0x2ac93b54fa0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 153, in ffiobj_init E nglobs[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 821, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x2ac9891ed80>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 174, in ffiobj_init E nstructs = allocate_array(ffi, STRUCT_UNION_S, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x2ac995e6520>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 175, in ffiobj_init E nfields = allocate_array(ffi, FIELD_S, nftot) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x2ac98006050>: E <C object Array of Char {'nolength': True} at 0x2ac98002440>: E <C object Array of Char {'nolength': True} at 0x2ac98002560>: E <C object Array of Char {'nolength': True} at 0x2ac98002980>: E <C object Array of Char {'nolength': True} at 0x2ac980029b0>: E <C object Array of Char {'nolength': True} at 0x2ac980029d0>: E <C object Array of Char {'nolength': True} at 0x2ac98002fc0>: E <C object Array of Char {'nolength': True} at 0x2ac98002f70>: E <C object Array of Char {'nolength': True} at 0x2ac98002640>: E <C object Array of Char {'nolength': True} at 0x2ac98002f50>: E <C object Array of Char {'nolength': True} at 0x2ac98002430>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4a60>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f54e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5500>: E <C object Array of Char {'nolength': True} at 0x2ac98002fd0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5700>: E <C object Array of Char {'nolength': True} at 0x2ac98003cf0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5540>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f52a0>: E <C object Array of Char {'nolength': True} at 0x2ac96f17ec0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5760>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5340>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5840>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5220>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5440>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5380>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f52c0>: E <C object Array of Char {'nolength': True} at 0x2ac96f183d0>: E <C object Array of Char {'nolength': True} at 0x2ac98004900>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5cc0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5f60>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5a00>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5d40>: E <C object Array of Char {'nolength': True} at 0x2ac98005730>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5aa0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5ca0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f27e0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 185, in ffiobj_init E nstructs[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 821, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x2ac8f9f4ca0>: E <C object Array of Char {'nolength': True} at 0x2ac980023b0>: E <C object Array of Char {'nolength': True} at 0x2ac980024a0>: E <C object Array of Char {'nolength': True} at 0x2ac98002700>: E <C object Array of Char {'nolength': True} at 0x2ac980024d0>: E <C object Array of Char {'nolength': True} at 0x2ac98002860>: E <C object Array of Char {'nolength': True} at 0x2ac98002450>: E <C object Array of Char {'nolength': True} at 0x2ac98002630>: E <C object Array of Char {'nolength': True} at 0x2ac980024e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f48c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f48e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4a00>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f49c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4c20>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4a20>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4a80>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4bc0>: E <C object Array of Char {'nolength': True} at 0x2ac98002320>: E <C object Array of Char {'nolength': True} at 0x2ac98002a30>: E <C object Array of Char {'nolength': True} at 0x2ac980021e0>: E <C object Array of Char {'nolength': True} at 0x2ac98002480>: E <C object Array of Char {'nolength': True} at 0x2ac980025e0>: E <C object Array of Char {'nolength': True} at 0x2ac98002e30>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4a40>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4b60>: E <C object Array of Char {'nolength': True} at 0x2ac98002d70>: E <C object Array of Char {'nolength': True} at 0x2ac98003470>: E <C object Array of Char {'nolength': True} at 0x2ac98003700>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f4aa0>: E <C object Array of Char {'nolength': True} at 0x2ac98002680>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5620>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f56e0>: E <C object Array of Char {'nolength': True} at 0x2ac98002ed0>: E <C object Array of Char {'nolength': True} at 0x2ac980030f0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5100>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5480>: E <C object Array of Char {'nolength': True} at 0x2ac98002f20>: E <C object Array of Char {'nolength': True} at 0x2ac98003440>: E <C object Array of Char {'nolength': True} at 0x2ac98003620>: E <C object Array of Char {'nolength': True} at 0x2ac98003c60>: E <C object Array of Char {'nolength': True} at 0x2ac980021a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f54a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5800>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f55c0>: E <C object Array of Char {'nolength': True} at 0x2ac980034e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f53e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f57a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5520>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5720>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5640>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f51a0>: E <C object Array of Char {'nolength': True} at 0x2ac98003a40>: E <C object Array of Char {'nolength': True} at 0x2ac980040d0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5680>: E <C object Array of Char {'nolength': True} at 0x2ac98002e50>: E <C object Array of Char {'nolength': True} at 0x2ac98003570>: E <C object Array of Char {'nolength': True} at 0x2ac98003db0>: E <C object Array of Char {'nolength': True} at 0x2ac98004270>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f53c0>: E <C object Array of Char {'nolength': True} at 0x2ac98002dc0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5740>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f50c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5320>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5660>: E <C object Array of Char {'nolength': True} at 0x2ac98003910>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5560>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f51e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f56a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5080>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f56c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f57e0>: E <C object Array of Char {'nolength': True} at 0x2ac98003e20>: E <C object Array of Char {'nolength': True} at 0x2ac98003730>: E <C object Array of Char {'nolength': True} at 0x2ac98002ac0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5120>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5060>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f50e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5820>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f55e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5140>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5200>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f50a0>: E <C object Array of Char {'nolength': True} at 0x2ac98004470>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5160>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5240>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f51c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5280>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5300>: E <C object Array of Char {'nolength': True} at 0x2ac98004580>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f54c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5260>: E <C object Array of Char {'nolength': True} at 0x2ac98004950>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f52e0>: E <C object Array of Char {'nolength': True} at 0x2ac980043d0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f53a0>: E <C object Array of Char {'nolength': True} at 0x2ac98003e90>: E <C object Array of Char {'nolength': True} at 0x2ac98004f80>: E <C object Array of Char {'nolength': True} at 0x2ac98002ae0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5c20>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5b20>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f58c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5f20>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f59a0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5a80>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5a40>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5c40>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5980>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5920>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5900>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5b40>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5ae0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f58e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5b80>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5f00>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5c80>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5960>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5e20>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5d00>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5fa0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f59c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5ac0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5ee0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5ba0>: E <C object Array of Char {'nolength': True} at 0x2ac98004840>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5c60>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5a20>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5b60>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5d60>: E <C object Array of Char {'nolength': True} at 0x2ac98005660>: E <C object Array of Char {'nolength': True} at 0x2ac98005d60>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5d80>: E <C object Array of Char {'nolength': True} at 0x2ac98005760>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5da0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f59e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5e40>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2500>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f25e0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2120>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2240>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2280>: E <C object Array of Char {'nolength': True} at 0x2ac980063e0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 209, in ffiobj_init E nfields[nf].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 821, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x2ac93adfa20>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 235, in ffiobj_init E ntypenames = allocate_array(ffi, TYPENAME_S, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x2ac8f9f2100>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f3e60>: E <C object Array of Char {'nolength': True} at 0x2ac93b55580>: E <C object Array of Char {'nolength': True} at 0x2ac8e4380b0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f20c0>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f2380>: E <C object Array of Char {'nolength': True} at 0x2ac8f9f5360>: E <C object Array of Char {'nolength': True} at 0x2ac93b55800>: E <C object Array of Char {'nolength': True} at 0x2ac967803f0>: E <C object Array of Char {'nolength': True} at 0x2ac93b55c80>: E <C object Array of Char {'nolength': True} at 0x2ac96780590>: E <C object Array of Char {'nolength': True} at 0x2ac96780190>: E <C object Array of Char {'nolength': True} at 0x2ac96780270>: E <C object Array of Char {'nolength': True} at 0x2ac967805b0>: E <C object Array of Char {'nolength': True} at 0x2ac96780110>: E <C object Array of Char {'nolength': True} at 0x2ac93b55f00>: E <C object Array of Char {'nolength': True} at 0x2ac967807d0>: E <C object Array of Char {'nolength': True} at 0x2ac96f18940>: E <C object Array of Char {'nolength': True} at 0x2ac96780290>: E <C object Array of Char {'nolength': True} at 0x2ac96780490>: E <C object Array of Char {'nolength': True} at 0x2ac93b55db0>: E <C object Array of Char {'nolength': True} at 0x2ac96780530>: E <C object Array of Char {'nolength': True} at 0x2ac96780330>: E <C object Array of Char {'nolength': True} at 0x2ac967802d0>: E <C object Array of Char {'nolength': True} at 0x2ac96780730>: E <C object Array of Char {'nolength': True} at 0x2ac967805f0>: E <C object Array of Char {'nolength': True} at 0x2ac96780170>: E <C object Array of Char {'nolength': True} at 0x2ac96780430>: E <C object Array of Char {'nolength': True} at 0x2ac96f17ef0>: E <C object Array of Char {'nolength': True} at 0x2ac967806b0>: E <C object Array of Char {'nolength': True} at 0x2ac967801f0>: E <C object Array of Char {'nolength': True} at 0x2ac96f17e60>: E <C object Array of Char {'nolength': True} at 0x2ac96780130>: E <C object Array of Char {'nolength': True} at 0x2ac967802f0>: E <C object Array of Char {'nolength': True} at 0x2ac96780370>: E <C object Array of Char {'nolength': True} at 0x2ac93b55ee0>: E <C object Array of Char {'nolength': True} at 0x2ac967806d0>: E <C object Array of Char {'nolength': True} at 0x2ac96780350>: E <C object Array of Char {'nolength': True} at 0x2ac93b55760>: E <C object Array of Char {'nolength': True} at 0x2ac96f17fe0>: E <C object Array of Char {'nolength': True} at 0x2ac967800d0>: E <C object Array of Char {'nolength': True} at 0x2ac96780090>: E <C object Array of Char {'nolength': True} at 0x2ac96780e90>: E <C object Array of Char {'nolength': True} at 0x2ac96780eb0>: E <C object Array of Char {'nolength': True} at 0x2ac96780a30>: E <C object Array of Char {'nolength': True} at 0x2ac96780f10>: E <C object Array of Char {'nolength': True} at 0x2ac96780830>: E <C object Array of Char {'nolength': True} at 0x2ac96780990>: E <C object Array of Char {'nolength': True} at 0x2ac96780ed0>: E <C object Array of Char {'nolength': True} at 0x2ac93b55830>: E <C object Array of Char {'nolength': True} at 0x2ac967809f0>: E <C object Array of Char {'nolength': True} at 0x2ac96780a10>: E <C object Array of Char {'nolength': True} at 0x2ac96780bf0>: E <C object Array of Char {'nolength': True} at 0x2ac96780e30>: E <C object Array of Char {'nolength': True} at 0x2ac96780a70>: E <C object Array of Char {'nolength': True} at 0x2ac967809b0>: E <C object Array of Char {'nolength': True} at 0x2ac93b563e0>: E <C object Array of Char {'nolength': True} at 0x2ac96780890>: E <C object Array of Char {'nolength': True} at 0x2ac96780f50>: E <C object Array of Char {'nolength': True} at 0x2ac96780d90>: E <C object Array of Char {'nolength': True} at 0x2ac967809d0>: E <C object Array of Char {'nolength': True} at 0x2ac96f18070>: E <C object Array of Char {'nolength': True} at 0x2ac93b55c50>: E <C object Array of Char {'nolength': True} at 0x2ac96780bb0>: E <C object Array of Char {'nolength': True} at 0x2ac96780ab0>: E <C object Array of Char {'nolength': True} at 0x2ac93b55ae0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 239, in ffiobj_init E ntypenames[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 821, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Struct CIF_DESCRIPTION { cif, abi, nargs, rtype, atypes, exchange_size, exchange_result, exchange_args } at 0x2ac9519a080>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\newtype.py", line 752, in _build_function_type E fct = ctypefunc.W_CTypeFunc(space, fargs, fresult, ellipsis, abi) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 53, in __init__ E builder.rawallocate(self) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 523, in rawallocate E flavor='raw') E } ..\rpython\conftest.py:103: MallocMismatch ============== 119 passed, 4 skipped, 1 error in 341.54 seconds =============== ++ 02:56:37 starting module/posix/test [118 started in total] __ module/math/test [115 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 209 items module\math\test\apptest_math.py ...........s module\math\test\test_direct.py ...................................................................................................................................................................... module\math\test\test_math.py ............s.................. =================== 207 passed, 2 skipped in 268.05 seconds =================== ++ 02:56:44 starting module/pwd/test [119 started in total] __ module/pwd/test [116 done in total, somefailed=False] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 2 skipped ========================== 2 skipped in 8.91 seconds ========================== ++ 02:56:55 starting module/pyexpat/test [120 started in total] __ module/mmap/test [117 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 46 items module\mmap\test\test_mmap.py ....s.................s........s..ss....s..s.. =================== 39 passed, 7 skipped in 148.20 seconds ==================== ++ 02:57:25 starting module/pypyjit/test [121 started in total] __ module/operator/test [118 done in total, somefailed=False] _________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 28 items module\operator\test\test_operator.py ........................ module\operator\test\test_tscmp.py .... ========================= 28 passed in 154.69 seconds ========================= ++ 02:57:51 starting module/select/test [122 started in total] __ module/posix/test [119 done in total, somefailed=True] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 108 items / 1 skipped module\posix\test\apptest_posix.py ..... module\posix\test\test_interp_posix.py s... module\posix\test\test_nt.py .. module\posix\test\test_posix2.py .....................s........s.....s..s....ss...s....s.s....s......F.......s module\posix\test\test_scandir.py ....s..ssss.s....... ================================== FAILURES =================================== ________________________ AppTestNt.test_dll_directory _________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000264d23bfe50> def test_dll_directory(self): nt = self.posix > ret = nt._add_dll_directory(b'c:\\') E (application-level) TypeError: expected str, got bytes object [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\posix\test\test_posix2.py:1843]:3: TypeError =========================== short test summary info =========================== FAIL module\posix\test\test_posix2.py::AppTestNt::()::test_dll_directory ============== 1 failed, 89 passed, 19 skipped in 132.36 seconds ============== ++ 02:58:57 starting module/signal/test [123 started in total] __ module/pyexpat/test [120 done in total, somefailed=True] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 21 items module\pyexpat\test\apptest_pyexpat.py .FF module\pyexpat\test\test_build.py . module\pyexpat\test\test_parser.py ................. ================================== FAILURES =================================== ________________________ test_set_activation_threshold ________________________ def test_set_activation_threshold(): parser = pyexpat.ParserCreate() # Raises on error > parser.SetAllocTrackerActivationThreshold(1000) E (application-level) ExpatError: parser must be a root parser module\pyexpat\test\apptest_pyexpat.py:14: ExpatError _______________________ test_set_maximum_amplification ________________________ def test_set_maximum_amplification(): parser = pyexpat.ParserCreate() # Raises on error > parser.SetAllocTrackerMaximumAmplification(3.0) E (application-level) ExpatError: parser must be a root parser module\pyexpat\test\apptest_pyexpat.py:19: ExpatError =========================== short test summary info =========================== FAIL module\pyexpat\test\apptest_pyexpat.py::test_set_activation_threshold FAIL module\pyexpat\test\apptest_pyexpat.py::test_set_maximum_amplification ==================== 2 failed, 19 passed in 134.88 seconds ==================== ++ 02:59:16 starting module/struct/test [124 started in total] __ module/pypyjit/test [121 done in total, somefailed=False] __________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 29 items module\pypyjit\test\test_jit_hook.py ........s module\pypyjit\test\test_jit_not_in_trace.py .. module\pypyjit\test\test_jit_setup.py .... module\pypyjit\test\test_policy.py ............ module\pypyjit\test\test_pyframe.py . module\pypyjit\test\test_ztranslation.py . =================== 28 passed, 1 skipped in 134.15 seconds ==================== ++ 02:59:45 starting module/sys/test [125 started in total] __ module/signal/test [122 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 27 items module\signal\test\apptest_signal.py s module\signal\test\test_signal.py s.s.....ss..s...sssssss... =================== 14 passed, 13 skipped in 140.95 seconds =================== ++ 03:01:25 starting module/termios/test [126 started in total] __ module/termios/test [123 done in total, somefailed=False] __________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 2.18 seconds ========================== ++ 03:01:31 starting module/test_lib_pypy [127 started in total] __ module/select/test [124 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 46 items module\select\test\test_epoll.py ssssssssss module\select\test\test_kqueue.py ssssss module\select\test\test_select.py ssssssssssssssss..........ss module\select\test\test_select_signal.py s module\select\test\test_ztranslation.py . =================== 11 passed, 35 skipped in 236.76 seconds =================== ++ 03:01:53 starting module/thread/test [128 started in total] __ module/struct/test [125 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 52 items module\struct\test\apptest_struct.py .......................................... module\struct\test\apptest_structbuffer.py .. module\struct\test\test_struct.py ....... module\struct\test\test_ztranslation.py . ========================= 52 passed in 175.99 seconds ========================= ++ 03:02:20 starting module/time/test [129 started in total] __ module/sys/test [126 done in total, somefailed=False] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 96 items module\sys\test\apptest_audit.py ......... module\sys\test\apptest_initpath.py . module\sys\test\apptest_sys.py . module\sys\test\test_encoding.py .s module\sys\test\test_initpath.py ..s...... module\sys\test\test_sysmodule.py .....................ss..................ss........................ module\sys\test\test_version.py ....... =================== 90 passed, 6 skipped in 213.17 seconds ==================== ++ 03:03:26 starting module/token/test [130 started in total] __ module/test_lib_pypy [127 done in total, somefailed=False] _________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 238 items / 5 skipped module\test_lib_pypy\test_code_module.py ... module\test_lib_pypy\test_collections.py ..................... module\test_lib_pypy\test_marshal_extra.py ....................................................................................................................................................... module\test_lib_pypy\test_md5_extra.py ...... module\test_lib_pypy\test_pickle_extra.py s module\test_lib_pypy\test_sha_extra.py ..... module\test_lib_pypy\test_site_extra.py . module\test_lib_pypy\test_stackless.py .............................. module\test_lib_pypy\test_stackless_pickling.py .. module\test_lib_pypy\test_structseq.py ........... module\test_lib_pypy\test_tputil.py ..s.... =================== 236 passed, 7 skipped in 170.46 seconds =================== ++ 03:04:28 starting module/unicodedata/test [131 started in total] __ module/token/test [128 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 8 items module\token\test\apptest_token.py ........ ========================= 8 passed in 111.59 seconds ========================== ++ 03:05:25 starting module/zipimport/test [132 started in total] __ module/time/test [129 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 43 items module\time\test\apptest_time.py ....ssss..........ss....s.s...........s.. module\time\test\test_timeutils.py . module\time\test\test_ztranslation.py . =================== 34 passed, 9 skipped in 217.06 seconds ==================== ++ 03:06:00 starting module/zlib/test [133 started in total] __ module/unicodedata/test [130 done in total, somefailed=False] ______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 35 items module\unicodedata\test\test_hyp.py ................ module\unicodedata\test\test_unicodedata.py ................... ========================= 35 passed in 121.68 seconds ========================= ++ 03:06:33 starting objspace/fake/test [134 started in total] __ module/zipimport/test [131 done in total, somefailed=False] ________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1 items module\zipimport\test\apptest_zipimport.py . ========================== 1 passed in 80.25 seconds ========================== ++ 03:06:47 starting objspace/std/test [135 started in total] __ module/thread/test [132 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 56 items module\thread\test\test_fork.py ssss module\thread\test\test_gil.py .... module\thread\test\test_import_lock.py ..... module\thread\test\test_local.py ....... module\thread\test\test_lock.py ...............ssss.. module\thread\test\test_thread.py .............s. =================== 47 passed, 9 skipped in 337.66 seconds ==================== ++ 03:07:38 starting objspace/test [136 started in total] __ module/zlib/test [133 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 38 items module\zlib\test\test_zlib.py ...................................... ========================= 38 passed in 100.72 seconds ========================= ++ 03:07:45 starting sandbox/test [137 started in total] __ sandbox/test [134 done in total, somefailed=False] _________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 2.68 seconds ========================== ++ 03:07:48 starting tool/bench/test [138 started in total] __ tool/bench/test [135 done in total, somefailed=False] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items / 1 skipped [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True tool\bench\test\test_pypyresult.py ... ==================== 3 passed, 1 skipped in 13.20 seconds ===================== ++ 03:08:04 starting tool/memusage/test [139 started in total] __ tool/memusage/test [136 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True tool\memusage\test\test_log2gnumeric.py ..... ========================== 5 passed in 12.34 seconds ========================== ++ 03:08:20 starting tool/pytest/fake_pytest/test [140 started in total] __ objspace/fake/test [137 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items objspace\fake\test\test_checkmodule.py ........ objspace\fake\test\test_objspace.py ............. ========================= 21 passed in 103.93 seconds ========================= ++ 03:08:25 starting tool/pytest/test [141 started in total] __ objspace/test [138 done in total, somefailed=False] ________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 75 items objspace\test\apptest_binop_overriding.py . objspace\test\apptest_descriptor.py ....s.... objspace\test\apptest_descroperation.py ................s...................................... objspace\test\test_descroperation.py .......... ==================== 73 passed, 2 skipped in 61.92 seconds ==================== ++ 03:08:45 starting tool/release/test [142 started in total] __ tool/pytest/fake_pytest/test [139 done in total, somefailed=False] _________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1 items tool\pytest\fake_pytest\test\apptest_fake_pytest.py . ========================== 1 passed in 42.75 seconds ========================== ++ 03:09:05 starting tool/test [143 started in total] __ tool/release/test [140 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True tool\release\test\test_package.py ...ss tool\release\test\test_smartstrip.py sss ==================== 3 passed, 5 skipped in 98.65 seconds ===================== __ tool/test [141 done in total, somefailed=False] ____________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 29 items [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True tool\test\test_gdb_pypy.py ........... tool\test\test_getdocstrings.py ... tool\test\test_isolate.py ....... tool\test\test_lib_pypy.py ... tool\test\test_license.py . tool\test\test_package.py . tool\test\test_tab.py .. tool\test\test_template.py . ========================= 29 passed in 85.94 seconds ========================== __ objspace/std/test [142 done in total, somefailed=True] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 2507 items objspace\std\test\apptest_boolobject.py ......... objspace\std\test\apptest_callmethod.py .......... objspace\std\test\apptest_complexobject.py .................................... objspace\std\test\apptest_contains.py .. objspace\std\test\apptest_fstring.py ..................... objspace\std\test\apptest_instmethobject.py ..... objspace\std\test\apptest_iterobject.py ..................... objspace\std\test\apptest_memoryobject.py ........ objspace\std\test\apptest_operation.py . objspace\std\test\apptest_specializedtuple.py ........................ objspace\std\test\apptest_stringformat.py .................s......s..................s........................ objspace\std\test\apptest_tuple.py ........................ objspace\std\test\apptest_typeobjject.py ........ objspace\std\test\apptest_unicode.py ...........................s.......................................................................................... objspace\std\test\apptest_userobject.py ........................ objspace\std\test\test_boolobject.py ....... objspace\std\test\test_bytearrayobject.py ..................................................................................... objspace\std\test\test_bytesobject.py ................................................................................s...................... objspace\std\test\test_callmethod.py ... objspace\std\test\test_celldict.py .......................................... objspace\std\test\test_complexobject.py .... objspace\std\test\test_dictmultiobject.py .........s.s.........................................................s.........................................................s......................................................................... objspace\std\test\test_dictproxy.py ................ objspace\std\test\test_floatobject.py ...................................................... objspace\std\test\test_identitydict.py ..... objspace\std\test\test_identityset.py ....... objspace\std\test\test_index.py ................................... objspace\std\test\test_intobject.py ..........................F.................................................................................................................................. objspace\std\test\test_iterobject.py .... objspace\std\test\test_jsondict.py .......... objspace\std\test\test_kwargsdict.py .................................... objspace\std\test\test_lengthhint.py ..................... objspace\std\test\test_listobject.py .................................................................................................................. objspace\std\test\test_liststrategies.py ...................................................................s................................................................... objspace\std\test\test_longobject.py .................................................... objspace\std\test\test_mapdict.py ..........................................................................................s....................................................... objspace\std\test\test_memoryobject.py ............................................. objspace\std\test\test_methodcache.py ............................................................................................. objspace\std\test\test_newformat.py ............................................................... objspace\std\test\test_noneobject.py ... objspace\std\test\test_obj.py ....................................... objspace\std\test\test_prebuiltint.py .............................................................. objspace\std\test\test_proxy.py ssssssssssss objspace\std\test\test_proxy_function.py ........ objspace\std\test\test_proxy_internals.py ....... objspace\std\test\test_proxy_iter.py . objspace\std\test\test_proxy_object.py .......... objspace\std\test\test_proxy_usercreated.py . objspace\std\test\test_random_attr.py s.... objspace\std\test\test_setobject.py ................................................................................................. objspace\std\test\test_setstrategies.py ....s...ss... objspace\std\test\test_sliceobject.py ............. objspace\std\test\test_smalllongobject.py ..........................F..................................................................................................................................................F................................................................... objspace\std\test\test_specialisedtupleobject.py ....................ss.... objspace\std\test\test_stdobjspace.py s........ objspace\std\test\test_translate.py . objspace\std\test\test_typeobject.py ............................................................................................................. objspace\std\test\test_unicodeobject.py ................. objspace\std\test\test_userobject.py . objspace\std\test\test_versionedtype.py ............... ================================== FAILURES =================================== _________________ TestW_IntObject.test_lshift_without_fromint _________________ self = <pypy.objspace.std.test.test_intobject.TestW_IntObject instance at 0x000001e5f2d71ca0> monkeypatch = <_pytest.monkeypatch.monkeypatch instance at 0x000001e5f2d71ce0> def test_lshift_without_fromint(self, monkeypatch): space = self.space monkeypatch.setattr(rbigint, 'fromint', None) x = sys.maxint // 4 y = 16 f1 = iobj.W_IntObject(x) f2 = iobj.W_IntObject(y) > v = f1.descr_lshift(space, f2) objspace\std\test\test_intobject.py:385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ objspace\std\intobject.py:834: in descr_binop return ovf2long(space, x, self, y, w_other) objspace\std\intobject.py:865: in _ovf2long_lshift return space.newlong_from_rbigint(rbigint.lshift_int_int_bigint_result(x, y)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ iself = 2305843009213693951, int_other = 16 @staticmethod @jit.elidable def lshift_int_int_bigint_result(iself, int_other): if not SUPPORT_INT128 or SHIFT != 63 or not int_in_valid_range(iself): > return rbigint.fromint(iself).lshift(int_other) E TypeError: 'NoneType' object is not callable ..\rpython\rlib\rbigint.py:1383: TypeError _________________ TestW_IntObject.test_lshift_without_fromint _________________ self = <pypy.objspace.std.test.test_intobject.TestW_IntObject instance at 0x000001e5f50ab4a0> monkeypatch = <_pytest.monkeypatch.monkeypatch instance at 0x000001e5f50ab4e0> def test_lshift_without_fromint(self, monkeypatch): space = self.space monkeypatch.setattr(rbigint, 'fromint', None) x = sys.maxint // 4 y = 16 f1 = iobj.W_IntObject(x) f2 = iobj.W_IntObject(y) > v = f1.descr_lshift(space, f2) objspace\std\test\test_intobject.py:385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ objspace\std\intobject.py:834: in descr_binop return ovf2long(space, x, self, y, w_other) objspace\std\intobject.py:865: in _ovf2long_lshift return space.newlong_from_rbigint(rbigint.lshift_int_int_bigint_result(x, y)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ iself = 2305843009213693951, int_other = 16 @staticmethod @jit.elidable def lshift_int_int_bigint_result(iself, int_other): if not SUPPORT_INT128 or SHIFT != 63 or not int_in_valid_range(iself): > return rbigint.fromint(iself).lshift(int_other) E TypeError: 'NoneType' object is not callable ..\rpython\rlib\rbigint.py:1383: TypeError __________ TestW_IntObjectWithSmallLong.test_lshift_without_fromint ___________ self = <pypy.objspace.std.test.test_smalllongobject.TestW_IntObjectWithSmallLong instance at 0x000001e5f5ec11e0> monkeypatch = <_pytest.monkeypatch.monkeypatch instance at 0x000001e5f5ec1220> def test_lshift_without_fromint(self, monkeypatch): space = self.space monkeypatch.setattr(rbigint, 'fromint', None) x = sys.maxint // 4 y = 16 f1 = iobj.W_IntObject(x) f2 = iobj.W_IntObject(y) > v = f1.descr_lshift(space, f2) objspace\std\test\test_intobject.py:385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ objspace\std\intobject.py:834: in descr_binop return ovf2long(space, x, self, y, w_other) objspace\std\intobject.py:865: in _ovf2long_lshift return space.newlong_from_rbigint(rbigint.lshift_int_int_bigint_result(x, y)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ iself = 2305843009213693951, int_other = 16 @staticmethod @jit.elidable def lshift_int_int_bigint_result(iself, int_other): if not SUPPORT_INT128 or SHIFT != 63 or not int_in_valid_range(iself): > return rbigint.fromint(iself).lshift(int_other) E TypeError: 'NoneType' object is not callable ..\rpython\rlib\rbigint.py:1383: TypeError =========================== short test summary info =========================== FAIL objspace\std\test\test_intobject.py::TestW_IntObject::()::test_lshift_without_fromint FAIL objspace\std\test\test_smalllongobject.py::TestW_IntObject::()::test_lshift_without_fromint FAIL objspace\std\test\test_smalllongobject.py::TestW_IntObjectWithSmallLong::()::test_lshift_without_fromint ============= 3 failed, 2474 passed, 30 skipped in 523.08 seconds ============= __ tool/pytest/test [143 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items tool\pytest\test\test_appsupport.py ......... tool\pytest\test\test_astrewrite.py ..... tool\pytest\test\test_conftest1.py ...xx tool\pytest\test\test_pytestsupport.py ...... =================== 23 passed, 2 xfailed in 484.28 seconds ==================== program finished with exit code 1 elapsedTime=10228.546000