Bug 16311

Summary: AB-INT: qemu central error: CPU failed to come online
Product: [QA/Testing] Runtime Testing Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: oeqa/runtimeAssignee: Trevor Gamblin <tgamblin>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: randy.macleod
Version: unspecified   
Target Milestone: 6.1   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2026-06-10 16:40:38 UTC
QMP released QEMU at 06/05/26 23:21:13 and took 0.05 seconds from connect
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/qemuriscv64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/srv/pokybuild/yocto-worker/qemuriscv64-ptest/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/parselogs.py", line 185, in test_parselogs
    self.assertEqual(errcount, 0, msg=self.msg)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 2 != 0 : Log: /srv/pokybuild/yocto-worker/qemuriscv64-ptest/build/build/tmp/work/qemuriscv64-poky-linux/core-image-ptest-python3-atomicwrites/1.0/target_logs/dmesg
-----------------------
Central error: [    1.113668] CPU2: failed to come online
***********************
[    0.015006] LSM: initializing lsm=capability,landlock
[    0.015585] landlock: Up and running.
[    0.023510] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.023574] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.076713] riscv: ELF compat mode supported
[    0.077083] ASID allocator using 16 bits (65536 entries)
[    0.079783] rcu: Hierarchical SRCU implementation.
[    0.079826] rcu:     Max phase no-delay instances is 1000.
[    0.083097] EFI services will not be available.
[    0.084078] smp: Bringing up secondary CPUs ...
[    1.113668] CPU2: failed to come online
[    1.119529] smp: Brought up 1 node, 3 CPUs
[    1.126848] Memory: 993548K/1048576K available (12983K kernel code, 5544K rwdata, 4096K rodata, 2658K init, 455K bss, 49836K reserved, 0K cma-reserved)
[    1.141255] devtmpfs: initialized
[    1.155266] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    1.155459] posixtimers hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.155801] futex hash table entries: 1024 (65536 bytes on 1 NUMA nodes, total 64 KiB, linear).
[    1.159664] DMI not present or invalid.
[    1.165594] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    1.173105] SBI misaligned access exception delegation ok
[    1.196526] cpu3: Ratio of byte access time to unaligned word access is 7.64, unaligned accesses are fast
Comment 1 Mathieu Dubois-Briand 2026-06-10 16:42:13 UTC
qemuriscv64-ptest opensuse160-vk-2 master completed at 2026-06-06 00:13:29+00:00
https://valkyrie.yocto.io/pub/non-release/20260605-123/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1696/steps/13/logs/stdio
Comment 2 Randy MacLeod 2026-06-11 14:45:55 UTC
Medium for now, see how frequent it is...

Interesting log:
[    1.196526] cpu3: Ratio of byte access time to unaligned word access is 7.64, unaligned accesses are fast

this may be related to poor performance...
Comment 3 Mathieu Dubois-Briand 2026-07-21 11:00:16 UTC
qemuarm-oecore ubuntu2204-vk-4 mathieu/master-next-tests&mathieu/master-next completed at 2026-07-17 12:54:15+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/40/builds/4123/steps/13/logs/stdio
Comment 4 Mathieu Dubois-Briand 2026-07-24 15:11:37 UTC
qemuriscv64-ptest opensuse160-vk-2 mathieu/master-next completed at 2026-07-22 21:40:49+00:00
https://valkyrie.yocto.io/pub/non-release/20260722-98/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1970/steps/13/logs/stdio
Comment 5 Mathieu Dubois-Briand 2026-08-21 05:17:22 UTC
qemuriscv64-ptest opensuse160-vk-1 mathieu/master-next completed at 2026-08-20 20:37:06+00:00
https://valkyrie.yocto.io/pub/non-release/20260820-112/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2211/steps/15/logs/stdio
Comment 6 Mathieu Dubois-Briand 2026-10-21 07:47:23 UTC
qemuarm opensuse160-vk-1 mathieu/master-next completed at 2026-10-20 14:03:09+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/16/builds/4890/steps/16/logs/stdio
Comment 7 Mathieu Dubois-Briand 2026-10-23 07:13:46 UTC
qemuarm-alt opensuse160-vk-1 mathieu/master-next completed at 2026-10-22 14:46:12+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/74/builds/4827/steps/16/logs/stdio