I agree, jenkins is failing because it has been installed with a newer version, where libvirt has VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES argument. Without it, the below flow doesn't start..
It's happening because self._caps.host.cpu is being overwritten when self._conn.baselineCPU return anything.
(instead of updating it.)
baselineCPU doesn't return neither arch nor other relevant fields that are being set in LibvirtConfigCaps.
if features and features != -1:
self._caps.host.cpu = vconfig.LibvirtConfigCPU()
self._caps.host.cpu.parse_str(features)
because there is no arch specified, sysinfo wont be set and tests will fail, as per comment #1..
I agree, jenkins is failing because it has been installed with a newer version, where libvirt has VIR_CONNECT_ BASELINE_ CPU_EXPAND_ FEATURES argument. Without it, the below flow doesn't start..
It's happening because self._caps.host.cpu is being overwritten when self._conn. baselineCPU return anything.
(instead of updating it.)
baselineCPU doesn't return neither arch nor other relevant fields that are being set in LibvirtConfigCaps.
if features and features != -1: _caps.host. cpu = vconfig. LibvirtConfigCP U() _caps.host. cpu.parse_ str(features)
self.
self.
because there is no arch specified, sysinfo wont be set and tests will fail, as per comment #1..
sending a patch for this now.
Thanks,
Vladik