Bug 513654 - 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
low
Target Milestone: rc
: ---
Assignee: Frank Ch. Eigler
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On: 499657 515829
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-24 16:11 UTC by Petr Muller
Modified: 2016-09-20 02:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 499657
Environment:
Last Closed: 2010-03-30 09:06:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0308 0 normal SHIPPED_LIVE systemtap bug fix and enhancement update 2010-03-29 14:36:19 UTC

Description Petr Muller 2009-07-24 16:11:38 UTC
+++ This bug was initially created as a clone of Bug #499657 +++

Description of problem:
There are testcases in systemtap-testsuite rpm which are treated as executables, but the are not in fact. This brings bogus failures to the results of the testsuite. They are:

a) buildok/thirtyone.stp

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

How reproducible:
always

Steps to Reproduce:
runtest --tool=systemtap systemtap.pass1-4/buildok.exp
  
Actual results:
ERROR: tcl error sourcing /usr/share/systemtap/testsuite/systemtap.pass1-4/buildok.exp.
ERROR: couldn't execute "/usr/share/systemtap/testsuite/buildok/thirtyone.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 Mark Wielaard 2009-07-27 10:43:47 UTC
I am unclear how this could have happened. According to the git logs this file has always been marked 755. Something must have maked it not-executable.

This seems unlike the files mentioned in bug #499657 (testsuite/buildko/two.stp, testsuite/buildok/thirty.stp and testsuite/systemtap.base/bz10078.stp) which were once marked unexecutable in the past.

Comment 2 Mark Wielaard 2009-07-27 11:25:05 UTC
Found it. The test file comes from a backport. rhbz498040.patch.
But patch doesn't set the executable bit when it is applied.

Comment 3 Frank Ch. Eigler 2009-09-09 18:51:47 UTC
Upstream includes fixes for this bug.

Comment 8 errata-xmlrpc 2010-03-30 09:06:11 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-2010-0308.html


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