From: elmarco <marcandre.lureau@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1837909] Re: test-char fails if host has no network interfaces
Date: Thu, 25 Jul 2019 14:36:57 -0000 [thread overview]
Message-ID: <156406541803.17681.2502459833725209168.malone@gac.canonical.com> (raw)
In-Reply-To: 156406441263.18058.18411127090440261548.malonedeb@gac.canonical.com
This should be addressed by:
https://patchew.org/QEMU/20190713143311.17620-1-marcandre.lureau@redhat.com/
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1837909
Title:
test-char fails if host has no network interfaces
Status in QEMU:
New
Bug description:
# ./tests/test-char
# random seed: R02S8602535bf831a74bca571d8c416d8161
1..34
# Start of char tests
...
ok 12 /char/websocket
# Start of stdio tests
# End of stdio tests
# Start of socket tests
# Start of server tests
# Start of mainloop tests
Unexpected error in inet_parse_connect_saddr() at util/qemu-sockets.c:421:
#
# address resolution failed for 127.0.0.1:42275: Name or service not known
#
Aborted (core dumped)
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
This seems to be related to use of AI_ADDRCONFIG in qemu-sockets.c inet_parse_connect_saddr, dropping it fixes the test. 'man getaddrinfo' makes it sound like AI_ADDRCONFIG requires the host to have a non-loopback ipv4 or ipv6 address available
This host setup may seem niche, but it is what the 'mock' RPM build
tool has by default. In Fedora we run the test suite during the RPM
build, so the failing test causes a bit of pain for certain workflows
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1837909/+subscriptions
next prev parent reply other threads:[~2019-07-25 14:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-25 14:20 [Qemu-devel] [Bug 1837909] [NEW] test-char fails if host has no network interfaces Cole Robinson
2019-07-25 14:36 ` elmarco [this message]
2019-07-25 14:54 ` Philippe Mathieu-Daudé
2019-07-25 14:54 ` Philippe Mathieu-Daudé
2021-04-22 7:11 ` [Bug 1837909] " Thomas Huth
2021-06-22 4:18 ` Launchpad Bug Tracker
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=156406541803.17681.2502459833725209168.malone@gac.canonical.com \
--to=marcandre.lureau@gmail.com \
--cc=1837909@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/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 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).