All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Sakoman <steve@sakoman.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][kirkstone 26/28] strace: Disable failing test
Date: Thu,  6 Jul 2023 05:06:29 -1000	[thread overview]
Message-ID: <fc32e725a0c73772a2ad4e31e1aa1d61f72f9da1.1688655871.git.steve@sakoman.com> (raw)
In-Reply-To: <cover.1688655871.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_5.16.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_5.16.bb b/meta/recipes-devtools/strace/strace_5.16.bb
index 23ffa25d29..60d452fd17 100644
--- a/meta/recipes-devtools/strace/strace_5.16.bb
+++ b/meta/recipes-devtools/strace/strace_5.16.bb
@@ -14,6 +14,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
            file://0001-strace-fix-reproducibilty-issues.patch \
            file://skip-load.patch \
            file://0001-landlock-update-expected-string.patch \
+           file://skip-sockopt-test.patch \
            "
 SRC_URI[sha256sum] = "dc7db230ff3e57c249830ba94acab2b862da1fcaac55417e9b85041a833ca285"
 
-- 
2.34.1



  parent reply	other threads:[~2023-07-06 15:07 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-06 15:06 [OE-core][kirkstone 00/28] Patch review Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 01/28] go: fix CVE-2023-29400 html/template improper handling of empty HTML attributes Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 02/28] libcap: fix CVE-2023-2603 Integer Overflow in _libcap_strdup() Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 03/28] cpio: Replace fix wrong CRC with ASCII CRC for large files with upstream backport Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 04/28] libxcrypt: fix hard-coded ".so" extension Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 05/28] oe-depends-dot: Handle new format for task-depends.dot Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 06/28] cups: fix CVE-2023-34241 use-after-free in cupsdAcceptClient() in scheduler/client.c Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 07/28] linux-yocto/5.15: update to v5.15.114 Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 08/28] linux-yocto/5.15: update to v5.15.115 Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 09/28] linux-yocto/5.15: update to v5.15.116 Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 10/28] linux-yocto/5.15: update to v5.15.117 Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 11/28] linux-yocto/5.15: update to v5.15.118 Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 12/28] linux-yocto/5.15: cfg: fix DECNET configuration warning Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 13/28] v86d: Improve kernel dependency Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 14/28] image_types: Fix reproducible builds for initramfs and UKI img Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 15/28] meta: lib: oe: npm_registry: Add more safe caracters Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 16/28] scripts/runqemu: split lock dir creation into a reusable function Steve Sakoman
2023-07-07  8:59   ` Philippe Mathieu-Daudé
2023-07-06 15:06 ` [OE-core][kirkstone 17/28] scripts/runqemu: allocate unfsd ports in a way that doesn't race or clash with unrelated processes Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 18/28] oeqa/selftest/bbtests: add non-existent prefile/postfile tests Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 19/28] maintainers.inc: unassign Adrian Bunk from wireless-regdb Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 20/28] maintainers.inc: unassign Alistair Francis from opensbi Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 21/28] maintainers.inc: unassign Ricardo Neri from ovmf Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 22/28] babeltrace2: Always use BFD linker when building tests with ld-is-lld distro feature Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 23/28] useradd-staticids.bbclass: improve error message Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 24/28] devtool: Fix the wrong variable in srcuri_entry Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 25/28] grub: submit determinism.patch upstream Steve Sakoman
2023-07-06 15:06 ` Steve Sakoman [this message]
2023-07-06 15:06 ` [OE-core][kirkstone 27/28] strace: Merge two similar patches Steve Sakoman
2023-07-06 15:06 ` [OE-core][kirkstone 28/28] strace: Update patches/tests with upstream fixes 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=fc32e725a0c73772a2ad4e31e1aa1d61f72f9da1.1688655871.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.