Bug 976880

Summary: info test fails GA kernel validation for RHELX.0
Product: [Retired] Red Hat Hardware Certification Program Reporter: Greg Nichols <gnichols>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.6.4CC: aru, qcai, rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: hwcert-client-1.6.4-56 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 976694
: 976881 (view as bug list) Environment:
Last Closed: 2013-08-06 17:52:43 UTC Type: Bug
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: 976694    
Bug Blocks: 976881    
Attachments:
Description Flags
redhatrelease patch to return "0" as the update (minor) number if there's none. none

Description Greg Nichols 2013-06-21 18:23:37 UTC
+++ This bug was initially created as a clone of Bug #976694 +++

Description of problem:

Running hwcert-client version 1.5.9 release 28 on RHEL5.0 x86 and x64.
And info case failed on both x86 and x64.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
x86
<output>
Test Parameters: OUTPUTFILE=/var/log/hwcert/runs/1/info/output.log DEVICE= TESTS                                                                                                                                                             ERVER=10.115.161.68 RUNMODE=normal DEBUG=off UDI=
<output name="Log versions" description="Log hwcert and OS version and release">
Tested OS: Red Hat Enterprise Linux Server 5 (Tikanga)
Kernel RPM: kernel-PAE-2.6.18-8.el5
hwcert-client version 1.5.9, release 28
<summary>PASS</summary>
</output>
<output name="Verify hwcert" description="Verify the hwcert installation">
Checking hwcert configuration.
    Using defaults.
<summary>PASS</summary>
</output>
<output name="Kernel" description="Check OS kernel build, version">
+ rpm -ql kernel-PAE-2.6.18-8.el5
Error: Kernel is 2.6.18-8 and not Red Hat Enterprise Linux Server 5.None GA (Non                                                                                                                                                             e)
Boot Parameters: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
<summary>FAIL</summary>
</output>
<output name="Modules" description="Check kernel modules">
checking modules...
<summary>PASS</summary>
</output>
<output name="SE Linux" description="Capture SE Linux status">
<summary>PASS</summary>
</output>
<output name="System Report" description="generate system report">
usage: sosreport [options]

sosreport: error: no such option: --batch
usage: sosreport [options]

sosreport: error: no such option: --batch
<summary>FAIL</summary>
</output>
</output>

x64

<output>
Test Parameters: OUTPUTFILE=/var/log/hwcert/runs/2/info/output.log DEVICE= TESTS                                                                                                                                                             ERVER=10.115.161.58 RUNMODE=normal DEBUG=off UDI=
<output name="Log versions" description="Log hwcert and OS version and release">
Tested OS: Red Hat Enterprise Linux Server 5 (Tikanga)
Kernel RPM: kernel-2.6.18-8.el5
hwcert-client version 1.5.9, release 28
<summary>PASS</summary>
</output>
<output name="Verify hwcert" description="Verify the hwcert installation">
Checking hwcert configuration.
    Using defaults.
<summary>PASS</summary>
</output>
<output name="Kernel" description="Check OS kernel build, version">
+ rpm -ql kernel-2.6.18-8.el5
Error: Kernel is 2.6.18-8 and not Red Hat Enterprise Linux Server 5.None GA (Non                                                                                                                                                             e)
Boot Parameters: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
<summary>FAIL</summary>
</output>
<output name="Modules" description="Check kernel modules">
checking modules...
<summary>PASS</summary>
</output>
<output name="SE Linux" description="Capture SE Linux status">
<summary>PASS</summary>
</output>
<output name="System Report" description="generate system report">
usage: sosreport [options]

sosreport: error: no such option: --batch
usage: sosreport [options]

sosreport: error: no such option: --batch
<summary>FAIL</summary>
</output>
</output>

Expected results:


Additional info:

The cases failed of two reason,first the kernel is considered as non-GA version.
Second the "sosreport" didn't have expect output.seems sosreport in RHEL5.0 doesn't support "--batch" parameter.

--- Additional comment from Adam Ru on 2013-06-21 04:06:45 EDT ---

server is using 1.6.4-49

[root@RHEL6-x86-NTS ~]# rpm -qa | grep hwcert
hwcert-server-1.6.4-49.el6.noarch
hwcert-client-info-1.6.4-49.el6.noarch
hwcert-client-1.6.4-49.el6.noarch

--- Additional comment from Greg Nichols on 2013-06-21 14:21:36 EDT ---

Comment 1 Greg Nichols 2013-06-21 18:24:10 UTC
Created attachment 763931 [details]
redhatrelease patch to return "0" as the update (minor) number if there's none.

Comment 6 errata-xmlrpc 2013-08-06 17:52:43 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-2013-1139.html