Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 907810

Summary: reboot test fail
Product: [Retired] Red Hat Hardware Certification Program Reporter: Caspar Zhang <czhang>
Component: Test Suite (tests)Assignee: Caspar Zhang <czhang>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: high    
Version: 1.7.0CC: bbrock, czhang, gnichols, qcai, rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: v7-1.7.0-R4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-28 06:21:13 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:    
Bug Blocks: 904887    
Attachments:
Description Flags
reboot test patch to ignore shutdown output on stderr, and upated reboot detection in log none

Description Caspar Zhang 2013-02-05 10:34:55 UTC
Description of problem:

Reboot test fails on RHEL7, see the attached result log

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

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Caspar Zhang 2013-02-05 10:35:53 UTC
# cat /var/log/v7/runs/2/reboot/output.log 
<output>
Test Parameters: DEBUG=low RUNMODE=normal UDI= DEVICE= OUTPUTFILE=/var/log/v7/runs/2/reboot/output.log 
<output name="initialize">
The system must be restarted for this test
Ready to restart? (y|n) response: y
</output>
Syncing disks
Waiting for low load...
Current load average: 0.12
Done waiting
Error: attempt to reboot failed
"shutdown -r 0" has output on stderr
</output>
Test Parameters: OUTPUTFILE=/var/log/v7/runs/2/reboot/output.log DEVICE= RUNMODE=auto DEBUG=off UDI= INCOMPLETE=1 
<output name="verify">
reboot took 00:03:00
method: reboot
kernel: 3.7.0-0.32.el7.x86_64
Error: could not detect reboot
</output>
</output>

Comment 2 Greg Nichols 2013-02-05 15:04:22 UTC
Looks like shutdown puts it's output on stderr now.

Comment 3 Greg Nichols 2013-02-05 16:09:00 UTC
Created attachment 693473 [details]
reboot test patch to ignore shutdown output on stderr, and upated reboot detection in log