From: Thomas Huth <1837909@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1837909] Re: test-char fails if host has no network interfaces
Date: Thu, 22 Apr 2021 07:11:03 -0000 [thread overview]
Message-ID: <161907546382.32357.13760338395802083217.malone@soybean.canonical.com> (raw)
In-Reply-To: 156406441263.18058.18411127090440261548.malonedeb@gac.canonical.com
The QEMU project is currently considering to move its bug tracking to
another system. For this we need to know which bugs are still valid
and which could be closed already. Thus we are setting older bugs to
"Incomplete" now.
If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.
Thank you and sorry for the inconvenience.
** Changed in: qemu
Status: New => Incomplete
--
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:
Incomplete
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:[~2021-04-22 7:22 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 ` [Qemu-devel] [Bug 1837909] " elmarco
2019-07-25 14:54 ` [Qemu-devel] [Bug 1837909] [NEW] " Philippe Mathieu-Daudé
2019-07-25 14:54 ` Philippe Mathieu-Daudé
2021-04-22 7:11 ` Thomas Huth [this message]
2021-06-22 4:18 ` [Bug 1837909] " 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=161907546382.32357.13760338395802083217.malone@soybean.canonical.com \
--to=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).