Subject: Re: [PATCH net-next] ipv4/fib: send RTM_DELROUTE notify when flush fib

From: kernel test robot <[email-masked]>
Date: Tue, 25 Jul 2023 22:13:57 +0800

Hello,

kernel test robot noticed "kernel-selftests.net.fib_nexthops.sh.fail" on:

commit: 4c189e1954949695724236c7c1f182a39e67b262 ("[PATCH net-next] ipv4/fib: send RTM_DELROUTE notify when flush fib")
url: https://github.com/intel-lab-lkp/linux/commits/Hangbin-Liu/ipv4-fib-send-RTM_DELROUTE-notify-when-flush-fib/20230718-195536
base: https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git d3750076d4641b697da990b6aee5b096a10c4d12
patch link: https://lore.kernel.org/all/[email-masked]/
patch subject: [PATCH net-next] ipv4/fib: send RTM_DELROUTE notify when flush fib

in testcase: kernel-selftests
version: kernel-selftests-x86_64-60acb023-1_20230329
with following parameters:

	group: net
	test: fib_nexthops.sh

compiler: gcc-12
test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz (Cascade Lake) with 32G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email-masked]>
| Closes: https://lore.kernel.org/oe-lkp/[email-masked]

TAP version 13
1..1
# timeout set to 3600
# selftests: net: fib_nexthops.sh
# 
# Basic functional tests
# ----------------------
# TEST: List with nothing defined                                     [ OK ]

...

# 
# IPv4 nexthop api compat mode
# ----------------------------
# TEST: IPv4 default nexthop compat mode check                        [ OK ]
# TEST: IPv4 compat mode on - route add notification                  [ OK ]
# TEST: IPv4 compat mode on - route dump                              [ OK ]
# TEST: IPv4 compat mode on - nexthop change                          [ OK ]
# TEST: IPv4 set compat mode - 0                                      [ OK ]
# TEST: IPv4 compat mode off - route add notification                 [ OK ]
# TEST: IPv4 compat mode off - route dump                             [ OK ]
# TEST: IPv4 compat mode off - nexthop change                         [ OK ]
# TEST: IPv4 compat mode off - nexthop delete                         [FAIL]   <---
# TEST: IPv4 set compat mode - 1                                      [ OK ]
# 
# IPv4 fdb groups functional
# --------------------------
# TEST: Fdb Nexthop group with multiple nexthops                      [ OK ]

...

# 
# IPv6 runtime resilient nexthop group torture
# --------------------------------------------
# TEST: IPv6 resilient nexthop group torture test                     [ OK ]
# 
# Tests passed: 227
# Tests failed:   1
not ok 1 selftests: net: fib_nexthops.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://github.com/intel/lkp-tests/wiki