Bug 16199

Summary: AB-INT: rust.RustSelfTestSystemEmulated.test_rust: oneshot::recv_deadline_passed test is failing
Product: [QA/Testing] Functional (self) Testing Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: oe-selftestAssignee: Deepesh Varatharajan <deepesh.varatharajan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: randy.macleod
Version: unspecified   
Target Milestone: 6.0 M4   
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-03-13 09:58:14 UTC
Some other test_rust intermittent failure.

2026-03-12 19:22:12,462 - oe-selftest - INFO - rust.RustSelfTestSystemEmulated.test_rust (subunit.RemotedTestCase)
2026-03-12 19:22:12,474 - oe-selftest - INFO -  ... FAIL
...
test oneshot::recv_deadline_passed ... FAILED
...
failures:

---- oneshot::recv_deadline_passed stdout ----

thread 'oneshot::recv_deadline_passed' (9559) panicked at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/tests/sync/oneshot.rs:243:5:
assertion failed: start.elapsed() < timeout * 3
---- oneshot::recv_deadline_passed stdout end ----
Comment 1 Mathieu Dubois-Briand 2026-03-13 09:59:24 UTC
qemuarm-tc opensuse156-vk-1 master&master-next completed at 2026-03-12 19:26:58+00:00
https://valkyrie.yocto.io/pub/non-release/20260312-106/testresults/qemuarm-tc/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/42/builds/3299/steps/14/logs/stdio
Comment 2 Mathieu Dubois-Briand 2026-03-18 13:17:39 UTC
This one is on oneshot::recv_time_passed, but it does look similar.

qemuriscv64-tc debian11-vk-3 master completed at 2026-03-15 02:06:39+00:00
https://valkyrie.yocto.io/pub/non-release/20260315-8/testresults/qemuriscv64-tc/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/58/builds/1210/steps/13/logs/stdio
Comment 3 Mathieu Dubois-Briand 2026-03-20 11:40:46 UTC
qemuarm-tc debian12-vk-4 mathieu/master-next completed at 2026-03-19 16:39:42+00:00
https://valkyrie.yocto.io/pub/non-release/20260319-99/testresults/qemuarm-tc/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/42/builds/3363/steps/13/logs/stdio
Comment 4 Sundeep Kokkonda 2026-03-25 09:01:48 UTC
Upstream fix available for these failures.
@Deepesh: Backport upstream patch and send the fix to ml.
Comment 5 Deepesh Varatharajan 2026-03-25 09:07:10 UTC
Fix sent to oe-core:
https://lists.openembedded.org/g/openembedded-core/topic/patch_rust_fix_flaky/118498034