Red Hat Bugzilla – Bug 1292245
daemon crashes with traceback after resume from suspend-to-disk
Last modified: 2016-02-16 04:32:53 EST
Description of problem:
The redhat-certification daemon crashed after the system resumed from a suspend-to-disk test.
Version-Release number of selected component (if applicable):
no yet reproduced
Steps to Reproduce:
1. Create a new hardware certification on a laptop system
2. start any test, triggering the mandatory suspend tests
3. go through all 4 suspend tests
4. check the daemon status after the 4th resume
Listener but not daemon running. Traceback in /var/log/rhcert/RedHatCertDaemon.log
Tests that were scheduled by the user are never run.
Daemon continues to run without error, testing continues
This test will suspend the operating system.
Please resume by pressing the power button after suspend has completed.
Verified resume from disk
Traceback (most recent call last):
File "/usr/bin/rhcert-backend", line 37, in <module>
success = rhcertBackend.do(args)
File "/usr/lib/python2.7/site-packages/rhcert/client/backend.py", line 179, in do
File "/usr/lib/python2.7/site-packages/rhcert/client/backend.py", line 212, in doServer
File "/usr/lib/python2.7/site-packages/rhcert/listener/daemon.py", line 77, in run
File "/usr/lib/python2.7/site-packages/rhcert/listener/daemon.py", line 95, in runXML
File "/usr/lib/python2.7/site-packages/rhcert/listener/daemon.py", line 138, in runPlan
File "/usr/lib/python2.7/site-packages/rhcert/client/harness.py", line 490, in run
File "/usr/lib/python2.7/site-packages/rhcert/client/harness.py", line 573, in _doRun
returnValue = self.runTest(logDirectory, testDocument, runDocument, outputFilePath)
File "/usr/lib/python2.7/site-packages/rhcert/client/harness.py", line 1010, in runTest
if not test.finish(self.planner, runDocument):
File "/usr/lib/python2.7/site-packages/rhcert/suites/hwcert/hwcert/hardwareTest.py", line 130, in finish
File "/usr/lib/python2.7/site-packages/rhcert/documentbase.py", line 209, in appendDevices
File "/usr/lib/python2.7/site-packages/rhcert/documentbase.py", line 192, in appendDevice
self.setAttribute(deviceElement, Attributes.vendor, device.getVendor())
AttributeError: UdevDevice instance has no attribute 'getVendor'
testing resumes after the daemon is started, and executes the test which the user selected (hwcert/video, in this case).
I'm encountering this on other systems, whenever the mandatory suspend test is reached.
Queued up several tests (all of fv_*), and have to restart the daemon after each test case is run (same crash / traceback).
I have not seen this in recent packages when running all of the 'suspend' tests on a laptop.
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.