Greeting,
FYI, we noticed the following commit (built with gcc-11):
commit: e71b7f1f44d3d88c677769c85ef0171caf9fc89f ("selftests: add ping test with ping_group_range tuned")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: kernel-selftests
version: kernel-selftests-x86_64-cebf67a3-1_20220613
with following parameters:
group: net
test: fcnal-test.sh
atomic_test: ipv6_ping
ucode: 0xec
test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt
on test machine: 8 threads Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with 28G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>
# selftests: net: fcnal-test.sh
#
# ###########################################################################
# IPv6 ping
# ###########################################################################
#
#
# #################################################################
# No VRF
#
# SYSCTL: net.ipv4.raw_l3mdev_accept=0
#
# TEST: ping out - ns-B IPv6 [ OK ]
# TEST: ping out - ns-B loopback IPv6 [ OK ]
# TEST: ping out - ns-B IPv6 LLA [ OK ]
# TEST: ping out - multicast IP [ OK ]
# TEST: ping out, device bind - ns-B IPv6 [ OK ]
# TEST: ping out, loopback address bind - ns-B IPv6 [ OK ]
# TEST: ping out, device bind - ns-B loopback IPv6 [ OK ]
# TEST: ping out, loopback address bind - ns-B loopback IPv6 [ OK ]
# TEST: ping in - ns-A IPv6 [ OK ]
# TEST: ping in - ns-A loopback IPv6 [ OK ]
# TEST: ping in - ns-A IPv6 LLA [ OK ]
# TEST: ping in - multicast IP [ OK ]
# TEST: ping local, no bind - ns-A IPv6 [ OK ]
# TEST: ping local, no bind - ns-A loopback IPv6 [ OK ]
# TEST: ping local, no bind - IPv6 loopback [ OK ]
# TEST: ping local, no bind - ns-A IPv6 LLA [ OK ]
# TEST: ping local, no bind - multicast IP [ OK ]
# TEST: ping local, device bind - ns-A IPv6 [ OK ]
# TEST: ping local, device bind - ns-A IPv6 LLA [ OK ]
# TEST: ping local, device bind - multicast IP [ OK ]
# TEST: ping local, device bind - ns-A loopback IPv6 [ OK ]
# TEST: ping local, device bind - IPv6 loopback [ OK ]
# TEST: ping out, blocked by rule - ns-B loopback IPv6 [ OK ]
# TEST: ping out, device bind, blocked by rule - ns-B loopback IPv6 [ OK ]
# TEST: ping in, blocked by rule - ns-A loopback IPv6 [ OK ]
# TEST: ping out, blocked by route - ns-B loopback IPv6 [ OK ]
# TEST: ping out, device bind, blocked by route - ns-B loopback IPv6 [ OK ]
# TEST: ping in, blocked by route - ns-A loopback IPv6 [ OK ]
# TEST: ping out, unreachable route - ns-B loopback IPv6 [ OK ]
# TEST: ping out, device bind, unreachable route - ns-B loopback IPv6 [ OK ]
# SYSCTL: net.ipv4.ping_group_range=0 2147483647
#
# SYSCTL: net.ipv4.raw_l3mdev_accept=0
#
# TEST: ping out - ns-B IPv6 [ OK ]
# TEST: ping out - ns-B loopback IPv6 [ OK ]
# TEST: ping out - ns-B IPv6 LLA [ OK ]
# TEST: ping out - multicast IP [ OK ]
# TEST: ping out, device bind - ns-B IPv6 [FAIL]
# TEST: ping out, loopback address bind - ns-B IPv6 [ OK ]
# TEST: ping out, device bind - ns-B loopback IPv6 [FAIL]
# TEST: ping out, loopback address bind - ns-B loopback IPv6 [ OK ]
# TEST: ping in - ns-A IPv6 [ OK ]
# TEST: ping in - ns-A loopback IPv6 [ OK ]
# TEST: ping in - ns-A IPv6 LLA [ OK ]
# TEST: ping in - multicast IP [ OK ]
# TEST: ping local, no bind - ns-A IPv6 [ OK ]
# TEST: ping local, no bind - ns-A loopback IPv6 [ OK ]
# TEST: ping local, no bind - IPv6 loopback [ OK ]
# TEST: ping local, no bind - ns-A IPv6 LLA [ OK ]
# TEST: ping local, no bind - multicast IP [ OK ]
# TEST: ping local, device bind - ns-A IPv6 [FAIL]
# TEST: ping local, device bind - ns-A IPv6 LLA [FAIL]
# TEST: ping local, device bind - multicast IP [FAIL]
# TEST: ping local, device bind - ns-A loopback IPv6 [ OK ]
# TEST: ping local, device bind - IPv6 loopback [ OK ]
# TEST: ping out, blocked by rule - ns-B loopback IPv6 [ OK ]
# TEST: ping out, device bind, blocked by rule - ns-B loopback IPv6 [ OK ]
# TEST: ping in, blocked by rule - ns-A loopback IPv6 [ OK ]
# TEST: ping out, blocked by route - ns-B loopback IPv6 [ OK ]
# TEST: ping out, device bind, blocked by route - ns-B loopback IPv6 [ OK ]
# TEST: ping in, blocked by route - ns-A loopback IPv6 [ OK ]
# TEST: ping out, unreachable route - ns-B loopback IPv6 [ OK ]
# TEST: ping out, device bind, unreachable route - ns-B loopback IPv6 [ OK ]
#
# #################################################################
# With VRF
#
# SYSCTL: net.ipv4.raw_l3mdev_accept=1
#
# TEST: ping out, VRF bind - ns-B IPv6 [ OK ]
# TEST: ping out, VRF bind - ns-B loopback IPv6 [ OK ]
# TEST: ping out, VRF bind - ns-B IPv6 LLA [ OK ]
# TEST: ping out, VRF bind - multicast IP [ OK ]
# TEST: ping out, device bind - ns-B IPv6 [ OK ]
# TEST: ping out, device bind - ns-B loopback IPv6 [ OK ]
# TEST: ping out, device bind - ns-B IPv6 LLA [ OK ]
# TEST: ping out, device bind - multicast IP [ OK ]
# TEST: ping out, vrf device+address bind - ns-B IPv6 [ OK ]
# TEST: ping out, vrf device+address bind - ns-B loopback IPv6 [ OK ]
# TEST: ping out, vrf device+address bind - ns-B IPv6 LLA [ OK ]
# TEST: ping in - ns-A IPv6 [ OK ]
# TEST: ping in - VRF IPv6 [ OK ]
# TEST: ping in - ns-A IPv6 LLA [ OK ]
# TEST: ping in - multicast IP [ OK ]
# TEST: ping in - ns-A loopback IPv6 [ OK ]
# TEST: ping local, VRF bind - ns-A IPv6 [ OK ]
# TEST: ping local, VRF bind - VRF IPv6 [ OK ]
# TEST: ping local, VRF bind - IPv6 loopback [ OK ]
# TEST: ping local, device bind - ns-A IPv6 [ OK ]
# TEST: ping local, device bind - ns-A IPv6 LLA [ OK ]
# TEST: ping local, device bind - multicast IP [ OK ]
# TEST: ping in, LLA to GUA - ns-A IPv6 [ OK ]
# TEST: ping in, LLA to GUA - VRF IPv6 [ OK ]
# TEST: ping out, blocked by rule - ns-B loopback IPv6 [ OK ]
# TEST: ping out, device bind, blocked by rule - ns-B loopback IPv6 [ OK ]
# TEST: ping in, blocked by rule - ns-A loopback IPv6 [ OK ]
# TEST: ping out, unreachable route - ns-B loopback IPv6 [ OK ]
# TEST: ping out, device bind, unreachable route - ns-B loopback IPv6 [ OK ]
# TEST: ping in, unreachable route - ns-A loopback IPv6 [ OK ]
# SYSCTL: net.ipv4.ping_group_range=0 2147483647
#
# SYSCTL: net.ipv4.raw_l3mdev_accept=1
#
# TEST: ping out, VRF bind - ns-B IPv6 [FAIL]
# TEST: ping out, VRF bind - ns-B loopback IPv6 [FAIL]
# TEST: ping out, VRF bind - ns-B IPv6 LLA [ OK ]
# TEST: ping out, VRF bind - multicast IP [ OK ]
# TEST: ping out, device bind - ns-B IPv6 [FAIL]
# TEST: ping out, device bind - ns-B loopback IPv6 [FAIL]
# TEST: ping out, device bind - ns-B IPv6 LLA [FAIL]
# TEST: ping out, device bind - multicast IP [FAIL]
# TEST: ping out, vrf device+address bind - ns-B IPv6 [ OK ]
# TEST: ping out, vrf device+address bind - ns-B loopback IPv6 [ OK ]
# TEST: ping out, vrf device+address bind - ns-B IPv6 LLA [FAIL]
# TEST: ping in - ns-A IPv6 [ OK ]
# TEST: ping in - VRF IPv6 [ OK ]
# TEST: ping in - ns-A IPv6 LLA [ OK ]
# TEST: ping in - multicast IP [ OK ]
# TEST: ping in - ns-A loopback IPv6 [ OK ]
# TEST: ping local, VRF bind - ns-A IPv6 [FAIL]
# TEST: ping local, VRF bind - VRF IPv6 [FAIL]
# TEST: ping local, VRF bind - IPv6 loopback [FAIL]
# TEST: ping local, device bind - ns-A IPv6 [FAIL]
# TEST: ping local, device bind - ns-A IPv6 LLA [FAIL]
# TEST: ping local, device bind - multicast IP [FAIL]
# TEST: ping in, LLA to GUA - ns-A IPv6 [ OK ]
# TEST: ping in, LLA to GUA - VRF IPv6 [ OK ]
# TEST: ping out, blocked by rule - ns-B loopback IPv6 [ OK ]
# TEST: ping out, device bind, blocked by rule - ns-B loopback IPv6 [ OK ]
# TEST: ping in, blocked by rule - ns-A loopback IPv6 [ OK ]
# TEST: ping out, unreachable route - ns-B loopback IPv6 [ OK ]
# TEST: ping out, device bind, unreachable route - ns-B loopback IPv6 [ OK ]
# TEST: ping in, unreachable route - ns-A loopback IPv6 [ OK ]
#
# Tests passed: 102
# Tests failed: 18
not ok 1 selftests: net: fcnal-test.sh # exit=1
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
--
0-DAY CI Kernel Test Service
https://01.org/lkp