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

test_pypy_remote_debug:test_disable_remote_debug

tmpdir = local('/tmp/pytest-of-buildworker/pytest-21/test_disable_remote_debug0')

    def wrapper(tmpdir):
        try:
>           return func(tmpdir)

../build/extra_tests/test_pypy_remote_debug.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../build/extra_tests/test_pypy_remote_debug.py:171: in test_disable_remote_debug
    func(pid, debug_code)
../build/lib_pypy/_pypy_remote_debug.py:455: in start_debugger
    addr = compute_remote_addr(pid)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pid = 987487, symbolname = 'pypysig_counter'

    def compute_remote_addr(pid='self', symbolname=b'pypysig_counter'):
        file, base_addr = _find_file_and_base_addr(pid)
        origfile = file
        with open(file, 'rb') as f:
            phdr = elf_read_first_load_section(f)
        assert phdr.offset == 0
    
        try:
            with open(file, 'rb') as f:
                symbol_value = elf_find_symbol(f, symbolname)
        except ValueError:
            file = _check_elf_debuglink(file)
            if file == origfile:
>               raise ValueError('symbol not found')
E               ValueError: symbol not found

../build/lib_pypy/_pypy_remote_debug.py:443: ValueError
builder: pypy-c-jit-linux-x86-32 build #8404+
test: test_pypy_remote_debug:test_disable_remote_debug