Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922924 - app-emulation/qemu-8.0.5 fails tests: can't add socket to multicast group No such device
Summary: app-emulation/qemu-8.0.5 fails tests: can't add socket to multicast group 230...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
Depends on:
Blocks: 914827
  Show dependency tree
Reported: 2024-01-25 19:44 UTC by matoro
Modified: 2024-01-25 19:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log and emerge --info (build.log.gz,227.54 KB, application/gzip)
2024-01-25 19:46 UTC, matoro

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-01-25 19:44:38 UTC
At first I assumed this was due to missing kernel support for multicast, hence why I submitted .  I should have tested this without making assumptions, because that does not seem to be the cause.  This instead looks like a network-sandbox issue.

# starting QEMU: exec ./qemu-system-x86_64 -qtest unix:/var/tmp/portage/app-emulation/qemu-8.0.5/temp/qtest-3016.sock -qtest-log /dev/null -chardev socket,path=/var/tmp/portage/app-emulation/qemu-8.0.5/temp/qtest-3016.qmp,id=char0 -mon chardev=char0,mode=control -display none -nodefaults -M none -netdev dgram,id=st0,remote.type=inet,,remote.port=1234 -accel qtest
----------------------------------- stderr -----------------------------------
qemu-system-x86_64: -netdev dgram,id=st0,remote.type=inet,,remote.port=1234: can't add socket to multicast group No such device
(test program exited with status code -13)

The only reference I could find was this issue and corresponding fix .  But when I tried to implement that in the qemu test, it bails out like:

qemu-system-aarch64: -netdev dgram,id=st0,localaddr=,remote.type=inet,,remote.port=1234: Parameter 'localaddr' is unexpected

Sample log is from amd64, but this reproduces on all arches.

Reproducible: Always
Comment 1 matoro archtester 2024-01-25 19:46:12 UTC
Created attachment 883132 [details]
build.log and emerge --info