Hide Forgot
Description of problem: When manually running v7 tests on an RT test system in the Hunstville board farm I receive an early teermination and traceback. Version-Release number of selected component (if applicable): kernel-rt-2.6.33.7-rt29.49.el5rt v7 version 1.3, release 5 How reproducible: always Steps to Reproduce: 1. v7 clean 2. v7 plan --server v7.farm.hsv.redhat.com 3. v7 certify --mode auto Actual results: : Restoring all interfaces... ...finished running ./network.py, exit code=0 </output> recovered exit code=0 v7-report-result /V7/v7/network PASS /var/log/v7/runs/1/network/output.log saved to /var/v7/results.xml saveOutput: /var/log/v7/runs/1/network/output.log Traceback (most recent call last): File "/usr/bin/v7", line 45, in ? success = v7.do(args) File "/usr/share/v7/lib/v7/hardwaretest.py", line 189, in do result = self.commands[self.command]() File "/usr/share/v7/lib/v7/hardwaretest.py", line 802, in doCertify self._doRun(tests) File "/usr/share/v7/lib/v7/hardwaretest.py", line 710, in _doRun self.saveOutput(run, returnValue, outputFilePath) File "/usr/share/v7/lib/v7/hardwaretest.py", line 1054, in saveOutput if not run.setTestOutput(outputFilePath): File "/usr/share/v7/lib/v7/rundocument.py", line 178, in setTestOutput errors += e.message + "\n" AttributeError: ExpatError instance has no attribute 'message' Expected results: no traceback Additional info:
Created attachment 474358 [details] rundocument.py patch fixing error output on saving logs
Would you mind giving this patch a try?
I applied the patch and started a new test run. It has already passed the point where it previously failed, so I think the patch addresses this issue. I will continue to monitor the test run through completion (up to 22 hours) to make sure there are no further problems.
Could you attach the results.xml from the run? I suspect there are other issues here, since the traceback is during error processing.
The test is still running. It should finish later this morning. I will attach the results when the run is complete.
Created attachment 474478 [details] results from test run on rhelrt-4.farm using patched rundocument.py
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