Closed
Description
PPC64LE CentOS9 LTO + PGO 3.x: https://buildbot.python.org/#/builders/885/builds/8098
0:06:23 load avg: 7.34 mem: 67.4 MiB Run 1 test in parallel using 1 worker process (timeout: 40 min, worker timeout: 45 min)
0:06:43 load avg: 7.17 mem: 67.6 MiB [1/1/1] test_dtrace failed (env changed)
Re-running test_dtrace in verbose mode
setUpClass (test.test_dtrace.BPFTraceNormalTests) ... skipped "bpftrace not available: [Errno 2] No such file or directory: 'bpftrace'"
setUpClass (test.test_dtrace.BPFTraceOptimizedTests) ... skipped "bpftrace not available: [Errno 2] No such file or directory: 'bpftrace'"
test_filter_probe_rows_ignores_warnings (test.test_dtrace.BPFTraceOutputTests.test_filter_probe_rows_ignores_warnings) ... ok
test_check_probes (test.test_dtrace.CheckDtraceProbes.test_check_probes) ... ok
test_missing_probes (test.test_dtrace.CheckDtraceProbes.test_missing_probes) ... expected failure
skipped 'dtrace(1) failed: /usr/bin/dtrace invalid option -q\nUsage /usr/bin/dtrace [--help] [-h | -G] [-C [-I<Path>]] -s File.d [-o <File>]'
setUpClass (test.test_dtrace.DTraceOptimizedTests) ... skipped 'dtrace(1) failed: /usr/bin/dtrace invalid option -q\nUsage /usr/bin/dtrace [--help] [-h | -G] [-C [-I<Path>]] -s File.d [-o <File>]'
setUpClass (test.test_dtrace.SystemTapNormalTests) ... skipped 'stap timed out during usability check'
setUpClass (test.test_dtrace.SystemTapOptimizedTests) ... skipped 'stap timed out during usability check'
----------------------------------------------------------------------
Ran 3 tests in 20.343s
OK (skipped=6, expected failures=1)
Warning -- test_dtrace leaked temporary files (2): stap8jlQ00, stapNGGnvV
Activity
encukou commentedon Aug 31, 2026
The test has been excluded to unblock tomorrow's release: python/buildmaster-config#782
stratakis commentedon Aug 31, 2026
The issue here is that on ppc64le the systemtap module compilation takes roughly 20 secs when I tested it and for the tests assert_usable() allows for 10 seconds. So SIGKILL is used for the process group and files stay there, systemtap and make don't have time to remove them. We need to increase the timeout for systemtap.
gh-156701: Increase the SystemTap usability timeout (#156720)
[3.15] gh-156701: Increase the SystemTap usability timeout (GH-156720) (
[3.14] gh-156701: Backport test_dtrace from main (#159596)