Skip to contentSkip to conversation

peculiar make check problems: tests/libqtest.c

Qemu-devel Alex Bligh 2 participants 3 messages Aug 10, 2013 – Aug 11, 2013

lore
Share & tools
lore

Alex Bligh

author
#0 lore raw

Occasionally running make check I am seeing the following opaque error:
ERROR:tests/libqtest.c:69:init_socket: assertion failed (ret != -1): (-1 != -1)

Rerunning it it runs clean. Any ideas?

Signature · 1 line
Alex Bligh
#1 lore raw

Hi,

Am 10.08.2013 13:20, schrieb Alex Bligh:

Quoted 5 lines

Occasionally running make check I am seeing the following opaque error:
ERROR:tests/libqtest.c:69:init_socket: assertion failed (ret != -1): (-1 != -1)

Rerunning it it runs clean. Any ideas?

Most likely a previous qtest will have failed, leaving temporary files with that pid behind and your current test happens to get the same pid again. Check /tmp/qtest*.

Cheers,
Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
author
#2 lore raw
Quoted 10 lines · Andreas Färber

Am 10.08.2013 13:20, schrieb Alex Bligh:

Quoted 5 lines

Occasionally running make check I am seeing the following opaque error:
ERROR:tests/libqtest.c:69:init_socket: assertion failed (ret != -1): (-1 != -1)

Rerunning it it runs clean. Any ideas?

Most likely a previous qtest will have failed, leaving temporary files with that pid behind and your current test happens to get the same pid again. Check /tmp/qtest*.

That was it.

Signature · 1 line
Alex Bligh