Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

jit/backend/x86/test/test_zrpy_gc.py::TestShadowStack::()::test_compile_framework_minimal_size_in_nursery

self = <rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack object at 0x0000025e8a4806b0>

    def test_compile_framework_minimal_size_in_nursery(self):
>       self.run('compile_framework_minimal_size_in_nursery')

jit\backend\llsupport\test\zrpy_gc_test.py:772: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
jit\backend\llsupport\test\zrpy_gc_test.py:200: in run
    self._run(name, n, env)
jit\backend\llsupport\test\zrpy_gc_test.py:192: in _run
    res = self.cbuilder.cmdexec("%s %d" %(name, n), env=env)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <rpython.translator.c.genc.CStandaloneBuilder object at 0x0000025e88e5f8a0>
args = 'compile_framework_minimal_size_in_nursery 2000'
env = {'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\matti\\AppData\\Roaming', 'ASL.LOG': 'Destination=file', 'CHOCOLATEYINSTALL': 'C:\\ProgramData\\chocolatey', ...}
err = False, expect_crash = False
exe = local('d:\\systemtemp\\pytest\\usession-main-2933\\testing_1\\testing_1.exe')

    def cmdexec(self, args='', env=None, err=False, expect_crash=False, exe=None):
        assert self._compiled
        if sys.platform == 'win32':
            #Prevent opening a dialog box
            import ctypes
            winapi = ctypes.windll.kernel32
            SetErrorMode = winapi.SetErrorMode
            SetErrorMode.argtypes=[ctypes.c_int]
    
            SEM_FAILCRITICALERRORS = 1
            SEM_NOGPFAULTERRORBOX  = 2
            SEM_NOOPENFILEERRORBOX = 0x8000
            flags = SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX \
                    | SEM_NOOPENFILEERRORBOX
            #Since there is no GetErrorMode, do a double Set
            old_mode = SetErrorMode(flags)
            SetErrorMode(old_mode | flags)
        if env is None:
            envrepr = ''
        else:
            envrepr = ' [env=%r]' % (env,)
            env.update(os.environ)
        if exe is None:
            exe = self.executable_name
        log.cmdexec('%s %s%s' % (exe, args, envrepr))
        res = self.translator.platform.execute(exe, args, env=env)
        if sys.platform == 'win32':
            SetErrorMode(old_mode)
        if res.returncode != 0:
            if expect_crash:
                if type(expect_crash) is int and expect_crash != res.returncode:
                    raise Exception("Returned %d, but expected %d" % (
                        res.returncode, expect_crash))
                return res.out, res.err
            print(res.err, file=sys.stderr)
>           raise Exception("Returned %d" % (res.returncode,))
E           Exception: Returned 3221225477

translator\c\genc.py:318: Exception
---------- Captured stderr call ----------
[c:cmdexec] d:\systemtemp\pytest\usession-main-2933\testing_1\testing_1.exe compile_framework_minimal_size_in_nursery 2000 [env={'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\\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', 'MAKEFLAGS': ' ', 'NUMBER_OF_PROCESSORS': '2', 'NVTOOLSEXT_PATH': 'C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\', 'OS': 'Windows_NT', 'PATH': 'd:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\externals\\bin;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': 'AMD64', 'PROCESSOR_IDENTIFIER': 'AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD', 'PROCESSOR_LEVEL': '23', 'PROCESSOR_REVISION': '7100', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', '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\\rpython-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', 'INCLUDE': 'd:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\externals\\include;', 'LIB': 'd:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\externals\\lib;', 'PYPYLOG': ':d:\\systemtemp\\pytest\\usession-main-2933\\TestCompileFramework.log', 'PYPY_NO_INLINE_MALLOC': '1'}]
builder: rpython-win-x86-64 build #403
test: jit/backend/x86/test/test_zrpy_gc/py/TestShadowStack/()/test_compile_framework_minimal_size_in_nursery