On Tue, Feb 10, 2015 at 05:55:25AM -0500, Francesco Romani wrote:
----- Original Message -----
> From: "Dan Kenigsberg" <danken(a)redhat.com>
> To: "David Caro" <dcaro(a)redhat.com>, fromani(a)redhat.com
> Cc: infra(a)ovirt.org
> Sent: Monday, February 9, 2015 10:06:14 PM
> Subject: Re: constantly failing
http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit_el
>
> On Fri, Feb 06, 2015 at 05:56:18PM +0100, David Caro wrote:
> >
> > I've retaken the work on that job, I've got it mostly working but there
are
> > a
> > few tests failing:
> >
> >
> >
http://jenkins.ovirt.org/job/vdsm_master_unit-tests_created_staging/435/c...
> >
> >
> > Can someone from your team take a look? I'll update the tracker also (I
> > think
> > yeela is cc'd there).
>
> I think that re-installing python-nose1.1 is a simple stopgap measure
> for the old job.
>
> As for the mock-based errors. They have been gc-ed by now, but I do
> recall that they had
>
> testHostSampleHandlesDisappearingVlanInterfaces
> testHostSampleReportsNewInterface
>
> failing. I hopw Francesco can fix that easily.
Not really easily, yet.
I see them both fail because they claim a numa-related function
seems to be missing, but I can't see anything peculiar about that function
(getMemoryStats), like monkeypatching or any hack.
The function was added sufficiently long ago, so it should not be related
to package versions.
Moreover, this doesn't reproduce on my F21 laptop.
David, which version of libvirt is installed by this mock job? My
libvirt-0.10.2.8-8.el6.centos.alt.x86_64 has getMemoryStats.
11:01:39 ERROR: testHostSampleHandlesDisappearingVlanInterfaces
(samplingTests.InterfaceSampleTests)
11:01:39 ----------------------------------------------------------------------
11:01:39 Traceback (most recent call last):
11:01:39 File "/tmp/run/vdsm/tests/testValidation.py", line 105, in wrapper
11:01:39 return f(*args, **kwargs)
11:01:39 File "/tmp/run/vdsm/tests/samplingTests.py", line 172, in
testHostSampleHandlesDisappearingVlanInterfaces
11:01:39 hs = sampling.HostSample(os.getpid())
11:01:39 File "/tmp/run/vdsm/vdsm/virt/sampling.py", line 281, in __init__
11:01:39 self.numaNodeMem = NumaNodeMemorySample()
11:01:39 File "/tmp/run/vdsm/vdsm/virt/sampling.py", line 173, in __init__
11:01:39 memInfo = caps.getMemoryStatsByNumaCell(int(nodeIndex))
11:01:39 File "/tmp/run/vdsm/vdsm/caps.py", line 356, in
getMemoryStatsByNumaCell
11:01:39 cellMemInfo = libvirtconnection.get().getMemoryStats(cell, 0)
11:01:39 AttributeError: 'virConnect' object has no attribute
'getMemoryStats'