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.65 [+0.65] # 0.65 [+0.00] Single path route test # 2.33 [+1.68] Start point # 2.47 [+0.15] TEST: IPv4 fibmatch [ OK ] # 2.62 [+0.15] TEST: IPv6 fibmatch [ OK ] # 2.81 [+0.19] Nexthop device deleted # 2.96 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.10 [+0.14] TEST: IPv6 fibmatch - no route [ OK ] # 4.01 [+0.90] # 4.01 [+0.00] Multipath route test # 6.99 [+2.98] Start point # 7.15 [+0.16] TEST: IPv4 fibmatch [ OK ] # 7.29 [+0.14] TEST: IPv6 fibmatch [ OK ] # 7.48 [+0.19] One nexthop device deleted # 7.62 [+0.14] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.77 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 7.96 [+0.19] Second nexthop device deleted # 8.11 [+0.15] TEST: IPv6 - no route [ OK ] # 9.06 [+0.95] # 9.06 [+0.00] Single path, admin down # 11.16 [+2.10] Start point # 11.30 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.45 [+0.15] TEST: IPv6 fibmatch [ OK ] # 11.59 [+0.15] Route deleted on down # 11.74 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.88 [+0.14] TEST: IPv6 fibmatch [ OK ] # 12.60 [+0.72] # 12.60 [+0.00] Admin down multipath # 15.59 [+2.99] Verify start point # 15.73 [+0.14] TEST: IPv4 fibmatch [ OK ] # 15.89 [+0.16] TEST: IPv6 fibmatch [ OK ] # 16.02 [+0.13] One device down, one up # 16.17 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 16.32 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 16.46 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 16.60 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 16.72 [+0.13] TEST: IPv4 flags on down device [ OK ] # 16.85 [+0.12] TEST: IPv6 flags on down device [ OK ] # 16.97 [+0.12] TEST: IPv4 flags on up device [ OK ] # 17.09 [+0.12] TEST: IPv6 flags on up device [ OK ] # 17.37 [+0.28] Other device down and up # 17.52 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 17.67 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 17.81 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 17.95 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 18.08 [+0.13] TEST: IPv4 flags on down device [ OK ] # 18.20 [+0.12] TEST: IPv6 flags on down device [ OK ] # 18.32 [+0.12] TEST: IPv4 flags on up device [ OK ] # 18.44 [+0.12] TEST: IPv6 flags on up device [ OK ] # 18.60 [+0.15] Both devices down # 18.74 [+0.15] TEST: IPv4 fibmatch [ OK ] # 18.89 [+0.15] TEST: IPv6 fibmatch [ OK ] # 19.77 [+0.88] # 19.77 [+0.00] Local carrier tests - single path # 22.04 [+2.26] Start point # 22.18 [+0.14] TEST: IPv4 fibmatch [ OK ] # 22.33 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.45 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 22.58 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 23.83 [+1.25] Carrier off on nexthop # 23.97 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.12 [+0.15] TEST: IPv6 fibmatch [ OK ] # 24.25 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 24.38 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 24.66 [+0.28] Route to local address with carrier down # 24.81 [+0.16] TEST: IPv4 fibmatch [ OK ] # 24.97 [+0.15] TEST: IPv6 fibmatch [ OK ] # 25.10 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 25.24 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 25.95 [+0.71] # 25.95 [+0.00] Single path route carrier test # 28.21 [+2.26] Start point # 28.36 [+0.15] TEST: IPv4 fibmatch [ OK ] # 28.51 [+0.15] TEST: IPv6 fibmatch [ OK ] # 28.63 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 28.76 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 30.03 [+1.27] Carrier down # 30.18 [+0.15] TEST: IPv4 fibmatch [ OK ] # 30.32 [+0.14] TEST: IPv6 fibmatch [ OK ] # 30.44 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 30.57 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 30.85 [+0.29] Second address added with carrier down # 30.99 [+0.14] TEST: IPv4 fibmatch [ OK ] # 31.14 [+0.14] TEST: IPv6 fibmatch [ OK ] # 31.27 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 31.39 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 38.16 [+6.77] # 38.16 [+0.00] IPv4 nexthop tests # 38.16 [+0.00] <<< write me >>> # 38.43 [+0.27] # 38.43 [+0.00] IPv6 nexthop tests # 38.58 [+0.15] TEST: Directly connected nexthop, unicast address [ OK ] # 38.74 [+0.16] TEST: Directly connected nexthop, unicast address with device [ OK ] # 38.90 [+0.16] TEST: Gateway is linklocal address [ OK ] # 39.05 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 39.22 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 39.37 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 39.54 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 39.70 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 39.86 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 40.01 [+0.15] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 40.18 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 40.33 [+0.14] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 40.48 [+0.15] TEST: VRF route, gateway can not be a local address [ OK ] # 40.64 [+0.16] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 42.04 [+1.40] # 42.04 [+0.00] FIB rule with suppress_prefixlength # 45.20 [+3.16] TEST: FIB rule suppress test [ OK ] # 48.01 [+2.81] # 48.01 [+0.00] Fib6 info length calculation in route notify test # 53.38 [+5.37] TEST: ipv6 route add notify [ OK ] # 56.21 [+2.83] # 56.21 [+0.00] Fib4 info length calculation in route notify test # 61.64 [+5.43] TEST: ipv4 route add notify [ OK ] # 69.32 [+7.69] # 69.32 [+0.00] IPv6 route add / append tests # 69.93 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 70.54 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.15 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 71.90 [+0.75] TEST: Append nexthop to existing route - gw [ OK ] # 72.51 [+0.61] TEST: Add multipath route [ OK ] # 73.11 [+0.60] TEST: Attempt to add duplicate multipath route [ OK ] # 73.86 [+0.75] TEST: Route add with different metrics [ OK ] # 74.17 [+0.31] TEST: Route delete with metric [ OK ] # 74.17 [+0.00] # 74.17 [+0.00] IPv6 route replace tests # 74.89 [+0.72] TEST: Single path with single path [ OK ] # 75.64 [+0.75] TEST: Single path with multipath [ OK ] # 76.37 [+0.73] TEST: Single path with single path via multipath attribute [ OK ] # 77.13 [+0.76] TEST: Invalid nexthop [ OK ] # 77.74 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 78.49 [+0.75] TEST: Multipath with multipath [ OK ] # 79.26 [+0.77] TEST: Multipath with single path [ OK ] # 80.00 [+0.75] TEST: Multipath with single path via multipath attribute [ OK ] # 80.74 [+0.73] TEST: Multipath with dev-only [ OK ] # 81.49 [+0.75] TEST: Multipath - invalid first nexthop [ OK ] # 82.24 [+0.75] TEST: Multipath - invalid second nexthop [ OK ] # 82.83 [+0.59] TEST: Multipath - replace of non-existent route [ OK ] # 82.84 [+0.00] # 82.84 [+0.00] IPv6 route with dsfield tests # 83.15 [+0.31] TEST: Reject route with dsfield [ OK ] # 93.49 [+10.34] # 93.49 [+0.00] IPv4 route add / append tests # 94.08 [+0.59] TEST: Attempt to add duplicate route - gw [ OK ] # 94.66 [+0.58] TEST: Attempt to add duplicate route - dev only [ OK ] # 95.26 [+0.60] TEST: Attempt to add duplicate route - reject route [ OK ] # 96.00 [+0.74] TEST: Add new nexthop for existing prefix [ OK ] # 96.77 [+0.77] TEST: Append nexthop to existing route - gw [ OK ] # 97.53 [+0.76] TEST: Append nexthop to existing route - dev only [ OK ] # 98.31 [+0.78] TEST: Append nexthop to existing route - reject route [ OK ] # 98.93 [+0.62] TEST: Append nexthop to existing reject route - gw [ OK ] # 99.56 [+0.62] TEST: Append nexthop to existing reject route - dev only [ OK ] # 100.17 [+0.62] TEST: add multipath route [ OK ] # 100.78 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 101.55 [+0.77] TEST: Route add with different metrics [ OK ] # 101.87 [+0.31] TEST: Route delete with metric [ OK ] # 101.87 [+0.00] # 101.87 [+0.00] IPv4 route replace tests # 102.65 [+0.78] TEST: Single path with single path [ OK ] # 103.42 [+0.78] TEST: Single path with multipath [ OK ] # 104.19 [+0.77] TEST: Single path with reject route [ OK ] # 104.95 [+0.76] TEST: Single path with single path via multipath attribute [ OK ] # 105.72 [+0.77] TEST: Invalid nexthop [ OK ] # 106.32 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 107.10 [+0.78] TEST: Multipath with multipath [ OK ] # 107.88 [+0.77] TEST: Multipath with single path [ OK ] # 108.65 [+0.77] TEST: Multipath with single path via multipath attribute [ OK ] # 109.42 [+0.76] TEST: Multipath with reject route [ OK ] # 110.20 [+0.78] TEST: Multipath - invalid first nexthop [ OK ] # 111.00 [+0.80] TEST: Multipath - invalid second nexthop [ OK ] # 111.61 [+0.62] TEST: Multipath - replace of non-existent route [ OK ] # 113.82 [+2.20] TEST: Cached route removed from VRF port device [ OK ] # 113.82 [+0.00] # 113.82 [+0.00] IPv4 route with dsfield tests # 114.13 [+0.31] TEST: Reject route with dsfield 0x01 [ OK ] # 114.29 [+0.16] TEST: Reject route with dsfield 0x02 [ OK ] # 114.46 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 114.90 [+0.45] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 115.02 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 115.14 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 115.28 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 115.41 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 115.54 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 115.70 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 115.82 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 115.96 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 116.09 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 116.20 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 116.35 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 118.97 [+2.62] # 118.97 [+0.00] IPv6 prefix route tests # 122.29 [+3.32] TEST: Default metric [ OK ] # 122.74 [+0.45] TEST: User specified metric on first device [ OK ] # 123.20 [+0.46] TEST: User specified metric on second device [ OK ] # 123.49 [+0.28] TEST: Delete of address on first device [ OK ] # 123.78 [+0.29] TEST: Modify metric of address [ OK ] # 124.33 [+0.55] TEST: Prefix route removed on link down [ OK ] # 124.63 [+0.29] TEST: Prefix route with metric on link up [ OK ] # 125.06 [+0.43] TEST: Set metric with peer route on local side [ OK ] # 125.19 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 125.48 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 125.61 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 127.25 [+1.63] # 127.25 [+0.00] IPv4 prefix route tests # 130.53 [+3.29] TEST: Default metric [ OK ] # 131.00 [+0.46] TEST: User specified metric on first device [ OK ] # 131.46 [+0.46] TEST: User specified metric on second device [ OK ] # 131.77 [+0.31] TEST: Delete of address on first device [ OK ] # 132.08 [+0.31] TEST: Modify metric of address [ OK ] # 132.39 [+0.31] TEST: Prefix route removed on link down [ OK ] # 132.70 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 133.34 [+0.63] TEST: Modify metric of .0/24 address [ OK ] # 133.79 [+0.46] TEST: Set metric of address with peer route [ OK ] # 134.10 [+0.31] TEST: Modify metric and peer address for peer route [ OK ] # 135.73 [+1.63] # 135.73 [+0.00] IPv6 routes with metrics # 143.98 [+8.25] TEST: Single path route with mtu metric [ OK ] # 144.43 [+0.44] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 144.88 [+0.45] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 145.17 [+0.29] TEST: MTU of second leg [ OK ] # 145.47 [+0.29] TEST: Multipath route with mtu metric [ OK ] # 145.88 [+0.42] TEST: Using route with mtu metric [ OK ] # 146.16 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 148.74 [+2.58] # 148.74 [+0.00] IPv4 route add / append tests # 156.98 [+8.24] TEST: Single path route with mtu metric [ OK ] # 157.29 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 157.71 [+0.42] TEST: Using route with mtu metric [ OK ] # 157.97 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 160.59 [+2.62] # 160.59 [+0.00] IPv4 route with IPv6 gateway tests # 170.83 [+10.24] TEST: Single path route with IPv6 gateway [ OK ] # 171.26 [+0.43] TEST: Single path route with IPv6 gateway - ping [ OK ] # 171.42 [+0.16] TEST: Single path route delete [ OK ] # 171.73 [+0.30] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 172.05 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 172.20 [+0.15] TEST: Multipath route delete exact match [ OK ] # 172.35 [+0.15] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 172.66 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 172.82 [+0.16] TEST: Multipath route delete exact match [ OK ] # 175.42 [+2.60] # 175.42 [+0.00] IPv4 rp_filter tests # 186.32 [+10.90] TEST: rp_filter passes local packets [ OK ] # 186.59 [+0.27] TEST: rp_filter passes loopback packets [ OK ] # 187.88 [+1.30] # 187.88 [+0.00] IPv4 delete address route tests # 192.92 [+5.04] Regular FIB info # 193.18 [+0.26] TEST: Route removed from VRF when source address deleted [ OK ] # 193.31 [+0.13] TEST: Route in default VRF not removed [ OK ] # 193.87 [+0.56] TEST: Route removed in default VRF when source address deleted [ OK ] # 194.00 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 194.00 [+0.00] Identical FIB info with different table ID # 194.27 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 194.39 [+0.12] TEST: Route in default VRF not removed [ OK ] # 194.96 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 195.06 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 195.07 [+0.00] Table ID 0 # 195.35 [+0.28] TEST: Route removed in default VRF when source address deleted [ OK ] # 196.95 [+1.60] # 196.95 [+0.00] IPv6 delete address route tests # 205.46 [+8.51] Single device using src address # 205.74 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 205.74 [+0.00] Two devices with the same source address # 206.03 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 206.31 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 206.31 [+0.00] VRF with single device using src address # 206.58 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 206.58 [+0.00] VRF with two devices using src address # 206.86 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 207.13 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 207.14 [+0.00] src address and nexthop dev in same VRF # 207.44 [+0.31] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 207.58 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 208.14 [+0.56] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 208.27 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 208.27 [+0.00] src address and nexthop device in different VRF # 208.56 [+0.29] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 208.71 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 209.15 [+0.44] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 209.29 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 209.29 [+0.00] Table ID 0 # 209.54 [+0.26] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 209.55 [+0.00] Link local source route # 209.81 [+0.27] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 210.07 [+0.26] TEST: Prefsrc removed when delete ll addr [ OK ] # 210.22 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 210.64 [+0.42] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 213.11 [+2.47] # 213.11 [+0.00] IPv4 mangling tests # 224.60 [+11.49] TEST: Connection with correct parameters [ OK ] # 224.89 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 226.13 [+1.23] TEST: Connection with correct parameters - mangling [ OK ] # 227.26 [+1.13] TEST: Connection with correct parameters - no mangling [ OK ] # 227.37 [+0.11] TEST: Connection check - server side [ OK ] # 230.53 [+3.16] # 230.53 [+0.00] IPv6 mangling tests # 242.16 [+11.64] TEST: Connection with correct parameters [ OK ] # 242.50 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 243.63 [+1.13] TEST: Connection with correct parameters - mangling [ OK ] # 244.77 [+1.14] TEST: Connection with correct parameters - no mangling [ OK ] # 244.86 [+0.09] TEST: Connection check - server side [ OK ] # 248.04 [+3.18] # 248.04 [+0.00] IPv4 broadcast neighbour tests # 251.96 [+3.92] TEST: Resolved neighbour for broadcast address [ OK ] # 252.12 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 252.27 [+0.15] TEST: Unresolved neighbour for broadcast address [ OK ] # 252.42 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 255.79 [+3.37] # 255.79 [+0.00] Fib6 garbage collection test # 270.03 [+14.23] TEST: ipv6 route garbage collection [ OK ] # 284.57 [+14.55] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 299.14 [+14.56] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 313.83 [+14.69] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 328.97 [+15.14] TEST: ipv6 route garbage collection (RA message) [ OK ] # 330.22 [+1.25] # 330.22 [+0.00] IPv4 multipath list receive tests # 353.37 [+23.15] TEST: Multipath route hit ratio (1.00) [ OK ] # 356.12 [+2.75] # 356.12 [+0.00] IPv6 multipath list receive tests # 377.77 [+21.65] TEST: Multipath route hit ratio (1.00) [ OK ] # 380.53 [+2.76] # 380.53 [+0.00] Tests passed: 229 # 380.53 [+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__->