Bug 16029 - AB-INT: runqemu.QemuTest: fails in test_qemu_can_shutdown / test_qemu_can_boot_nfs_and_shutdown
Summary: AB-INT: runqemu.QemuTest: fails in test_qemu_can_shutdown / test_qemu_can_boo...
Status: RESOLVED OBSOLETE
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.0
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2025-10-27 11:46 UTC by Mathieu Dubois-Briand
Modified: 2026-03-17 13:49 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Dubois-Briand 2025-10-27 11:46:53 UTC
2025-10-24 07:05:36,641 - oe-selftest - INFO - runqemu.QemuTest.test_qemu_can_boot_nfs_and_shutdown (subunit.RemotedTestCase)
2025-10-24 07:05:36,646 - oe-selftest - INFO -  ... FAIL

Stderr:
2025-10-24 06:40:51,708 - oe-selftest - INFO - Adding: "include selftest.inc" in /srv/pokybuild/yocto-worker/qemuarm-tc/build/build-st-868439/conf/local.conf
2025-10-24 06:40:51,711 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2025-10-24 07:05:36,648 - oe-selftest - INFO - 10: 1/2 5/18 (0.17s) (0 failed) (runqemu.QemuTest.test_qemu_can_boot_nfs_and_shutdown)
2025-10-24 07:05:36,650 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/qemuarm-tc/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/runqemu.py", line 236, in test_qemu_can_boot_nfs_and_shutdown
    self.assertExists(rootfs_tar)
  File "/srv/pokybuild/yocto-worker/qemuarm-tc/build/layers/openembedded-core/meta/lib/oeqa/selftest/case.py", line 251, in assertExists
    raise self.failureException(msg)
AssertionError: '/srv/pokybuild/yocto-worker/qemuarm-tc/build/build-st-868439/tmp/deploy/images/qemuarm/Bitbake still alive (no events for 600s). Active tasks:\ncore-image-minimal-qemuarm.rootfs.tar.bz2' does not exist

---

2025-10-24 07:05:36,767 - oe-selftest - INFO - runqemu.QemuTest.test_qemu_can_shutdown (subunit.RemotedTestCase)
2025-10-24 07:05:36,770 - oe-selftest - INFO -  ... FAIL

Stderr:
2025-10-24 06:40:51,708 - oe-selftest - INFO - Adding: "include selftest.inc" in /srv/pokybuild/yocto-worker/qemuarm-tc/build/build-st-868439/conf/local.conf
2025-10-24 06:40:51,711 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2025-10-24 07:05:36,772 - oe-selftest - INFO - 10: 2/2 6/18 (0.13s) (2 failed) (runqemu.QemuTest.test_qemu_can_shutdown)
2025-10-24 07:05:36,774 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/qemuarm-tc/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/runqemu.py", line 226, in test_qemu_can_shutdown
    self.assertExists(self.qemuboot_conf)
  File "/srv/pokybuild/yocto-worker/qemuarm-tc/build/layers/openembedded-core/meta/lib/oeqa/selftest/case.py", line 251, in assertExists
    raise self.failureException(msg)
AssertionError: '/srv/pokybuild/yocto-worker/qemuarm-tc/build/build-st-868439/tmp/deploy/images/qemuarm/Bitbake still alive (no events for 600s). Active tasks:\ncore-image-minimal-qemuarm.rootfs.qemuboot.conf' does not exist
Comment 1 Mathieu Dubois-Briand 2025-10-28 09:02:41 UTC
qemuarm-tc rocky9-vk-3 mathieu/master-next completed at 2025-10-24 13:24:13+00:00
https://valkyrie.yocto.io/pub/non-release/20251024-41/testresults/qemuarm-tc/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/42/builds/2556/steps/13/logs/stdio
Comment 2 Paul Barker 2026-02-12 16:42:18 UTC
Closing this as obsolete as it hasn't been seen in a while and we've fixed at least one issue in unfs3.

Related bugs:
- #14259
- #16113

We can re-open if this reoccurs.
Comment 3 Yoann Congal 2026-03-17 13:49:07 UTC
Also suspicious: this extract: ("Bad file descriptor" and "TCG doesn't support requested feature")
runqemu - INFO - Cleaning up
runqemu - INFO - Host uptime: 630734.46

runqemu - INFO - Shutting down the userspace NFS server...
Getting sysroot...
PSEUDO=/srv/pokybuild/yocto-worker/qemux86-tc/build/build-st-1404072/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/pseudo
Stopping rpc.nfsd
Removing exports file
runqemu - INFO - Removing /srv/pokybuild/yocto-worker/qemux86-tc/build/build-st-1404072/tmp/deploy/images/qemux86/core-image-minimal-qemux86.rootfs-nfsroot
runqemu - INFO - Removing /srv/pokybuild/yocto-worker/qemux86-tc/build/build-st-1404072/tmp/deploy/images/qemux86/core-image-minimal-qemux86.rootfs-nfsroot.pseudo_state
tput: No value for $TERM and no -T specified

Extra log data exception OSError(9, 'Bad file descriptor')
Sending SIGTERM to runqemu
Output from runqemu:
runqemu - ERROR - Failed to run qemu: qemu-system-i386: -qmp unix:./.rwmgjbyo,server,wait: info: QEMU waiting for connection on: disconnected:unix:./.rwmgjbyo,server=on
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.80000001H:EDX.lm [bit 29]
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.80000001H:EDX.lm [bit 29]
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.80000001H:EDX.lm [bit 29]
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
qemu-system-i386: warning: TCG doesn't support requested feature: CPUID.80000001H:EDX.lm [bit 29]
Comment 4 Yoann Congal 2026-03-17 13:49:34 UTC
wrong bug, sorry