canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #06579
[Bug 1867570] Re: reuseport_bpf_numa in net from ubuntu_kernel_selftests fails on ppc64le
** Tags added: kernel-daily-bug
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/1867570
Title:
reuseport_bpf_numa in net from ubuntu_kernel_selftests fails on
ppc64le
Status in ubuntu-kernel-tests:
Fix Released
Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Bionic:
Fix Released
Status in linux source package in Focal:
Fix Released
Status in linux source package in Hirsute:
Fix Released
Status in linux source package in Impish:
Fix Released
Status in linux source package in Jammy:
Fix Released
Bug description:
[ Impact ]
The reuseport_bpf_numa testcase in selftests/net fails on some PowerPC systems with:
# selftests: net: reuseport_bpf_numa
# ---- IPv4 UDP ----
# send node 0, receive socket 0
# libnuma: Warning: Cannot read node cpumask from sysfs
# ./reuseport_bpf_numa: failed to pin to node: No such file or directory
not ok 3 selftests: net: reuseport_bpf_numa # exit=1
[ Fix ]
In some platforms the numa node numbers are not necessarily consecutive, so when reuseport_bpf_numa iterates on the nodes from 0 to the max available node some of those will not be available. The fix is to change the testcase so it checks whether the node is available before trying to send/receive from it.
[ Test ]
Run reuseport_bpf_numa from selftests/net in one of the affected test nodes.
[ Where Problems Could Occur ]
This is a very simple fix which relies on the libnuma exported functions and bitmaps to check whether a numa node number is available on the system. If something is not right on how this check is made or on the libnuma code itself only the reuseport_bpf_numa testcase will be affected by reporting false negatives or having a reduced test coverage.
[ Original bug report ]
This issue was extracted from the comment in bug 1812638, since that bug will be specific for i386
This reuseport_bpf_numa in net will fail on PowerPC with:
The output on B-5.3 P8 is:
# selftests: net: reuseport_bpf_numa
# ---- IPv4 UDP ----
# send node 0, receive socket 0
# send node 1, receive socket 7
# ./reuseport_bpf_numa: node id/receive socket mismatch
not ok 3 selftests: net: reuseport_bpf_numa # exit=1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1867570/+subscriptions