id = 2633 title = "migration-test occassionally hangs with \"Failed to peek at channel\"" state = "closed" created_at = "2024-10-21T12:51:39.846Z" closed_at = "2025-02-17T08:25:14.371Z" labels = ["Migration", "kind::Bug"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2633" host-os = "OpenBSD" host-arch = "x86_64" qemu-version = "git f1dd640896ee2b50cb34328f2568aad32470295" guest-os = "n/a" guest-arch = "x86_64" description = """Running the 'migration-test' qtest in a loop, eventually resulted in a hang. ``` # Running /x86_64/migration/multifd/tcp/plain/cancel # Using machine type: pc-q35-9.2 # starting QEMU: exec ./qemu-system-x86_64 -qtest unix:/tmp/qtest-75145.sock -qtest-log /dev/null -chardev socket,path=/tmp/qtest-75145.qmp,id=char0 -mon chardev=char0,mode=control -display none -audio none -accel kvm -accel tcg -machine pc-q35-9.2, -name source,debug-threads=on -m 150M -serial file:/tmp/migration-test-DJLYV2/src_serial -drive if=none,id=d0,file=/tmp/migration-test-DJLYV2/bootsect,format=raw -device ide-hd,drive=d0,secs=1,cyls=1,heads=1 2>/dev/null -accel qtest # starting QEMU: exec ./qemu-system-x86_64 -qtest unix:/tmp/qtest-75145.sock -qtest-log /dev/null -chardev socket,path=/tmp/qtest-75145.qmp,id=char0 -mon chardev=char0,mode=control -display none -audio none -accel kvm -accel tcg -machine pc-q35-9.2, -name target,debug-threads=on -m 150M -serial file:/tmp/migration-test-DJLYV2/dest_serial -incoming defer -drive if=none,id=d0,file=/tmp/migration-test-DJLYV2/bootsect,format=raw -device ide-hd,drive=d0,secs=1,cyls=1,heads=1 2>/dev/null -accel qtest # Using machine type: pc-q35-9.2 # starting QEMU: exec ./qemu-system-x86_64 -qtest unix:/tmp/qtest-75145.sock -qtest-log /dev/null -chardev socket,path=/tmp/qtest-75145.qmp,id=char0 -mon chardev=char0,mode=control -display none -audio none -accel kvm -accel tcg -machine pc-q35-9.2, -name target,debug-threads=on -m 150M -serial file:/tmp/migration-test-DJLYV2/dest_serial -incoming defer -drive if=none,id=d0,file=/tmp/migration-test-DJLYV2/bootsect,format=raw -device ide-hd,drive=d0,secs=1,cyls=1,heads=1 -accel qtest qemu-system-x86_64: Failed to peek at channel ....hang here.... ```""" reproduce = """In host run ``` make vm-build-openbsd DEBUG=1' ``` when it is done and gives a shell account then run 1. `cd /home/qemu/qemu-test.*/build` 2. `export QTEST_QEMU_BINARY=./qemu-system-x86_64` 3. `while true ; do ./tests/qtest/migration-test ; done` 4. ....wait some time until it shows the above hang....""" additional = "n/a"