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.74 [+0.74] # 0.75 [+0.00] Single path route test # 2.51 [+1.76] Start point # 2.65 [+0.14] TEST: IPv4 fibmatch [ OK ] # 2.84 [+0.19] TEST: IPv6 fibmatch [ OK ] # 3.03 [+0.19] Nexthop device deleted # 3.17 [+0.14] TEST: IPv4 fibmatch - no route [ OK ] # 3.32 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.20 [+0.88] # 4.20 [+0.00] Multipath route test # 7.16 [+2.96] Start point # 7.30 [+0.14] TEST: IPv4 fibmatch [ OK ] # 7.46 [+0.16] TEST: IPv6 fibmatch [ OK ] # 7.64 [+0.19] One nexthop device deleted # 7.80 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.95 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 8.14 [+0.19] Second nexthop device deleted # 8.28 [+0.15] TEST: IPv6 - no route [ OK ] # 9.17 [+0.88] # 9.17 [+0.00] Single path, admin down # 11.24 [+2.07] Start point # 11.40 [+0.16] TEST: IPv4 fibmatch [ OK ] # 11.54 [+0.13] TEST: IPv6 fibmatch [ OK ] # 11.68 [+0.14] Route deleted on down # 11.82 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.96 [+0.13] TEST: IPv6 fibmatch [ OK ] # 12.67 [+0.71] # 12.67 [+0.00] Admin down multipath # 15.78 [+3.10] Verify start point # 15.94 [+0.17] TEST: IPv4 fibmatch [ OK ] # 16.09 [+0.15] TEST: IPv6 fibmatch [ OK ] # 16.23 [+0.14] One device down, one up # 16.37 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 16.51 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 16.65 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 16.81 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 16.93 [+0.13] TEST: IPv4 flags on down device [ OK ] # 17.09 [+0.16] TEST: IPv6 flags on down device [ OK ] # 17.19 [+0.10] TEST: IPv4 flags on up device [ OK ] # 17.33 [+0.14] TEST: IPv6 flags on up device [ OK ] # 17.61 [+0.28] Other device down and up # 17.76 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 17.95 [+0.19] TEST: IPv6 fibmatch on down device [ OK ] # 18.10 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 18.23 [+0.13] TEST: IPv6 fibmatch on up device [ OK ] # 18.36 [+0.13] TEST: IPv4 flags on down device [ OK ] # 18.48 [+0.12] TEST: IPv6 flags on down device [ OK ] # 18.61 [+0.13] TEST: IPv4 flags on up device [ OK ] # 18.74 [+0.13] TEST: IPv6 flags on up device [ OK ] # 18.88 [+0.14] Both devices down # 19.02 [+0.14] TEST: IPv4 fibmatch [ OK ] # 19.16 [+0.14] TEST: IPv6 fibmatch [ OK ] # 20.05 [+0.89] # 20.05 [+0.00] Local carrier tests - single path # 22.26 [+2.20] Start point # 22.40 [+0.14] TEST: IPv4 fibmatch [ OK ] # 22.55 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.66 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 22.79 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 24.03 [+1.24] Carrier off on nexthop # 24.17 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.32 [+0.15] TEST: IPv6 fibmatch [ OK ] # 24.46 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 24.58 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 24.86 [+0.27] Route to local address with carrier down # 25.00 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.14 [+0.14] TEST: IPv6 fibmatch [ OK ] # 25.27 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 25.40 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 26.14 [+0.74] # 26.14 [+0.00] Single path route carrier test # 28.40 [+2.27] Start point # 28.55 [+0.14] TEST: IPv4 fibmatch [ OK ] # 28.69 [+0.14] TEST: IPv6 fibmatch [ OK ] # 28.83 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 28.98 [+0.15] TEST: IPv6 no linkdown flag [ OK ] # 30.26 [+1.28] Carrier down # 30.40 [+0.14] TEST: IPv4 fibmatch [ OK ] # 30.54 [+0.14] TEST: IPv6 fibmatch [ OK ] # 30.67 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 30.80 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 31.10 [+0.30] Second address added with carrier down # 31.24 [+0.14] TEST: IPv4 fibmatch [ OK ] # 31.39 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.52 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 31.67 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 38.25 [+6.58] # 38.25 [+0.00] IPv4 nexthop tests # 38.25 [+0.00] <<< write me >>> # 38.55 [+0.30] # 38.55 [+0.00] IPv6 nexthop tests # 38.70 [+0.15] TEST: Directly connected nexthop, unicast address [ OK ] # 38.85 [+0.15] TEST: Directly connected nexthop, unicast address with device [ OK ] # 39.01 [+0.16] TEST: Gateway is linklocal address [ OK ] # 39.17 [+0.15] TEST: Gateway is linklocal address, no device [ OK ] # 39.32 [+0.15] TEST: Gateway can not be local unicast address [ OK ] # 39.47 [+0.15] TEST: Gateway can not be local unicast address, with device [ OK ] # 39.63 [+0.16] TEST: Gateway can not be a local linklocal address [ OK ] # 39.78 [+0.15] TEST: Gateway can be local address in a VRF [ OK ] # 39.93 [+0.14] TEST: Gateway can be local address in a VRF, with device [ OK ] # 40.08 [+0.15] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 40.23 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 40.39 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 40.53 [+0.14] TEST: VRF route, gateway can not be a local address [ OK ] # 40.69 [+0.16] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 42.10 [+1.41] # 42.10 [+0.00] FIB rule with suppress_prefixlength # 45.28 [+3.19] TEST: FIB rule suppress test [ OK ] # 48.22 [+2.94] # 48.22 [+0.00] Fib6 info length calculation in route notify test # 53.71 [+5.49] TEST: ipv6 route add notify [ OK ] # 56.61 [+2.90] # 56.61 [+0.00] Fib4 info length calculation in route notify test # 62.09 [+5.48] TEST: ipv4 route add notify [ OK ] # 69.86 [+7.77] # 69.86 [+0.00] IPv6 route add / append tests # 70.47 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 71.08 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.69 [+0.61] TEST: Attempt to add duplicate route - reject route [ OK ] # 72.45 [+0.76] TEST: Append nexthop to existing route - gw [ OK ] # 73.04 [+0.59] TEST: Add multipath route [ OK ] # 73.64 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 74.42 [+0.78] TEST: Route add with different metrics [ OK ] # 74.77 [+0.35] TEST: Route delete with metric [ OK ] # 74.78 [+0.00] # 74.78 [+0.00] IPv6 route replace tests # 75.51 [+0.73] TEST: Single path with single path [ OK ] # 76.30 [+0.79] TEST: Single path with multipath [ OK ] # 77.05 [+0.75] TEST: Single path with single path via multipath attribute [ OK ] # 77.81 [+0.75] TEST: Invalid nexthop [ OK ] # 78.42 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 79.18 [+0.76] TEST: Multipath with multipath [ OK ] # 79.95 [+0.77] TEST: Multipath with single path [ OK ] # 80.70 [+0.75] TEST: Multipath with single path via multipath attribute [ OK ] # 81.46 [+0.76] TEST: Multipath with dev-only [ OK ] # 82.21 [+0.75] TEST: Multipath - invalid first nexthop [ OK ] # 82.96 [+0.75] TEST: Multipath - invalid second nexthop [ OK ] # 83.56 [+0.60] TEST: Multipath - replace of non-existent route [ OK ] # 83.56 [+0.00] # 83.56 [+0.00] IPv6 route with dsfield tests # 83.87 [+0.31] TEST: Reject route with dsfield [ OK ] # 94.50 [+10.63] # 94.51 [+0.00] IPv4 route add / append tests # 95.12 [+0.62] TEST: Attempt to add duplicate route - gw [ OK ] # 95.75 [+0.63] TEST: Attempt to add duplicate route - dev only [ OK ] # 96.37 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 97.15 [+0.77] TEST: Add new nexthop for existing prefix [ OK ] # 97.92 [+0.77] TEST: Append nexthop to existing route - gw [ OK ] # 98.70 [+0.78] TEST: Append nexthop to existing route - dev only [ OK ] # 99.45 [+0.75] TEST: Append nexthop to existing route - reject route [ OK ] # 100.06 [+0.61] TEST: Append nexthop to existing reject route - gw [ OK ] # 100.67 [+0.61] TEST: Append nexthop to existing reject route - dev only [ OK ] # 101.28 [+0.61] TEST: add multipath route [ OK ] # 101.88 [+0.60] TEST: Attempt to add duplicate multipath route [ OK ] # 102.65 [+0.77] TEST: Route add with different metrics [ OK ] # 102.96 [+0.31] TEST: Route delete with metric [ OK ] # 102.96 [+0.00] # 102.96 [+0.00] IPv4 route replace tests # 103.73 [+0.77] TEST: Single path with single path [ OK ] # 104.49 [+0.76] TEST: Single path with multipath [ OK ] # 105.26 [+0.77] TEST: Single path with reject route [ OK ] # 106.03 [+0.77] TEST: Single path with single path via multipath attribute [ OK ] # 106.79 [+0.77] TEST: Invalid nexthop [ OK ] # 107.40 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 108.16 [+0.77] TEST: Multipath with multipath [ OK ] # 108.92 [+0.75] TEST: Multipath with single path [ OK ] # 109.69 [+0.77] TEST: Multipath with single path via multipath attribute [ OK ] # 110.47 [+0.78] TEST: Multipath with reject route [ OK ] # 111.25 [+0.78] TEST: Multipath - invalid first nexthop [ OK ] # 112.02 [+0.77] TEST: Multipath - invalid second nexthop [ OK ] # 112.63 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 114.87 [+2.24] TEST: Cached route removed from VRF port device [ OK ] # 114.87 [+0.00] # 114.87 [+0.00] IPv4 route with dsfield tests # 115.20 [+0.32] TEST: Reject route with dsfield 0x01 [ OK ] # 115.35 [+0.15] TEST: Reject route with dsfield 0x02 [ OK ] # 115.51 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 115.95 [+0.44] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 116.10 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 116.23 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 116.38 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 116.50 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 116.66 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 116.78 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 116.90 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 117.02 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 117.14 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 117.26 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 117.37 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 120.03 [+2.66] # 120.03 [+0.00] IPv6 prefix route tests # 123.31 [+3.29] TEST: Default metric [ OK ] # 123.76 [+0.45] TEST: User specified metric on first device [ OK ] # 124.22 [+0.46] TEST: User specified metric on second device [ OK ] # 124.51 [+0.29] TEST: Delete of address on first device [ OK ] # 124.81 [+0.31] TEST: Modify metric of address [ OK ] # 125.36 [+0.55] TEST: Prefix route removed on link down [ OK ] # 125.64 [+0.28] TEST: Prefix route with metric on link up [ OK ] # 126.10 [+0.45] TEST: Set metric with peer route on local side [ OK ] # 126.23 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 126.53 [+0.30] TEST: Modify metric and peer address on local side [ OK ] # 126.67 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 128.32 [+1.65] # 128.32 [+0.00] IPv4 prefix route tests # 131.67 [+3.35] TEST: Default metric [ OK ] # 132.14 [+0.46] TEST: User specified metric on first device [ OK ] # 132.62 [+0.48] TEST: User specified metric on second device [ OK ] # 132.93 [+0.31] TEST: Delete of address on first device [ OK ] # 133.25 [+0.32] TEST: Modify metric of address [ OK ] # 133.56 [+0.30] TEST: Prefix route removed on link down [ OK ] # 133.88 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 134.49 [+0.62] TEST: Modify metric of .0/24 address [ OK ] # 134.95 [+0.45] TEST: Set metric of address with peer route [ OK ] # 135.27 [+0.32] TEST: Modify metric and peer address for peer route [ OK ] # 136.96 [+1.69] # 136.96 [+0.00] IPv6 routes with metrics # 145.22 [+8.26] TEST: Single path route with mtu metric [ OK ] # 145.75 [+0.53] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 146.21 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 146.50 [+0.29] TEST: MTU of second leg [ OK ] # 146.80 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 147.23 [+0.43] TEST: Using route with mtu metric [ OK ] # 147.49 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 150.09 [+2.60] # 150.09 [+0.00] IPv4 route add / append tests # 158.32 [+8.23] TEST: Single path route with mtu metric [ OK ] # 158.63 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 159.05 [+0.42] TEST: Using route with mtu metric [ OK ] # 159.32 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 161.92 [+2.60] # 161.92 [+0.00] IPv4 route with IPv6 gateway tests # 172.11 [+10.18] TEST: Single path route with IPv6 gateway [ OK ] # 172.54 [+0.44] TEST: Single path route with IPv6 gateway - ping [ OK ] # 172.70 [+0.16] TEST: Single path route delete [ OK ] # 173.01 [+0.31] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 173.33 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 173.49 [+0.16] TEST: Multipath route delete exact match [ OK ] # 173.64 [+0.16] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 173.96 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 174.11 [+0.15] TEST: Multipath route delete exact match [ OK ] # 176.75 [+2.64] # 176.75 [+0.00] IPv4 rp_filter tests # 187.61 [+10.86] TEST: rp_filter passes local packets [ OK ] # 187.87 [+0.26] TEST: rp_filter passes loopback packets [ OK ] # 189.16 [+1.29] # 189.16 [+0.00] IPv4 delete address route tests # 194.24 [+5.08] Regular FIB info # 194.50 [+0.26] TEST: Route removed from VRF when source address deleted [ OK ] # 194.63 [+0.13] TEST: Route in default VRF not removed [ OK ] # 195.21 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 195.32 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 195.33 [+0.00] Identical FIB info with different table ID # 195.59 [+0.26] TEST: Route removed from VRF when source address deleted [ OK ] # 195.70 [+0.11] TEST: Route in default VRF not removed [ OK ] # 196.25 [+0.56] TEST: Route removed in default VRF when source address deleted [ OK ] # 196.37 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 196.37 [+0.00] Table ID 0 # 196.66 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 198.30 [+1.64] # 198.30 [+0.00] IPv6 delete address route tests # 206.85 [+8.54] Single device using src address # 207.10 [+0.25] TEST: Prefsrc removed when src address removed on other device [ OK ] # 207.10 [+0.00] Two devices with the same source address # 207.36 [+0.26] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 207.64 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 207.64 [+0.00] VRF with single device using src address # 207.90 [+0.25] TEST: Prefsrc removed when src address removed on other device [ OK ] # 207.90 [+0.00] VRF with two devices using src address # 208.18 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 208.45 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 208.45 [+0.00] src address and nexthop dev in same VRF # 208.70 [+0.25] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 208.84 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 209.41 [+0.57] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 209.53 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 209.53 [+0.00] src address and nexthop device in different VRF # 209.81 [+0.28] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 209.93 [+0.11] TEST: Prefsrc not removed in default VRF [ OK ] # 210.33 [+0.40] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 210.46 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 210.46 [+0.00] Table ID 0 # 210.77 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 210.77 [+0.00] Link local source route # 211.05 [+0.28] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 211.33 [+0.28] TEST: Prefsrc removed when delete ll addr [ OK ] # 211.45 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 211.87 [+0.43] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 214.39 [+2.51] # 214.39 [+0.00] IPv4 mangling tests # 225.76 [+11.37] TEST: Connection with correct parameters [ OK ] # 226.06 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 227.31 [+1.26] TEST: Connection with correct parameters - mangling [ OK ] # 228.41 [+1.10] TEST: Connection with correct parameters - no mangling [ OK ] # 228.51 [+0.09] TEST: Connection check - server side [ OK ] # 231.63 [+3.12] # 231.63 [+0.00] IPv6 mangling tests # 243.17 [+11.54] TEST: Connection with correct parameters [ OK ] # 243.56 [+0.39] TEST: Connection with incorrect parameters [ OK ] # 244.69 [+1.13] TEST: Connection with correct parameters - mangling [ OK ] # 245.83 [+1.14] TEST: Connection with correct parameters - no mangling [ OK ] # 245.94 [+0.11] TEST: Connection check - server side [ OK ] # 249.14 [+3.20] # 249.14 [+0.00] IPv4 broadcast neighbour tests # 253.02 [+3.88] TEST: Resolved neighbour for broadcast address [ OK ] # 253.18 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 253.35 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 253.50 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 256.80 [+3.30] # 256.80 [+0.00] Fib6 garbage collection test # 270.99 [+14.20] TEST: ipv6 route garbage collection [ OK ] # 285.63 [+14.64] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 300.21 [+14.58] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 314.96 [+14.75] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 330.09 [+15.13] TEST: ipv6 route garbage collection (RA message) [ OK ] # 331.33 [+1.24] # 331.33 [+0.00] IPv4 multipath list receive tests # 353.76 [+22.43] TEST: Multipath route hit ratio (1.00) [ OK ] # 356.50 [+2.74] # 356.50 [+0.00] IPv6 multipath list receive tests # 377.74 [+21.24] TEST: Multipath route hit ratio (1.00) [ OK ] # 380.50 [+2.76] # 380.50 [+0.00] Tests passed: 229 # 380.50 [+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__->