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.
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
Created attachment 763930 [details] redhatrelease patch to return "0" as the update (minor) number if there's none.
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
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