diff options
| -rw-r--r-- | meta/recipes-devtools/strace/strace/skip-load.patch | 39 |
1 files changed, 27 insertions, 12 deletions
diff --git a/meta/recipes-devtools/strace/strace/skip-load.patch b/meta/recipes-devtools/strace/strace/skip-load.patch index 6b3a6cdde4..34948fd2ba 100644 --- a/meta/recipes-devtools/strace/strace/skip-load.patch +++ b/meta/recipes-devtools/strace/strace/skip-load.patch | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | From d0c5cb43f0d1760323a20abb62cb8cf3113d3fff Mon Sep 17 00:00:00 2001 | 1 | From 46eceefb3bd184354cdaf0fd3dff6f2ad979aad9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Ross Burton <ross.burton@arm.com> | 2 | From: Ross Burton <ross.burton@arm.com> |
| 3 | Date: Mon, 31 Jan 2022 17:40:13 +0000 | 3 | Date: Sat, 30 Aug 2025 00:47:03 +0200 |
| 4 | Subject: [PATCH] strace: skip a number of load-sensitive tests | 4 | Subject: [PATCH] strace: skip a number of load-sensitive tests |
| 5 | 5 | ||
| 6 | Skip tests which are known to be unreliable under load, typically because they | 6 | Skip tests which are known to be unreliable under load, typically because they |
| @@ -8,14 +8,16 @@ care about timing. | |||
| 8 | 8 | ||
| 9 | Upstream-Status: Inappropriate | 9 | Upstream-Status: Inappropriate |
| 10 | Signed-off-by: Ross Burton <ross.burton@arm.com> | 10 | Signed-off-by: Ross Burton <ross.burton@arm.com> |
| 11 | Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com> | ||
| 11 | --- | 12 | --- |
| 12 | tests/clock_nanosleep.gen.test | 1 + | 13 | tests/clock_nanosleep.gen.test | 1 + |
| 13 | tests/delay.test | 1 + | 14 | tests/delay.test | 1 + |
| 15 | tests/nanosleep.gen.test | 1 + | ||
| 14 | tests/strace-r.test | 1 + | 16 | tests/strace-r.test | 1 + |
| 15 | 3 files changed, 3 insertions(+) | 17 | 4 files changed, 4 insertions(+) |
| 16 | 18 | ||
| 17 | diff --git a/tests/clock_nanosleep.gen.test b/tests/clock_nanosleep.gen.test | 19 | diff --git a/tests/clock_nanosleep.gen.test b/tests/clock_nanosleep.gen.test |
| 18 | index 7a6025b..f0e6dbb 100755 | 20 | index 7a6025bbd..f0e6dbb73 100755 |
| 19 | --- a/tests/clock_nanosleep.gen.test | 21 | --- a/tests/clock_nanosleep.gen.test |
| 20 | +++ b/tests/clock_nanosleep.gen.test | 22 | +++ b/tests/clock_nanosleep.gen.test |
| 21 | @@ -1,4 +1,5 @@ | 23 | @@ -1,4 +1,5 @@ |
| @@ -25,26 +27,39 @@ index 7a6025b..f0e6dbb 100755 | |||
| 25 | +skip_ "Test not reliable under load" | 27 | +skip_ "Test not reliable under load" |
| 26 | run_strace_match_diff -e trace=clock_nanosleep,clock_gettime | 28 | run_strace_match_diff -e trace=clock_nanosleep,clock_gettime |
| 27 | diff --git a/tests/delay.test b/tests/delay.test | 29 | diff --git a/tests/delay.test b/tests/delay.test |
| 28 | index f74e27f..6172c04 100755 | 30 | index f74e27f1e..1510c7647 100755 |
| 29 | --- a/tests/delay.test | 31 | --- a/tests/delay.test |
| 30 | +++ b/tests/delay.test | 32 | +++ b/tests/delay.test |
| 31 | @@ -8,6 +8,7 @@ | 33 | @@ -9,6 +9,7 @@ |
| 32 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 33 | 34 | ||
| 34 | . "${srcdir=.}/init.sh" | 35 | . "${srcdir=.}/init.sh" |
| 35 | +skip_ "Test not reliable under load" | ||
| 36 | 36 | ||
| 37 | +skip_ "Test not reliable under load" | ||
| 37 | while read -r denter dexit denter_us dexit_us; do | 38 | while read -r denter dexit denter_us dexit_us; do |
| 38 | [ -n "$denter" ] || continue | 39 | [ -n "$denter" ] || continue |
| 40 | |||
| 41 | diff --git a/tests/nanosleep.gen.test b/tests/nanosleep.gen.test | ||
| 42 | index 41928ded8..f8a87cb8e 100755 | ||
| 43 | --- a/tests/nanosleep.gen.test | ||
| 44 | +++ b/tests/nanosleep.gen.test | ||
| 45 | @@ -1,4 +1,5 @@ | ||
| 46 | #!/bin/sh -efu | ||
| 47 | # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nanosleep -a20 ); do not edit. | ||
| 48 | . "${srcdir=.}/init.sh" | ||
| 49 | +skip_ "Test not reliable under load" | ||
| 50 | run_strace_match_diff -a20 | ||
| 39 | diff --git a/tests/strace-r.test b/tests/strace-r.test | 51 | diff --git a/tests/strace-r.test b/tests/strace-r.test |
| 40 | index 8299737..d89c7df 100755 | 52 | index 829973753..e89423485 100755 |
| 41 | --- a/tests/strace-r.test | 53 | --- a/tests/strace-r.test |
| 42 | +++ b/tests/strace-r.test | 54 | +++ b/tests/strace-r.test |
| 43 | @@ -8,6 +8,7 @@ | 55 | @@ -9,6 +9,7 @@ |
| 44 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 45 | 56 | ||
| 46 | . "${srcdir=.}/init.sh" | 57 | . "${srcdir=.}/init.sh" |
| 47 | +skip_ "Test not reliable under load" | ||
| 48 | 58 | ||
| 59 | +skip_ "Test not reliable under load" | ||
| 49 | r_opt="${1:--r}" | 60 | r_opt="${1:--r}" |
| 50 | 61 | ||
| 62 | run_prog ../sleep 0 | ||
| 63 | -- | ||
| 64 | 2.43.0 | ||
| 65 | |||
