Sent to the Ubuntu kernel ML for review:
https://lists.ubuntu.com/archives/kernel-team/2021-November/125536.html
** Changed in: linux (Ubuntu Bionic)
Status: Confirmed => In Progress
** Changed in: linux (Ubuntu Focal)
Status: Confirmed => In Progress
** Changed in: linux (Ubuntu Hirsute)
Status: Confirmed => In Progress
** Changed in: linux (Ubuntu Impish)
Status: Confirmed => In Progress
** Changed in: linux (Ubuntu Jammy)
Status: Confirmed => In Progress
** Changed in: linux (Ubuntu Bionic)
Assignee: (unassigned) => Kleber Sacilotto de Souza (kleber-souza)
** Changed in: linux (Ubuntu Focal)
Assignee: (unassigned) => Kleber Sacilotto de Souza (kleber-souza)
** Changed in: linux (Ubuntu Hirsute)
Assignee: (unassigned) => Kleber Sacilotto de Souza (kleber-souza)
** Changed in: linux (Ubuntu Impish)
Assignee: (unassigned) => Kleber Sacilotto de Souza (kleber-souza)
** Changed in: linux (Ubuntu Bionic)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Focal)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Hirsute)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Impish)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Jammy)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1867570
Title:
reuseport_bpf_numa in net from ubuntu_kernel_selftests fails on
ppc64le
Status in ubuntu-kernel-tests:
New
Status in linux package in Ubuntu:
In Progress
Status in linux source package in Bionic:
In Progress
Status in linux source package in Focal:
In Progress
Status in linux source package in Hirsute:
In Progress
Status in linux source package in Impish:
In Progress
Status in linux source package in Jammy:
In Progress
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
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp