Red Hat Bugzilla – Bug 621056
v7 failed after reboot test
Last modified: 2010-09-21 05:24:52 EDT
Description of problem:
After the "v7 certify -m auto", v7 could not continue after the reboot test.
# v7 continue -m auto
Traceback (most recent call last):
File "/usr/bin/v7", line 45, in <module>
success = v7.do(args)
File "/usr/share/v7/lib/v7/hardwaretest.py", line 179, in do
File "/usr/share/v7/lib/v7/hardwaretest.py", line 586, in doContinue
File "/usr/share/v7/lib/v7/hardwaretest.py", line 210, in load
File "/usr/share/v7/lib/v7/certificationtest.py", line 52, in load
File "/usr/share/v7/lib/v7/documentbase.py", line 230, in load
self.document = parse(file)
File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 1915, in parse
File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/expatbuilder.py", line 930, in parse
result = builder.parseFile(file)
File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/expatbuilder.py", line 211, in parseFile
xml.parsers.expat.ExpatError: no element found: line 1, column 0
Version-Release number of selected component (if applicable):
"v7 print" also failed.
Created attachment 436560 [details]
reboot patch adding pause before shutdown -r
This patch uses code written for the cpuscaling test (waitForLull) that calls sync, and check for low load before calling shutdown. This should allow v7 to complete writing its results.xml before shutdown is called.
Created attachment 436564 [details]
test.py patch moving waitForLull and assoc. functions to Test base class
Created attachment 436566 [details]
cpuscaling test patch for moving waitForLull to Test base class
Created attachment 436884 [details]
reboot patch adding pause before shutdown -r and before panic
Verified it on el5.5 and el6 with R20.
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.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
After issuing the "v7 certify -m auto" command, v7 no longer fails after a reboot test.