Bug 1007667

Summary: fv_* test failed on RHEL5.9 Xen kernel since xenbr0 was not found
Product: [Retired] Red Hat Hardware Certification Program Reporter: HP Enterprise Cert team <redhat_cert>
Component: Test Suite (tests)Assignee: Yu Shao <yshao>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.5CC: brose, chou.chris, gnichols, qcai, rlandry, yshao
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-13 14:20:05 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:
Attachments:
Description Flags
Result File none

Description HP Enterprise Cert team 2013-09-13 05:32:37 UTC
Created attachment 797119 [details]
Result File

Description of problem:
Full Virtulization fv_* test failed with RHEL5.9 Xen Kernel since xenbr0 was not found. By default OS installation, there are only 2 network bridges named 'virbr0' and 'xenbr1'. No network bridge device named 'xenbr0'.
Here is the error information during fv_* test.
Submitted tests: hwcert-backend run   --mode auto --test core --server 10.101.2.98
Warning: "virsh start hwcert-x86_64" has output on stderr
error: Failed to start domain hwcert-x86_64
error: POST operation failed: xend_post: error from xen daemon: (xend.err 'Device 0 (vif) could not be connected. Could not find bridge device xenbr0')
fv_core test is running, it takes some time(less than 60 minutes), please be patient ...

Version-Release number of selected component (if applicable):
OS: RHEL5.9 GA <Xen>
Kit: hwcert-client-1.5.9-37.el5

How reproducible:
Always reproduced with default configuration.

Steps to Reproduce:
1. Install RHEL5.9 Xen OS with installation number. 
2. Configure HWCERT kit.
3. Run fv_* test.

Actual results:
fv_* test failed with errors regarding 'xenbr0 not found'.

Expected results:
fv_* test passed.

Additional info:
I upload the result file as attachment.

Workaround:
There is a workaround to fix the issue and fv_* test could be passed. Actually 'virbr0' is good for use, so modify the code to use 'virbr0' as below.
# vi /usr/share/hwcert/lib/hwcert/fvtest.py
guestConfig.write("vif = [ \"mac=00:16:3e:76:b5:99,bridge=virbr0\" ]\n")

Comment 1 Guangze Bai 2014-06-03 12:39:34 UTC
*** Bug 1076336 has been marked as a duplicate of this bug. ***

Comment 6 brose 2015-07-13 14:20:05 UTC
Closing as hwcert-client is obsolete.
Please use redhat-certification-hardware instead.