sockopt-sol_netlink.gen.test

Alexander Gordeev agordeev at linux.ibm.com
Wed Jun 7 16:51:24 UTC 2023


Hi all,

The sockopt-sol_netlink.gen.test fails, probably due to recent kernel
commit f4e4534850a9 ("net/netlink: fix NETLINK_LIST_MEMBERSHIPS length
report").

=================================================
   strace 6.3.0.15.e3436: tests/test-suite.log
=================================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: sockopt-sol_netlink.gen
=============================

--- exp	2023-06-07 17:18:40.885671850 +0200
+++ out	2023-06-07 17:18:40.885671850 +0200
@@ -86,11 +86,11 @@
 setsockopt(3, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, 0x3ffaccf3ffc, -1) = -1 EINVAL (Invalid argument)
 setsockopt(3, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, 0x3ffaccf3ffc, 3) = 0
 setsockopt(3, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, 0x3ffaccf4000, 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, 0x3ffaccf4000, [8]) = -1 EFAULT (Bad address)
+getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, 0x3ffaccf4000, [4]) = -1 EFAULT (Bad address)
 getsockopt(3, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, 0x3ffaccf3ffc, 0x3ffaccee000) = -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)
sockopt-sol_netlink.gen.test: failed test: ../../src/strace -e trace=getsockopt,setsockopt ../sockopt-sol_netlink output mismatch
FAIL sockopt-sol_netlink.gen.test (exit status: 1)


Thanks!


More information about the Strace-devel mailing list