Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 922924

Summary: app-emulation/qemu-8.0.5 fails tests: can't add socket to multicast group 230.0.0.1: No such device
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Virtualization Team <virtualization>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 914827    
Attachments: build.log and emerge --info

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 https://github.com/gentoo/gentoo/pull/34380 .  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.host=230.0.0.1,remote.port=1234 -accel qtest
----------------------------------- stderr -----------------------------------
qemu-system-x86_64: -netdev dgram,id=st0,remote.type=inet,remote.host=230.0.0.1,remote.port=1234: can't add socket to multicast group 230.0.0.1: No such device
 
(test program exited with status code -13)


The only reference I could find was this issue https://github.com/cockpit-project/cockpit/issues/12782 and corresponding fix https://github.com/cockpit-project/bots/pull/3717 .  But when I tried to implement that in the qemu test, it bails out like:

qemu-system-aarch64: -netdev dgram,id=st0,localaddr=127.0.0.1,remote.type=inet,remote.host=230.0.0.1,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