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

Bug 1062744

Summary: traceback on run -t fv_core
Product: [Retired] Red Hat Hardware Certification Program Reporter: Brian Brock <bbrock>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.7.0CC: brose, qcai, rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hwcert-client 1.7.0-20140210 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-13 15:05:16 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: 1016295    
Attachments:
Description Flags
patch to fix partners' url construction none

Description Brian Brock 2014-02-07 21:30:18 UTC
Description of problem:
python error with traceback running `hwcert-backend run -t `

As the virt tests begin:

mkdir -p /tmp/hwcert-fv_core-XVT5BJ
cp -a  Makefile /tmp/hwcert-fv_core-XVT5BJ
make: `build' is up to date.
/proc/cpuinfo has vmx flag
Testing kvm virtualization
libvirtd is running
Verified that guest hwcert-x86_64 is not running
Note: /var/lib/libvirt/images/hwcertData.img not found, attempting download
Traceback (most recent call last):
  File "/usr/bin/hwcert-backend", line 45, in <module>
    success = hwcertBackend.do(args)
  File "/usr/share/hwcert/lib/hwcert/backend.py", line 182, in do
    result = self.commands[self.command]()
  File "/usr/share/hwcert/lib/hwcert/harness.py", line 357, in doRun
    return self._doRun(tests)
  File "/usr/share/hwcert/lib/hwcert/harness.py", line 465, in _doRun
    returnValue = self.runTest(tmpDirectory, test, run, outputFilePath)
  File "/usr/share/hwcert/lib/hwcert/harness.py", line 908, in runTest
    rv = test.run()
  File "/usr/share/hwcert/lib/hwcert/fvtest.py", line 489, in run
    if not self.verifyGuest():
  File "/usr/share/hwcert/lib/hwcert/fvtest.py", line 198, in verifyGuest
    return self.verifyGuestFiles()
  File "/usr/share/hwcert/lib/hwcert/fvtest.py", line 202, in verifyGuestFiles
    if not self.verifyFile(self.guestImageDirectory, self.dataImageFile):
  File "/usr/share/hwcert/lib/hwcert/fvtest.py", line 230, in verifyFile
    return self.installFile(destinationDirectory, filename)
  File "/usr/share/hwcert/lib/hwcert/fvtest.py", line 239, in installFile
    urlsToTry.append(os.path.join(self.environment.getPartnerServerURL(), ("%s/fv-images/%s/%s.tar.bz2" % (RHEL.major, filename))))
TypeError: not enough arguments for format string


Version-Release number of selected component (if applicable):
hwcert-client-1.7.0-20140207.el7.noarch

How reproducible:
reliable on affected systems, unaffected by running "clean" or similar.

Comment 1 Brian Brock 2014-02-07 21:36:10 UTC
running `hwcert-backend run -t fv_core`

Comment 3 Greg Nichols 2014-02-10 15:01:01 UTC
Created attachment 861432 [details]
patch to fix partners' url construction

Comment 4 Brian Brock 2014-02-12 01:59:14 UTC
verified in 20140210

run -t fv_core no longer crashes at that point in execution, and proceeds farther in the fv_core test on to image downloading.