This bug is awaiting verification that the linux/5.11.0-42.46 kernel in
-proposed solves the problem. Please test the kernel and update this bug
with the results. If the problem is solved, change the tag
'verification-needed-hirsute' to 'verification-done-hirsute'. If the
problem still exists, change the tag 'verification-needed-hirsute' to
'verification-failed-hirsute'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-focal

-- 
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:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed
Status in linux source package in Jammy:
  Fix Committed

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     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to