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.73 [+0.73] # 0.73 [+0.00] Single path route test # 2.46 [+1.73] Start point # 2.61 [+0.15] TEST: IPv4 fibmatch [ OK ] # 2.76 [+0.15] TEST: IPv6 fibmatch [ OK ] # 2.96 [+0.20] Nexthop device deleted # 3.10 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.24 [+0.14] TEST: IPv6 fibmatch - no route [ OK ] # 4.14 [+0.89] # 4.14 [+0.00] Multipath route test # 7.12 [+2.98] Start point # 7.27 [+0.15] TEST: IPv4 fibmatch [ OK ] # 7.42 [+0.15] TEST: IPv6 fibmatch [ OK ] # 7.59 [+0.17] 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.19] Second nexthop device deleted # 8.21 [+0.14] TEST: IPv6 - no route [ OK ] # 9.12 [+0.91] # 9.12 [+0.00] Single path, admin down # 11.20 [+2.08] Start point # 11.33 [+0.13] TEST: IPv4 fibmatch [ OK ] # 11.49 [+0.16] TEST: IPv6 fibmatch [ OK ] # 11.64 [+0.15] Route deleted on down # 11.78 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.92 [+0.14] TEST: IPv6 fibmatch [ OK ] # 12.63 [+0.71] # 12.63 [+0.00] Admin down multipath # 15.64 [+3.01] Verify start point # 15.79 [+0.15] TEST: IPv4 fibmatch [ OK ] # 15.93 [+0.14] TEST: IPv6 fibmatch [ OK ] # 16.07 [+0.14] One device down, one up # 16.21 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 16.36 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 16.51 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 16.66 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 16.77 [+0.11] TEST: IPv4 flags on down device [ OK ] # 16.89 [+0.12] TEST: IPv6 flags on down device [ OK ] # 17.00 [+0.11] TEST: IPv4 flags on up device [ OK ] # 17.12 [+0.12] TEST: IPv6 flags on up device [ OK ] # 17.42 [+0.30] Other device down and up # 17.57 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 17.71 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 17.86 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 18.01 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 18.13 [+0.12] TEST: IPv4 flags on down device [ OK ] # 18.25 [+0.12] TEST: IPv6 flags on down device [ OK ] # 18.37 [+0.12] TEST: IPv4 flags on up device [ OK ] # 18.48 [+0.11] TEST: IPv6 flags on up device [ OK ] # 18.63 [+0.15] Both devices down # 18.77 [+0.14] TEST: IPv4 fibmatch [ OK ] # 18.91 [+0.14] TEST: IPv6 fibmatch [ OK ] # 19.80 [+0.89] # 19.80 [+0.00] Local carrier tests - single path # 22.03 [+2.24] Start point # 22.17 [+0.14] TEST: IPv4 fibmatch [ OK ] # 22.33 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.45 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 22.59 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 23.84 [+1.26] Carrier off on nexthop # 23.98 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.13 [+0.14] TEST: IPv6 fibmatch [ OK ] # 24.24 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 24.38 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 24.69 [+0.31] Route to local address with carrier down # 24.83 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.98 [+0.15] TEST: IPv6 fibmatch [ OK ] # 25.09 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 25.21 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 25.92 [+0.72] # 25.92 [+0.00] Single path route carrier test # 28.16 [+2.24] Start point # 28.31 [+0.15] TEST: IPv4 fibmatch [ OK ] # 28.47 [+0.15] TEST: IPv6 fibmatch [ OK ] # 28.58 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 28.72 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 29.97 [+1.25] Carrier down # 30.12 [+0.15] TEST: IPv4 fibmatch [ OK ] # 30.27 [+0.15] TEST: IPv6 fibmatch [ OK ] # 30.41 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 30.56 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 30.84 [+0.28] Second address added with carrier down # 30.99 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.14 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.26 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 31.37 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 38.10 [+6.73] # 38.10 [+0.00] IPv4 nexthop tests # 38.10 [+0.00] <<< write me >>> # 38.42 [+0.32] # 38.42 [+0.00] IPv6 nexthop tests # 38.57 [+0.15] TEST: Directly connected nexthop, unicast address [ OK ] # 38.73 [+0.15] TEST: Directly connected nexthop, unicast address with device [ OK ] # 38.90 [+0.17] TEST: Gateway is linklocal address [ OK ] # 39.05 [+0.15] TEST: Gateway is linklocal address, no device [ OK ] # 39.20 [+0.15] TEST: Gateway can not be local unicast address [ OK ] # 39.35 [+0.15] TEST: Gateway can not be local unicast address, with device [ OK ] # 39.51 [+0.15] TEST: Gateway can not be a local linklocal address [ OK ] # 39.66 [+0.15] TEST: Gateway can be local address in a VRF [ OK ] # 39.81 [+0.15] TEST: Gateway can be local address in a VRF, with device [ OK ] # 39.97 [+0.16] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 40.14 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 40.30 [+0.16] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 40.45 [+0.15] TEST: VRF route, gateway can not be a local address [ OK ] # 40.60 [+0.16] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 42.01 [+1.40] # 42.01 [+0.00] FIB rule with suppress_prefixlength # 45.13 [+3.12] TEST: FIB rule suppress test [ OK ] # 47.92 [+2.79] # 47.92 [+0.00] Fib6 info length calculation in route notify test # 53.33 [+5.41] TEST: ipv6 route add notify [ OK ] # 56.12 [+2.79] # 56.12 [+0.00] Fib4 info length calculation in route notify test # 61.50 [+5.38] TEST: ipv4 route add notify [ OK ] # 69.28 [+7.78] # 69.28 [+0.00] IPv6 route add / append tests # 69.86 [+0.58] TEST: Attempt to add duplicate route - gw [ OK ] # 70.48 [+0.62] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.09 [+0.61] TEST: Attempt to add duplicate route - reject route [ OK ] # 71.86 [+0.77] TEST: Append nexthop to existing route - gw [ OK ] # 72.46 [+0.60] TEST: Add multipath route [ OK ] # 73.07 [+0.60] TEST: Attempt to add duplicate multipath route [ OK ] # 73.81 [+0.75] TEST: Route add with different metrics [ OK ] # 74.10 [+0.28] TEST: Route delete with metric [ OK ] # 74.10 [+0.00] # 74.10 [+0.00] IPv6 route replace tests # 74.83 [+0.73] TEST: Single path with single path [ OK ] # 75.57 [+0.74] TEST: Single path with multipath [ OK ] # 76.29 [+0.72] TEST: Single path with single path via multipath attribute [ OK ] # 77.03 [+0.74] TEST: Invalid nexthop [ OK ] # 77.64 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 78.41 [+0.77] TEST: Multipath with multipath [ OK ] # 79.12 [+0.72] TEST: Multipath with single path [ OK ] # 79.85 [+0.73] TEST: Multipath with single path via multipath attribute [ OK ] # 80.58 [+0.73] TEST: Multipath with dev-only [ OK ] # 81.33 [+0.74] TEST: Multipath - invalid first nexthop [ OK ] # 82.08 [+0.76] TEST: Multipath - invalid second nexthop [ OK ] # 82.66 [+0.58] TEST: Multipath - replace of non-existent route [ OK ] # 82.66 [+0.00] # 82.66 [+0.00] IPv6 route with dsfield tests # 82.97 [+0.31] TEST: Reject route with dsfield [ OK ] # 93.35 [+10.38] # 93.35 [+0.00] IPv4 route add / append tests # 93.96 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 94.55 [+0.59] TEST: Attempt to add duplicate route - dev only [ OK ] # 95.16 [+0.61] TEST: Attempt to add duplicate route - reject route [ OK ] # 95.92 [+0.76] TEST: Add new nexthop for existing prefix [ OK ] # 96.67 [+0.75] TEST: Append nexthop to existing route - gw [ OK ] # 97.43 [+0.76] TEST: Append nexthop to existing route - dev only [ OK ] # 98.19 [+0.76] TEST: Append nexthop to existing route - reject route [ OK ] # 98.81 [+0.61] TEST: Append nexthop to existing reject route - gw [ OK ] # 99.43 [+0.62] TEST: Append nexthop to existing reject route - dev only [ OK ] # 100.05 [+0.62] TEST: add multipath route [ OK ] # 100.66 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 101.41 [+0.76] TEST: Route add with different metrics [ OK ] # 101.73 [+0.32] TEST: Route delete with metric [ OK ] # 101.73 [+0.00] # 101.73 [+0.00] IPv4 route replace tests # 102.51 [+0.77] TEST: Single path with single path [ OK ] # 103.29 [+0.78] TEST: Single path with multipath [ OK ] # 104.05 [+0.76] TEST: Single path with reject route [ OK ] # 104.84 [+0.79] TEST: Single path with single path via multipath attribute [ OK ] # 105.64 [+0.79] TEST: Invalid nexthop [ OK ] # 106.25 [+0.62] TEST: Single path - replace of non-existent route [ OK ] # 107.01 [+0.76] TEST: Multipath with multipath [ OK ] # 107.78 [+0.78] TEST: Multipath with single path [ OK ] # 108.55 [+0.77] TEST: Multipath with single path via multipath attribute [ OK ] # 109.32 [+0.77] TEST: Multipath with reject route [ OK ] # 110.10 [+0.78] TEST: Multipath - invalid first nexthop [ OK ] # 110.85 [+0.75] TEST: Multipath - invalid second nexthop [ OK ] # 111.45 [+0.60] TEST: Multipath - replace of non-existent route [ OK ] # 113.62 [+2.17] TEST: Cached route removed from VRF port device [ OK ] # 113.62 [+0.00] # 113.62 [+0.00] IPv4 route with dsfield tests # 113.93 [+0.30] TEST: Reject route with dsfield 0x01 [ OK ] # 114.09 [+0.16] TEST: Reject route with dsfield 0x02 [ OK ] # 114.26 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 114.71 [+0.45] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 114.83 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 114.94 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 115.06 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 115.18 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 115.32 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 115.46 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 115.57 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 115.72 [+0.15] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 115.84 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 115.97 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 116.08 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 118.74 [+2.66] # 118.74 [+0.00] IPv6 prefix route tests # 122.13 [+3.39] TEST: Default metric [ OK ] # 122.60 [+0.47] TEST: User specified metric on first device [ OK ] # 123.07 [+0.47] TEST: User specified metric on second device [ OK ] # 123.36 [+0.29] TEST: Delete of address on first device [ OK ] # 123.66 [+0.29] TEST: Modify metric of address [ OK ] # 124.21 [+0.55] TEST: Prefix route removed on link down [ OK ] # 124.53 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 124.99 [+0.46] TEST: Set metric with peer route on local side [ OK ] # 125.13 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 125.42 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 125.55 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 127.24 [+1.69] # 127.24 [+0.00] IPv4 prefix route tests # 130.65 [+3.41] TEST: Default metric [ OK ] # 131.12 [+0.47] TEST: User specified metric on first device [ OK ] # 131.61 [+0.49] TEST: User specified metric on second device [ OK ] # 131.92 [+0.31] TEST: Delete of address on first device [ OK ] # 132.24 [+0.31] TEST: Modify metric of address [ OK ] # 132.54 [+0.30] TEST: Prefix route removed on link down [ OK ] # 132.87 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 133.48 [+0.61] TEST: Modify metric of .0/24 address [ OK ] # 133.95 [+0.47] TEST: Set metric of address with peer route [ OK ] # 134.28 [+0.33] TEST: Modify metric and peer address for peer route [ OK ] # 135.92 [+1.64] # 135.92 [+0.00] IPv6 routes with metrics # 144.25 [+8.33] TEST: Single path route with mtu metric [ OK ] # 144.71 [+0.45] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 145.18 [+0.47] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 145.49 [+0.31] TEST: MTU of second leg [ OK ] # 145.81 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 146.23 [+0.42] TEST: Using route with mtu metric [ OK ] # 146.51 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 149.19 [+2.68] # 149.19 [+0.00] IPv4 route add / append tests # 157.76 [+8.56] TEST: Single path route with mtu metric [ OK ] # 158.08 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 158.50 [+0.42] TEST: Using route with mtu metric [ OK ] # 158.76 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 161.41 [+2.65] # 161.41 [+0.00] IPv4 route with IPv6 gateway tests # 171.88 [+10.47] TEST: Single path route with IPv6 gateway [ OK ] # 172.34 [+0.45] TEST: Single path route with IPv6 gateway - ping [ OK ] # 172.51 [+0.17] TEST: Single path route delete [ OK ] # 172.81 [+0.30] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 173.13 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 173.29 [+0.15] TEST: Multipath route delete exact match [ OK ] # 173.45 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 173.78 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 173.94 [+0.16] TEST: Multipath route delete exact match [ OK ] # 176.61 [+2.67] # 176.61 [+0.00] IPv4 rp_filter tests # 187.46 [+10.85] TEST: rp_filter passes local packets [ OK ] # 187.72 [+0.26] TEST: rp_filter passes loopback packets [ OK ] # 189.02 [+1.29] # 189.02 [+0.00] IPv4 delete address route tests # 194.30 [+5.28] Regular FIB info # 194.57 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 194.70 [+0.12] TEST: Route in default VRF not removed [ OK ] # 195.26 [+0.56] TEST: Route removed in default VRF when source address deleted [ OK ] # 195.37 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 195.37 [+0.00] Identical FIB info with different table ID # 195.63 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 195.74 [+0.11] TEST: Route in default VRF not removed [ OK ] # 196.31 [+0.56] TEST: Route removed in default VRF when source address deleted [ OK ] # 196.44 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 196.44 [+0.00] Table ID 0 # 196.69 [+0.26] TEST: Route removed in default VRF when source address deleted [ OK ] # 198.31 [+1.62] # 198.31 [+0.00] IPv6 delete address route tests # 206.85 [+8.54] Single device using src address # 207.12 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 207.12 [+0.00] Two devices with the same source address # 207.42 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 207.68 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 207.69 [+0.00] VRF with single device using src address # 207.95 [+0.26] TEST: Prefsrc removed when src address removed on other device [ OK ] # 207.95 [+0.00] VRF with two devices using src address # 208.22 [+0.27] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 208.50 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 208.50 [+0.00] src address and nexthop dev in same VRF # 208.77 [+0.27] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 208.89 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 209.45 [+0.56] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 209.57 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 209.57 [+0.00] src address and nexthop device in different VRF # 209.84 [+0.27] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 209.96 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 210.36 [+0.40] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 210.48 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 210.48 [+0.00] Table ID 0 # 210.73 [+0.25] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 210.73 [+0.00] Link local source route # 211.01 [+0.28] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 211.30 [+0.29] TEST: Prefsrc removed when delete ll addr [ OK ] # 211.42 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 211.87 [+0.45] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 214.42 [+2.56] # 214.42 [+0.00] IPv4 mangling tests # 226.01 [+11.59] TEST: Connection with correct parameters [ OK ] # 226.34 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 227.59 [+1.26] TEST: Connection with correct parameters - mangling [ OK ] # 228.74 [+1.14] TEST: Connection with correct parameters - no mangling [ OK ] # 228.83 [+0.09] TEST: Connection check - server side [ OK ] # 232.17 [+3.34] # 232.17 [+0.00] IPv6 mangling tests # 244.00 [+11.83] TEST: Connection with correct parameters [ OK ] # 244.33 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 245.49 [+1.16] TEST: Connection with correct parameters - mangling [ OK ] # 246.66 [+1.17] TEST: Connection with correct parameters - no mangling [ OK ] # 246.79 [+0.13] TEST: Connection check - server side [ OK ] # 250.06 [+3.27] # 250.06 [+0.00] IPv4 broadcast neighbour tests # 254.22 [+4.17] TEST: Resolved neighbour for broadcast address [ OK ] # 254.38 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 254.55 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 254.71 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 258.36 [+3.65] # 258.36 [+0.00] Fib6 garbage collection test # 272.69 [+14.33] TEST: ipv6 route garbage collection [ OK ] # 287.31 [+14.63] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 301.91 [+14.60] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 316.86 [+14.95] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 332.06 [+15.20] TEST: ipv6 route garbage collection (RA message) [ OK ] # 333.38 [+1.32] # 333.38 [+0.00] IPv4 multipath list receive tests # 355.87 [+22.49] TEST: Multipath route hit ratio (1.00) [ OK ] # 358.60 [+2.73] # 358.60 [+0.00] IPv6 multipath list receive tests # 379.86 [+21.26] TEST: Multipath route hit ratio (1.00) [ OK ] # 382.63 [+2.77] # 382.63 [+0.00] Tests passed: 229 # 382.63 [+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__->