rust: Drop oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch
PATCH v2 1/1 rust: Drop oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch
From: Deepesh Varatharajan <[email protected]>
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.
--- ...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
meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From b4524278985f517b0785b6f64a21380dcf1ff096 Mon Sep 17 00:00:00 2001 -From: Peter Tatrai <[email protected]> -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 <[email protected]> ---- - 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`
meta/recipes-devtools/rust/rust-source.inc +0 -1
@@ -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} \
Signature · 1 line
2.49.0
Quoted 5 lines · Deepesh via lists.openembedded.org
From: Deepesh Varatharajan<[email protected]>
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
Quoted 66 lines
Signed-off-by Deepesh Varatharajan<[email protected]>--- ...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.patchmeta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch deleted +0
-31@@ -1,31 +0,0 @@ -From b4524278985f517b0785b6f64a21380dcf1ff096 Mon Sep 17 00:00:00 2001 -From: Peter Tatrai<[email protected]> -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<[email protected]> ---- - 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`meta/recipes-devtools/rust/rust-source.inc +0
-2@@ -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:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
# Randy MacLeod # Wind River Linux
Quoted 11 lines · Randy MacLeod
Quoted 5 lines · Deepesh via lists.openembedded.org
From: Deepesh Varatharajan<[email protected]>
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
Quoted 7 lines
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?
Currently I don’t have data since I can’t reproduce the failure with the latest rustc. If the failure happens again, I’ll collect the data and reach out to upstream to discuss increasing the timeout.
Regards,
Deepesh
Quoted 71 lines
../Randy
Quoted 65 lines
Signed-off-by Deepesh Varatharajan<[email protected]>--- ...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.patchmeta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch deleted +0
-31@@ -1,31 +0,0 @@ -From b4524278985f517b0785b6f64a21380dcf1ff096 Mon Sep 17 00:00:00 2001 -From: Peter Tatrai<[email protected]> -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<[email protected]> ---- - 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`meta/recipes-devtools/rust/rust-source.inc +0
-2@@ -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:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-Signature · 2 lines
# Randy MacLeod # Wind River Linux
Quoted 15 lines · Deepesh Varatharajan
Quoted 13 lines · Randy MacLeod
Quoted 5 lines · Deepesh via lists.openembedded.org
From: Deepesh Varatharajan<[email protected]>
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.patchIf this causes problems for anyone, please let us know and we can consider restoring the patch.
Quoted 8 lines
Quoted 5 lines
Deepesh,
Surely there's some existing data that you can point to, to convince upstream to double the timeout if not 10x it?
Currently I don’t have data since I can’t reproduce the failure with the latest rustc. If the failure happens again, I’ll collect the data and reach out to upstream to discuss increasing the timeout.
Deepesh and I talked offline and he reminded me that while we have some old ppc32 errors logged in the YP bugzilla,
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15625
this issue has NOT happened on the new YP AB HW.
YP AB is not running ppc32 testing anymore so let's wait and see if anyone else encounters the problem again and re-opens the bug.
Thanks,
../Randy
Quoted 85 lines
Regards,
DeepeshQuoted 81 lines
../Randy
Quoted 75 lines
Signed-off-by Deepesh Varatharajan<[email protected]>---
...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.patchmeta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch +0
-0deleted file mode 100644
index 5bd1abffb4..0000000000
---a/meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch+++/dev/nullmeta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch +0
-4@@ -1,31 +0,0 @@ -From b4524278985f517b0785b6f64a21380dcf1ff096 Mon Sep 17 00:00:00 2001 -From: Peter Tatrai<[email protected]> -Date: Mon, 4 Nov 2024 13:58:16 +0100 -Subject: [PATCH] oeqa/selftest: Increase timeout in process-sigpiperust test
meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch +0
-2- -This patch increases the timeout for the process-sigpipe rust test,which
-occasionally fails when the server is under heavy load. Increasing the timeoutmeta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch +0
-12-reduces the likelihood of false negatives under load. - -Fixes [YOCTO #15625] - -Upstream-Status: Inappropriate [OE testing specific] - -Signed-off-by: Peter Tatrai<[email protected]> ---- - 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
-index11f363d62..c12d66016100644
----a/tests/ui/process/process-sigpipe.rs
-+++b/tests/ui/process/process-sigpipe.rs
-@@ -23,7 +23,7 @@ usestd::thread;
- fnmain(){
- // Just in caseyesorwhile-echodoesn't check for EPIPE... - thread::spawn(|| {
--thread::sleep_ms(5000);
-+thread::sleep_ms(50000);
-process::exit(1);
- });
- // QNX Neutrino does not haveyes. Therefore, usewhile-echoforntometa/recipes-devtools/rust/rust-source.inc +0
-0@@ -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:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-Signature · 2 lines
# Randy MacLeod # Wind River Linux
Signature · 2 lines
# Randy MacLeod # Wind River Linux