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 # 1.01 [+1.01] # 1.01 [+0.00] Single path route test # 2.88 [+1.87] Start point # 3.05 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.21 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.40 [+0.19] Nexthop device deleted # 3.56 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.72 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.68 [+0.96] # 4.68 [+0.00] Multipath route test # 7.90 [+3.22] Start point # 8.06 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.23 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.42 [+0.19] One nexthop device deleted # 8.59 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.75 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 8.96 [+0.21] Second nexthop device deleted # 9.11 [+0.15] TEST: IPv6 - no route [ OK ] # 10.07 [+0.96] # 10.07 [+0.00] Single path, admin down # 12.33 [+2.26] Start point # 12.49 [+0.16] TEST: IPv4 fibmatch [ OK ] # 12.65 [+0.16] TEST: IPv6 fibmatch [ OK ] # 12.81 [+0.16] Route deleted on down # 12.96 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.12 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.93 [+0.81] # 13.93 [+0.00] Admin down multipath # 17.29 [+3.36] Verify start point # 17.45 [+0.17] TEST: IPv4 fibmatch [ OK ] # 17.61 [+0.15] TEST: IPv6 fibmatch [ OK ] # 17.77 [+0.17] One device down, one up # 17.94 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 18.11 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.28 [+0.18] TEST: IPv4 fibmatch on up device [ OK ] # 18.43 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 18.58 [+0.15] TEST: IPv4 flags on down device [ OK ] # 18.72 [+0.14] TEST: IPv6 flags on down device [ OK ] # 18.87 [+0.15] TEST: IPv4 flags on up device [ OK ] # 19.02 [+0.15] TEST: IPv6 flags on up device [ OK ] # 19.33 [+0.31] Other device down and up # 19.49 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.65 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.82 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 19.99 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 20.11 [+0.13] TEST: IPv4 flags on down device [ OK ] # 20.24 [+0.13] TEST: IPv6 flags on down device [ OK ] # 20.38 [+0.14] TEST: IPv4 flags on up device [ OK ] # 20.52 [+0.15] TEST: IPv6 flags on up device [ OK ] # 20.68 [+0.15] Both devices down # 20.84 [+0.16] TEST: IPv4 fibmatch [ OK ] # 20.99 [+0.15] TEST: IPv6 fibmatch [ OK ] # 21.97 [+0.98] # 21.97 [+0.00] Local carrier tests - single path # 24.42 [+2.44] Start point # 24.59 [+0.17] TEST: IPv4 fibmatch [ OK ] # 24.75 [+0.16] TEST: IPv6 fibmatch [ OK ] # 24.92 [+0.16] TEST: IPv4 - no linkdown flag [ OK ] # 25.05 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 26.32 [+1.27] Carrier off on nexthop # 26.48 [+0.16] TEST: IPv4 fibmatch [ OK ] # 26.64 [+0.16] TEST: IPv6 fibmatch [ OK ] # 26.79 [+0.15] TEST: IPv4 - linkdown flag set [ OK ] # 26.91 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 27.23 [+0.31] Route to local address with carrier down # 27.38 [+0.15] TEST: IPv4 fibmatch [ OK ] # 27.55 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.69 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 27.81 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 28.60 [+0.79] # 28.61 [+0.00] Single path route carrier test # 31.06 [+2.46] Start point # 31.23 [+0.17] TEST: IPv4 fibmatch [ OK ] # 31.39 [+0.16] TEST: IPv6 fibmatch [ OK ] # 31.52 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 31.66 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 32.94 [+1.28] Carrier down # 33.10 [+0.16] TEST: IPv4 fibmatch [ OK ] # 33.26 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.41 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 33.57 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 33.91 [+0.34] Second address added with carrier down # 34.08 [+0.17] TEST: IPv4 fibmatch [ OK ] # 34.24 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.42 [+0.18] TEST: IPv4 linkdown flag set [ OK ] # 34.57 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 41.84 [+7.27] # 41.84 [+0.00] IPv4 nexthop tests # 41.84 [+0.00] <<< write me >>> # 42.19 [+0.34] # 42.19 [+0.00] IPv6 nexthop tests # 42.37 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 42.54 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 42.71 [+0.17] TEST: Gateway is linklocal address [ OK ] # 42.89 [+0.19] TEST: Gateway is linklocal address, no device [ OK ] # 43.07 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 43.24 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.40 [+0.16] TEST: Gateway can not be a local linklocal address [ OK ] # 43.58 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 43.76 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 43.94 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.11 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 44.28 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.44 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 44.63 [+0.18] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.18 [+1.55] # 46.18 [+0.00] FIB rule with suppress_prefixlength # 49.88 [+3.70] TEST: FIB rule suppress test [ OK ] # 53.10 [+3.22] # 53.10 [+0.00] Fib6 info length calculation in route notify test # 58.96 [+5.86] TEST: ipv6 route add notify [ OK ] # 62.06 [+3.10] # 62.06 [+0.00] Fib4 info length calculation in route notify test # 67.82 [+5.76] TEST: ipv4 route add notify [ OK ] # 76.42 [+8.60] # 76.42 [+0.00] IPv6 route add / append tests # 77.08 [+0.65] TEST: Attempt to add duplicate route - gw [ OK ] # 77.74 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 78.40 [+0.66] TEST: Attempt to add duplicate route - reject route [ OK ] # 79.22 [+0.83] TEST: Append nexthop to existing route - gw [ OK ] # 79.91 [+0.69] TEST: Add multipath route [ OK ] # 80.59 [+0.68] TEST: Attempt to add duplicate multipath route [ OK ] # 81.41 [+0.82] TEST: Route add with different metrics [ OK ] # 81.76 [+0.35] TEST: Route delete with metric [ OK ] # 81.76 [+0.00] # 81.76 [+0.00] IPv6 route replace tests # 82.58 [+0.81] TEST: Single path with single path [ OK ] # 83.40 [+0.82] TEST: Single path with multipath [ OK ] # 84.25 [+0.85] TEST: Single path with single path via multipath attribute [ OK ] # 85.10 [+0.86] TEST: Invalid nexthop [ OK ] # 85.80 [+0.70] TEST: Single path - replace of non-existent route [ OK ] # 86.66 [+0.86] TEST: Multipath with multipath [ OK ] # 87.52 [+0.86] TEST: Multipath with single path [ OK ] # 88.33 [+0.80] TEST: Multipath with single path via multipath attribute [ OK ] # 89.14 [+0.82] TEST: Multipath with dev-only [ OK ] # 89.98 [+0.84] TEST: Multipath - invalid first nexthop [ OK ] # 90.84 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 91.53 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 91.53 [+0.00] # 91.53 [+0.00] IPv6 route with dsfield tests # 91.87 [+0.34] TEST: Reject route with dsfield [ OK ] # 103.86 [+11.99] # 103.86 [+0.00] IPv4 route add / append tests # 104.54 [+0.68] TEST: Attempt to add duplicate route - gw [ OK ] # 105.22 [+0.68] TEST: Attempt to add duplicate route - dev only [ OK ] # 105.92 [+0.70] TEST: Attempt to add duplicate route - reject route [ OK ] # 106.81 [+0.89] TEST: Add new nexthop for existing prefix [ OK ] # 107.67 [+0.86] TEST: Append nexthop to existing route - gw [ OK ] # 108.56 [+0.89] TEST: Append nexthop to existing route - dev only [ OK ] # 109.43 [+0.87] TEST: Append nexthop to existing route - reject route [ OK ] # 110.14 [+0.71] TEST: Append nexthop to existing reject route - gw [ OK ] # 110.83 [+0.69] TEST: Append nexthop to existing reject route - dev only [ OK ] # 111.56 [+0.74] TEST: add multipath route [ OK ] # 112.25 [+0.69] TEST: Attempt to add duplicate multipath route [ OK ] # 113.09 [+0.84] TEST: Route add with different metrics [ OK ] # 113.45 [+0.36] TEST: Route delete with metric [ OK ] # 113.45 [+0.00] # 113.45 [+0.00] IPv4 route replace tests # 114.32 [+0.87] TEST: Single path with single path [ OK ] # 115.16 [+0.84] TEST: Single path with multipath [ OK ] # 116.01 [+0.85] TEST: Single path with reject route [ OK ] # 116.87 [+0.86] TEST: Single path with single path via multipath attribute [ OK ] # 117.73 [+0.86] TEST: Invalid nexthop [ OK ] # 118.48 [+0.75] TEST: Single path - replace of non-existent route [ OK ] # 119.37 [+0.90] TEST: Multipath with multipath [ OK ] # 120.26 [+0.88] TEST: Multipath with single path [ OK ] # 121.14 [+0.89] TEST: Multipath with single path via multipath attribute [ OK ] # 122.01 [+0.87] TEST: Multipath with reject route [ OK ] # 122.88 [+0.87] TEST: Multipath - invalid first nexthop [ OK ] # 123.75 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 124.43 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 126.99 [+2.56] TEST: Cached route removed from VRF port device [ OK ] # 126.99 [+0.00] # 126.99 [+0.00] IPv4 route with dsfield tests # 127.34 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 127.52 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 127.71 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 128.21 [+0.50] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 128.34 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 128.50 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 128.63 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 128.78 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 128.93 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 129.08 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 129.24 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 129.42 [+0.18] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 129.57 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 129.71 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 129.86 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 132.77 [+2.91] # 132.77 [+0.00] IPv6 prefix route tests # 136.35 [+3.58] TEST: Default metric [ OK ] # 136.85 [+0.49] TEST: User specified metric on first device [ OK ] # 137.35 [+0.50] TEST: User specified metric on second device [ OK ] # 137.72 [+0.37] TEST: Delete of address on first device [ OK ] # 138.05 [+0.33] TEST: Modify metric of address [ OK ] # 138.67 [+0.62] TEST: Prefix route removed on link down [ OK ] # 139.01 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 139.50 [+0.50] TEST: Set metric with peer route on local side [ OK ] # 139.67 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 139.98 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 140.17 [+0.18] TEST: Modify metric and peer address on peer side [ OK ] # 142.03 [+1.86] # 142.03 [+0.00] IPv4 prefix route tests # 145.56 [+3.53] TEST: Default metric [ OK ] # 146.07 [+0.51] TEST: User specified metric on first device [ OK ] # 146.57 [+0.50] TEST: User specified metric on second device [ OK ] # 146.94 [+0.37] TEST: Delete of address on first device [ OK ] # 147.27 [+0.33] TEST: Modify metric of address [ OK ] # 147.61 [+0.35] TEST: Prefix route removed on link down [ OK ] # 147.95 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 148.63 [+0.68] TEST: Modify metric of .0/24 address [ OK ] # 149.15 [+0.52] TEST: Set metric of address with peer route [ OK ] # 149.50 [+0.35] TEST: Modify metric and peer address for peer route [ OK ] # 151.31 [+1.81] # 151.31 [+0.00] IPv6 routes with metrics # 160.81 [+9.50] TEST: Single path route with mtu metric [ OK ] # 161.32 [+0.52] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 161.83 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 162.17 [+0.34] TEST: MTU of second leg [ OK ] # 162.50 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 162.97 [+0.46] TEST: Using route with mtu metric [ OK ] # 163.25 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 166.09 [+2.84] # 166.09 [+0.00] IPv4 route add / append tests # 175.39 [+9.29] TEST: Single path route with mtu metric [ OK ] # 175.76 [+0.37] TEST: Multipath route with mtu metric [ OK ] # 176.25 [+0.49] TEST: Using route with mtu metric [ OK ] # 176.56 [+0.32] TEST: Invalid metric (fails metric_convert) [ OK ] # 179.72 [+3.15] # 179.72 [+0.00] IPv4 route with IPv6 gateway tests # 191.18 [+11.46] TEST: Single path route with IPv6 gateway [ OK ] # 191.72 [+0.54] TEST: Single path route with IPv6 gateway - ping [ OK ] # 191.89 [+0.17] TEST: Single path route delete [ OK ] # 192.26 [+0.37] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 192.65 [+0.39] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 192.84 [+0.19] TEST: Multipath route delete exact match [ OK ] # 193.02 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 193.44 [+0.42] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 193.63 [+0.18] TEST: Multipath route delete exact match [ OK ] # 196.59 [+2.97] # 196.60 [+0.00] IPv4 rp_filter tests # 209.25 [+12.65] TEST: rp_filter passes local packets [ OK ] # 209.55 [+0.30] TEST: rp_filter passes loopback packets [ OK ] # 210.93 [+1.38] # 210.93 [+0.00] IPv4 delete address route tests # 216.62 [+5.69] Regular FIB info # 216.91 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 217.04 [+0.13] TEST: Route in default VRF not removed [ OK ] # 217.68 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 217.85 [+0.16] TEST: Route in VRF is not removed by address delete [ OK ] # 217.85 [+0.00] Identical FIB info with different table ID # 218.15 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 218.30 [+0.14] TEST: Route in default VRF not removed [ OK ] # 218.97 [+0.68] TEST: Route removed in default VRF when source address deleted [ OK ] # 219.10 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 219.10 [+0.00] Table ID 0 # 219.39 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 221.18 [+1.79] # 221.18 [+0.00] IPv6 delete address route tests # 230.99 [+9.81] Single device using src address # 231.31 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 231.32 [+0.00] Two devices with the same source address # 231.66 [+0.34] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 232.00 [+0.34] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 232.00 [+0.00] VRF with single device using src address # 232.31 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 232.31 [+0.00] VRF with two devices using src address # 232.68 [+0.37] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 232.99 [+0.32] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 233.00 [+0.00] src address and nexthop dev in same VRF # 233.28 [+0.29] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 233.43 [+0.15] TEST: Prefsrc in default VRF not removed [ OK ] # 234.09 [+0.65] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 234.27 [+0.18] TEST: Prefsrc in default VRF removed [ OK ] # 234.27 [+0.00] src address and nexthop device in different VRF # 234.58 [+0.31] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 234.74 [+0.16] TEST: Prefsrc not removed in default VRF [ OK ] # 235.26 [+0.52] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 235.45 [+0.19] TEST: Prefsrc removed in default VRF [ OK ] # 235.45 [+0.00] Table ID 0 # 235.78 [+0.33] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 235.79 [+0.00] Link local source route # 236.13 [+0.34] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 236.51 [+0.38] TEST: Prefsrc removed when delete ll addr [ OK ] # 236.67 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 237.26 [+0.59] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 240.41 [+3.15] # 240.41 [+0.00] IPv4 mangling tests # 254.91 [+14.50] TEST: Connection with correct parameters [ OK ] # 255.32 [+0.41] TEST: Connection with incorrect parameters [ OK ] # 256.78 [+1.46] TEST: Connection with correct parameters - mangling [ OK ] # 258.15 [+1.36] TEST: Connection with correct parameters - no mangling [ OK ] # 258.29 [+0.15] TEST: Connection check - server side [ OK ] # 262.40 [+4.11] # 262.40 [+0.00] IPv6 mangling tests # 275.38 [+12.98] TEST: Connection with correct parameters [ OK ] # 275.74 [+0.36] TEST: Connection with incorrect parameters [ OK ] # 276.94 [+1.19] TEST: Connection with correct parameters - mangling [ OK ] # 278.17 [+1.23] TEST: Connection with correct parameters - no mangling [ OK ] # 278.28 [+0.11] TEST: Connection check - server side [ OK ] # 281.78 [+3.50] # 281.78 [+0.00] IPv4 broadcast neighbour tests # 286.11 [+4.32] TEST: Resolved neighbour for broadcast address [ OK ] # 286.26 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 286.44 [+0.18] TEST: Unresolved neighbour for broadcast address [ OK ] # 286.61 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 290.37 [+3.76] # 290.37 [+0.00] Fib6 garbage collection test # 304.88 [+14.51] TEST: ipv6 route garbage collection [ OK ] # 319.60 [+14.71] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 334.25 [+14.65] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 349.11 [+14.86] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 364.41 [+15.30] TEST: ipv6 route garbage collection (RA message) [ OK ] # 365.74 [+1.33] # 365.74 [+0.00] IPv4 multipath list receive tests # 389.56 [+23.82] TEST: Multipath route hit ratio (1.00) [ OK ] # 392.57 [+3.00] # 392.57 [+0.00] IPv6 multipath list receive tests # 415.20 [+22.64] TEST: Multipath route hit ratio (1.00) [ OK ] # 418.21 [+3.00] # 418.21 [+0.00] Tests passed: 229 # 418.21 [+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__->