Bug 976694 - [hwcert-client version 1.5.9 release 28] info tests failed in RHEL5.0 x86 and x64
Summary: [hwcert-client version 1.5.9 release 28] info tests failed in RHEL5.0 x86 and...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (harness)
Version: 1.5
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks: 976880 976881
TreeView+ depends on / blocked
 
Reported: 2013-06-21 08:03 UTC by Adam Ru
Modified: 2013-07-31 10:01 UTC (History)
2 users (show)

Fixed In Version: hwcert-client-1.5.9-37
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 976880 (view as bug list)
Environment:
Last Closed: 2013-07-31 10:01:56 UTC
Embargoed:


Attachments (Terms of Use)
redhatrelease patch to return "0" as the update (minor) number if there's none. (1.60 KB, patch)
2013-06-21 18:21 UTC, Greg Nichols
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1125 0 normal SHIPPED_LIVE hwcert-client-1.5 bug fix and enhancement update 2013-07-31 13:56:39 UTC

Description Adam Ru 2013-06-21 08:03:36 UTC
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.

Comment 1 Adam Ru 2013-06-21 08:06:45 UTC
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

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

Comment 5 Adam Ru 2013-06-26 00:35:55 UTC
Hello

will the sosreport error for rhel5.0 also been fixed?

<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>

Thanks
Adam

Comment 7 errata-xmlrpc 2013-07-31 10:01:56 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-1125.html


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