fib_nexthops.sh in net of ubuntu_kernel_selftests failed on F-ibm-5.4

Bug #1950127 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue found on Focal ibm 5.4.0-1007.8

Test failed with:
# TEST: IPv4 route with MPLS encap [FAIL]
# TEST: IPv4 route with MPLS encap - check [FAIL]
# TEST: IPv4 route with MPLS encap and v6 gateway [FAIL]
# TEST: IPv4 route with MPLS encap, v6 gw - check [FAIL]

Test log:
 # selftests: net: fib_nexthop_multiprefix.sh
 # TEST: IPv4: host 0 to host 1, mtu 1300 [ OK ]
 # TEST: IPv6: host 0 to host 1, mtu 1300 [ OK ]
 #
 # TEST: IPv4: host 0 to host 2, mtu 1350 [ OK ]
 # TEST: IPv6: host 0 to host 2, mtu 1350 [ OK ]
 #
 # TEST: IPv4: host 0 to host 3, mtu 1400 [ OK ]
 # TEST: IPv6: host 0 to host 3, mtu 1400 [ OK ]
 #
 # TEST: IPv4: host 0 to host 1, mtu 1300 [ OK ]
 # TEST: IPv6: host 0 to host 1, mtu 1300 [ OK ]
 #
 # TEST: IPv4: host 0 to host 2, mtu 1350 [ OK ]
 # TEST: IPv6: host 0 to host 2, mtu 1350 [ OK ]
 #
 # TEST: IPv4: host 0 to host 3, mtu 1400 [ OK ]
 # TEST: IPv6: host 0 to host 3, mtu 1400 [ OK ]
 ok 33 selftests: net: fib_nexthop_multiprefix.sh
 # selftests: net: fib_nexthops.sh
 #
 # Basic functional tests
 # ----------------------
 # TEST: List with nothing defined [ OK ]
 # TEST: Nexthop get on non-existent id [ OK ]
 # TEST: Nexthop with no device or gateway [ OK ]
 # TEST: Nexthop with down device [ OK ]
 # TEST: Nexthop with device that is linkdown [ OK ]
 # TEST: Nexthop with device only [ OK ]
 # TEST: Nexthop with duplicate id [ OK ]
 # TEST: Blackhole nexthop [ OK ]
 # TEST: Blackhole nexthop with other attributes [ OK ]
 # TEST: Create group [ OK ]
 # TEST: Create group with blackhole nexthop [ OK ]
 # TEST: Create multipath group where 1 path is a blackhole [ OK ]
 # TEST: Multipath group can not have a member replaced by blackhole [ OK ]
 # TEST: Create group with non-existent nexthop [ OK ]
 # TEST: Create group with same nexthop multiple times [ OK ]
 # TEST: Replace nexthop with nexthop group [ OK ]
 # TEST: Replace nexthop group with nexthop [ OK ]
 # TEST: Nexthop group and device [ OK ]
 # TEST: Test proto flush [ OK ]
 # TEST: Nexthop group and blackhole [ OK ]
 #
 # IPv4 functional
 # ----------------------
 # TEST: Create nexthop with id, gw, dev [ OK ]
 # TEST: Get nexthop by id [ OK ]
 # TEST: Delete nexthop by id [ OK ]
 # TEST: Create nexthop - gw only [ OK ]
 # TEST: Create nexthop - invalid gw+dev combination [ OK ]
 # TEST: Create nexthop - gw+dev and onlink [ OK ]
 # TEST: Nexthops removed on admin down [ OK ]
 #
 # IPv4 groups functional
 # ----------------------
 # TEST: Create nexthop group with single nexthop [ OK ]
 # TEST: Get nexthop group by id [ OK ]
 # TEST: Delete nexthop group by id [ OK ]
 # TEST: Nexthop group with multiple nexthops [ OK ]
 # TEST: Nexthop group updated when entry is deleted [ OK ]
 # TEST: Nexthop group with weighted nexthops [ OK ]
 # TEST: Weighted nexthop group updated when entry is deleted [ OK ]
 # TEST: Nexthops in groups removed on admin down [ OK ]
 # TEST: Multiple groups with same nexthop [ OK ]
 # TEST: Nexthops in group removed on admin down - mixed group [ OK ]
 # TEST: Nexthop group can not have a group as an entry [ OK ]
 # TEST: Nexthop group with a blackhole entry [ OK ]
 # TEST: Nexthop group can not have a blackhole and another nexthop [ OK ]
 # TEST: IPv6 nexthop with IPv4 route [ OK ]
 # TEST: IPv6 nexthop with IPv4 route [ OK ]
 # TEST: IPv4 route with IPv6 gateway [ OK ]
 # TEST: IPv4 route with invalid IPv6 gateway [ OK ]
 #
 # IPv4 functional runtime
 # -----------------------
 # TEST: Route add [ OK ]
 # TEST: Route delete [ OK ]
 # TEST: Route add - scope conflict with nexthop [ OK ]
 # TEST: Nexthop replace with invalid scope for existing route [ OK ]
 # TEST: Basic ping [ OK ]
 # TEST: Ping - multipath [ OK ]
 # TEST: Ping - multiple default routes, nh first [ OK ]
 # TEST: Ping - multiple default routes, nh second [ OK ]
 # TEST: Ping - blackhole [ OK ]
 # TEST: Ping - blackhole replaced with gateway [ OK ]
 # TEST: Ping - gateway replaced by blackhole [ OK ]
 # TEST: Ping - group with blackhole [ OK ]
 # TEST: Ping - group blackhole replaced with gateways [ OK ]
 # TEST: IPv4 route with device only nexthop [ OK ]
 # TEST: IPv4 multipath route with nexthop mix - dev only + gw [ OK ]
 # TEST: IPv6 nexthop with IPv4 route [ OK ]
 # TEST: IPv4 route with mixed v4-v6 multipath route [ OK ]
 # TEST: IPv6 nexthop with IPv4 route [ OK ]
 # TEST: IPv4 route with IPv6 gateway [ OK ]
 # TEST: IPv4 route with MPLS encap [FAIL]
 # TEST: IPv4 route with MPLS encap - check [FAIL]
 # TEST: IPv4 route with MPLS encap and v6 gateway [FAIL]
 # TEST: IPv4 route with MPLS encap, v6 gw - check [FAIL]
 #
 # IPv6
 # ----------------------
 # TEST: Create nexthop with id, gw, dev [ OK ]
 # TEST: Get nexthop by id [ OK ]
 # TEST: Delete nexthop by id [ OK ]
 # TEST: Create nexthop - gw only [ OK ]
 # TEST: Create nexthop - invalid gw+dev combination [ OK ]
 # TEST: Create nexthop - gw+dev and onlink [ OK ]
 # TEST: Nexthops removed on admin down [ OK ]
 #
 # IPv6 groups functional
 # ----------------------
 # TEST: Create nexthop group with single nexthop [ OK ]
 # TEST: Get nexthop group by id [ OK ]
 # TEST: Delete nexthop group by id [ OK ]
 # TEST: Nexthop group with multiple nexthops [ OK ]
 # TEST: Nexthop group updated when entry is deleted [ OK ]
 # TEST: Nexthop group with weighted nexthops [ OK ]
 # TEST: Weighted nexthop group updated when entry is deleted [ OK ]
 # TEST: Nexthops in groups removed on admin down [ OK ]
 # TEST: Multiple groups with same nexthop [ OK ]
 # TEST: Nexthops in group removed on admin down - mixed group [ OK ]
 # TEST: Nexthop group can not have a group as an entry [ OK ]
 # TEST: Nexthop group with a blackhole entry [ OK ]
 # TEST: Nexthop group can not have a blackhole and another nexthop [ OK ]
 #
 # IPv6 functional runtime
 # -----------------------
 # TEST: Route add [ OK ]
 # TEST: Route delete [ OK ]
 # TEST: Ping with nexthop [ OK ]
 # TEST: Ping - multipath [ OK ]
 # TEST: Ping - blackhole [ OK ]
 # TEST: Ping - blackhole replaced with gateway [ OK ]
 # TEST: Ping - gateway replaced by blackhole [ OK ]
 # TEST: Ping - group with blackhole [ OK ]
 # TEST: Ping - group blackhole replaced with gateways [ OK ]
 # TEST: IPv6 route with device only nexthop [ OK ]
 # TEST: IPv6 multipath route with nexthop mix - dev only + gw [ OK ]
 # TEST: IPv6 route can not have a v4 gateway [ OK ]
 # TEST: Nexthop replace - v6 route, v4 nexthop [ OK ]
 # TEST: Nexthop replace of group entry - v6 route, v4 nexthop [ OK ]
 # TEST: Nexthop with default route and rpfilter [ OK ]
 # TEST: Nexthop with multipath default route and rpfilter [ OK ]
 #
 # Tests passed: 99
 # Tests failed: 4
 not ok 34 selftests: net: fib_nexthops.sh # exit=1

This is failing with 5.4.0-1006 as well. So this is not a regression.

Po-Hsu Lin (cypressyew)
tags: added: 5.4 focal ibm sru-20211018 ubuntu-kernel-selftests
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.