Skip to content

test_perf_profiler: test_trampoline_works_with_forks() failed on Address Sanitizer CI #109580

Closed
@vstinner

Description

@vstinner

Bug report

test_trampoline_works_with_forks (test.test_perf_profiler.TestPerfTrampoline.test_trampoline_works_with_forks) ... FAIL

FAIL: test_trampoline_works_with_forks (test.test_perf_profiler.TestPerfTrampoline.test_trampoline_works_with_forks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/cpython/cpython/Lib/test/test_perf_profiler.py", line 123, in test_trampoline_works_with_forks
    self.assertEqual(process.returncode, 0)
AssertionError: 139 != 0

It looks like a SIGSEGV crash (128 + SIGSEGV = 139 on Linux).

build: https://github.com/python/cpython/actions/runs/6237694188/job/16931875912?pr=108965

Passed when re-run:

0:09:17 load avg: 4.36 Re-running 1 failed tests in verbose mode in subprocesses
0:09:17 load avg: 4.36 Run 1 test in parallel using 1 worker process (timeout: 20 min, worker timeout: 25 min)
0:09:17 load avg: 4.36 [1/1] test_perf_profiler passed
Re-running test_perf_profiler in verbose mode (matching: test_trampoline_works_with_forks)
test_trampoline_works_with_forks (test.test_perf_profiler.TestPerfTrampoline.test_trampoline_works_with_forks) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.083s

OK

cc @pablogsal

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions