On Mon, Sep 06, 2010 at 11:28:31AM +0100, Daniel P. Berrange wrote:
On Mon, Sep 06, 2010 at 12:42:15PM +0300, Pasi Kärkkäinen wrote:
> On Tue, Jul 13, 2010 at 01:52:25PM +0100, Daniel P. Berrange wrote:
> > On Tue, Jul 13, 2010 at 05:45:18AM -0700, Boris Derzhavets wrote:
> > > Attempt to build rpms via src.rpm at Xen 4.0.1-rc3 (2.6.32.16) Dom0 on
top of F13 :-
> > >
> > > PASS: xmconfigtest
> > > TEST: xencapstest
> > > !!!!!!!!!! 10 FAIL
> > > FAIL: xencapstest
> >
> > Edit the libvirt.spec file and change
> >
> > make check
> >
> > to
> >
> > VIR_TEST_DEBUG=1 make check
> >
> > then it should show what failed.
> >
>
> I've now seen this failure aswell:
>
> TEST: xencapstest
> 1) Capabilities for i686, no PAE, no HVM ... FAILED
> 2) Capabilities for i686, PAE, no HVM ... FAILED
> 3) Capabilities for i686, PAE, HVM ... FAILED
> 4) Capabilities for x86_64, no HVM ... FAILED
> 5) Capabilities for x86_64, HVM ... FAILED
> 6) Capabilities for ia64, no HVM, LE ... FAILED
> 7) Capabilities for ia64, HVM, LE ... FAILED
> 8) Capabilities for ia64, no HVM, BE ... FAILED
> 9) Capabilities for ia64, HVM, BE ... FAILED
> 10) Capabilities for ppc64 ... FAILED
> FAIL: xencapstest
>
> So it sounds like there's something simple wrong that makes all of the tests to
fail..
Try adding this patch to get more error diagnositics:
Thanks! I'll try it later today.
-- Pasi
diff --git a/tests/testutils.c b/tests/testutils.c
index 2f61aad..6c1933d 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -122,8 +122,12 @@ virtTestRun(const char *title, int nloops, int (*body)(const void
*data), const
if (ts)
GETTIMEOFDAY(&before);
+ virResetLastError();
if ((ret = body(data)) != 0)
break;
+ virErrorPtr err = virGetLastError();
+ if (err)
+ virDispatchError(NULL);
if (ts) {
GETTIMEOFDAY(&after);
ts[i] = DIFF_MSEC(&after, &before);
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://deltacloud.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|