** Description changed: - This issue was extracted from the comment in bug 1812638, since that bug - will be specific for i386 + [ Impact ] + The reuseport_bpf_numa 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 checks whether the node is available before trying to send/receive from it. + + [ Test ] + Run reuseport_bpf_numa in 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 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 + # 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
** Description changed: [ Impact ] - The reuseport_bpf_numa in selftests/net fails on some PowerPC systems with: + 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 + # 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 checks whether the node is available before trying to send/receive from it. [ Test ] Run reuseport_bpf_numa in 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 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 ** Description changed: [ 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 checks whether the node is available before trying to send/receive from it. + 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 in selftests/net in one of the affected test nodes. + 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 coverage. + 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 -- 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: Confirmed Status in linux source package in Bionic: Confirmed Status in linux source package in Focal: Confirmed Status in linux source package in Hirsute: Confirmed Status in linux source package in Impish: Confirmed Status in linux source package in Jammy: Confirmed 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