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

test_pypy_remote_debug:test_remote_find_file_and_base_addr

@pytest.mark.skipif(not sys.platform.startswith('linux'), reason="only works on linux")
    def test_remote_find_file_and_base_addr():
        code = """
    import sys
    sys.stdin.readline()
    """
        out = subprocess.Popen([sys.executable, '-c',
             code], stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
        pid = out.pid
        file, base_addr = _pypy_remote_debug._find_file_and_base_addr(pid)
>       assert file == sys.executable or 'libpypy' in file
E       AssertionError: assert ('/buildbot/sl...al/pypy3.11-c' == '/buildbot/sl...env/bin/pypy3'
E         - /buildbot/slave/pypy-c-jit-linux-aarch64/venv/pypy-venv/bin/pypy3
E         ?                                          ^^^^     ----- ^^^
E         + /buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/goal/pypy3.11-c
E         ?                                          ^^^^^      ^^^^      +++++ or 'libpypy' in '/buildbot/slave/pypy-c-jit-linux-aarch64/build/pypy/goal/pypy3.11-c')

../build/extra_tests/test_pypy_remote_debug.py:125: AssertionError
builder: pypy-c-jit-linux-aarch64 build #2984+
test: test_pypy_remote_debug:test_remote_find_file_and_base_addr