Bug 696873

Summary: The info test of v7-1.3.19beta is always incomplete and without a exit code.
Product: [Retired] Red Hat Hardware Certification Program Reporter: Yunlong Xue <yxue>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: czhang, rlandry, ykun
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-09 16:12:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
rundocument.py patch adding blank line at the end of log none

Description Yunlong Xue 2011-04-15 05:11:19 UTC
when test use v7-1.3 there is no exit code in test log

Comment 1 Yunlong Xue 2011-04-18 06:01:10 UTC
This is the example of the test log.

Test Parameters: OUTPUTFILE=/var/log/v7/runs/1/info/output.log DEVICE= TESTSERVER=unknown RUNMODE=normal DEBUG=off UDI= 

Section Verify v7  - Verify the v7 installation

          End Section

          
Section Kernel  - Check OS kernel build, version

+ rpm -ql kernel-2.6.32-71.el6
Boot Parameters: ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=ja_JP.UTF-8 KEYBOARDTYPE=pc KEYTABLE=jp106 crashkernel=129M@0M rhgb

          End Section

          
Section Modules  - Check kernel modules

checking modules...

          End Section

          
Section SE Linux  - Capture SE Linux status

            
          End Section

          
Section System Report  - generate system report

Usage: sosreport [options]


sosreport (version 2.2)

This utility will collect some detailed  information about the
hardware and setup of your Red Hat Enterprise Linux system.
The information is collected and an archive is  packaged under
/tmp, which you can send to a support representative.
Red Hat Enterprise Linux will use this information for diagnostic purposes ONLY
and it will be considered confidential information.

This process may take a while to complete.
No changes will be made to your system.


Running plugins. Please wait ...

Completed [1/49] ...      
  Completed [2/49] ...      
  Completed [3/49] ...      
  Completed [4/49] ...      
  Completed [5/49] ...      
  Completed [6/49] ...      
  Completed [7/49] ...      
  Completed [8/49] ...      
  Completed [9/49] ...      
  Completed [10/49] ...      
  Completed [11/49] ...      
  Completed [12/49] ...      
  Completed [13/49] ...      
  Completed [14/49] ...      
  Completed [15/49] ...      
  Completed [16/49] ...      
  Completed [17/49] ...      
  Completed [18/49] ...      
  Completed [19/49] ...      
  Completed [20/49] ...      
  Completed [21/49] ...      
  Completed [22/49] ...      
  Completed [23/49] ...      
  Completed [24/49] ...      
  Completed [25/49] ...      
  Completed [26/49] ...      
  Completed [27/49] ...      
  Completed [28/49] ...      
  Completed [29/49] ...      
  Completed [30/49] ...      
  Completed [31/49] ...      
  Completed [32/49] ...      
  Completed [33/49] ...      
  Completed [34/49] ...      
  Completed [35/49] ...      
  Completed [36/49] ...      
  Completed [37/49] ...      
  Completed [38/49] ...      
  Completed [39/49] ...      
  Completed [40/49] ...      
  Completed [41/49] ...      
  Completed [42/49] ...      
  Completed [43/49] ...      
  Completed [44/49] ...      
  Completed [45/49] ...      
  Completed [46/49] ...      
  Completed [47/49] ...      
  Completed [48/49] ...      
  Completed [49/49] ...
Creating compressed archive...

Your sosreport has been generated and saved in:
/tmp/sosreport-localhost-20110410233851-5bdc.tar.xz
Copied sosreport -n selinux /tmp/sosreport-localhost-20110410233851-5bdc.tar.xz to /var/log/v7/runs/1/info

          End Section

        246077806882780166140442436884670817120

Comment 8 Yunlong Xue 2011-04-19 00:51:36 UTC
This is another example for this:(we can find "FAIL" in the end)

<output>
Test Parameters: OUTPUTFILE=/var/log/v7/runs/1/info/output.log DEVICE= TESTSERVER=unknown RUNMODE=normal DEBUG=off UDI= 
<output name="Verify v7" description="Verify the v7 installation">
<summary>PASS</summary>
</output>
<output name="Kernel" description="Check OS kernel build, version">
+ rpm -ql kernel-2.6.32-71.el6
Boot Parameters: ro root=UUID=ca503055-733e-4de2-a288-04964e8d0f60 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=zh_CN.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us  rhgb quiet
<summary>PASS</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 (version 2.2)

This utility will collect some detailed  information about the
hardware and setup of your Red Hat Enterprise Linux system.
The information is collected and an archive is  packaged under
/tmp, which you can send to a support representative.
Red Hat Enterprise Linux will use this information for diagnostic purposes ONLY
and it will be considered confidential information.

This process may take a while to complete.
No changes will be made to your system.


Running plugins. Please wait ...

Completed [1/51] ...      
  
Completed [2/51] ...      
  
Completed [3/51] ...      
 
Completed [4/51] ...      
  
Completed [5/51] ...      
  
Completed [6/51] ...      
 
Completed [7/51] ...      

Completed [8/51] ...      

Completed [9/51] ...      
 
Completed [10/51] ...      

Completed [11/51] ...      
  
Completed [12/51] ...      
  
Completed [13/51] ...      
  
Completed [14/51] ...      
  
Completed [15/51] ...      
  
Completed [16/51] ...      
  
Completed [17/51] ...      
  
Completed [18/51] ...      
  
Completed [19/51] ...      
  
Completed [20/51] ...      
  
Completed [21/51] ...      
  
Completed [22/51] ...      
  
Completed [23/51] ...      
  
Completed [24/51] ...      
  
Completed [25/51] ...      
  
Completed [26/51] ...      
  
Completed [27/51] ...      
  
Completed [28/51] ...      
  
Completed [29/51] ...      
  
Completed [30/51] ...      
  
Completed [31/51] ...      
  
Completed [32/51] ...      
  
Completed [33/51] ...      
  
Completed [34/51] ...      
  
Completed [35/51] ...      
  
Completed [36/51] ...      
  
Completed [37/51] ...      
  
Completed [38/51] ...      
  
Completed [39/51] ...      
  
Completed [40/51] ...      
  
Completed [41/51] ...      
  
Completed [42/51] ...      
  
Completed [43/51] ...      
  
Completed [44/51] ...      
  
Completed [45/51] ...      
  
Completed [46/51] ...      
  
Completed [47/51] ...      
  
Completed [48/51] ...      
  
Completed [49/51] ...      
  
Completed [50/51] ...      
  
Completed [51/51] ...
Creating compressed archive...

Your sosreport has been generated and saved in:
/tmp/sosreport-dhcp-14-148-20110324142015-1d08.tar.xz

md5sum :fae5b4ade36b925afb87ee2c6ad21d08


<summary>FAIL</summary>
</output>
</output>

Comment 11 Greg Nichols 2011-04-19 02:40:01 UTC
Created attachment 493059 [details]
rundocument.py patch adding blank line at the end of log

This will insure the MD5 sum is on a line by itself.

Comment 13 Yunlong Xue 2011-04-19 03:13:52 UTC
I just rerun the info test again (this time it is sucess , but still no exit code here and no detail info in SE linux section)
this is the result:


<output>
Test Parameters: OUTPUTFILE=/var/log/v7/runs/2/info/output.log DEVICE= TESTSERVER=unknown RUNMODE=normal DEBUG=off UDI= 
<output name="Verify v7" description="Verify the v7 installation">
<summary>PASS</summary>
</output>
<output name="Kernel" description="Check OS kernel build, version">
+ rpm -ql kernel-2.6.32-71.el6
Boot Parameters: ro root=UUID=ca503055-733e-4de2-a288-04964e8d0f60 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=zh_CN.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us  quiet
<summary>PASS</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 (version 2.2)

This utility will collect some detailed  information about the
hardware and setup of your Red Hat Enterprise Linux system.
The information is collected and an archive is  packaged under
/tmp, which you can send to a support representative.
Red Hat Enterprise Linux will use this information for diagnostic purposes ONLY
and it will be considered confidential information.

This process may take a while to complete.
No changes will be made to your system.


Running plugins. Please wait ...

Completed [1/51] ...      
  Completed [2/51] ...      
  Completed [3/51] ...      
  Completed [4/51] ...      
  Completed [5/51] ...      
  Completed [6/51] ...      
  Completed [7/51] ...      
  Completed [8/51] ...      
  Completed [9/51] ...      
  Completed [10/51] ...      
  Completed [11/51] ...      
  Completed [12/51] ...      
  Completed [13/51] ...      
  Completed [14/51] ...      
  Completed [15/51] ...      
  Completed [16/51] ...      
  Completed [17/51] ...      
  Completed [18/51] ...      
  Completed [19/51] ...      
  Completed [20/51] ...      
  Completed [21/51] ...      
  Completed [22/51] ...      
  Completed [23/51] ...      
  Completed [24/51] ...      
  Completed [25/51] ...      
  Completed [26/51] ...      
  Completed [27/51] ...      
  Completed [28/51] ...      
  Completed [29/51] ...      
  Completed [30/51] ...      
  Completed [31/51] ...      
  Completed [32/51] ...      
  Completed [33/51] ...      
  Completed [34/51] ...      
  Completed [35/51] ...      
  Completed [36/51] ...      
  Completed [37/51] ...      
  Completed [38/51] ...      
  Completed [39/51] ...      
  Completed [40/51] ...      
  Completed [41/51] ...      
  Completed [42/51] ...      
  Completed [43/51] ...      
  Completed [44/51] ...      
  Completed [45/51] ...      
  Completed [46/51] ...      
  Completed [47/51] ...      
  Completed [48/51] ...      
  Completed [49/51] ...      
  Completed [50/51] ...      
  Completed [51/51] ...
Creating compressed archive...

Your sosreport has been generated and saved in:
/tmp/sosreport-dhcp-14-148-20110419110904-d64c.tar.xz
Copied sosreport -n selinux /tmp/sosreport-dhcp-14-148-20110419110904-d64c.tar.xz to /var/log/v7/runs/2/info
<summary>PASS</summary>
</output>
</output>

Comment 14 Yunlong Xue 2011-04-19 03:27:57 UTC
but if i change the system language to chinese it will never sucess:




<output>
Test Parameters: OUTPUTFILE=/var/log/v7/runs/4/info/output.log DEVICE= TESTSERVER=unknown RUNMODE=normal DEBUG=off UDI= 
<output name="Verify v7" description="Verify the v7 installation">
<summary>PASS</summary>
</output>
<output name="Kernel" description="Check OS kernel build, version">
+ rpm -ql kernel-2.6.32-71.el6
Boot Parameters: ro root=UUID=ca503055-733e-4de2-a288-04964e8d0f60 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=zh_CN.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us  quiet
<summary>PASS</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 (version 2.2)

This utility will collect some detailed  information about the
hardware and setup of your Red Hat Enterprise Linux system.
The information is collected and an archive is  packaged under
/tmp, which you can send to a support representative.
Red Hat Enterprise Linux will use this information for diagnostic purposes ONLY
and it will be considered confidential information.

This process may take a while to complete.
No changes will be made to your system.


正在运行插件,请等候 ...

Completed [1/51] ...      
  Completed [2/51] ...      
  Completed [3/51] ...      
  Completed [4/51] ...      
  Completed [5/51] ...      
  Completed [6/51] ...      
  Completed [7/51] ...      
  Completed [8/51] ...      
  Completed [9/51] ...      
  Completed [10/51] ...      
  Completed [11/51] ...      
  Completed [12/51] ...      
  Completed [13/51] ...      
  Completed [14/51] ...      
  Completed [15/51] ...      
  Completed [16/51] ...      
  Completed [17/51] ...      
  Completed [18/51] ...      
  Completed [19/51] ...      
  Completed [20/51] ...      
  Completed [21/51] ...      
  Completed [22/51] ...      
  Completed [23/51] ...      
  Completed [24/51] ...      
  Completed [25/51] ...      
  Completed [26/51] ...      
  Completed [27/51] ...      
  Completed [28/51] ...      
  Completed [29/51] ...      
  Completed [30/51] ...      
  Completed [31/51] ...      
  Completed [32/51] ...      
  Completed [33/51] ...      
  Completed [34/51] ...      
  Completed [35/51] ...      
  Completed [36/51] ...      
  Completed [37/51] ...      
  Completed [38/51] ...      
  Completed [39/51] ...      
  Completed [40/51] ...      
  Completed [41/51] ...      
  Completed [42/51] ...      
  Completed [43/51] ...      
  Completed [44/51] ...      
  Completed [45/51] ...      
  Completed [46/51] ...      
  Completed [47/51] ...      
  Completed [48/51] ...      
  Completed [49/51] ...      
  Completed [50/51] ...      
  Completed [51/51] ...
生成压缩归档......

已经为您生成 sosreport 并保存在:
/tmp/sosreport-dhcp-14-148-20110419112140-59ea.tar.xz

md5sum 值为:2c0bf5b61717e5cff74d5be714dd59ea

请将此文件发送给您的支持代表。

<summary>FAIL</summary>
</output>
</output>

Comment 15 Yunlong Xue 2011-04-19 03:31:39 UTC
And please forget the comment 8.

Comment 16 Greg Nichols 2011-04-19 11:49:58 UTC
(In reply to comment #14)
> but if i change the system language to chinese it will never sucess:
> 

We require en_us locale for certification.

Comment 17 Yunlong Xue 2011-04-20 00:48:35 UTC
(In reply to comment #16)
> (In reply to comment #14)
> > but if i change the system language to chinese it will never sucess:
> > 
> 
> We require en_us locale for certification.

Is that mentioned in policy?

Comment 18 Yunlong Xue 2011-04-20 00:55:59 UTC
(In reply to comment #16)
> (In reply to comment #14)
> > but if i change the system language to chinese it will never sucess:
> > 
> 
> We require en_us locale for certification.

So you mean the wrong locale cause the fail ?
or just a bug of v7.

Comment 19 Yunlong Xue 2011-04-20 01:20:49 UTC
oh and if i upload the comment 13 result to catalog,the catalog also show it is  failed

Comment 24 errata-xmlrpc 2011-05-09 16:12:02 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-2011-0497.html