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.68 [+0.68] # 0.68 [+0.00] Single path route test # 2.40 [+1.72] Start point # 2.54 [+0.14] TEST: IPv4 fibmatch [ OK ] # 2.68 [+0.14] TEST: IPv6 fibmatch [ OK ] # 2.86 [+0.18] Nexthop device deleted # 3.02 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.17 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.08 [+0.91] # 4.08 [+0.00] Multipath route test # 7.07 [+2.99] Start point # 7.21 [+0.15] TEST: IPv4 fibmatch [ OK ] # 7.36 [+0.14] TEST: IPv6 fibmatch [ OK ] # 7.55 [+0.19] One nexthop device deleted # 7.69 [+0.14] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.84 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 8.03 [+0.19] Second nexthop device deleted # 8.17 [+0.14] TEST: IPv6 - no route [ OK ] # 9.12 [+0.95] # 9.12 [+0.00] Single path, admin down # 11.19 [+2.07] Start point # 11.34 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.48 [+0.14] TEST: IPv6 fibmatch [ OK ] # 11.62 [+0.14] Route deleted on down # 11.77 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.92 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.62 [+0.70] # 12.62 [+0.00] Admin down multipath # 15.58 [+2.96] Verify start point # 15.72 [+0.14] TEST: IPv4 fibmatch [ OK ] # 15.87 [+0.15] TEST: IPv6 fibmatch [ OK ] # 16.01 [+0.14] One device down, one up # 16.15 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 16.30 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 16.44 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 16.59 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 16.71 [+0.12] TEST: IPv4 flags on down device [ OK ] # 16.82 [+0.11] TEST: IPv6 flags on down device [ OK ] # 16.95 [+0.13] TEST: IPv4 flags on up device [ OK ] # 17.06 [+0.11] TEST: IPv6 flags on up device [ OK ] # 17.35 [+0.29] Other device down and up # 17.49 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 17.63 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 17.78 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 17.93 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 18.05 [+0.12] TEST: IPv4 flags on down device [ OK ] # 18.16 [+0.11] TEST: IPv6 flags on down device [ OK ] # 18.27 [+0.11] TEST: IPv4 flags on up device [ OK ] # 18.38 [+0.11] TEST: IPv6 flags on up device [ OK ] # 18.52 [+0.14] Both devices down # 18.68 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.82 [+0.14] TEST: IPv6 fibmatch [ OK ] # 19.73 [+0.91] # 19.73 [+0.00] Local carrier tests - single path # 21.96 [+2.23] Start point # 22.10 [+0.14] TEST: IPv4 fibmatch [ OK ] # 22.24 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.38 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 22.51 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 23.76 [+1.25] Carrier off on nexthop # 23.90 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.07 [+0.17] TEST: IPv6 fibmatch [ OK ] # 24.19 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 24.31 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 24.60 [+0.28] Route to local address with carrier down # 24.74 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.90 [+0.16] TEST: IPv6 fibmatch [ OK ] # 25.03 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 25.17 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 25.88 [+0.71] # 25.88 [+0.00] Single path route carrier test # 28.07 [+2.20] Start point # 28.21 [+0.14] TEST: IPv4 fibmatch [ OK ] # 28.36 [+0.15] TEST: IPv6 fibmatch [ OK ] # 28.47 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 28.61 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 29.85 [+1.24] Carrier down # 29.99 [+0.14] TEST: IPv4 fibmatch [ OK ] # 30.14 [+0.15] TEST: IPv6 fibmatch [ OK ] # 30.26 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 30.40 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 30.68 [+0.29] Second address added with carrier down # 30.83 [+0.15] TEST: IPv4 fibmatch [ OK ] # 30.98 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.11 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 31.22 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 37.91 [+6.68] # 37.91 [+0.00] IPv4 nexthop tests # 37.91 [+0.00] <<< write me >>> # 38.22 [+0.31] # 38.22 [+0.00] IPv6 nexthop tests # 38.37 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 38.53 [+0.15] TEST: Directly connected nexthop, unicast address with device [ OK ] # 38.68 [+0.16] TEST: Gateway is linklocal address [ OK ] # 38.85 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 39.01 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 39.17 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 39.32 [+0.15] TEST: Gateway can not be a local linklocal address [ OK ] # 39.49 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 39.64 [+0.15] TEST: Gateway can be local address in a VRF, with device [ OK ] # 39.80 [+0.16] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 39.95 [+0.15] TEST: Redirect to VRF lookup [ OK ] # 40.10 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 40.25 [+0.15] TEST: VRF route, gateway can not be a local address [ OK ] # 40.40 [+0.15] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 41.82 [+1.41] # 41.82 [+0.00] FIB rule with suppress_prefixlength # 44.94 [+3.12] TEST: FIB rule suppress test [ OK ] # 47.72 [+2.78] # 47.72 [+0.00] Fib6 info length calculation in route notify test # 53.14 [+5.42] TEST: ipv6 route add notify [ OK ] # 56.03 [+2.89] # 56.03 [+0.00] Fib4 info length calculation in route notify test # 61.46 [+5.43] TEST: ipv4 route add notify [ OK ] # 69.20 [+7.74] # 69.20 [+0.00] IPv6 route add / append tests # 69.80 [+0.60] TEST: Attempt to add duplicate route - gw [ OK ] # 70.40 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.01 [+0.60] TEST: Attempt to add duplicate route - reject route [ OK ] # 71.74 [+0.74] TEST: Append nexthop to existing route - gw [ OK ] # 72.35 [+0.61] TEST: Add multipath route [ OK ] # 72.95 [+0.59] TEST: Attempt to add duplicate multipath route [ OK ] # 73.69 [+0.75] TEST: Route add with different metrics [ OK ] # 74.03 [+0.33] TEST: Route delete with metric [ OK ] # 74.03 [+0.00] # 74.03 [+0.00] IPv6 route replace tests # 74.81 [+0.78] TEST: Single path with single path [ OK ] # 75.54 [+0.73] TEST: Single path with multipath [ OK ] # 76.31 [+0.77] TEST: Single path with single path via multipath attribute [ OK ] # 77.05 [+0.74] TEST: Invalid nexthop [ OK ] # 77.65 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 78.37 [+0.72] TEST: Multipath with multipath [ OK ] # 79.11 [+0.74] TEST: Multipath with single path [ OK ] # 79.84 [+0.73] TEST: Multipath with single path via multipath attribute [ OK ] # 80.59 [+0.74] TEST: Multipath with dev-only [ OK ] # 81.33 [+0.75] TEST: Multipath - invalid first nexthop [ OK ] # 82.12 [+0.78] TEST: Multipath - invalid second nexthop [ OK ] # 82.71 [+0.59] TEST: Multipath - replace of non-existent route [ OK ] # 82.71 [+0.00] # 82.71 [+0.00] IPv6 route with dsfield tests # 83.02 [+0.31] TEST: Reject route with dsfield [ OK ] # 93.49 [+10.47] # 93.49 [+0.00] IPv4 route add / append tests # 94.08 [+0.59] TEST: Attempt to add duplicate route - gw [ OK ] # 94.69 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 95.30 [+0.61] TEST: Attempt to add duplicate route - reject route [ OK ] # 96.06 [+0.76] TEST: Add new nexthop for existing prefix [ OK ] # 96.81 [+0.75] TEST: Append nexthop to existing route - gw [ OK ] # 97.56 [+0.75] TEST: Append nexthop to existing route - dev only [ OK ] # 98.31 [+0.75] TEST: Append nexthop to existing route - reject route [ OK ] # 98.91 [+0.60] TEST: Append nexthop to existing reject route - gw [ OK ] # 99.52 [+0.60] TEST: Append nexthop to existing reject route - dev only [ OK ] # 100.13 [+0.61] TEST: add multipath route [ OK ] # 100.74 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 101.49 [+0.75] TEST: Route add with different metrics [ OK ] # 101.81 [+0.32] TEST: Route delete with metric [ OK ] # 101.81 [+0.00] # 101.81 [+0.00] IPv4 route replace tests # 102.56 [+0.74] TEST: Single path with single path [ OK ] # 103.32 [+0.77] TEST: Single path with multipath [ OK ] # 104.09 [+0.77] TEST: Single path with reject route [ OK ] # 104.86 [+0.77] TEST: Single path with single path via multipath attribute [ OK ] # 105.62 [+0.76] TEST: Invalid nexthop [ OK ] # 106.23 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 107.01 [+0.77] TEST: Multipath with multipath [ OK ] # 107.76 [+0.75] TEST: Multipath with single path [ OK ] # 108.48 [+0.72] TEST: Multipath with single path via multipath attribute [ OK ] # 109.25 [+0.76] TEST: Multipath with reject route [ OK ] # 110.02 [+0.77] TEST: Multipath - invalid first nexthop [ OK ] # 110.78 [+0.77] TEST: Multipath - invalid second nexthop [ OK ] # 111.40 [+0.62] TEST: Multipath - replace of non-existent route [ OK ] # 113.68 [+2.27] TEST: Cached route removed from VRF port device [ OK ] # 113.68 [+0.00] # 113.68 [+0.00] IPv4 route with dsfield tests # 113.98 [+0.30] TEST: Reject route with dsfield 0x01 [ OK ] # 114.15 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 114.30 [+0.15] TEST: Reject route with dsfield 0x03 [ OK ] # 114.74 [+0.44] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 114.86 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 114.99 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 115.11 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 115.22 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 115.35 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 115.49 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 115.63 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 115.75 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 115.87 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 115.99 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 116.14 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 118.78 [+2.64] # 118.78 [+0.00] IPv6 prefix route tests # 122.17 [+3.39] TEST: Default metric [ OK ] # 122.63 [+0.47] TEST: User specified metric on first device [ OK ] # 123.09 [+0.46] TEST: User specified metric on second device [ OK ] # 123.44 [+0.35] TEST: Delete of address on first device [ OK ] # 123.72 [+0.28] TEST: Modify metric of address [ OK ] # 124.26 [+0.53] TEST: Prefix route removed on link down [ OK ] # 124.56 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 125.01 [+0.45] TEST: Set metric with peer route on local side [ OK ] # 125.15 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 125.44 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 125.56 [+0.12] TEST: Modify metric and peer address on peer side [ OK ] # 127.19 [+1.62] # 127.19 [+0.00] IPv4 prefix route tests # 130.43 [+3.25] TEST: Default metric [ OK ] # 130.89 [+0.46] TEST: User specified metric on first device [ OK ] # 131.37 [+0.47] TEST: User specified metric on second device [ OK ] # 131.69 [+0.32] TEST: Delete of address on first device [ OK ] # 131.99 [+0.30] TEST: Modify metric of address [ OK ] # 132.29 [+0.30] TEST: Prefix route removed on link down [ OK ] # 132.60 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 133.21 [+0.62] TEST: Modify metric of .0/24 address [ OK ] # 133.67 [+0.46] TEST: Set metric of address with peer route [ OK ] # 133.99 [+0.32] TEST: Modify metric and peer address for peer route [ OK ] # 135.60 [+1.61] # 135.60 [+0.00] IPv6 routes with metrics # 143.64 [+8.04] TEST: Single path route with mtu metric [ OK ] # 144.10 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 144.55 [+0.45] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 144.83 [+0.28] TEST: MTU of second leg [ OK ] # 145.14 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 145.53 [+0.39] TEST: Using route with mtu metric [ OK ] # 145.80 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 148.33 [+2.54] # 148.33 [+0.00] IPv4 route add / append tests # 156.37 [+8.04] TEST: Single path route with mtu metric [ OK ] # 156.69 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 157.09 [+0.40] TEST: Using route with mtu metric [ OK ] # 157.37 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 159.95 [+2.58] # 159.95 [+0.00] IPv4 route with IPv6 gateway tests # 170.06 [+10.12] TEST: Single path route with IPv6 gateway [ OK ] # 170.48 [+0.42] TEST: Single path route with IPv6 gateway - ping [ OK ] # 170.65 [+0.17] TEST: Single path route delete [ OK ] # 170.96 [+0.31] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 171.27 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 171.42 [+0.15] TEST: Multipath route delete exact match [ OK ] # 171.57 [+0.15] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 171.89 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 172.04 [+0.15] TEST: Multipath route delete exact match [ OK ] # 174.63 [+2.59] # 174.63 [+0.00] IPv4 rp_filter tests # 185.37 [+10.73] TEST: rp_filter passes local packets [ OK ] # 185.63 [+0.26] TEST: rp_filter passes loopback packets [ OK ] # 186.91 [+1.28] # 186.91 [+0.00] IPv4 delete address route tests # 192.06 [+5.15] Regular FIB info # 192.34 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 192.47 [+0.12] TEST: Route in default VRF not removed [ OK ] # 193.02 [+0.56] TEST: Route removed in default VRF when source address deleted [ OK ] # 193.15 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 193.16 [+0.00] Identical FIB info with different table ID # 193.42 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 193.55 [+0.13] TEST: Route in default VRF not removed [ OK ] # 194.11 [+0.56] TEST: Route removed in default VRF when source address deleted [ OK ] # 194.23 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 194.24 [+0.00] Table ID 0 # 194.52 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 196.14 [+1.62] # 196.14 [+0.00] IPv6 delete address route tests # 204.70 [+8.55] Single device using src address # 204.97 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 204.97 [+0.00] Two devices with the same source address # 205.25 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 205.51 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 205.51 [+0.00] VRF with single device using src address # 205.79 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 205.79 [+0.00] VRF with two devices using src address # 206.08 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 206.36 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 206.37 [+0.00] src address and nexthop dev in same VRF # 206.69 [+0.32] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 206.82 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 207.37 [+0.55] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 207.51 [+0.15] TEST: Prefsrc in default VRF removed [ OK ] # 207.51 [+0.00] src address and nexthop device in different VRF # 207.79 [+0.28] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 207.92 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 208.35 [+0.43] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 208.46 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 208.47 [+0.00] Table ID 0 # 208.72 [+0.26] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 208.73 [+0.00] Link local source route # 208.99 [+0.26] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 209.26 [+0.26] TEST: Prefsrc removed when delete ll addr [ OK ] # 209.38 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 209.80 [+0.42] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 212.29 [+2.49] # 212.29 [+0.00] IPv4 mangling tests # 223.70 [+11.40] TEST: Connection with correct parameters [ OK ] # 223.99 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 225.22 [+1.23] TEST: Connection with correct parameters - mangling [ OK ] # 226.32 [+1.10] TEST: Connection with correct parameters - no mangling [ OK ] # 226.42 [+0.09] TEST: Connection check - server side [ OK ] # 229.55 [+3.13] # 229.55 [+0.00] IPv6 mangling tests # 240.87 [+11.32] TEST: Connection with correct parameters [ OK ] # 241.19 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 242.31 [+1.12] TEST: Connection with correct parameters - mangling [ OK ] # 243.43 [+1.13] TEST: Connection with correct parameters - no mangling [ OK ] # 243.54 [+0.11] TEST: Connection check - server side [ OK ] # 246.59 [+3.05] # 246.59 [+0.00] IPv4 broadcast neighbour tests # 250.39 [+3.80] TEST: Resolved neighbour for broadcast address [ OK ] # 250.54 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 250.68 [+0.14] TEST: Unresolved neighbour for broadcast address [ OK ] # 250.83 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 254.17 [+3.34] # 254.17 [+0.00] Fib6 garbage collection test # 268.30 [+14.12] TEST: ipv6 route garbage collection [ OK ] # 282.74 [+14.44] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 297.26 [+14.52] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 311.93 [+14.67] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 327.18 [+15.26] TEST: ipv6 route garbage collection (RA message) [ OK ] # 328.44 [+1.26] # 328.44 [+0.00] IPv4 multipath list receive tests # 351.22 [+22.78] TEST: Multipath route hit ratio (1.00) [ OK ] # 354.10 [+2.88] # 354.10 [+0.00] IPv6 multipath list receive tests # 375.33 [+21.23] TEST: Multipath route hit ratio (1.00) [ OK ] # 378.03 [+2.70] # 378.03 [+0.00] Tests passed: 229 # 378.03 [+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__->