pypy-venv\Scripts\pypy3.exe -m pytest -D ../build/pypy --junitxml=test-D.log in dir d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\venv (timeout 1200 secs) watching logfiles {'pytestLog': 'test-D.log'} argv: ['pypy-venv\\Scripts\\pypy3.exe', '-m', 'pytest', '-D', '../build/pypy', '--junitxml=test-D.log'] 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\pypy-c-jit-win-x86-64\venv PYPY_ENABLE_WINCONSOLEIO=1 PYTEST_XDIST_AUTO_NUM_WORKERS=4 RTOOLS40_HOME=C:\rtools40 RTOOLS43_HOME=C:\rtools43 RTOOLS44_HOME=C:\rtools44 SYSTEMDRIVE=C: SYSTEMROOT=C:\WINDOWS TEMP=D:\SystemTemp TMP=D:\SystemTemp 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 ============================= test session starts ============================= platform win32 -- Python 3.11.15[pypy-7.3.24-alpha], pytest-6.2.5, py-1.11.0, pluggy-1.6.0 pytest-6.2.5 from d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\venv\pypy-venv\Lib\site-packages\pytest\__init__.py rootdir: d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build, configfile: pytest.ini plugins: hypothesis-6.36.2, xdist-3.5.0 collected 1995 items / 1 skipped / 1994 selected ..\build\pypy\interpreter\astcompiler\test\apptest_compiler.py ...... [ 0%] ..\build\pypy\interpreter\astcompiler\test\apptest_exceptiongroup.py ... [ 0%] ...................... [ 1%] ..\build\pypy\interpreter\astcompiler\test\apptest_misc.py ............. [ 2%] .. [ 2%] ..\build\pypy\interpreter\astcompiler\test\apptest_patma.py ............ [ 2%] ............................. [ 4%] ..\build\pypy\interpreter\pyparser\test\apptest_parsestring.py ...... [ 4%] ..\build\pypy\interpreter\test\apptest_annotations.py .................. [ 5%] ........ [ 5%] ..\build\pypy\interpreter\test\apptest_annotations_string.py ...... [ 6%] ..\build\pypy\interpreter\test\apptest_buffer.py ..... [ 6%] ..\build\pypy\interpreter\test\apptest_class.py ................ [ 7%] ..\build\pypy\interpreter\test\apptest_coroutine.py .................... [ 8%] ................................. [ 9%] ..\build\pypy\interpreter\test\apptest_descrtypecheck.py .. [ 10%] ..\build\pypy\interpreter\test\apptest_exceptions.py ........s.......... [ 11%] ....... [ 11%] ..\build\pypy\interpreter\test\apptest_exctable_dis.py ......... [ 11%] ..\build\pypy\interpreter\test\apptest_exec.py ......................... [ 13%] [ 13%] ..\build\pypy\interpreter\test\apptest_extcall.py ..... [ 13%] ..\build\pypy\interpreter\test\apptest_function.py ..................... [ 14%] ................s..................................................... [ 17%] ..\build\pypy\interpreter\test\apptest_generator.py .................... [ 18%] ............................................... [ 21%] ..\build\pypy\interpreter\test\apptest_nestedscope.py .................. [ 22%] [ 22%] ..\build\pypy\interpreter\test\apptest_pycode.py .... [ 22%] ..\build\pypy\interpreter\test\apptest_pyframe.py ...................... [ 23%] .......................................... [ 25%] ..\build\pypy\interpreter\test\apptest_raise.py ........................ [ 26%] .............................. [ 28%] ..\build\pypy\interpreter\test\apptest_settrace_jump.py . [ 28%] ..\build\pypy\interpreter\test\apptest_sys_settrace.py ................. [ 29%] ........................................................................ [ 32%] ..................................................... [ 35%] ..\build\pypy\interpreter\test\apptest_traceback.py ......F. [ 35%] ..\build\pypy\interpreter\test\apptest_unraisable.py .... [ 36%] ..\build\pypy\interpreter\test\apptest_with_leak.py ......... [ 36%] ..\build\pypy\module\__builtin__\test\apptest_compile.py ............... [ 37%] ...... [ 37%] ..\build\pypy\module\__builtin__\test\apptest_descriptor.py ..... [ 37%] ..\build\pypy\module\__builtin__\test\apptest_operator.py ... [ 37%] ..\build\pypy\module\__builtin__\test\apptest_print.py ... [ 38%] ..\build\pypy\module\__pypy__\test\apptest_picklebuffer.py ...... [ 38%] ..\build\pypy\module\_abc\test\apptest_abc.py ... [ 38%] ..\build\pypy\module\_ast\test\apptest_ast.py ... [ 38%] ..\build\pypy\module\_codecs\test\apptest_codecs.py .. [ 38%] ..\build\pypy\module\_collections\test\apptest_defaultdict.py .......... [ 39%] .... [ 39%] ..\build\pypy\module\_collections\test\apptest_deque.py ................ [ 40%] .......................... [ 41%] ..\build\pypy\module\_collections\test\apptest_ordereddict.py .......... [ 42%] [ 42%] ..\build\pypy\module\_io\test\apptest_bufferedio.py . [ 42%] ..\build\pypy\module\_io\test\apptest_bytesio.py ................. [ 43%] ..\build\pypy\module\_io\test\apptest_io.py .......................F.... [ 44%] .F..........F.. [ 45%] ..\build\pypy\module\_io\test\apptest_stringio.py ...................... [ 46%] ..... [ 46%] ..\build\pypy\module\_io\test\apptest_textio.py ........................ [ 47%] ......s................. [ 48%] ..\build\pypy\module\_multibytecodec\test\apptest_codecs.py ............ [ 49%] ....... [ 49%] ..\build\pypy\module\_multibytecodec\test\apptest_incremental.py ....... [ 50%] ............F [ 50%] ..\build\pypy\module\_multibytecodec\test\apptest_stream.py ..... [ 51%] ..\build\pypy\module\_opcode\test\apptest_opcode.py ..... [ 51%] ..\build\pypy\module\_pickle\test\apptest_optional_frames.py .. [ 51%] ..\build\pypy\module\_pickle\test\apptest_pickle.py .................... [ 52%] ...........................................s... [ 54%] ..\build\pypy\module\_pickle\test\apptest_pypy_extensions.py ........... [ 55%] ................ [ 56%] ..\build\pypy\module\_pickle_support\test\apptest__pickle_support.py . [ 56%] ..\build\pypy\module\_pypyjson\test\apptest__pypyjson.py ........ [ 56%] ..\build\pypy\module\_rawffi\test\apptest_rawffi.py . [ 56%] ..\build\pypy\module\_socket\test\apptest_socket.py ..........ss........ [ 57%] .....s..s.....s...s.ss..s...s....s...sssss [ 59%] ..\build\pypy\module\_sre\test\apptest_sre.py .......................... [ 61%] ........................................ [ 63%] ..\build\pypy\module\_warnings\test\apptest_warnings.py ........s.s..... [ 63%] [ 63%] ..\build\pypy\module\_weakref\test\apptest_weakref.py .................. [ 64%] ......................... [ 66%] ..\build\pypy\module\array\test\apptest_array.py ... [ 66%] ..\build\pypy\module\atexit\test\apptest_atexit.py .. [ 66%] ..\build\pypy\module\exceptions\test\apptest_exceptions.py ............. [ 66%] ..................................... [ 68%] ..\build\pypy\module\itertools\test\apptest_itertools.py .... [ 69%] ..\build\pypy\module\marshal\test\apptest_marshal.py ................... [ 69%] ............................ [ 71%] ..\build\pypy\module\math\test\apptest_math.py ............ [ 71%] ..\build\pypy\module\posix\test\apptest_posix.py ..... [ 72%] ..\build\pypy\module\pyexpat\test\apptest_pyexpat.py ... [ 72%] ..\build\pypy\module\signal\test\apptest_signal.py s [ 72%] ..\build\pypy\module\struct\test\apptest_struct.py ..................... [ 73%] ..................... [ 74%] ..\build\pypy\module\struct\test\apptest_structbuffer.py .. [ 74%] ..\build\pypy\module\sys\test\apptest_audit.py ......... [ 75%] ..\build\pypy\module\sys\test\apptest_initpath.py . [ 75%] ..\build\pypy\module\sys\test\apptest_sys.py . [ 75%] ..\build\pypy\module\time\test\apptest_time.py ....ssss..........ss....s [ 76%] .s...........s.. [ 77%] ..\build\pypy\module\token\test\apptest_token.py ........ [ 77%] ..\build\pypy\module\zipimport\test\apptest_zipimport.py . [ 77%] ..\build\pypy\objspace\std\test\apptest_boolobject.py ......... [ 78%] ..\build\pypy\objspace\std\test\apptest_callmethod.py .......... [ 78%] ..\build\pypy\objspace\std\test\apptest_complexobject.py ............... [ 79%] ..................... [ 80%] ..\build\pypy\objspace\std\test\apptest_contains.py .. [ 80%] ..\build\pypy\objspace\std\test\apptest_fstring.py ..................... [ 81%] [ 81%] ..\build\pypy\objspace\std\test\apptest_instmethobject.py ..... [ 81%] ..\build\pypy\objspace\std\test\apptest_iterobject.py .................. [ 82%] ... [ 82%] ..\build\pypy\objspace\std\test\apptest_memoryobject.py ........ [ 83%] ..\build\pypy\objspace\std\test\apptest_operation.py . [ 83%] ..\build\pypy\objspace\std\test\apptest_specializedtuple.py ............ [ 83%] ............ [ 84%] ..\build\pypy\objspace\std\test\apptest_stringformat.py ................ [ 85%] .s......s..................s........................ [ 87%] ..\build\pypy\objspace\std\test\apptest_tuple.py ....................... [ 89%] . [ 89%] ..\build\pypy\objspace\std\test\apptest_typeobjject.py ........ [ 89%] ..\build\pypy\objspace\std\test\apptest_unicode.py ..................... [ 90%] ......s................................................................. [ 94%] ......................... [ 95%] ..\build\pypy\objspace\std\test\apptest_userobject.py .................. [ 96%] ...... [ 96%] ..\build\pypy\objspace\test\apptest_binop_overriding.py . [ 96%] ..\build\pypy\objspace\test\apptest_descriptor.py ....s.... [ 97%] ..\build\pypy\objspace\test\apptest_descroperation.py ................s. [ 98%] ..................................... [ 99%] ..\build\pypy\tool\pytest\fake_pytest\test\apptest_fake_pytest.py . [100%] ================================== 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 assert False E + where False = <function can_colorize at 0x000001fb38fc4920>() ..\build\pypy\interpreter\test\apptest_traceback.py:177: AssertionError ________________________________ test_telling _________________________________ tempfile = 'D:\\SystemTemp\\pytest-of-matti\\pytest-22\\test_telling0\\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 assert 4 == 3 ..\build\pypy\module\_io\test\apptest_io.py:287: AssertionError ____________________________ test_warn_on_dealloc _____________________________ tempfile = 'D:\\SystemTemp\\pytest-of-matti\\pytest-22\\test_warn_on_dealloc0\\tempfile' def test_warn_on_dealloc(tempfile): > _check_warn_on_dealloc(tempfile, 'wb', buffering=0) ..\build\pypy\module\_io\test\apptest_io.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('D:\\SystemTemp\\pytest-of-matti\\pytest-22\\test_warn_on_dealloc0\\tempfile', 'wb') kwargs = {'buffering': 0}, gc = <module 'gc' (built-in)> warnings = <module 'warnings' from 'D:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\lib-python\\3\\warnings.py'> f = None r = "<_io.FileIO name='D:\\\\SystemTemp\\\\pytest-of-matti\\\\pytest-22\\\\test_warn_on_dealloc0\\\\tempfile' mode='wb' closefd=True>" w = [<warnings.WarningMessage object at 0x000001fb3a942020>], @py_assert2 = None @py_assert5 = '{message : ResourceWarning("unclosed file <_io.FileIO name=\'D:\\\\\\\\SystemTemp\\\\\\\\pytest-of-matti\\\\\\\\pytes...lave\\\\pypy-c-jit-win-x86-64\\\\build\\\\pypy\\\\module\\\\_io\\\\test\\\\apptest_io.py\', lineno : 371, line : None}' @py_assert4 = None @py_format7 = '"<_io.FileIO name=\'D:\\\\\\\\SystemTemp\\\\\\\\pytest-of-matti\\\\\\\\pytest-22\\\\\\\\test_warn_on_dealloc0\\\\\\\\...\\\\\\apptest_io.py\\\', lineno : 371, line : None}\' = str(<warnings.WarningMessage object at 0x000001fb3a942020>)\n}' @py_format9 = 'assert "<_io.FileIO name=\'D:\\\\\\\\SystemTemp\\\\\\\\pytest-of-matti\\\\\\\\pytest-22\\\\\\\\test_warn_on_dealloc0\...\\\\\\apptest_io.py\\\', lineno : 371, line : None}\' = str(<warnings.WarningMessage object at 0x000001fb3a942020>)\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 assert "<_io.FileIO name='D:\\\\SystemTemp\\\\pytest-of-matti\\\\pytest-22\\\\test_warn_on_dealloc0\\\\tempfile' mode='wb' closefd=True>" in '{message : ResourceWarning("unclosed file <_io.FileIO name=\'D:\\\\\\\\SystemTemp\\\\\\\\pytest-of-matti\\\\\\\\pytes...lave\\\\pypy-c-jit-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-of-matti\\\\\\\\pytes...lave\\\\pypy-c-jit-win-x86-64\\\\build\\\\pypy\\\\module\\\\_io\\\\test\\\\apptest_io.py\', lineno : 371, line : None}' = str(<warnings.WarningMessage object at 0x000001fb3a942020>) ..\build\pypy\module\_io\test\apptest_io.py:373: AssertionError ___________________________ test_tell_univnewlines ____________________________ tempfile = 'D:\\SystemTemp\\pytest-of-matti\\pytest-22\\test_tell_univnewlines0\\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 assert "'\\r'" == "'\\r\\n'" E - '\r\n' E ? -- E + '\r' ..\build\pypy\module\_io\test\apptest_io.py:559: AssertionError _________________________ 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 UnicodeEncodeError: 'big5hkscs' codec can't encode character '\U0002010c' in position 0: illegal multibyte sequence ..\build\pypy\module\_multibytecodec\test\apptest_incremental.py:270: UnicodeEncodeError ============================== warnings summary =============================== ..\build\pypy\module\cpyext\test\conftest.py:28 d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\pypy\module\cpyext\test\conftest.py:28: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(autouse=True, scope='session') ..\build\pypy\objspace\std\test\apptest_unicode.py:650 d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\pypy\objspace\std\test\apptest_unicode.py:650: DeprecationWarning: invalid escape sequence '\?' ('\?', b'+AFw?'), pypy/module/_sre/test/apptest_sre.py::test_magic d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py:54: DeprecationWarning: module 'sre_constants' is deprecated import _sre, sre_constants pypy/module/_sre/test/apptest_sre.py::test_no_pattern d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py:271: DeprecationWarning: module 'sre_compile' is deprecated import sre_compile, sre_parse pypy/module/_sre/test/apptest_sre.py::test_no_pattern d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py:271: DeprecationWarning: module 'sre_parse' is deprecated import sre_compile, sre_parse pypy/module/_warnings/test/apptest_warnings.py::test_defaults d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\pypy\module\_warnings\test\apptest_warnings.py:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources pypy/module/_weakref/test/apptest_weakref.py::test_buggy_case d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\venv\pypy-venv\Lib\site-packages\_pytest\unraisableexception.py:78: PytestUnraisableExceptionWarning: : <function test_buggy_case.<locals>.A.__del__ at 0x000001fb39b489e0> TypeError: test_buggy_case.<locals>.A.__del__() takes 0 positional arguments but 1 was given warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pypy/module/_weakref/test/apptest_weakref.py::test_callback_raises d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\venv\pypy-venv\Lib\site-packages\_pytest\unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: weakref callback : <function test_callback_raises.<locals>.callback at 0x000001fb3c60eb60> Traceback (most recent call last): File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\pypy\module\_weakref\test\apptest_weakref.py", line 498, in callback explode NameError: name 'explode' is not defined warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/warnings.html - generated xml file: d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\venv\test-D.log - =========================== short test summary info =========================== FAILED ..\build\pypy\interpreter\test\apptest_traceback.py::test_colors_in_traceback FAILED ..\build\pypy\module\_io\test\apptest_io.py::test_telling - assert 4 == 3 FAILED ..\build\pypy\module\_io\test\apptest_io.py::test_warn_on_dealloc - as... FAILED ..\build\pypy\module\_io\test\apptest_io.py::test_tell_univnewlines - ... FAILED ..\build\pypy\module\_multibytecodec\test\apptest_incremental.py::test_incremental_big5hkscs =========== 5 failed, 1952 passed, 39 skipped, 8 warnings in 28.99s =========== program finished with exit code 1 elapsedTime=32.038000