Comment 4 for bug 1266534

Revision history for this message
Vladik Romanovsky (vladik-romanovsky) wrote :

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..

sending a patch for this now.

Thanks,
Vladik