From: Ian Campbell <ian.campbell@citrix.com>
To: Jim Fehlig <jfehlig@suse.com>
Cc: xen-devel@lists.xensource.com, ian.jackson@eu.citrix.com
Subject: Re: [libvirt test] 55257: regressions - FAIL
Date: Wed, 13 May 2015 09:46:28 +0100 [thread overview]
Message-ID: <1431506788.8263.202.camel@citrix.com> (raw)
In-Reply-To: <5550DA91.4050101@suse.com>
On Mon, 2015-05-11 at 10:36 -0600, Jim Fehlig wrote:
[...]
> > The qemu log is sadly empty so I've no clue why this timed out.
> >
>
> I guess qemu didn't run at all...
>
> > Perhaps there is something in
> > http://logs.test-lab.xenproject.org/osstest/logs/55257/test-amd64-amd64-libvirt/merlot1---var-log-libvirt-libvirtd.log.gz
> > I can't make heads nor tail though.
> >
>
> Nothing interesting. Only the unhelpful
>
> 2015-05-11 12:42:17.451+0000: 4280: error : libxlDomainStart:1032 :
> internal error: libxenlight failed to create new domain
> 'debian.guest.osstest'
This happened again in
http://logs.test-lab.xenproject.org/osstest/logs/55349/test-amd64-amd64-libvirt/info.html
Is there anything we could tweak in osstest to produce more helpful
logging?
> Off topic, but I'd really like to improve reporting of libxl errors in
> libvirt. Currently, when calls to libxl_foo fail, libvirt simply
> reports something like "libxenlight failed foo". Users must resort to
> /var/log/libvirt/libxl/libxl-driver.log and
> /var/log/xen/qemu-dm-<domname>.log for details. Perhaps a topic for the
> dev summit.
Indeed.
One thing we would like to do is to have more specific error codes so
that ERROR_FAIL is not returned everywhere. The xapi guys would like
this too. In general we are happy to have error codes which are used for
exactly one specific type of failure and to take patches to switch
things from ERROR_FAIL to use something more meaningful.
Other ideas:
A logger which, as well as logging, would cache the last N messages of a
certain priority or higher, in such a way that the caller could query
them and output them. If the priority was >= ERROR I think that would on
most failures get you the most relevant things.
I wonder if it would even be possible to buffer up all of the calls to a
given libxl_* entry point, in such a way that the messages associated
with exactly that call could be retrieved. If we could find a way to
integrate that with, say, the GC_INIT infrastructure then we would get
it for free almost everywhere (not sure how recursive calls to libxl_*
rather than libxl__* would be handled there).
Ian.
next prev parent reply other threads:[~2015-05-13 8:46 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 12:46 [libvirt test] 55257: regressions - FAIL osstest service user
2015-05-11 13:22 ` Ian Campbell
2015-05-11 16:36 ` Jim Fehlig
2015-05-11 17:02 ` Ian Campbell
2015-05-13 8:46 ` Ian Campbell [this message]
2015-05-13 17:46 ` Anthony PERARD
2015-05-14 10:47 ` Ian Campbell
2015-05-14 11:07 ` Anthony PERARD
2015-05-14 21:27 ` Jim Fehlig
2015-05-14 21:21 ` Jim Fehlig
2015-05-14 21:31 ` Jim Fehlig
2015-05-15 8:44 ` Ian Campbell
2015-05-15 10:39 ` Anthony PERARD
2015-05-15 11:54 ` Ian Campbell
2015-05-15 15:33 ` Anthony PERARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1431506788.8263.202.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jfehlig@suse.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.