Bug 731332
Summary: | reboot says: "global name 'mode' is not defined" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | Caspar Zhang <czhang> | ||||
Component: | Test Suite (tests) | Assignee: | Greg Nichols <gnichols> | ||||
Status: | CLOSED ERRATA | QA Contact: | Guangze Bai <gbai> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.3 | CC: | qcai, rlandry, ykun, yshao | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-11-08 15:44:16 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
This bug occurs in R16 This bug doesn't need a TechNote because of: a) it was discovered in a v7 1.4 intermediate version, and b) it was discovered by a Red Hat associate only. 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-2011-1436.html 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-2011-1436.html |
Created attachment 518655 [details] proposed patch reboot test give log: <output> Test Parameters: OUTPUTFILE=/var/log/v7/runs/1/reboot/output.log DEVICE= TESTSERVER=unknown RUNMODE=normal DEBUG=off UDI= <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.93 Done waiting Error: test raised exception: global name 'mode' is not defined copying attachments... checking directory /var/log/v7/runs/1/reboot Skipping output.log which was caused by this piece of codes: 69 # wait here for reboot 70 waitTime = 60 #sec 71 print "Waiting for shutdown..." % mode 72 time.sleep(waitTime) 73 print "Error: shutdown took too long" % mode 74 return False a proposed patch is attched.