Bug 499657 - Bogus testsuite failures due to permissions
Summary: Bogus testsuite failures due to permissions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: systemtap
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Frank Ch. Eigler
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks: 513654
TreeView+ depends on / blocked
 
Reported: 2009-05-07 15:10 UTC by Petr Muller
Modified: 2016-09-20 02:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 513654 (view as bug list)
Environment:
Last Closed: 2009-09-02 10:01:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1313 0 normal SHIPPED_LIVE systemtap bug fix and enhancement update 2009-09-01 10:25:25 UTC

Description Petr Muller 2009-05-07 15:10:30 UTC
Description of problem:
Three of the testcases in systemtap-testsuite rpm are treated as executables, but the are not in fact. This brings bogus failures to the results of the testsuite. They are:

a) systemtap.base/bz10078.stp
b) buildko/two.stp
c) buildok/thirty.stp

Version-Release number of selected component (if applicable):
# rpm -q systemtap-testsuite
systemtap-testsuite-0.9.7-1.el5

How reproducible:
always

Steps to Reproduce:
1. for a) runtest --tool=systemtap systemtap.base/bz10078.exp
2. for b) runtest --tool=systemtap systemtap.pass1-4/buildko.exp
3. for c) runtest --tool=systemtap systemtap.pass1-4/buildok.exp
  
Actual results:
ERROR: tcl error sourcing ./systemtap.base/bz10078.exp
ERROR: couldn't execute "./systemtap.base/bz10078.stp": permission denied

ERROR: tcl error sourcing ./systemtap.pass1-4/buildko.exp.
ERROR: couldn't execute "./buildko/two.stp": permission denied

ERROR: tcl error sourcing ./systemtap.pass1-4/buildok.exp.
ERROR: couldn't execute "./buildok/thirty.stp": permission denied

Expected results:
After chmod a+x -ing, I see no such ERRORs and get some relevant results.

Additional info:
This manifests even when runnning the whole testsuite with 'make installcheck'

Comment 1 Frank Ch. Eigler 2009-05-07 15:26:42 UTC
Thanks, fixed upstream.  It wouldn't be worth respinning just for this,
but we could easily lump it into the next incidental respin.

Since permissions can't be changed with a plain .patch file,
fixing this in the rhel 0.9.7 build would take a few explicit chmod's
in the spec file.

Comment 3 Petr Muller 2009-05-11 12:33:39 UTC
qe_ack

Comment 8 errata-xmlrpc 2009-09-02 10:01:15 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-2009-1313.html


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