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