qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Buildbot failure: libqtest init_socket assertion failure
@ 2013-11-20  9:00 Stefan Hajnoczi
  2013-11-20 12:38 ` Gerd Hoffmann
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Hajnoczi @ 2013-11-20  9:00 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

Hi Gerd,
make check is failing on kraxel_rhel61 due to the following:

ERROR:tests/libqtest.c:71:init_socket: assertion failed (ret != -1): (-1 != -1)

http://buildbot.b1-systems.de/qemu/builders/default_x86_64_rhel61/builds/782

Can you investigate?  Perhaps there are stale files.

(There is a separate issue where make check is attempting to open an
X11 display.  This has been fixed in the latest block pull request and
will soon be resolved in the buildbot.)

Thanks,
Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Buildbot failure: libqtest init_socket assertion failure
  2013-11-20  9:00 [Qemu-devel] Buildbot failure: libqtest init_socket assertion failure Stefan Hajnoczi
@ 2013-11-20 12:38 ` Gerd Hoffmann
  2013-11-20 15:16   ` Stefan Hajnoczi
  0 siblings, 1 reply; 5+ messages in thread
From: Gerd Hoffmann @ 2013-11-20 12:38 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel

On Mi, 2013-11-20 at 10:00 +0100, Stefan Hajnoczi wrote:
> Hi Gerd,
> make check is failing on kraxel_rhel61 due to the following:
> 
> ERROR:tests/libqtest.c:71:init_socket: assertion failed (ret != -1): (-1 != -1)
> 
> http://buildbot.b1-systems.de/qemu/builders/default_x86_64_rhel61/builds/782
> 
> Can you investigate?  Perhaps there are stale files.

Probably, that was the case when it happened last time.

Yep, there are tons of /tmp/qtest-$number.{qmp,sock} files.  Cleared
now.

Where do they come from?  Running "make check" manually does _not_ leave
stale files in /tmp for me.  Hmm.  What is going on?

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Buildbot failure: libqtest init_socket assertion failure
  2013-11-20 12:38 ` Gerd Hoffmann
@ 2013-11-20 15:16   ` Stefan Hajnoczi
  2013-11-20 16:05     ` Andreas Färber
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Hajnoczi @ 2013-11-20 15:16 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

On Wed, Nov 20, 2013 at 01:38:31PM +0100, Gerd Hoffmann wrote:
> On Mi, 2013-11-20 at 10:00 +0100, Stefan Hajnoczi wrote:
> > Hi Gerd,
> > make check is failing on kraxel_rhel61 due to the following:
> > 
> > ERROR:tests/libqtest.c:71:init_socket: assertion failed (ret != -1): (-1 != -1)
> > 
> > http://buildbot.b1-systems.de/qemu/builders/default_x86_64_rhel61/builds/782
> > 
> > Can you investigate?  Perhaps there are stale files.
> 
> Probably, that was the case when it happened last time.
> 
> Yep, there are tons of /tmp/qtest-$number.{qmp,sock} files.  Cleared
> now.
> 
> Where do they come from?  Running "make check" manually does _not_ leave
> stale files in /tmp for me.  Hmm.  What is going on?

Quite probably a resource leak in libqtest.  But I'm not sure which
scenario causes them to accumulate - maybe when a test assertion fails?

Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Buildbot failure: libqtest init_socket assertion failure
  2013-11-20 15:16   ` Stefan Hajnoczi
@ 2013-11-20 16:05     ` Andreas Färber
  2013-11-21  8:42       ` Stefan Hajnoczi
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Färber @ 2013-11-20 16:05 UTC (permalink / raw)
  To: Stefan Hajnoczi, Gerd Hoffmann; +Cc: qemu-devel

Am 20.11.2013 16:16, schrieb Stefan Hajnoczi:
> On Wed, Nov 20, 2013 at 01:38:31PM +0100, Gerd Hoffmann wrote:
>> On Mi, 2013-11-20 at 10:00 +0100, Stefan Hajnoczi wrote:
>>> Hi Gerd,
>>> make check is failing on kraxel_rhel61 due to the following:
>>>
>>> ERROR:tests/libqtest.c:71:init_socket: assertion failed (ret != -1): (-1 != -1)
>>>
>>> http://buildbot.b1-systems.de/qemu/builders/default_x86_64_rhel61/builds/782
>>>
>>> Can you investigate?  Perhaps there are stale files.
>>
>> Probably, that was the case when it happened last time.
>>
>> Yep, there are tons of /tmp/qtest-$number.{qmp,sock} files.  Cleared
>> now.
>>
>> Where do they come from?  Running "make check" manually does _not_ leave
>> stale files in /tmp for me.  Hmm.  What is going on?
> 
> Quite probably a resource leak in libqtest.  But I'm not sure which
> scenario causes them to accumulate - maybe when a test assertion fails?

Yes, that's when it happens. I had wondered if adding some atexit() hook
might be a solution but never found time to try that out.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Buildbot failure: libqtest init_socket assertion failure
  2013-11-20 16:05     ` Andreas Färber
@ 2013-11-21  8:42       ` Stefan Hajnoczi
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2013-11-21  8:42 UTC (permalink / raw)
  To: Andreas Färber; +Cc: Gerd Hoffmann, qemu-devel

On Wed, Nov 20, 2013 at 05:05:46PM +0100, Andreas Färber wrote:
> Am 20.11.2013 16:16, schrieb Stefan Hajnoczi:
> > On Wed, Nov 20, 2013 at 01:38:31PM +0100, Gerd Hoffmann wrote:
> >> On Mi, 2013-11-20 at 10:00 +0100, Stefan Hajnoczi wrote:
> >>> Hi Gerd,
> >>> make check is failing on kraxel_rhel61 due to the following:
> >>>
> >>> ERROR:tests/libqtest.c:71:init_socket: assertion failed (ret != -1): (-1 != -1)
> >>>
> >>> http://buildbot.b1-systems.de/qemu/builders/default_x86_64_rhel61/builds/782
> >>>
> >>> Can you investigate?  Perhaps there are stale files.
> >>
> >> Probably, that was the case when it happened last time.
> >>
> >> Yep, there are tons of /tmp/qtest-$number.{qmp,sock} files.  Cleared
> >> now.
> >>
> >> Where do they come from?  Running "make check" manually does _not_ leave
> >> stale files in /tmp for me.  Hmm.  What is going on?
> > 
> > Quite probably a resource leak in libqtest.  But I'm not sure which
> > scenario causes them to accumulate - maybe when a test assertion fails?
> 
> Yes, that's when it happens. I had wondered if adding some atexit() hook
> might be a solution but never found time to try that out.

Okay.  I'll investigate.

Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-21  8:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-20  9:00 [Qemu-devel] Buildbot failure: libqtest init_socket assertion failure Stefan Hajnoczi
2013-11-20 12:38 ` Gerd Hoffmann
2013-11-20 15:16   ` Stefan Hajnoczi
2013-11-20 16:05     ` Andreas Färber
2013-11-21  8:42       ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).