[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1837909] Re: test-char fails if host has no network interfaces
From: |
Thomas Huth |
Subject: |
[Bug 1837909] Re: test-char fails if host has no network interfaces |
Date: |
Thu, 22 Apr 2021 07:11:03 -0000 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug 1837909] Re: test-char fails if host has no network interfaces,
Thomas Huth <=