Bug 1010403

Summary: fv_* test provides incorrect error messages when image download fails
Product: [Retired] Red Hat Hardware Certification Program Reporter: Greg Nichols <gnichols>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: urgent Docs Contact:
Priority: high    
Version: 1.7.0CC: brose, jdonohue, jwilleford, othenry, qcai, rlandry, stbechto
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1009753 Environment:
Last Closed: 2015-07-13 14:00:19 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:

Comment 3 Greg Nichols 2013-10-30 17:41:32 UTC
using hwcert-client-1.7.0-62, with partner ftp url munged and a bogus LTS:

[root@hp-bl460cgen8-01 ~]# hwcert-backend run --test fv_core --server BOGUS
Warning: profiler test disabled
Warning: Could not contact the hwcert server on BOGUS
<urlopen error [Errno -2] Name or service not known>
Set server to BOGUS for  1 test(s)

Running the following tests:
fv_core                                                   
info                                                      
Error: SELinux is in permissive mode - it must be set to "enforcing" for certification testing.

1 Tests Failed Verification
Verification failed, would you like to continue testing? (y|n) y
response: y
mkdir -p /tmp/hwcert-fv_core-iljNXF
cp -a  Makefile /tmp/hwcert-fv_core-iljNXF
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
--2013-10-30 13:38:36--  http://bogus/hwcert/fv-images/hwcertData.img.tar.bz2
Resolving bogus (bogus)... failed: Name or service not known.
wget: unable to resolve host address ‘bogus’
Warning: could not download http://BOGUS/hwcert/fv-images/hwcertData.img.tar.bz2
--2013-10-30 13:38:36--  ftp://partnersxxx.redhat.com/a166eabc5cf5df158922f9b06e5e7b21/hwcert//RHEL5/fv-images/hwcertData.img.tar.bz2
           => ‘hwcertData.img.tar.bz2’
Resolving partnersxxx.redhat.com (partnersxxx.redhat.com)... failed: Name or service not known.
wget: unable to resolve host address ‘partnersxxx.redhat.com’
Warning: could not download ftp://partnersXXX.redhat.com/a166eabc5cf5df158922f9b06e5e7b21/hwcert//RHEL5/fv-images/hwcertData.img.tar.bz2
Error: could not find or download guest file hwcertData.img.tar.bz2
copying attachments...
checking directory /var/log/hwcert/runs/2/fv_core 
Skipping output.log
saveOutput: /var/log/hwcert/runs/2/fv_core/output.log
Return value was 1

Comment 5 brose 2015-07-13 14:00:19 UTC
Closing as hwcert-client is obsolete.
Please use redhat-certification-hardware instead.