From: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> This patch was originally introduced to address a rare failure on the PPC target and with the latest version of rustc this issue no longer occurs. So, this patch can be removed.
FYI, merged:
3b5c2d8bdb 2026-03-11 rust: Drop
oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch
If this causes problems for anyone, please let us know and we can
consider restoring the patch.
Deepesh,
Surely there's some existing data that you can point to,
to convince upstream to double the timeout if not 10x it?
../Randy
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> --- ...crease-timeout-in-process-sigpipe-ru.patch | 31 ------------------- meta/recipes-devtools/rust/rust-source.inc | 1 - 2 files changed, 32 deletions(-) delete mode 100644 meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch diff --git a/meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch b/meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch deleted file mode 100644 index 5bd1abffb4..0000000000 --- a/meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch +++ /dev/null @@ -1,31 +0,0 @@ -From b4524278985f517b0785b6f64a21380dcf1ff096 Mon Sep 17 00:00:00 2001 -From: Peter Tatrai <peter.tatrai.ext@siemens.com> -Date: Mon, 4 Nov 2024 13:58:16 +0100 -Subject: [PATCH] oeqa/selftest: Increase timeout in process-sigpipe rust test - -This patch increases the timeout for the process-sigpipe rust test, which -occasionally fails when the server is under heavy load. Increasing the timeout -reduces the likelihood of false negatives under load. - -Fixes [YOCTO #15625] - -Upstream-Status: Inappropriate [OE testing specific] - -Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com> ---- - tests/ui/process/process-sigpipe.rs | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/ui/process/process-sigpipe.rs b/tests/ui/process/process-sigpipe.rs -index 11f363d62..c12d66016 100644 ---- a/tests/ui/process/process-sigpipe.rs -+++ b/tests/ui/process/process-sigpipe.rs -@@ -23,7 +23,7 @@ use std::thread; - fn main() { - // Just in case `yes` or `while-echo` doesn't check for EPIPE... - thread::spawn(|| { -- thread::sleep_ms(5000); -+ thread::sleep_ms(50000); - process::exit(1); - }); - // QNX Neutrino does not have `yes`. Therefore, use `while-echo` for `nto` diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index 04204969ba..47a0154cdc 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc @@ -4,7 +4,6 @@ SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n file://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${RUSTSRC} \ file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \ file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \ - file://oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch;patchdir=${RUSTSRC} \ file://0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch;patchdir=${RUSTSRC} \ file://0001-riscv32-Define-plain-syscalls-as-their-time64-varian.patch;patchdir=${RUSTSRC} \ file://0001-Update-call-llvm-intrinsics-test.patch;patchdir=${RUSTSRC} \
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#232879): https://lists.openembedded.org/g/openembedded-core/message/232879 Mute This Topic: https://lists.openembedded.org/mt/118259934/3616765 Group Owner: openembedded-core+owner@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [randy.macleod@windriver.com] -=-=-=-=-=-=-=-=-=-=-=-
-- # Randy MacLeod # Wind River Linux