All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Fehlig <jfehlig@suse.com>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: Anthony Perard <anthony.perard@citrix.com>,
	xen-devel@lists.xensource.com, ian.jackson@eu.citrix.com
Subject: Re: [libvirt test] 58119: regressions - FAIL
Date: Fri, 12 Jun 2015 18:38:37 -0600	[thread overview]
Message-ID: <557B7B8D.8090702@suse.com> (raw)
In-Reply-To: <1433755348.7108.402.camel@citrix.com>

Ian Campbell wrote:
> On Mon, 2015-06-08 at 04:37 +0000, osstest service user wrote:
>   
>> flight 58119 libvirt real [real]
>> http://logs.test-lab.xenproject.org/osstest/logs/58119/
>>
>> Regressions :-(
>>
>> Tests which did not succeed and are blocking,
>> including tests which could not be run:
>>     
>
> This has been failing for a while now, sorry for not brining it to your
> attention sooner.
>   

I've noticed all the failures, but unfortunately they are the same and
contain no info as to why qemu failed to start.  The issue was discussed
during the last OpenStack+Xen+libvirt meetup, since Anthony is seeing a
similar issue with the OpenStack CI.

I've attempted to reproduced locally with a script that continuously
runs concurrent create, shutdown, and destroy, but eventually run into
other issues after many thousand iterations:

 # xl list
Name             ID     Mem   VCPUs  State   Time(s)
Domain-0         0      1871  48     r-----  152599.8
(null)           14058  0     1      --ps-d      24.8
(null)           14060  0     4      --p--d      20.9

libvirt has finished all cleanup of these domains.  qemu processes and
all xenstore entries associated with these domains are gone.  Yet
something has a refcnt on them.  From q debug key:

(XEN) General information for domain 14058:
(XEN)     refcnt=1 dying=2 pause_count=2
(XEN)     nr_pages=2 xenheap_pages=0 shared_pages=0 paged_pages=0
dirty_cpus={} max_pages=131328
(XEN)     handle=039e9ee6-4a84-3055-4c81-8ba426ae2656 vm_assist=00000004

(XEN) General information for domain 14060:
(XEN)     refcnt=1 dying=2 pause_count=2
(XEN)     nr_pages=2 xenheap_pages=0 shared_pages=0 paged_pages=0
dirty_cpus={} max_pages=131328
(XEN)     handle=04f95218-76b6-60f1-87f1-b51795e3b6ae vm_assist=00000000
(XEN)     paging assistance: hap refcounts translate external

Further debug suggestions appreciated :-).

My setup is running a recent xen.git (e13013db) and libvirt.git
(efc68de5) master.  libvirt contains an additional patch to cleanup
virDomainObj ref counting in the libxl driver, which fixed the first
problem the test script encountered.  I sent the patch to Anthony to
test in his OpenStack CI setup.

Regards,
Jim

  reply	other threads:[~2015-06-13  0:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08  4:37 [libvirt test] 58119: regressions - FAIL osstest service user
2015-06-08  9:22 ` Ian Campbell
2015-06-13  0:38   ` Jim Fehlig [this message]
2015-06-15 14:30   ` Anthony PERARD
2015-06-17  8:48     ` Ian Campbell
2015-06-17  9:47       ` Ian Jackson
2015-06-18 15:18     ` Ian Campbell
2015-06-18 16:02       ` Ian Campbell
2015-06-23 18:44         ` Jim Fehlig
2015-06-24  8:32           ` Ian Campbell
2015-06-23 18:53       ` Jim Fehlig
2015-06-23 11:15   ` Anthony PERARD
2015-06-23 12:57     ` Ian Campbell
2015-06-23 13:32       ` Anthony PERARD
2015-06-26 11:55         ` Anthony PERARD
2015-06-26 16:44           ` Ian Jackson
2015-06-29 14:08             ` Anthony PERARD
2015-06-23 13:38     ` Ian Campbell
2015-06-24 12:40       ` Dario Faggioli
2015-06-24 13:39         ` 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=557B7B8D.8090702@suse.com \
    --to=jfehlig@suse.com \
    --cc=anthony.perard@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.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.