Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1081662

Summary: hwcert traceback on searching for open certifications
Product: [Retired] Red Hat Hardware Certification Program Reporter: Greg Nichols <gnichols>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED EOL QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.7.0CC: rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hwcert-client 1.7.0-20140328.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1081670 (view as bug list) Environment:
Last Closed: 2020-03-27 15:32:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1052374    
Attachments:
Description Flags
patch fixing traceback none

Description Greg Nichols 2014-03-27 18:19:56 UTC
Description of problem:

When matching certifications are found, a traceback occurs:

Found matching certification(s):
988563:  http://hwcert-web2-test.devel.redhat.com/show.cgi?id=988563
988564:  http://hwcert-web2-test.devel.redhat.com/show.cgi?id=988564
988565:  http://hwcert-web2-test.devel.redhat.com/show.cgi?id=988565
988566:  http://hwcert-web2-test.devel.redhat.com/show.cgi?id=988566
988567:  http://hwcert-web2-test.devel.redhat.com/show.cgi?id=988567
988568:  http://hwcert-web2-test.devel.redhat.com/show.cgi?id=988568
Error: searching for certification:
global name 'certIDs' is not defined
What certification is this system being tested for? (new|existing|none) ^CTraceback (most recent call last):
  File "/usr/bin/hwcert", line 31, in <module>
    if not hwcert.run():
  File "/usr/share/hwcert/lib/hwcert/hardwarecertification.py", line 87, in run
    if not self.certify():
  File "/usr/share/hwcert/lib/hwcert/hardwarecertification.py", line 116, in certify
    if not self.doPlan():
  File "/usr/share/hwcert/lib/hwcert/harness.py", line 154, in doPlan
    self.doDiscover()
  File "/usr/share/hwcert/lib/hwcert/harness.py", line 82, in doDiscover
    self.editCertification()
  File "/usr/share/hwcert/lib/hwcert/harness.py", line 1105, in editCertification
    self.catalog.getCertificationID(self.certification)
  File "/usr/share/hwcert/lib/hwcert/catalog.py", line 77, in getCertificationID
    answer = self.ui.prompt("What certification is this system being tested for?", answers)
  File "/usr/share/hwcert/lib/hwcert/commandLineUI.py", line 45, in prompt
    response = sys.stdin.readline()


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

hwcert-client 1.7.0, 1.6.5.2

Comment 1 Greg Nichols 2014-03-27 18:27:17 UTC
Created attachment 879575 [details]
patch fixing traceback

Comment 3 Brian Brock 2014-04-02 17:10:44 UTC
verified in 20140331