This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/10732] New: declaration.exp empty-struct always fails, resolve-fail passes erroneously
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 4 Oct 2009 15:31:42 -0000
- Subject: [Bug testsuite/10732] New: declaration.exp empty-struct always fails, resolve-fail passes erroneously
- Reply-to: sourceware-bugzilla at sourceware dot org
The declaration.exp testcases rely on kernel module function probe points that
don't exist in modern kernels. It would be better to rewrite these as user space
tests, so the testsuite controls all inputs.
Running /home/mark/src/systemtap/testsuite/systemtap.base/declaration.exp ...
running stap -v -p4 -e probe\ module(\"libata\").function(\"ata_qc_issue\")\ \{\
print(\$qc->\$scsicmd->\$device->\$host->\$host_no)\ \};
Pass 1: parsed user script and 60 library script(s) using
19364virt/11576res/2096shr kb, in 120usr/10sys/130real ms.
semantic error: no match while resolving probe point
module("libata").function("ata_qc_issue")
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s)
using 136912virt/12392res/2488shr kb, in 20usr/60sys/88real ms.
Pass 2: analysis failed. Try again with another '--vp 01' option.
PASS: empty-struct resolve-fail compilation failed correctly
running stap -v -p4 -e probe\
module(\"scsi_mod\").function(\"scsi_request_fn\")\ \{print(\$q)\} probe\
module(\"libata\").function(\"ata_qc_issue\")\ \{\
print(\$qc->\$scsicmd->\$device->\$host->\$host_no)\ \};
Pass 1: parsed user script and 60 library script(s) using
19364virt/11576res/2096shr kb, in 120usr/10sys/140real ms.
semantic error: no match while resolving probe point
module("scsi_mod").function("scsi_request_fn")
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s)
using 136912virt/12388res/2488shr kb, in 20usr/70sys/91real ms.
Pass 2: analysis failed. Try again with another '--vp 01' option.
FAIL: empty-struct resolve-pass compilation failed
--
Summary: declaration.exp empty-struct always fails, resolve-fail
passes erroneously
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: testsuite
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mjw at redhat dot com
CC: jistone at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10732
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.