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

rlib/test/test_rbigint.py::test_hypothesis_small_shift[test_divmod_small]

methname = 'test_divmod_small'

    @pytest.mark.parametrize(['methname'], [(methodname, ) for methodname in dir(TestHypothesis) if methodname.startswith("test_")])
    def test_hypothesis_small_shift(methname):
        # run the TestHypothesis in a subprocess with a smaller SHIFT value
        # the idea is that this finds hopefully finds edge cases more easily
        import subprocess, os
        # The cwd on the buildbot is actually in rpython
        # Add the pypy basedir so we get the local pytest
        env = os.environ.copy()
        parent = os.path.dirname
        env['PYTHONPATH'] = parent(parent(parent(parent(__file__))))
        p = subprocess.Popen(" ".join([sys.executable, os.path.abspath(__file__), methname]),
                             stdout=subprocess.PIPE, stderr=subprocess.PIPE,
                             shell=True, env=env)
        stdout, stderr = p.communicate()
        if p.returncode:
            print stdout
            print stderr
>       assert not p.returncode
E       assert not 1
E        +  where 1 = 1
E        +    where 1 = <subprocess.Popen object at 0x000001ac8d2e3f30>.returncode

rlib\test\test_rbigint.py:2071: AssertionError
---------- Captured stdout call ----------

[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\test\test_rbigint.py", line 25, in <module>
    from rpython.rtyper.test.test_llinterp import interpret
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\test\test_llinterp.py", line 16, in <module>
    from rpython.rtyper.rtyper import llinterp_backend
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\rtyper.py", line 32, in <module>
    from rpython.translator.sandbox.rsandbox import make_sandbox_trampoline
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\translator\sandbox\rsandbox.py", line 16, in <module>
    from rpython.rlib import rposix
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rposix.py", line 8, in <module>
    from rpython.rlib import debug, jit, rstring, rthread, types
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rthread.py", line 466, in <module>
    from rpython.rlib import rwin32
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rwin32.py", line 223, in <module>
    _GetLastError()
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\lltypesystem\lltype.py", line 1384, in __call__
    return callb(*args)
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\lltypesystem\ll2ctypes.py", line 1339, in __call__
    self.natural_arity)
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\lltypesystem\ll2ctypes.py", line 1236, in get_ctypes_callable
    symbolic=True)
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\translator\tool\cbuild.py", line 345, in compile_shared_lib
    standalone=False))
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\translator\platform\__init__.py", line 57, in compile
    ofiles = self._compile_o_files(cfiles, eci, standalone)
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\translator\platform\__init__.py", line 79, in _compile_o_files
    ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\translator\platform\windows.py", line 286, in _compile_c_file
    self._execute_c_compiler(cc, args, oname)
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\translator\platform\__init__.py", line 143, in _execute_c_compiler
    self._handle_error(returncode, stdout, stderr, outname)
  File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\translator\platform\windows.py", line 315, in _handle_error
    raise CompilationError(stdout, stderr)
CompilationError: CompilationError(out="""
	""")
builder: rpython-win-x86-64 build #405
test: rlib/test/test_rbigint/py/test_hypothesis_small_shift[test_divmod_small]