[ovirt-devel] vdsm: unit test breakage on el6

Dan Kenigsberg danken at redhat.com
Thu Jan 15 21:24:36 UTC 2015


Some of oVirt-3.6 new features such as
http://www.ovirt.org/Features/hostdev_passthrough would not be available on
el6. However, we would like to be able to build and run legacy features
on el6.

Therefore, please avoid using fancy python 2.7 syntax. Unit tests on el6
should keep passing.

Regards,
Dan.

http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit_el/14115/console

ERROR: testParseSRIOV_PFDeviceParams (hostdevTests.HostdevTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/workspace/vdsm_master_unit_tests_gerrit_el/vdsm/tests/hostdevTests.py", line 470, in testParseSRIOV_PFDeviceParams
    deviceXML = hostdev._parse_device_params(_SRIOV_PF_XML)
  File "/home/jenkins/workspace/vdsm_master_unit_tests_gerrit_el/vdsm/vdsm/hostdev.py", line 77, in _parse_device_params
    params['physfn'] = _pci_address_to_name(**address.attrib)
  File "/home/jenkins/workspace/vdsm_master_unit_tests_gerrit_el/vdsm/vdsm/hostdev.py", line 42, in _pci_address_to_name
    function[2:])
ValueError: zero length field name in format



More information about the Devel mailing list