RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 691693 - systemtap.base/bench.exp: PASS->FAIL
Summary: systemtap.base/bench.exp: PASS->FAIL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: systemtap
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Frank Ch. Eigler
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-29 09:35 UTC by Petr Muller
Modified: 2016-09-20 02:07 UTC (History)
4 users (show)

Fixed In Version: systemtap-1.4-6.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:55:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0651 0 normal SHIPPED_LIVE systemtap bug fix and enhancement update 2011-05-19 09:37:25 UTC

Description Petr Muller 2011-03-29 09:35:07 UTC
Description of problem:
The RHEL6.1 candidate systemtap packages FAIL in systemtap.base/bench.exp testcase, while the 6.0.z systemtap PASSes here. 

Version-Release number of selected component (if applicable):
Environment:
kernel-2.6.32-122.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/bench.exp installcheck
3.
  
Actual results:
FAIL

Expected results:
PASS

Additional info:
The FAIL seems to be caused by the change of output, so it's perhaps just the testcase problem. Old systemtap's output was a bunch of lines in this format:

probe test.null (/usr/share/systemtap/testsuite/systemtap.base/bench.stp:12:45), hits: 40, cycles: 119min/127avg/168max

while new systemtap has 40 lines for each old one in this format:

begin, (/usr/share/systemtap/testsuite/systemtap.base/bench.stp:12:19), hits: 1, cycles: 147min/147avg/147max, from: begin from: repeat from: test.null

Comment 1 Petr Muller 2011-03-29 11:25:36 UTC
similar problem caused a PASS->FAIL transition for systemtap.base/skipped.exp:

 ERROR: Skipped too many probes, check MAXSKIPPED or try again with stap -t for more details.
 WARNING: Number of errors: 0, skipped probes: 101
 WARNING: Skipped due to global 'f' lock timeout: 101
-probe timer.profile (<input>:3:1), hits: 108, cycles: 287min/1210693avg/18669462max
+----- probe hit report: 
+timer.profile, (<input>:3:1), hits: 296, cycles: 266min/12296636avg/18672864max, from: timer.profile
 Pass 5: run failed.  Try again with another '--vp 00001' option.
-PASS: skip tracking (8 1 2 1)
-testcase /usr/share/systemtap/testsuite/systemtap.base/skipped.exp completed in 5 seconds
+FAIL: skip tracking (8 0 2 1)
+testcase /usr/share/systemtap/testsuite/systemtap.base/skipped.exp completed in 11 seconds

Comment 2 David Smith 2011-03-29 20:47:08 UTC
Those two tests hadn't been updated with changes to the probe timing report output changes.  Fixed in the following upstream commit (which will need to be backported):

24e979d6357fbf3742e182a5ca87f17002940d2e

<http://sources.redhat.com/git/gitweb.cgi?p=systemtap.git;a=patch;h=24e979d6357fbf3742e182a5ca87f17002940d2e>

Comment 3 RHEL Program Management 2011-04-04 01:54:34 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 5 Frank Ch. Eigler 2011-04-06 15:08:43 UTC
Trivial test case hack in hand.

Comment 11 errata-xmlrpc 2011-05-19 13:55:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0651.html


Note You need to log in before you can comment on or make changes to this bug.