[Bug testsuite/34103] New: PR15052 related test fixes
mcermak at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Apr 24 14:45:53 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=34103
Bug ID: 34103
Summary: PR15052 related test fixes
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: testsuite
Assignee: systemtap at sourceware dot org
Reporter: mcermak at redhat dot com
Target Milestone: ---
To play with ai assistance and new systemtap try bot feature here's a task:
Bug PR15052 is Fixed! Multiple Tests Still Expect Failure
Tests Affected:
- systemtap.base/sdt_global_var.exp
- systemtap.base/at_var_mark.exp
- systemtap.base/at_var_mark_func.exp
Status: KPASS (known failure but now passes)
Bug: PR15052 - dyninst runtime with PIE (Position Independent Executable)
support was broken
What's Happening
Multiple tests have this code to mark dyninst + PIE as an expected failure:
In sdt_global_var.exp:23:
if {$runtime == "dyninst" && [regexp "\-pie" $TEST_NAME]} {
setup_kfail 15052 "*-*-*"
}
In at_var_mark.exp:17 and at_var_mark_func.exp:17:
setup_kfail 15052 "*-*-*"
But these tests now pass! The bunsen results show multiple KPASS:
- sdt_global_var uprobe additional_flags=-fPIE additional_flags=-pie
additional_flags=-O2 (dyninst) (PRMS 15052) - KPASS
- at_var_mark (dyninst) startup (PRMS 15052) - KPASS
- at_var_mark_func (dyninst) startup (PRMS 15052) - KPASS
The Easy Fix
File 1: testsuite/systemtap.base/sdt_global_var.exp
Remove lines 22-24:
if {$runtime == "dyninst" && [regexp "\-pie" $TEST_NAME]} {
setup_kfail 15052 "*-*-*"
}
File 2: testsuite/systemtap.base/at_var_mark.exp
Remove line 17:
setup_kfail 15052 "*-*-*"
File 3: testsuite/systemtap.base/at_var_mark_func.exp
Remove line 17:
setup_kfail 15052 "*-*-*"
The dyninst runtime now correctly handles PIE binaries, so we should let these
tests pass normally!
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list