make -C tools/testing/selftests TARGETS="net" TEST_PROGS=fib_tests.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: fib_tests.sh # 0.32 [+0.32] # 0.32 [+0.00] Single path route test # 1.07 [+0.75] Start point # 1.14 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.21 [+0.07] TEST: IPv6 fibmatch [ OK ] # 1.31 [+0.09] Nexthop device deleted # 1.37 [+0.06] TEST: IPv4 fibmatch - no route [ OK ] # 1.45 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 1.92 [+0.47] # 1.92 [+0.00] Multipath route test # 3.27 [+1.35] Start point # 3.35 [+0.07] TEST: IPv4 fibmatch [ OK ] # 3.41 [+0.07] TEST: IPv6 fibmatch [ OK ] # 3.54 [+0.13] One nexthop device deleted # 3.61 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 3.68 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 3.80 [+0.12] Second nexthop device deleted # 3.87 [+0.07] TEST: IPv6 - no route [ OK ] # 4.35 [+0.48] # 4.35 [+0.00] Single path, admin down # 5.31 [+0.96] Start point # 5.39 [+0.08] TEST: IPv4 fibmatch [ OK ] # 5.46 [+0.08] TEST: IPv6 fibmatch [ OK ] # 5.53 [+0.07] Route deleted on down # 5.60 [+0.07] TEST: IPv4 fibmatch [ OK ] # 5.67 [+0.07] TEST: IPv6 fibmatch [ OK ] # 6.01 [+0.34] # 6.01 [+0.00] Admin down multipath # 7.39 [+1.38] Verify start point # 7.46 [+0.07] TEST: IPv4 fibmatch [ OK ] # 7.53 [+0.06] TEST: IPv6 fibmatch [ OK ] # 7.60 [+0.08] One device down, one up # 7.67 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 7.74 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 7.82 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 7.89 [+0.06] TEST: IPv6 fibmatch on up device [ OK ] # 7.95 [+0.07] TEST: IPv4 flags on down device [ OK ] # 8.04 [+0.09] TEST: IPv6 flags on down device [ OK ] # 8.12 [+0.07] TEST: IPv4 flags on up device [ OK ] # 8.20 [+0.08] TEST: IPv6 flags on up device [ OK ] # 8.34 [+0.14] Other device down and up # 8.41 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 8.49 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 8.56 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 8.62 [+0.06] TEST: IPv6 fibmatch on up device [ OK ] # 8.70 [+0.07] TEST: IPv4 flags on down device [ OK ] # 8.78 [+0.09] TEST: IPv6 flags on down device [ OK ] # 8.86 [+0.07] TEST: IPv4 flags on up device [ OK ] # 8.95 [+0.09] TEST: IPv6 flags on up device [ OK ] # 9.03 [+0.08] Both devices down # 9.09 [+0.07] TEST: IPv4 fibmatch [ OK ] # 9.16 [+0.07] TEST: IPv6 fibmatch [ OK ] # 9.68 [+0.52] # 9.68 [+0.00] Local carrier tests - single path # 10.69 [+1.01] Start point # 10.77 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.83 [+0.07] TEST: IPv6 fibmatch [ OK ] # 10.91 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 10.97 [+0.07] TEST: IPv6 - no linkdown flag [ OK ] # 12.09 [+1.12] Carrier off on nexthop # 12.17 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.24 [+0.07] TEST: IPv6 fibmatch [ OK ] # 12.30 [+0.06] TEST: IPv4 - linkdown flag set [ OK ] # 12.37 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 12.52 [+0.14] Route to local address with carrier down # 12.59 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.66 [+0.06] TEST: IPv6 fibmatch [ OK ] # 12.74 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 12.81 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 13.19 [+0.38] # 13.19 [+0.00] Single path route carrier test # 14.23 [+1.04] Start point # 14.29 [+0.06] TEST: IPv4 fibmatch [ OK ] # 14.36 [+0.06] TEST: IPv6 fibmatch [ OK ] # 14.42 [+0.06] TEST: IPv4 no linkdown flag [ OK ] # 14.49 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 15.60 [+1.11] Carrier down # 15.67 [+0.06] TEST: IPv4 fibmatch [ OK ] # 15.74 [+0.07] TEST: IPv6 fibmatch [ OK ] # 15.81 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 15.89 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 16.02 [+0.13] Second address added with carrier down # 16.10 [+0.08] TEST: IPv4 fibmatch [ OK ] # 16.16 [+0.06] TEST: IPv6 fibmatch [ OK ] # 16.24 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 16.31 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 20.01 [+3.70] # 20.01 [+0.00] IPv4 nexthop tests # 20.01 [+0.00] <<< write me >>> # 20.21 [+0.20] # 20.21 [+0.00] IPv6 nexthop tests # 20.29 [+0.08] TEST: Directly connected nexthop, unicast address [ OK ] # 20.37 [+0.08] TEST: Directly connected nexthop, unicast address with device [ OK ] # 20.45 [+0.08] TEST: Gateway is linklocal address [ OK ] # 20.53 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 20.60 [+0.07] TEST: Gateway can not be local unicast address [ OK ] # 20.68 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 20.76 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 20.84 [+0.08] TEST: Gateway can be local address in a VRF [ OK ] # 20.92 [+0.07] TEST: Gateway can be local address in a VRF, with device [ OK ] # 21.00 [+0.08] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 21.09 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 21.18 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 21.26 [+0.08] TEST: VRF route, gateway can not be a local address [ OK ] # 21.35 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 22.28 [+0.93] # 22.28 [+0.00] FIB rule with suppress_prefixlength # 23.74 [+1.46] TEST: FIB rule suppress test [ OK ] # 25.03 [+1.29] # 25.03 [+0.00] Fib6 info length calculation in route notify test # 28.68 [+3.65] TEST: ipv6 route add notify [ OK ] # 30.06 [+1.38] # 30.06 [+0.00] Fib4 info length calculation in route notify test # 33.74 [+3.68] TEST: ipv4 route add notify [ OK ] # 37.43 [+3.70] # 37.44 [+0.00] IPv6 route add / append tests # 37.74 [+0.30] TEST: Attempt to add duplicate route - gw [ OK ] # 38.04 [+0.30] TEST: Attempt to add duplicate route - dev only [ OK ] # 38.34 [+0.29] TEST: Attempt to add duplicate route - reject route [ OK ] # 38.72 [+0.38] TEST: Append nexthop to existing route - gw [ OK ] # 39.02 [+0.30] TEST: Add multipath route [ OK ] # 39.33 [+0.31] TEST: Attempt to add duplicate multipath route [ OK ] # 39.73 [+0.40] TEST: Route add with different metrics [ OK ] # 39.90 [+0.16] TEST: Route delete with metric [ OK ] # 39.90 [+0.00] # 39.90 [+0.00] IPv6 route replace tests # 40.29 [+0.39] TEST: Single path with single path [ OK ] # 40.68 [+0.39] TEST: Single path with multipath [ OK ] # 41.07 [+0.39] TEST: Single path with single path via multipath attribute [ OK ] # 41.48 [+0.41] TEST: Invalid nexthop [ OK ] # 41.80 [+0.31] TEST: Single path - replace of non-existent route [ OK ] # 42.19 [+0.39] TEST: Multipath with multipath [ OK ] # 42.57 [+0.39] TEST: Multipath with single path [ OK ] # 42.95 [+0.38] TEST: Multipath with single path via multipath attribute [ OK ] # 43.34 [+0.39] TEST: Multipath with dev-only [ OK ] # 43.72 [+0.38] TEST: Multipath - invalid first nexthop [ OK ] # 44.13 [+0.41] TEST: Multipath - invalid second nexthop [ OK ] # 44.45 [+0.32] TEST: Multipath - replace of non-existent route [ OK ] # 44.45 [+0.00] # 44.45 [+0.00] IPv6 route with dsfield tests # 44.61 [+0.16] TEST: Reject route with dsfield [ OK ] # 50.01 [+5.40] # 50.01 [+0.00] IPv4 route add / append tests # 50.31 [+0.30] TEST: Attempt to add duplicate route - gw [ OK ] # 50.61 [+0.30] TEST: Attempt to add duplicate route - dev only [ OK ] # 50.92 [+0.30] TEST: Attempt to add duplicate route - reject route [ OK ] # 51.29 [+0.37] TEST: Add new nexthop for existing prefix [ OK ] # 51.69 [+0.39] TEST: Append nexthop to existing route - gw [ OK ] # 52.08 [+0.39] TEST: Append nexthop to existing route - dev only [ OK ] # 52.46 [+0.38] TEST: Append nexthop to existing route - reject route [ OK ] # 52.77 [+0.31] TEST: Append nexthop to existing reject route - gw [ OK ] # 53.08 [+0.31] TEST: Append nexthop to existing reject route - dev only [ OK ] # 53.37 [+0.29] TEST: add multipath route [ OK ] # 53.69 [+0.32] TEST: Attempt to add duplicate multipath route [ OK ] # 54.06 [+0.37] TEST: Route add with different metrics [ OK ] # 54.21 [+0.15] TEST: Route delete with metric [ OK ] # 54.21 [+0.00] # 54.21 [+0.00] IPv4 route replace tests # 54.61 [+0.40] TEST: Single path with single path [ OK ] # 55.00 [+0.39] TEST: Single path with multipath [ OK ] # 55.39 [+0.39] TEST: Single path with reject route [ OK ] # 55.75 [+0.37] TEST: Single path with single path via multipath attribute [ OK ] # 56.13 [+0.37] TEST: Invalid nexthop [ OK ] # 56.41 [+0.29] TEST: Single path - replace of non-existent route [ OK ] # 56.78 [+0.37] TEST: Multipath with multipath [ OK ] # 57.18 [+0.39] TEST: Multipath with single path [ OK ] # 57.54 [+0.37] TEST: Multipath with single path via multipath attribute [ OK ] # 57.91 [+0.37] TEST: Multipath with reject route [ OK ] # 58.28 [+0.37] TEST: Multipath - invalid first nexthop [ OK ] # 58.66 [+0.38] TEST: Multipath - invalid second nexthop [ OK ] # 58.97 [+0.30] TEST: Multipath - replace of non-existent route [ OK ] # 60.22 [+1.26] TEST: Cached route removed from VRF port device [ OK ] # 60.22 [+0.00] # 60.22 [+0.00] IPv4 route with dsfield tests # 60.38 [+0.16] TEST: Reject route with dsfield 0x01 [ OK ] # 60.46 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 60.53 [+0.07] TEST: Reject route with dsfield 0x03 [ OK ] # 60.77 [+0.24] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 60.85 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 60.93 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 61.00 [+0.07] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 61.07 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 61.15 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 61.23 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 61.31 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 61.38 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 61.45 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 61.53 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 61.61 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 63.16 [+1.56] # 63.16 [+0.00] IPv6 prefix route tests # 64.77 [+1.61] TEST: Default metric [ OK ] # 65.04 [+0.27] TEST: User specified metric on first device [ OK ] # 65.29 [+0.25] TEST: User specified metric on second device [ OK ] # 65.45 [+0.16] TEST: Delete of address on first device [ OK ] # 65.60 [+0.15] TEST: Modify metric of address [ OK ] # 65.86 [+0.26] TEST: Prefix route removed on link down [ OK ] # 66.04 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 66.28 [+0.24] TEST: Set metric with peer route on local side [ OK ] # 66.35 [+0.07] TEST: Set metric with peer route on peer side [ OK ] # 66.52 [+0.17] TEST: Modify metric and peer address on local side [ OK ] # 66.60 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 67.45 [+0.85] # 67.45 [+0.00] IPv4 prefix route tests # 68.97 [+1.52] TEST: Default metric [ OK ] # 69.20 [+0.23] TEST: User specified metric on first device [ OK ] # 69.43 [+0.23] TEST: User specified metric on second device [ OK ] # 69.59 [+0.16] TEST: Delete of address on first device [ OK ] # 69.73 [+0.15] TEST: Modify metric of address [ OK ] # 69.90 [+0.16] TEST: Prefix route removed on link down [ OK ] # 70.05 [+0.15] TEST: Prefix route with metric on link up [ OK ] # 70.37 [+0.32] TEST: Modify metric of .0/24 address [ OK ] # 70.61 [+0.24] TEST: Set metric of address with peer route [ OK ] # 70.76 [+0.15] TEST: Modify metric and peer address for peer route [ OK ] # 71.57 [+0.80] # 71.57 [+0.00] IPv6 routes with metrics # 75.51 [+3.95] TEST: Single path route with mtu metric [ OK ] # 75.77 [+0.26] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 76.02 [+0.25] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 76.18 [+0.16] TEST: MTU of second leg [ OK ] # 76.35 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 76.54 [+0.19] TEST: Using route with mtu metric [ OK ] # 76.68 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 78.20 [+1.52] # 78.20 [+0.00] IPv4 route add / append tests # 82.03 [+3.84] TEST: Single path route with mtu metric [ OK ] # 82.19 [+0.16] TEST: Multipath route with mtu metric [ OK ] # 82.39 [+0.19] TEST: Using route with mtu metric [ OK ] # 82.53 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 84.01 [+1.48] # 84.01 [+0.00] IPv4 route with IPv6 gateway tests # 89.83 [+5.82] TEST: Single path route with IPv6 gateway [ OK ] # 90.03 [+0.20] TEST: Single path route with IPv6 gateway - ping [ OK ] # 90.12 [+0.09] TEST: Single path route delete [ OK ] # 90.26 [+0.14] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 90.42 [+0.16] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 90.49 [+0.07] TEST: Multipath route delete exact match [ OK ] # 90.57 [+0.08] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 90.74 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 90.81 [+0.07] TEST: Multipath route delete exact match [ OK ] # 92.33 [+1.52] # 92.33 [+0.00] IPv4 rp_filter tests # 97.29 [+4.96] TEST: rp_filter passes local packets [ OK ] # 97.42 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 98.08 [+0.66] # 98.08 [+0.00] IPv4 delete address route tests # 100.45 [+2.37] Regular FIB info # 100.60 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 100.66 [+0.06] TEST: Route in default VRF not removed [ OK ] # 100.95 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 101.02 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 101.02 [+0.00] Identical FIB info with different table ID # 101.17 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 101.23 [+0.07] TEST: Route in default VRF not removed [ OK ] # 101.51 [+0.28] TEST: Route removed in default VRF when source address deleted [ OK ] # 101.59 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 101.59 [+0.00] Table ID 0 # 101.72 [+0.13] TEST: Route removed in default VRF when source address deleted [ OK ] # 102.56 [+0.84] # 102.56 [+0.00] IPv6 delete address route tests # 106.63 [+4.07] Single device using src address # 106.76 [+0.13] TEST: Prefsrc removed when src address removed on other device [ OK ] # 106.76 [+0.00] Two devices with the same source address # 106.91 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 107.05 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 107.05 [+0.00] VRF with single device using src address # 107.21 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 107.21 [+0.00] VRF with two devices using src address # 107.34 [+0.13] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 107.48 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 107.49 [+0.00] src address and nexthop dev in same VRF # 107.63 [+0.14] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 107.70 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 107.98 [+0.28] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 108.06 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 108.06 [+0.00] src address and nexthop device in different VRF # 108.20 [+0.14] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 108.27 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 108.48 [+0.21] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 108.56 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 108.56 [+0.00] Table ID 0 # 108.71 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 108.71 [+0.00] Link local source route # 108.86 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 109.02 [+0.15] TEST: Prefsrc removed when delete ll addr [ OK ] # 109.08 [+0.07] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 109.30 [+0.22] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 110.59 [+1.29] # 110.59 [+0.00] IPv4 mangling tests # 117.28 [+6.69] TEST: Connection with correct parameters [ OK ] # 117.42 [+0.14] TEST: Connection with incorrect parameters [ OK ] # 118.31 [+0.89] TEST: Connection with correct parameters - mangling [ OK ] # 119.11 [+0.81] TEST: Connection with correct parameters - no mangling [ OK ] # 119.17 [+0.05] TEST: Connection check - server side [ OK ] # 120.86 [+1.70] # 120.86 [+0.00] IPv6 mangling tests # 127.64 [+6.77] TEST: Connection with correct parameters [ OK ] # 127.81 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 128.63 [+0.82] TEST: Connection with correct parameters - mangling [ OK ] # 129.44 [+0.80] TEST: Connection with correct parameters - no mangling [ OK ] # 129.48 [+0.05] TEST: Connection check - server side [ OK ] # 131.26 [+1.78] # 131.26 [+0.00] IPv4 broadcast neighbour tests # 133.13 [+1.87] TEST: Resolved neighbour for broadcast address [ OK ] # 133.22 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 133.30 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 133.38 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 135.04 [+1.66] # 135.04 [+0.00] Fib6 garbage collection test # 148.10 [+13.06] TEST: ipv6 route garbage collection [ OK ] # 161.42 [+13.32] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 174.69 [+13.27] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 188.01 [+13.32] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 202.11 [+14.10] TEST: ipv6 route garbage collection (RA message) [ OK ] # 202.70 [+0.60] # 202.71 [+0.00] IPv4 multipath list receive tests # 214.40 [+11.70] TEST: Multipath route hit ratio (1.00) [ OK ] # 215.95 [+1.55] # 215.95 [+0.00] IPv6 multipath list receive tests # 227.53 [+11.58] TEST: Multipath route hit ratio (1.00) [ OK ] # 229.09 [+1.56] # 229.09 [+0.00] Tests passed: 229 # 229.09 [+0.00] Tests failed: 0 ok 1 selftests: net: fib_tests.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->