Bug 1257958 - Wireless test traceback when checking supported types
Summary: Wireless test traceback when checking supported types
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Certification Program
Classification: Red Hat
Component: redhat-certification-hardware
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: brose
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-28 13:21 UTC by Greg Nichols
Modified: 2015-09-03 13:16 UTC (History)
2 users (show)

Fixed In Version: 1.7.1-20150901.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1257995 (view as bug list)
Environment:
Last Closed: 2015-09-03 13:16:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1709 0 normal SHIPPED_LIVE redhat-certification-hardware bug fix and enhancement update 2015-09-03 17:15:58 UTC

Description Greg Nichols 2015-08-28 13:21:07 UTC
Description of problem:

Hi Ben,

Just a heads up that I think I found a bug in the wireless tests. I had the WirelessN test running on a system yesterday and when I came in this morning the hwcert webpage said that the test was still running. I went on the system itself and checked the logs and was greeted with this fun Python unhandled exception:

<output name="Check Support">
Traceback (most recent call last):
  File "/usr/bin/rhcert-backend", line 37, in &lt;module&gt;
    success = rhcertBackend.do(args)
  File "/usr/lib/python2.7/site-packages/rhcert/client/backend.py", line 180, in do
    return self.doServer(args)
  File "/usr/lib/python2.7/site-packages/rhcert/client/backend.py", line 213, in doServer
    return daemon.run()
  File "/usr/lib/python2.7/site-packages/rhcert/listener/daemon.py", line 75, in run
    self.runXML(job)
  File "/usr/lib/python2.7/site-packages/rhcert/listener/daemon.py", line 93, in runXML
    return self.runPlan()
  File "/usr/lib/python2.7/site-packages/rhcert/listener/daemon.py", line 131, in runPlan
    harness.run(self.resultsDocument)
  File "/usr/lib/python2.7/site-packages/rhcert/client/harness.py", line 472, in run
    return self._doRun(testDocuments)
  File "/usr/lib/python2.7/site-packages/rhcert/client/harness.py", line 552, in _doRun
    returnValue = self.runTest(logDirectory, testDocument, runDocument, outputFilePath)
  File "/usr/lib/python2.7/site-packages/rhcert/client/harness.py", line 998, in runTest
    rv = test.run()
  File "/usr/lib/python2.7/site-packages/rhcert/suites/hwcert/tests/wlan/wlan.py", line 161, in run
    if self.requiredSupport and not self.runSubTest(self.checkSupport, "Check Support"):
  File "/usr/lib/python2.7/site-packages/rhcert/test.py", line 360, in runSubTest
    result = subtestFunction()
  File "/usr/lib/python2.7/site-packages/rhcert/suites/hwcert/tests/wlan/wlan.py", line 145, in checkSupport
    print "Error: wireless %s is not supported by %s" % (self.requiredSupport, wireless.getType())
TypeError: getType() takes exactly 2 arguments (1 given)
</output>

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Greg Nichols 2015-08-28 13:21:44 UTC
I suspect this bug is in both el6 and el7 test suites.

Comment 4 Ken Benoit 2015-09-01 19:03:04 UTC
Tested using redhat-certification-1.0-20150813.el7, redhat-certification-hardware-1.7.1-20150901.el7, and redhat-certification-information-1.7.1-20150901.el7. Traceback is no longer occuring. Marking as verified.

Comment 6 errata-xmlrpc 2015-09-03 13:16:29 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-1709.html


Note You need to log in before you can comment on or make changes to this bug.