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.80 [+0.80] # 0.80 [+0.00] Single path route test # 2.48 [+1.68] Start point # 2.62 [+0.14] TEST: IPv4 fibmatch [ OK ] # 2.77 [+0.15] TEST: IPv6 fibmatch [ OK ] # 2.95 [+0.18] Nexthop device deleted # 3.09 [+0.14] TEST: IPv4 fibmatch - no route [ OK ] # 3.23 [+0.14] TEST: IPv6 fibmatch - no route [ OK ] # 4.11 [+0.88] # 4.11 [+0.00] Multipath route test # 7.12 [+3.01] Start point # 7.27 [+0.15] TEST: IPv4 fibmatch [ OK ] # 7.40 [+0.13] TEST: IPv6 fibmatch [ OK ] # 7.59 [+0.18] One nexthop device deleted # 7.73 [+0.14] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.88 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 8.07 [+0.20] Second nexthop device deleted # 8.21 [+0.14] TEST: IPv6 - no route [ OK ] # 9.10 [+0.89] # 9.10 [+0.00] Single path, admin down # 11.24 [+2.14] Start point # 11.38 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.53 [+0.15] TEST: IPv6 fibmatch [ OK ] # 11.66 [+0.14] Route deleted on down # 11.81 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.95 [+0.14] TEST: IPv6 fibmatch [ OK ] # 12.65 [+0.70] # 12.65 [+0.00] Admin down multipath # 15.59 [+2.94] Verify start point # 15.74 [+0.15] TEST: IPv4 fibmatch [ OK ] # 15.88 [+0.14] TEST: IPv6 fibmatch [ OK ] # 16.03 [+0.15] One device down, one up # 16.19 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 16.35 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 16.49 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 16.63 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 16.75 [+0.12] TEST: IPv4 flags on down device [ OK ] # 16.88 [+0.13] TEST: IPv6 flags on down device [ OK ] # 16.99 [+0.11] TEST: IPv4 flags on up device [ OK ] # 17.12 [+0.13] TEST: IPv6 flags on up device [ OK ] # 17.42 [+0.29] Other device down and up # 17.56 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 17.71 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 17.86 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 18.00 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 18.13 [+0.13] TEST: IPv4 flags on down device [ OK ] # 18.26 [+0.13] TEST: IPv6 flags on down device [ OK ] # 18.38 [+0.12] TEST: IPv4 flags on up device [ OK ] # 18.49 [+0.11] TEST: IPv6 flags on up device [ OK ] # 18.64 [+0.15] Both devices down # 18.80 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.93 [+0.13] TEST: IPv6 fibmatch [ OK ] # 19.85 [+0.92] # 19.86 [+0.00] Local carrier tests - single path # 22.06 [+2.20] Start point # 22.20 [+0.14] TEST: IPv4 fibmatch [ OK ] # 22.41 [+0.21] TEST: IPv6 fibmatch [ OK ] # 22.52 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 22.64 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 23.89 [+1.25] Carrier off on nexthop # 24.03 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.17 [+0.14] TEST: IPv6 fibmatch [ OK ] # 24.29 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 24.42 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 24.70 [+0.28] Route to local address with carrier down # 24.84 [+0.14] TEST: IPv4 fibmatch [ OK ] # 25.00 [+0.15] TEST: IPv6 fibmatch [ OK ] # 25.17 [+0.18] TEST: IPv4 linkdown flag set [ OK ] # 25.31 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 25.99 [+0.68] # 25.99 [+0.00] Single path route carrier test # 28.19 [+2.20] Start point # 28.34 [+0.14] TEST: IPv4 fibmatch [ OK ] # 28.48 [+0.14] TEST: IPv6 fibmatch [ OK ] # 28.60 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 28.74 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 29.98 [+1.24] Carrier down # 30.13 [+0.14] TEST: IPv4 fibmatch [ OK ] # 30.27 [+0.14] TEST: IPv6 fibmatch [ OK ] # 30.39 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 30.50 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 30.81 [+0.31] Second address added with carrier down # 30.96 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.12 [+0.16] TEST: IPv6 fibmatch [ OK ] # 31.31 [+0.18] TEST: IPv4 linkdown flag set [ OK ] # 31.45 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 38.27 [+6.83] # 38.27 [+0.00] IPv4 nexthop tests # 38.28 [+0.00] <<< write me >>> # 38.57 [+0.29] # 38.57 [+0.00] IPv6 nexthop tests # 38.73 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 38.89 [+0.16] TEST: Directly connected nexthop, unicast address with device [ OK ] # 39.06 [+0.17] TEST: Gateway is linklocal address [ OK ] # 39.22 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 39.38 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 39.54 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 39.70 [+0.16] TEST: Gateway can not be a local linklocal address [ OK ] # 39.85 [+0.14] TEST: Gateway can be local address in a VRF [ OK ] # 40.01 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 40.18 [+0.16] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 40.34 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 40.49 [+0.16] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 40.65 [+0.15] TEST: VRF route, gateway can not be a local address [ OK ] # 40.80 [+0.15] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 42.22 [+1.42] # 42.22 [+0.00] FIB rule with suppress_prefixlength # 45.39 [+3.17] TEST: FIB rule suppress test [ OK ] # 48.25 [+2.85] # 48.25 [+0.00] Fib6 info length calculation in route notify test # 53.62 [+5.37] TEST: ipv6 route add notify [ OK ] # 56.49 [+2.87] # 56.49 [+0.00] Fib4 info length calculation in route notify test # 61.94 [+5.45] TEST: ipv4 route add notify [ OK ] # 69.81 [+7.87] # 69.81 [+0.00] IPv6 route add / append tests # 70.43 [+0.62] TEST: Attempt to add duplicate route - gw [ OK ] # 71.05 [+0.61] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.67 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 72.44 [+0.77] TEST: Append nexthop to existing route - gw [ OK ] # 73.05 [+0.61] TEST: Add multipath route [ OK ] # 73.67 [+0.62] TEST: Attempt to add duplicate multipath route [ OK ] # 74.44 [+0.77] TEST: Route add with different metrics [ OK ] # 74.74 [+0.30] TEST: Route delete with metric [ OK ] # 74.75 [+0.00] # 74.75 [+0.00] IPv6 route replace tests # 75.49 [+0.74] TEST: Single path with single path [ OK ] # 76.25 [+0.76] TEST: Single path with multipath [ OK ] # 77.01 [+0.76] TEST: Single path with single path via multipath attribute [ OK ] # 77.76 [+0.75] TEST: Invalid nexthop [ OK ] # 78.36 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 79.12 [+0.75] TEST: Multipath with multipath [ OK ] # 79.86 [+0.74] TEST: Multipath with single path [ OK ] # 80.64 [+0.78] TEST: Multipath with single path via multipath attribute [ OK ] # 81.39 [+0.75] TEST: Multipath with dev-only [ OK ] # 82.17 [+0.78] TEST: Multipath - invalid first nexthop [ OK ] # 82.93 [+0.76] TEST: Multipath - invalid second nexthop [ OK ] # 83.56 [+0.64] TEST: Multipath - replace of non-existent route [ OK ] # 83.57 [+0.00] # 83.57 [+0.00] IPv6 route with dsfield tests # 83.87 [+0.31] TEST: Reject route with dsfield [ OK ] # 94.40 [+10.53] # 94.40 [+0.00] IPv4 route add / append tests # 95.00 [+0.60] TEST: Attempt to add duplicate route - gw [ OK ] # 95.61 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 96.20 [+0.59] TEST: Attempt to add duplicate route - reject route [ OK ] # 96.95 [+0.75] TEST: Add new nexthop for existing prefix [ OK ] # 97.70 [+0.75] TEST: Append nexthop to existing route - gw [ OK ] # 98.46 [+0.75] TEST: Append nexthop to existing route - dev only [ OK ] # 99.20 [+0.75] TEST: Append nexthop to existing route - reject route [ OK ] # 99.81 [+0.61] TEST: Append nexthop to existing reject route - gw [ OK ] # 100.43 [+0.62] TEST: Append nexthop to existing reject route - dev only [ OK ] # 101.02 [+0.59] TEST: add multipath route [ OK ] # 101.64 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 102.39 [+0.75] TEST: Route add with different metrics [ OK ] # 102.69 [+0.30] TEST: Route delete with metric [ OK ] # 102.69 [+0.00] # 102.69 [+0.00] IPv4 route replace tests # 103.46 [+0.77] TEST: Single path with single path [ OK ] # 104.22 [+0.75] TEST: Single path with multipath [ OK ] # 104.97 [+0.75] TEST: Single path with reject route [ OK ] # 105.73 [+0.77] TEST: Single path with single path via multipath attribute [ OK ] # 106.49 [+0.75] TEST: Invalid nexthop [ OK ] # 107.09 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 107.85 [+0.76] TEST: Multipath with multipath [ OK ] # 108.60 [+0.74] TEST: Multipath with single path [ OK ] # 109.36 [+0.76] TEST: Multipath with single path via multipath attribute [ OK ] # 110.12 [+0.76] TEST: Multipath with reject route [ OK ] # 110.88 [+0.76] TEST: Multipath - invalid first nexthop [ OK ] # 111.64 [+0.76] TEST: Multipath - invalid second nexthop [ OK ] # 112.23 [+0.59] TEST: Multipath - replace of non-existent route [ OK ] # 114.46 [+2.23] TEST: Cached route removed from VRF port device [ OK ] # 114.46 [+0.00] # 114.47 [+0.00] IPv4 route with dsfield tests # 114.78 [+0.32] TEST: Reject route with dsfield 0x01 [ OK ] # 114.95 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 115.12 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 115.57 [+0.45] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 115.69 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 115.83 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 115.98 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 116.12 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 116.25 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 116.39 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 116.52 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 116.64 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 116.76 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 116.91 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 117.05 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 119.83 [+2.78] # 119.83 [+0.00] IPv6 prefix route tests # 123.16 [+3.33] TEST: Default metric [ OK ] # 123.68 [+0.51] TEST: User specified metric on first device [ OK ] # 124.21 [+0.54] TEST: User specified metric on second device [ OK ] # 124.52 [+0.31] TEST: Delete of address on first device [ OK ] # 124.81 [+0.29] TEST: Modify metric of address [ OK ] # 125.38 [+0.57] TEST: Prefix route removed on link down [ OK ] # 125.67 [+0.29] TEST: Prefix route with metric on link up [ OK ] # 126.14 [+0.47] TEST: Set metric with peer route on local side [ OK ] # 126.27 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 126.56 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 126.71 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 128.38 [+1.66] # 128.38 [+0.00] IPv4 prefix route tests # 131.74 [+3.36] TEST: Default metric [ OK ] # 132.22 [+0.48] TEST: User specified metric on first device [ OK ] # 132.70 [+0.48] TEST: User specified metric on second device [ OK ] # 133.01 [+0.31] TEST: Delete of address on first device [ OK ] # 133.33 [+0.32] TEST: Modify metric of address [ OK ] # 133.64 [+0.31] TEST: Prefix route removed on link down [ OK ] # 133.96 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 134.60 [+0.64] TEST: Modify metric of .0/24 address [ OK ] # 135.08 [+0.48] TEST: Set metric of address with peer route [ OK ] # 135.41 [+0.33] TEST: Modify metric and peer address for peer route [ OK ] # 137.08 [+1.68] # 137.08 [+0.00] IPv6 routes with metrics # 145.39 [+8.30] TEST: Single path route with mtu metric [ OK ] # 145.85 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 146.29 [+0.44] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 146.57 [+0.28] TEST: MTU of second leg [ OK ] # 146.87 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 147.29 [+0.42] TEST: Using route with mtu metric [ OK ] # 147.55 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 150.11 [+2.56] # 150.11 [+0.00] IPv4 route add / append tests # 158.42 [+8.31] TEST: Single path route with mtu metric [ OK ] # 158.75 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 159.17 [+0.42] TEST: Using route with mtu metric [ OK ] # 159.45 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 162.17 [+2.72] # 162.17 [+0.00] IPv4 route with IPv6 gateway tests # 172.61 [+10.44] TEST: Single path route with IPv6 gateway [ OK ] # 173.04 [+0.43] TEST: Single path route with IPv6 gateway - ping [ OK ] # 173.20 [+0.16] TEST: Single path route delete [ OK ] # 173.52 [+0.32] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 173.84 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 174.01 [+0.17] TEST: Multipath route delete exact match [ OK ] # 174.17 [+0.16] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 174.48 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 174.63 [+0.15] TEST: Multipath route delete exact match [ OK ] # 177.28 [+2.65] # 177.28 [+0.00] IPv4 rp_filter tests # 188.24 [+10.96] TEST: rp_filter passes local packets [ OK ] # 188.51 [+0.28] TEST: rp_filter passes loopback packets [ OK ] # 189.83 [+1.32] # 189.83 [+0.00] IPv4 delete address route tests # 194.90 [+5.07] Regular FIB info # 195.17 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 195.29 [+0.12] TEST: Route in default VRF not removed [ OK ] # 195.86 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 195.97 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 195.98 [+0.00] Identical FIB info with different table ID # 196.26 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 196.39 [+0.13] TEST: Route in default VRF not removed [ OK ] # 196.95 [+0.56] TEST: Route removed in default VRF when source address deleted [ OK ] # 197.07 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 197.08 [+0.00] Table ID 0 # 197.35 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 198.97 [+1.62] # 198.97 [+0.00] IPv6 delete address route tests # 207.65 [+8.68] Single device using src address # 207.92 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 207.92 [+0.00] Two devices with the same source address # 208.19 [+0.27] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 208.46 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 208.46 [+0.00] VRF with single device using src address # 208.74 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 208.75 [+0.00] VRF with two devices using src address # 209.03 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 209.32 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 209.32 [+0.00] src address and nexthop dev in same VRF # 209.62 [+0.29] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 209.77 [+0.15] TEST: Prefsrc in default VRF not removed [ OK ] # 210.33 [+0.57] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 210.47 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 210.47 [+0.00] src address and nexthop device in different VRF # 210.74 [+0.27] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 210.88 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 211.31 [+0.43] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 211.45 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 211.45 [+0.00] Table ID 0 # 211.75 [+0.30] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 211.75 [+0.00] Link local source route # 212.01 [+0.26] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 212.30 [+0.29] TEST: Prefsrc removed when delete ll addr [ OK ] # 212.41 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 212.83 [+0.42] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 215.43 [+2.60] # 215.43 [+0.00] IPv4 mangling tests # 226.98 [+11.55] TEST: Connection with correct parameters [ OK ] # 227.29 [+0.31] TEST: Connection with incorrect parameters [ OK ] # 228.52 [+1.23] TEST: Connection with correct parameters - mangling [ OK ] # 229.64 [+1.12] TEST: Connection with correct parameters - no mangling [ OK ] # 229.73 [+0.09] TEST: Connection check - server side [ OK ] # 232.92 [+3.18] # 232.92 [+0.00] IPv6 mangling tests # 244.55 [+11.63] TEST: Connection with correct parameters [ OK ] # 244.89 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 246.03 [+1.14] TEST: Connection with correct parameters - mangling [ OK ] # 247.19 [+1.16] TEST: Connection with correct parameters - no mangling [ OK ] # 247.29 [+0.10] TEST: Connection check - server side [ OK ] # 250.46 [+3.17] # 250.47 [+0.00] IPv4 broadcast neighbour tests # 254.37 [+3.90] TEST: Resolved neighbour for broadcast address [ OK ] # 254.51 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 254.68 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 254.82 [+0.14] TEST: Unresolved neighbour for network broadcast address [ OK ] # 258.16 [+3.34] # 258.16 [+0.00] Fib6 garbage collection test # 272.43 [+14.28] TEST: ipv6 route garbage collection [ OK ] # 286.92 [+14.48] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 301.44 [+14.53] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 316.21 [+14.77] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 331.49 [+15.28] TEST: ipv6 route garbage collection (RA message) [ OK ] # 332.73 [+1.23] # 332.73 [+0.00] IPv4 multipath list receive tests # 355.43 [+22.71] TEST: Multipath route hit ratio (1.00) [ OK ] # 358.30 [+2.86] # 358.30 [+0.00] IPv6 multipath list receive tests # 380.08 [+21.78] TEST: Multipath route hit ratio (1.00) [ OK ] # 382.87 [+2.79] # 382.87 [+0.00] Tests passed: 229 # 382.87 [+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__->