Bug 805757

Summary: info test missing requires for sos (sosreport)
Product: [Retired] Red Hat Hardware Certification Program Reporter: Guangze Bai <gbai>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Guangze Bai <gbai>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.5CC: czhang, rlandry, yshao
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
An enhancement has been made in v7 1.5 that pakcage `sos` now is a installing dependency of package `v7`
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-05 21:37:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 767775    

Description Guangze Bai 2012-03-22 03:12:33 UTC
Description of problem:

Running info on system without sos package, it fails like:

  Subtest: System Report - generate system report
  sh: line 2: sosreport: command not found
  sh: line 2: sosreport: command not found

but actually in plan phase, it only prompts:

  info requires kabi-whitelists, policycoreutils



Version-Release number of selected component (if applicable):
v7-1.4-38 and v7-1.5-9


Expected results:
make sure all rpms installed associated with info test in advance

Additional info:

Comment 1 Greg Nichols 2012-03-22 16:59:25 UTC
It looks like "sos" should be added to the required rpms for v7, unless there's a different rpm under RHEL5 vs. 6 or 7.

Comment 2 Rob Landry 2012-03-22 17:17:49 UTC
There are .el5 sysreport packages, the predecessor to sos, but the info test always calls sosreport except on RHEL4.  Adding the sos %requires makes sense to me.

Comment 8 Caspar Zhang 2012-06-04 07:58:50 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
An enhancement has been made in v7 1.5 that pakcage `sos` now is a installing dependency of package `v7`

Comment 10 errata-xmlrpc 2012-06-05 21:37:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0711.html