fib_tests from net in ubuntu_kernel_selftests fails on Groovy

Bug #1926228 reported by Kelsey Steele
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Incomplete
Undecided
Unassigned

Bug Description

fib_tests failing at "TEST: Single path route with IPv6 gateway - ping"

Seeing on Groovy/linux 5.8.0-51.57 on host riccioli. Passed on host vought

This passed last cycle, so may be a regression.

04/19 16:22:57 DEBUG| utils:0153| [stdout] # IPv4 route with IPv6 gateway tests
04/19 16:22:59 DEBUG| utils:0153| [stdout] # TEST: Single path route with IPv6 gateway [ OK ]
04/19 16:23:00 DEBUG| utils:0153| [stdout] # TEST: Single path route with IPv6 gateway - ping [FAIL]
04/19 16:23:00 DEBUG| utils:0153| [stdout] # TEST: Single path route delete [ OK ]
04/19 16:23:00 DEBUG| utils:0153| [stdout] # TEST: Multipath route add - v6 nexthop then v4 [ OK ]
04/19 16:23:00 DEBUG| utils:0153| [stdout] # TEST: Multipath route delete - nexthops in wrong order [ OK ]
04/19 16:23:00 DEBUG| utils:0153| [stdout] # TEST: Multipath route delete exact match [ OK ]
04/19 16:23:00 DEBUG| utils:0153| [stdout] # TEST: Multipath route add - v4 nexthop then v6 [ OK ]
04/19 16:23:00 DEBUG| utils:0153| [stdout] # TEST: Multipath route delete - nexthops in wrong order [ OK ]
04/19 16:23:00 DEBUG| utils:0153| [stdout] # TEST: Multipath route delete exact match [ OK ]
04/19 16:23:01 DEBUG| utils:0153| [stdout] #
04/19 16:23:01 DEBUG| utils:0153| [stdout] # IPv4 rp_filter tests
04/19 16:23:01 DEBUG| utils:0153| [stdout] # TEST: rp_filter passes local packets [ OK ]
04/19 16:23:01 DEBUG| utils:0153| [stdout] # TEST: rp_filter passes loopback packets [ OK ]
04/19 16:23:01 DEBUG| utils:0153| [stdout] #
04/19 16:23:01 DEBUG| utils:0153| [stdout] # IPv4 delete address route tests
04/19 16:23:02 DEBUG| utils:0153| [stdout] # TEST: Route removed from VRF when source address deleted [ OK ]
04/19 16:23:02 DEBUG| utils:0153| [stdout] # TEST: Route in default VRF not removed [ OK ]
04/19 16:23:02 DEBUG| utils:0153| [stdout] # TEST: Route removed in default VRF when source address deleted [ OK ]
04/19 16:23:02 DEBUG| utils:0153| [stdout] # TEST: Route in VRF is not removed by address delete [ OK ]
04/19 16:23:02 DEBUG| utils:0153| [stdout] #
04/19 16:23:02 DEBUG| utils:0153| [stdout] # Tests passed: 164
04/19 16:23:02 DEBUG| utils:0153| [stdout] # Tests failed: 1
04/19 16:23:02 DEBUG| utils:0153| [stdout] not ok 14 selftests: net: fib_tests.sh # exit=1

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

A manual test on riccioli didn't managed to reproduce this issue:
$ uname -a
Linux riccioli 5.8.0-51-generic #57-Ubuntu SMP Wed Apr 14 16:02:45 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ sudo ./fib_tests.sh
....
    TEST: Single path route with IPv6 gateway - ping [ OK ]
....
Tests passed: 165
Tests failed: 0

And it has passed with the net test run (please find attachment for the test log) with:
sudo make run_tests TARGETS=net
A glitch maybe?

Changed in ubuntu-kernel-tests:
status: New → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Ran with autotest frame work, still unable to reproduce this issue.

Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Another instance of this failure would be (detected on G/kvm, kernel 5.8):

03:39:31 DEBUG| [stdout] # selftests: net: fib-onlink-tests.sh
03:39:31 DEBUG| [stdout] # Error: ipv4: FIB table does not exist.
03:39:31 DEBUG| [stdout] # Flush terminated
03:39:31 DEBUG| [stdout] # Error: ipv6: FIB table does not exist.
03:39:31 DEBUG| [stdout] # Flush terminated
03:39:31 DEBUG| [stdout] #
03:39:31 DEBUG| [stdout] # ########################################
03:39:31 DEBUG| [stdout] # Configuring interfaces
03:39:31 DEBUG| [stdout] # Error: Unknown device type.
03:39:31 DEBUG| [stdout] not ok 15 selftests: net: fib-onlink-tests.sh # exit=2

Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

*Maybe* related with:

# grep -nrIi fib config-5.8.0-1026-kvm
918:# CONFIG_IP_FIB_TRIE_STATS is not set

# grep -nrIi fib config-5.8.0-50-generic
1101:CONFIG_IP_FIB_TRIE_STATS=y

Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Another one found in G/kvm:

DEBUG| [stdout] # selftests: net: fib_rule_tests.sh
DEBUG| [stdout] # Error: Unknown device type.
DEBUG| [stdout] not ok 20 selftests: net: fib_rule_tests.sh # exit=2

Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed on G/KVM, cycle sru-20210510 .

tags: added: kvm linux-kvm sru-20210510
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed on G/KVM, cycle sru-20210531 .

tags: added: sru-20210531
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.