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.74 [+0.00] Single path route test # 2.50 [+1.76] Start point # 2.65 [+0.15] TEST: IPv4 fibmatch [ OK ] # 2.79 [+0.14] TEST: IPv6 fibmatch [ OK ] # 2.98 [+0.19] Nexthop device deleted # 3.14 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.28 [+0.14] TEST: IPv6 fibmatch - no route [ OK ] # 4.16 [+0.88] # 4.16 [+0.00] Multipath route test # 7.13 [+2.97] Start point # 7.28 [+0.15] TEST: IPv4 fibmatch [ OK ] # 7.42 [+0.14] TEST: IPv6 fibmatch [ OK ] # 7.60 [+0.18] One nexthop device deleted # 7.75 [+0.14] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.89 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 8.09 [+0.20] Second nexthop device deleted # 8.24 [+0.15] TEST: IPv6 - no route [ OK ] # 9.20 [+0.95] # 9.20 [+0.00] Single path, admin down # 11.42 [+2.23] Start point # 11.57 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.72 [+0.15] TEST: IPv6 fibmatch [ OK ] # 11.86 [+0.14] Route deleted on down # 12.00 [+0.14] TEST: IPv4 fibmatch [ OK ] # 12.15 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.84 [+0.70] # 12.84 [+0.00] Admin down multipath # 15.82 [+2.98] Verify start point # 15.96 [+0.14] TEST: IPv4 fibmatch [ OK ] # 16.11 [+0.15] TEST: IPv6 fibmatch [ OK ] # 16.26 [+0.15] One device down, one up # 16.42 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 16.55 [+0.13] TEST: IPv6 fibmatch on down device [ OK ] # 16.69 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 16.84 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 16.98 [+0.14] TEST: IPv4 flags on down device [ OK ] # 17.10 [+0.12] TEST: IPv6 flags on down device [ OK ] # 17.21 [+0.11] TEST: IPv4 flags on up device [ OK ] # 17.32 [+0.11] TEST: IPv6 flags on up device [ OK ] # 17.61 [+0.29] Other device down and up # 17.77 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 17.91 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 18.06 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 18.21 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 18.31 [+0.11] TEST: IPv4 flags on down device [ OK ] # 18.44 [+0.13] TEST: IPv6 flags on down device [ OK ] # 18.57 [+0.13] TEST: IPv4 flags on up device [ OK ] # 18.70 [+0.13] TEST: IPv6 flags on up device [ OK ] # 18.85 [+0.15] Both devices down # 19.00 [+0.14] TEST: IPv4 fibmatch [ OK ] # 19.15 [+0.15] TEST: IPv6 fibmatch [ OK ] # 20.04 [+0.89] # 20.04 [+0.00] Local carrier tests - single path # 22.29 [+2.25] Start point # 22.44 [+0.15] TEST: IPv4 fibmatch [ OK ] # 22.59 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.69 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 22.82 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 24.07 [+1.25] Carrier off on nexthop # 24.21 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.36 [+0.15] TEST: IPv6 fibmatch [ OK ] # 24.48 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 24.63 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 24.92 [+0.29] Route to local address with carrier down # 25.07 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.22 [+0.15] TEST: IPv6 fibmatch [ OK ] # 25.34 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 25.46 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 26.20 [+0.74] # 26.20 [+0.00] Single path route carrier test # 28.44 [+2.24] Start point # 28.59 [+0.15] TEST: IPv4 fibmatch [ OK ] # 28.75 [+0.16] TEST: IPv6 fibmatch [ OK ] # 28.88 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 29.02 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 30.27 [+1.25] Carrier down # 30.43 [+0.16] TEST: IPv4 fibmatch [ OK ] # 30.57 [+0.15] TEST: IPv6 fibmatch [ OK ] # 30.68 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 30.80 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 31.10 [+0.30] Second address added with carrier down # 31.24 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.40 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.53 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 31.64 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 38.55 [+6.91] # 38.55 [+0.00] IPv4 nexthop tests # 38.55 [+0.00] <<< write me >>> # 38.85 [+0.30] # 38.85 [+0.00] IPv6 nexthop tests # 39.01 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 39.17 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 39.33 [+0.15] TEST: Gateway is linklocal address [ OK ] # 39.50 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 39.70 [+0.20] TEST: Gateway can not be local unicast address [ OK ] # 39.88 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 40.06 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 40.23 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 40.38 [+0.15] TEST: Gateway can be local address in a VRF, with device [ OK ] # 40.56 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 40.75 [+0.19] TEST: Redirect to VRF lookup [ OK ] # 40.91 [+0.16] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 41.07 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 41.24 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 42.78 [+1.55] # 42.78 [+0.00] FIB rule with suppress_prefixlength # 46.18 [+3.40] TEST: FIB rule suppress test [ OK ] # 49.04 [+2.86] # 49.04 [+0.00] Fib6 info length calculation in route notify test # 54.51 [+5.47] TEST: ipv6 route add notify [ OK ] # 57.44 [+2.93] # 57.44 [+0.00] Fib4 info length calculation in route notify test # 62.94 [+5.51] TEST: ipv4 route add notify [ OK ] # 70.86 [+7.92] # 70.86 [+0.00] IPv6 route add / append tests # 71.48 [+0.62] TEST: Attempt to add duplicate route - gw [ OK ] # 72.14 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 72.75 [+0.61] TEST: Attempt to add duplicate route - reject route [ OK ] # 73.50 [+0.75] TEST: Append nexthop to existing route - gw [ OK ] # 74.12 [+0.62] TEST: Add multipath route [ OK ] # 74.72 [+0.60] TEST: Attempt to add duplicate multipath route [ OK ] # 75.47 [+0.75] TEST: Route add with different metrics [ OK ] # 75.76 [+0.29] TEST: Route delete with metric [ OK ] # 75.76 [+0.00] # 75.76 [+0.00] IPv6 route replace tests # 76.49 [+0.73] TEST: Single path with single path [ OK ] # 77.23 [+0.74] TEST: Single path with multipath [ OK ] # 77.95 [+0.72] TEST: Single path with single path via multipath attribute [ OK ] # 78.67 [+0.72] TEST: Invalid nexthop [ OK ] # 79.27 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 80.02 [+0.75] TEST: Multipath with multipath [ OK ] # 80.73 [+0.71] TEST: Multipath with single path [ OK ] # 81.47 [+0.74] TEST: Multipath with single path via multipath attribute [ OK ] # 82.21 [+0.74] TEST: Multipath with dev-only [ OK ] # 82.94 [+0.73] TEST: Multipath - invalid first nexthop [ OK ] # 83.67 [+0.73] TEST: Multipath - invalid second nexthop [ OK ] # 84.25 [+0.58] TEST: Multipath - replace of non-existent route [ OK ] # 84.26 [+0.00] # 84.26 [+0.00] IPv6 route with dsfield tests # 84.56 [+0.31] TEST: Reject route with dsfield [ OK ] # 94.81 [+10.25] # 94.81 [+0.00] IPv4 route add / append tests # 95.41 [+0.60] TEST: Attempt to add duplicate route - gw [ OK ] # 96.01 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 96.60 [+0.59] TEST: Attempt to add duplicate route - reject route [ OK ] # 97.35 [+0.76] TEST: Add new nexthop for existing prefix [ OK ] # 98.09 [+0.74] TEST: Append nexthop to existing route - gw [ OK ] # 98.84 [+0.75] TEST: Append nexthop to existing route - dev only [ OK ] # 99.58 [+0.74] TEST: Append nexthop to existing route - reject route [ OK ] # 100.19 [+0.61] TEST: Append nexthop to existing reject route - gw [ OK ] # 100.79 [+0.61] TEST: Append nexthop to existing reject route - dev only [ OK ] # 101.38 [+0.59] TEST: add multipath route [ OK ] # 101.98 [+0.60] TEST: Attempt to add duplicate multipath route [ OK ] # 102.74 [+0.76] TEST: Route add with different metrics [ OK ] # 103.05 [+0.31] TEST: Route delete with metric [ OK ] # 103.05 [+0.00] # 103.05 [+0.00] IPv4 route replace tests # 103.79 [+0.74] TEST: Single path with single path [ OK ] # 104.55 [+0.76] TEST: Single path with multipath [ OK ] # 105.28 [+0.73] TEST: Single path with reject route [ OK ] # 106.03 [+0.75] TEST: Single path with single path via multipath attribute [ OK ] # 106.77 [+0.74] TEST: Invalid nexthop [ OK ] # 107.35 [+0.58] TEST: Single path - replace of non-existent route [ OK ] # 108.11 [+0.75] TEST: Multipath with multipath [ OK ] # 108.86 [+0.75] TEST: Multipath with single path [ OK ] # 109.60 [+0.74] TEST: Multipath with single path via multipath attribute [ OK ] # 110.35 [+0.75] TEST: Multipath with reject route [ OK ] # 111.09 [+0.74] TEST: Multipath - invalid first nexthop [ OK ] # 111.84 [+0.75] TEST: Multipath - invalid second nexthop [ OK ] # 112.44 [+0.60] TEST: Multipath - replace of non-existent route [ OK ] # 114.59 [+2.15] TEST: Cached route removed from VRF port device [ OK ] # 114.59 [+0.00] # 114.59 [+0.00] IPv4 route with dsfield tests # 114.90 [+0.30] TEST: Reject route with dsfield 0x01 [ OK ] # 115.07 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 115.23 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 115.67 [+0.45] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 115.80 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 115.93 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 116.04 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 116.17 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 116.31 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 116.46 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 116.60 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 116.72 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 116.84 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 116.99 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 117.14 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 119.74 [+2.60] # 119.74 [+0.00] IPv6 prefix route tests # 122.98 [+3.24] TEST: Default metric [ OK ] # 123.42 [+0.44] TEST: User specified metric on first device [ OK ] # 123.87 [+0.44] TEST: User specified metric on second device [ OK ] # 124.15 [+0.29] TEST: Delete of address on first device [ OK ] # 124.44 [+0.29] TEST: Modify metric of address [ OK ] # 124.97 [+0.53] TEST: Prefix route removed on link down [ OK ] # 125.28 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 125.71 [+0.43] TEST: Set metric with peer route on local side [ OK ] # 125.84 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 126.12 [+0.28] TEST: Modify metric and peer address on local side [ OK ] # 126.26 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 127.85 [+1.59] # 127.85 [+0.00] IPv4 prefix route tests # 131.03 [+3.19] TEST: Default metric [ OK ] # 131.49 [+0.46] TEST: User specified metric on first device [ OK ] # 131.94 [+0.45] TEST: User specified metric on second device [ OK ] # 132.24 [+0.30] TEST: Delete of address on first device [ OK ] # 132.54 [+0.30] TEST: Modify metric of address [ OK ] # 132.84 [+0.29] TEST: Prefix route removed on link down [ OK ] # 133.14 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 133.75 [+0.61] TEST: Modify metric of .0/24 address [ OK ] # 134.19 [+0.45] TEST: Set metric of address with peer route [ OK ] # 134.49 [+0.30] TEST: Modify metric and peer address for peer route [ OK ] # 136.07 [+1.58] # 136.07 [+0.00] IPv6 routes with metrics # 144.07 [+8.00] TEST: Single path route with mtu metric [ OK ] # 144.51 [+0.44] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 144.95 [+0.44] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 145.23 [+0.28] TEST: MTU of second leg [ OK ] # 145.51 [+0.29] TEST: Multipath route with mtu metric [ OK ] # 145.92 [+0.40] TEST: Using route with mtu metric [ OK ] # 146.17 [+0.25] TEST: Invalid metric (fails metric_convert) [ OK ] # 148.71 [+2.54] # 148.71 [+0.00] IPv4 route add / append tests # 156.69 [+7.98] TEST: Single path route with mtu metric [ OK ] # 156.99 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 157.41 [+0.42] TEST: Using route with mtu metric [ OK ] # 157.65 [+0.25] TEST: Invalid metric (fails metric_convert) [ OK ] # 160.25 [+2.60] # 160.25 [+0.00] IPv4 route with IPv6 gateway tests # 170.27 [+10.02] TEST: Single path route with IPv6 gateway [ OK ] # 170.69 [+0.42] TEST: Single path route with IPv6 gateway - ping [ OK ] # 170.84 [+0.15] TEST: Single path route delete [ OK ] # 171.14 [+0.30] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 171.45 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 171.59 [+0.15] TEST: Multipath route delete exact match [ OK ] # 171.75 [+0.16] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 172.04 [+0.29] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 172.20 [+0.15] TEST: Multipath route delete exact match [ OK ] # 174.77 [+2.57] # 174.77 [+0.00] IPv4 rp_filter tests # 185.30 [+10.53] TEST: rp_filter passes local packets [ OK ] # 185.55 [+0.25] TEST: rp_filter passes loopback packets [ OK ] # 186.80 [+1.25] # 186.80 [+0.00] IPv4 delete address route tests # 191.68 [+4.87] Regular FIB info # 191.94 [+0.26] TEST: Route removed from VRF when source address deleted [ OK ] # 192.07 [+0.13] TEST: Route in default VRF not removed [ OK ] # 192.61 [+0.55] TEST: Route removed in default VRF when source address deleted [ OK ] # 192.73 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 192.73 [+0.00] Identical FIB info with different table ID # 192.97 [+0.24] TEST: Route removed from VRF when source address deleted [ OK ] # 193.10 [+0.13] TEST: Route in default VRF not removed [ OK ] # 193.66 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 193.78 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 193.78 [+0.00] Table ID 0 # 194.03 [+0.25] TEST: Route removed in default VRF when source address deleted [ OK ] # 195.60 [+1.57] # 195.60 [+0.00] IPv6 delete address route tests # 203.88 [+8.27] Single device using src address # 204.14 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 204.15 [+0.00] Two devices with the same source address # 204.40 [+0.26] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 204.67 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 204.67 [+0.00] VRF with single device using src address # 204.93 [+0.26] TEST: Prefsrc removed when src address removed on other device [ OK ] # 204.93 [+0.00] VRF with two devices using src address # 205.19 [+0.26] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 205.46 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 205.46 [+0.00] src address and nexthop dev in same VRF # 205.73 [+0.27] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 205.86 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 206.41 [+0.55] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 206.53 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 206.53 [+0.00] src address and nexthop device in different VRF # 206.79 [+0.26] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 206.92 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 207.34 [+0.42] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 207.47 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 207.47 [+0.00] Table ID 0 # 207.75 [+0.28] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 207.75 [+0.00] Link local source route # 208.02 [+0.26] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 208.28 [+0.27] TEST: Prefsrc removed when delete ll addr [ OK ] # 208.40 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 208.82 [+0.42] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 211.26 [+2.45] # 211.26 [+0.00] IPv4 mangling tests # 222.61 [+11.35] TEST: Connection with correct parameters [ OK ] # 222.89 [+0.28] TEST: Connection with incorrect parameters [ OK ] # 224.12 [+1.22] TEST: Connection with correct parameters - mangling [ OK ] # 225.21 [+1.09] TEST: Connection with correct parameters - no mangling [ OK ] # 225.33 [+0.12] TEST: Connection check - server side [ OK ] # 228.42 [+3.10] # 228.42 [+0.00] IPv6 mangling tests # 239.79 [+11.37] TEST: Connection with correct parameters [ OK ] # 240.12 [+0.33] TEST: Connection with incorrect parameters [ OK ] # 241.26 [+1.14] TEST: Connection with correct parameters - mangling [ OK ] # 242.41 [+1.15] TEST: Connection with correct parameters - no mangling [ OK ] # 242.52 [+0.11] TEST: Connection check - server side [ OK ] # 245.66 [+3.14] # 245.66 [+0.00] IPv4 broadcast neighbour tests # 249.55 [+3.90] TEST: Resolved neighbour for broadcast address [ OK ] # 249.70 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 249.87 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 250.02 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 253.29 [+3.27] # 253.29 [+0.00] Fib6 garbage collection test # 267.53 [+14.24] TEST: ipv6 route garbage collection [ OK ] # 282.04 [+14.51] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 296.59 [+14.55] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 311.26 [+14.67] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 326.41 [+15.15] TEST: ipv6 route garbage collection (RA message) [ OK ] # 327.64 [+1.23] # 327.64 [+0.00] IPv4 multipath list receive tests # 350.79 [+23.15] TEST: Multipath route hit ratio (1.00) [ OK ] # 353.66 [+2.87] # 353.66 [+0.00] IPv6 multipath list receive tests # 376.09 [+22.43] TEST: Multipath route hit ratio (1.00) [ OK ] # 378.90 [+2.82] # 378.90 [+0.00] Tests passed: 229 # 378.90 [+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__->