Bug 692461

Summary: systemtap.base/sdt.exp: 2 PASS -> FAIL transitions on s390x
Product: Red Hat Enterprise Linux 6 Reporter: Petr Muller <pmuller>
Component: systemtapAssignee: Frank Ch. Eigler <fche>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: mjw, ohudlick, phan
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-06 14:52:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 682670    

Description Petr Muller 2011-03-31 12:06:45 UTC
Description of problem:
 Running /usr/share/systemtap/testsuite/systemtap.base/sdt.exp ...
 PASS: compiling sdt.c -O2  uprobe
-PASS: sdt -O2  uprobe
+FAIL: sdt -O2  uprobe
 PASS: compiling sdt.c -O3  uprobe
-PASS: sdt -O3  uprobe
+FAIL: sdt -O3  uprobe

(the rest of the testcase actually has FAIL->PASS transitions)

Version-Release number of selected component (if applicable):
Environment:
kernel-2.6.32-125.el6
elfutils-0.152-1.el6
systemtap-testsuite-1.4-4.el6

Systemtap:
systemtap-1.2-11.el6_0 PASS
systemtap-1.4-4 FAIL

How reproducible:
always

Steps to Reproduce:
1. cd /usr/share/systemtap/testsuite/
2. make RUNTESTFLAGS=systemtap.base/sdt.exp installcheck
3.

Actual results:
FAIL

Expected results:
PASS

Additional info:
systemtap.log.diff:
 executing: stap -w /usr/share/systemtap/testsuite/systemtap.base/sdt.stp sdt.c.exe.0 -c ./sdt.c.exe.0
-PASS: sdt -O2  uprobe
+FAIL: sdt -O2  uprobe
+line 1: expected "_"
+Got "semantic error: unable to find local 'arg1' near pc 0x80000538 in call1(/usr/share/systemtap/testsuite/systemtap.base/sdt.c) (alternatives: $a): identifier '$arg1' at /usr/share/systemtap/testsuite/systemtap.base/sdt.stp:8:18"
 Executing on host: gcc /usr/share/systemtap/testsuite/systemtap.base/sdt.c  -g -isystem/usr/share/systemtap/testsuite -isystem/usr/include -Wall -Wextra -Werror -O3  -lm   -o sdt.c.exe.1    (timeout = 300)
 spawn -ignore SIGHUP gcc /usr/share/systemtap/testsuite/systemtap.base/sdt.c -g -isystem/usr/share/systemtap/testsuite -isystem/usr/include -Wall -Wextra -Werror -O3 -lm -o sdt.c.exe.1
 PASS: compiling sdt.c -O3  uprobe
 executing: stap -w /usr/share/systemtap/testsuite/systemtap.base/sdt.stp sdt.c.exe.1 -c ./sdt.c.exe.1
-PASS: sdt -O3  uprobe
+FAIL: sdt -O3  uprobe
+line 1: expected "_"
+Got "semantic error: unable to find local 'arg1' near pc 0x80000538 in call1(/usr/share/systemtap/testsuite/systemtap.base/sdt.c) (alternatives: $a): identifier '$arg1' at /usr/share/systemtap/testsuite/systemtap.base/sdt.stp:8:18"

Comment 1 Petr Muller 2011-03-31 12:08:06 UTC
it looks similar to bug 691763, but I was not 100% sure it's a dup: this does not happen on ppc64

Comment 3 Frank Ch. Eigler 2011-04-06 14:52:24 UTC
Pretty sure it's a dup.

*** This bug has been marked as a duplicate of bug 691763 ***