summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-16 17:12:46 +0100
committerSteve Sakoman <steve@sakoman.com>2023-06-30 04:07:59 -1000
commit87d4204dd3075d5f0474fcfc1b21b19a860a221d (patch)
tree172f661de286ff9add46d456e10308ef37b3d1b8 /meta/recipes-devtools/strace
parent550a303326e6f3d901e7df2a987fd378630239cb (diff)
downloadpoky-87d4204dd3075d5f0474fcfc1b21b19a860a221d.tar.gz
strace: Disable failing test
This test is failing for uncertain reasons. We have reported upstream, disable it until we can work out why this happened. The point it started failing is unclear due to other test framework issues. (From OE-Core rev: ef1b309ec04aa16020c6a8ca3939fb8eccca3edb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2e9165a854c7b83f163479e9dbd3cb183a9d71f5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/strace')
-rw-r--r--meta/recipes-devtools/strace/strace/skip-sockopt-test.patch37
-rw-r--r--meta/recipes-devtools/strace/strace_6.2.bb1
2 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace/skip-sockopt-test.patch b/meta/recipes-devtools/strace/strace/skip-sockopt-test.patch
new file mode 100644
index 0000000000..5741bf8672
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/skip-sockopt-test.patch
@@ -0,0 +1,37 @@
1Upstream-Status: Inappropriate [avoid this test until fixed by upstream]
2
3Reported at https://github.com/strace/strace/issues/257
4
5root@qemux86-64:/usr/lib/strace/ptest/tests# make sockopt-sol_netlink.gen.log
6FAIL: sockopt-sol_netlink.gen.test
7
8#root@qemux86-64:/usr/lib/strace/ptest/tests# diff sockopt-sol_netlink.dir/exp sockopt-sol_netlink.dir/out
9#--- sockopt-sol_netlink.dir/exp
10#+++ sockopt-sol_netlink.dir/out
11#@@ -86,11 +86,11 @@
12 setsockopt(3, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, 0x7fa18a802ffc, -1) = -1 EINVAL (Invalid argument)
13 setsockopt(3, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, 0x7fa18a802ffc, 3) = 0
14 setsockopt(3, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, 0x7fa18a803000, 4) = -1 EFAULT (Bad address)
15-getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [0], [8]) = 0
16+getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [0], [4 => 8]) = 0
17 getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [0], [5 => 8]) = 0
18 getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, NULL, [0 => 8]) = 0
19 getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [], [3 => 8]) = 0
20-getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, 0x7fa18a803000, [8]) = -1 EFAULT (Bad address)
21+getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, 0x7fa18a803000, [4]) = -1 EFAULT (Bad address)
22 getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, 0x7fa18a802ffc, 0x7fa18a7fd000) = -1 EFAULT (Bad address)
23 setsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [233811181], 4) = -1 ENOPROTOOPT (Protocol not available)
24 setsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [233811181], 5) = -1 ENOPROTOOPT (Protocol not available)
25
26
27
28Index: strace-6.3/tests/sockopt-sol_netlink.gen.test
29===================================================================
30--- strace-6.3.orig/tests/sockopt-sol_netlink.gen.test
31+++ strace-6.3/tests/sockopt-sol_netlink.gen.test
32@@ -1,4 +1,5 @@
33 #!/bin/sh -efu
34 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_netlink -e trace=getsockopt,setsockopt); do not edit.
35 . "${srcdir=.}/init.sh"
36+skip_ "Test failing after system upgrades, wait for upstream fixes"
37 run_strace_match_diff -e trace=getsockopt,setsockopt
diff --git a/meta/recipes-devtools/strace/strace_6.2.bb b/meta/recipes-devtools/strace/strace_6.2.bb
index dc01b57d80..94eb81480b 100644
--- a/meta/recipes-devtools/strace/strace_6.2.bb
+++ b/meta/recipes-devtools/strace/strace_6.2.bb
@@ -15,6 +15,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
15 file://skip-load.patch \ 15 file://skip-load.patch \
16 file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \ 16 file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \
17 file://0002-tests-Replace-off64_t-with-off_t.patch \ 17 file://0002-tests-Replace-off64_t-with-off_t.patch \
18 file://skip-sockopt-test.patch \
18 " 19 "
19SRC_URI[sha256sum] = "0c7d38a449416268d3004029a220a15a77c2206a03cc88120f37f46e949177e8" 20SRC_URI[sha256sum] = "0c7d38a449416268d3004029a220a15a77c2206a03cc88120f37f46e949177e8"
20 21