test_pypy_remote_debug:test_integration
tmpdir = local('/tmp/pytest-of-unknown/pytest-1/test_integration0')
def wrapper(tmpdir):
try:
> return func(tmpdir)
../build/extra_tests/test_pypy_remote_debug.py:65:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/test_pypy_remote_debug.py:142: in test_integration
func(pid, str(debug_script))
../build/lib_pypy/_pypy_remote_debug.py:455: in start_debugger
addr = compute_remote_addr(pid)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pid = 37971, 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-aarch64 build #2966+
test: test_pypy_remote_debug:test_integration