public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Steve Sakoman <steve@sakoman.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][mickledore 29/30] strace: Disable failing test
Date: Tue, 27 Jun 2023 16:29:45 -1000	[thread overview]
Message-ID: <ef1b309ec04aa16020c6a8ca3939fb8eccca3edb.1687919241.git.steve@sakoman.com> (raw)
In-Reply-To: <cover.1687919241.git.steve@sakoman.com>

From: Richard Purdie <richard.purdie@linuxfoundation.org>

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e9165a854c7b83f163479e9dbd3cb183a9d71f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 .../strace/strace/skip-sockopt-test.patch     | 37 +++++++++++++++++++
 meta/recipes-devtools/strace/strace_6.2.bb    |  1 +
 2 files changed, 38 insertions(+)
 create mode 100644 meta/recipes-devtools/strace/strace/skip-sockopt-test.patch

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 @@
+Upstream-Status: Inappropriate [avoid this test until fixed by upstream]
+
+Reported at https://github.com/strace/strace/issues/257
+
+root@qemux86-64:/usr/lib/strace/ptest/tests# make sockopt-sol_netlink.gen.log
+FAIL: sockopt-sol_netlink.gen.test
+
+#root@qemux86-64:/usr/lib/strace/ptest/tests# diff sockopt-sol_netlink.dir/exp sockopt-sol_netlink.dir/out
+#--- sockopt-sol_netlink.dir/exp
+#+++ sockopt-sol_netlink.dir/out
+#@@ -86,11 +86,11 @@
+ setsockopt(3, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, 0x7fa18a802ffc, -1) = -1 EINVAL (Invalid argument)
+ setsockopt(3, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, 0x7fa18a802ffc, 3) = 0
+ setsockopt(3, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, 0x7fa18a803000, 4) = -1 EFAULT (Bad address)
+-getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [0], [8]) = 0
++getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [0], [4 => 8]) = 0
+ getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [0], [5 => 8]) = 0
+ getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, NULL, [0 => 8]) = 0
+ getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [], [3 => 8]) = 0
+-getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, 0x7fa18a803000, [8]) = -1 EFAULT (Bad address)
++getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, 0x7fa18a803000, [4]) = -1 EFAULT (Bad address)
+ getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, 0x7fa18a802ffc, 0x7fa18a7fd000) = -1 EFAULT (Bad address)
+ setsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [233811181], 4) = -1 ENOPROTOOPT (Protocol not available)
+ setsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, [233811181], 5) = -1 ENOPROTOOPT (Protocol not available)
+
+
+
+Index: strace-6.3/tests/sockopt-sol_netlink.gen.test
+===================================================================
+--- strace-6.3.orig/tests/sockopt-sol_netlink.gen.test
++++ strace-6.3/tests/sockopt-sol_netlink.gen.test
+@@ -1,4 +1,5 @@
+ #!/bin/sh -efu
+ # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_netlink -e trace=getsockopt,setsockopt); do not edit.
+ . "${srcdir=.}/init.sh"
++skip_ "Test failing after system upgrades, wait for upstream fixes"
+ 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 \
            file://skip-load.patch \
            file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \
            file://0002-tests-Replace-off64_t-with-off_t.patch \
+           file://skip-sockopt-test.patch \
            "
 SRC_URI[sha256sum] = "0c7d38a449416268d3004029a220a15a77c2206a03cc88120f37f46e949177e8"
 
-- 
2.34.1



  parent reply	other threads:[~2023-06-28  2:30 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-28  2:29 [OE-core][mickledore 00/30] Patch review Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 01/30] binutils: fix CVE-2023-1972 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 02/30] libwebp: Fix CVE-2023-1999 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 03/30] linux-yocto/5.15: update to v5.15.114 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 04/30] linux-yocto/5.15: update to v5.15.115 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 05/30] linux-yocto/5.15: update to v5.15.116 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 06/30] linux-yocto/5.15: update to v5.15.117 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 07/30] linux-yocto/5.15: update to v5.15.118 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 08/30] linux-yocto/5.15: cfg: fix DECNET configuration warning Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 09/30] linux-yocto/6.1: update to v6.1.33 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 10/30] linux-yocto/6.1: fix intermittent x86 boot hangs Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 11/30] linux-yocto/6.1: update to v6.1.34 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 12/30] linux-yocto/6.1: update to v6.1.35 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 13/30] gcc : upgrade to v12.3 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 14/30] go: Upgrade 1.20.4 -> 1.20.5 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 15/30] pkgconf: upgrade 1.9.4 -> 1.9.5 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 16/30] git: upgrade to 2.39.3 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 17/30] gstreamer1.0: upgrade 1.22.2 -> 1.22.3 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 18/30] dpkg: upgrade to v1.21.22 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 19/30] qemurunner.py: fix error message about qmp Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 20/30] v86d: Improve kernel dependency Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 21/30] openssl: fix building on riscv32 Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 22/30] image_types: Fix reproducible builds for initramfs and UKI img Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 23/30] openssh: Remove BSD-4-clause contents completely from codebase Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 24/30] meta: lib: oe: npm_registry: Add more safe caracters Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 25/30] runqemu-gen-tapdevs: Refactoring Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 26/30] runqemu-ifupdown/get-tapdevs: Add support for ip tuntap Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 27/30] baremetal-helloworld: Update SRCREV to fix entry addresses for ARM architectures Steve Sakoman
2023-06-28  2:29 ` [OE-core][mickledore 28/30] binutils: move packaging of gprofng static lib into common .inc Steve Sakoman
2023-06-28  2:29 ` Steve Sakoman [this message]
2023-06-28  2:29 ` [OE-core][mickledore 30/30] maintainers.inc: update version for gcc-source Steve Sakoman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef1b309ec04aa16020c6a8ca3939fb8eccca3edb.1687919241.git.steve@sakoman.com \
    --to=steve@sakoman.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox