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.04 [+1.04] # 1.04 [+0.00] Single path route test # 2.92 [+1.88] Start point # 3.08 [+0.15] TEST: IPv4 fibmatch [ OK ] # 3.24 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.44 [+0.20] Nexthop device deleted # 3.61 [+0.17] TEST: IPv4 fibmatch - no route [ OK ] # 3.76 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.76 [+1.00] # 4.76 [+0.00] Multipath route test # 8.31 [+3.55] Start point # 8.48 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.64 [+0.17] TEST: IPv6 fibmatch [ OK ] # 8.84 [+0.20] One nexthop device deleted # 9.00 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.17 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 9.35 [+0.19] Second nexthop device deleted # 9.51 [+0.15] TEST: IPv6 - no route [ OK ] # 10.49 [+0.98] # 10.49 [+0.00] Single path, admin down # 13.02 [+2.53] Start point # 13.18 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.35 [+0.17] TEST: IPv6 fibmatch [ OK ] # 13.50 [+0.16] Route deleted on down # 13.66 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.81 [+0.15] TEST: IPv6 fibmatch [ OK ] # 14.65 [+0.84] # 14.65 [+0.00] Admin down multipath # 18.11 [+3.46] Verify start point # 18.29 [+0.18] TEST: IPv4 fibmatch [ OK ] # 18.45 [+0.16] TEST: IPv6 fibmatch [ OK ] # 18.63 [+0.18] One device down, one up # 18.79 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.95 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.12 [+0.18] TEST: IPv4 fibmatch on up device [ OK ] # 19.29 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 19.44 [+0.15] TEST: IPv4 flags on down device [ OK ] # 19.56 [+0.12] TEST: IPv6 flags on down device [ OK ] # 19.69 [+0.13] TEST: IPv4 flags on up device [ OK ] # 19.84 [+0.15] TEST: IPv6 flags on up device [ OK ] # 20.16 [+0.32] Other device down and up # 20.36 [+0.20] TEST: IPv4 fibmatch on down device [ OK ] # 20.52 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 20.71 [+0.19] TEST: IPv4 fibmatch on up device [ OK ] # 20.89 [+0.18] TEST: IPv6 fibmatch on up device [ OK ] # 21.05 [+0.15] TEST: IPv4 flags on down device [ OK ] # 21.17 [+0.13] TEST: IPv6 flags on down device [ OK ] # 21.29 [+0.12] TEST: IPv4 flags on up device [ OK ] # 21.43 [+0.14] TEST: IPv6 flags on up device [ OK ] # 21.62 [+0.18] Both devices down # 21.79 [+0.17] TEST: IPv4 fibmatch [ OK ] # 21.96 [+0.17] TEST: IPv6 fibmatch [ OK ] # 22.95 [+0.99] # 22.95 [+0.00] Local carrier tests - single path # 25.61 [+2.66] Start point # 25.78 [+0.17] TEST: IPv4 fibmatch [ OK ] # 25.95 [+0.17] TEST: IPv6 fibmatch [ OK ] # 26.09 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 26.23 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 27.52 [+1.29] Carrier off on nexthop # 27.68 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.85 [+0.18] TEST: IPv6 fibmatch [ OK ] # 27.99 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 28.16 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 28.49 [+0.33] Route to local address with carrier down # 28.69 [+0.20] TEST: IPv4 fibmatch [ OK ] # 28.90 [+0.21] TEST: IPv6 fibmatch [ OK ] # 29.04 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 29.18 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 30.06 [+0.87] # 30.06 [+0.00] Single path route carrier test # 32.61 [+2.55] Start point # 32.77 [+0.16] TEST: IPv4 fibmatch [ OK ] # 32.94 [+0.17] TEST: IPv6 fibmatch [ OK ] # 33.09 [+0.16] TEST: IPv4 no linkdown flag [ OK ] # 33.23 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 34.50 [+1.28] Carrier down # 34.66 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.82 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.95 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 35.10 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 35.42 [+0.32] Second address added with carrier down # 35.57 [+0.15] TEST: IPv4 fibmatch [ OK ] # 35.74 [+0.17] TEST: IPv6 fibmatch [ OK ] # 35.87 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 36.02 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 43.38 [+7.36] # 43.38 [+0.00] IPv4 nexthop tests # 43.38 [+0.00] <<< write me >>> # 43.74 [+0.36] # 43.74 [+0.00] IPv6 nexthop tests # 43.90 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 44.07 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.24 [+0.17] TEST: Gateway is linklocal address [ OK ] # 44.41 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 44.61 [+0.19] TEST: Gateway can not be local unicast address [ OK ] # 44.79 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 44.96 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 45.15 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 45.32 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 45.53 [+0.21] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 45.71 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 45.88 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 46.06 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 46.24 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 47.81 [+1.57] # 47.81 [+0.00] FIB rule with suppress_prefixlength # 51.34 [+3.53] TEST: FIB rule suppress test [ OK ] # 54.61 [+3.27] # 54.61 [+0.00] Fib6 info length calculation in route notify test # 60.45 [+5.84] TEST: ipv6 route add notify [ OK ] # 63.71 [+3.26] # 63.71 [+0.00] Fib4 info length calculation in route notify test # 69.65 [+5.94] TEST: ipv4 route add notify [ OK ] # 79.05 [+9.40] # 79.05 [+0.00] IPv6 route add / append tests # 79.79 [+0.75] TEST: Attempt to add duplicate route - gw [ OK ] # 80.52 [+0.73] TEST: Attempt to add duplicate route - dev only [ OK ] # 81.26 [+0.73] TEST: Attempt to add duplicate route - reject route [ OK ] # 82.15 [+0.90] TEST: Append nexthop to existing route - gw [ OK ] # 82.87 [+0.72] TEST: Add multipath route [ OK ] # 83.57 [+0.70] TEST: Attempt to add duplicate multipath route [ OK ] # 84.50 [+0.94] TEST: Route add with different metrics [ OK ] # 84.85 [+0.35] TEST: Route delete with metric [ OK ] # 84.86 [+0.00] # 84.86 [+0.00] IPv6 route replace tests # 85.72 [+0.86] TEST: Single path with single path [ OK ] # 86.59 [+0.87] TEST: Single path with multipath [ OK ] # 87.50 [+0.91] TEST: Single path with single path via multipath attribute [ OK ] # 88.35 [+0.86] TEST: Invalid nexthop [ OK ] # 89.04 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 89.87 [+0.84] TEST: Multipath with multipath [ OK ] # 90.69 [+0.82] TEST: Multipath with single path [ OK ] # 91.56 [+0.87] TEST: Multipath with single path via multipath attribute [ OK ] # 92.53 [+0.97] TEST: Multipath with dev-only [ OK ] # 93.34 [+0.81] TEST: Multipath - invalid first nexthop [ OK ] # 94.20 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 94.97 [+0.77] TEST: Multipath - replace of non-existent route [ OK ] # 94.97 [+0.00] # 94.97 [+0.00] IPv6 route with dsfield tests # 95.43 [+0.46] TEST: Reject route with dsfield [ OK ] # 107.93 [+12.49] # 107.93 [+0.00] IPv4 route add / append tests # 108.69 [+0.76] TEST: Attempt to add duplicate route - gw [ OK ] # 109.50 [+0.80] TEST: Attempt to add duplicate route - dev only [ OK ] # 110.20 [+0.70] TEST: Attempt to add duplicate route - reject route [ OK ] # 111.05 [+0.85] TEST: Add new nexthop for existing prefix [ OK ] # 112.00 [+0.95] TEST: Append nexthop to existing route - gw [ OK ] # 112.96 [+0.96] TEST: Append nexthop to existing route - dev only [ OK ] # 113.85 [+0.89] TEST: Append nexthop to existing route - reject route [ OK ] # 114.52 [+0.68] TEST: Append nexthop to existing reject route - gw [ OK ] # 115.23 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 115.93 [+0.70] TEST: add multipath route [ OK ] # 116.66 [+0.73] TEST: Attempt to add duplicate multipath route [ OK ] # 117.58 [+0.92] TEST: Route add with different metrics [ OK ] # 117.94 [+0.36] TEST: Route delete with metric [ OK ] # 117.94 [+0.01] # 117.94 [+0.00] IPv4 route replace tests # 118.80 [+0.86] TEST: Single path with single path [ OK ] # 119.66 [+0.86] TEST: Single path with multipath [ OK ] # 120.65 [+0.99] TEST: Single path with reject route [ OK ] # 121.52 [+0.87] TEST: Single path with single path via multipath attribute [ OK ] # 122.37 [+0.85] TEST: Invalid nexthop [ OK ] # 123.14 [+0.76] TEST: Single path - replace of non-existent route [ OK ] # 124.17 [+1.03] TEST: Multipath with multipath [ OK ] # 125.07 [+0.90] TEST: Multipath with single path [ OK ] # 125.99 [+0.92] TEST: Multipath with single path via multipath attribute [ OK ] # 126.89 [+0.90] TEST: Multipath with reject route [ OK ] # 127.84 [+0.95] TEST: Multipath - invalid first nexthop [ OK ] # 128.71 [+0.87] TEST: Multipath - invalid second nexthop [ OK ] # 129.40 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 132.04 [+2.64] TEST: Cached route removed from VRF port device [ OK ] # 132.04 [+0.00] # 132.04 [+0.00] IPv4 route with dsfield tests # 132.41 [+0.37] TEST: Reject route with dsfield 0x01 [ OK ] # 132.58 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 132.77 [+0.19] TEST: Reject route with dsfield 0x03 [ OK ] # 133.32 [+0.55] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 133.47 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 133.61 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 133.79 [+0.19] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 133.94 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 134.10 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 134.27 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 134.43 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 134.60 [+0.18] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 134.75 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 134.92 [+0.17] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 135.08 [+0.16] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 138.07 [+2.99] # 138.07 [+0.00] IPv6 prefix route tests # 142.04 [+3.96] TEST: Default metric [ OK ] # 142.56 [+0.52] TEST: User specified metric on first device [ OK ] # 143.06 [+0.51] TEST: User specified metric on second device [ OK ] # 143.41 [+0.34] TEST: Delete of address on first device [ OK ] # 143.80 [+0.39] TEST: Modify metric of address [ OK ] # 144.54 [+0.74] TEST: Prefix route removed on link down [ OK ] # 144.89 [+0.36] TEST: Prefix route with metric on link up [ OK ] # 145.43 [+0.54] TEST: Set metric with peer route on local side [ OK ] # 145.61 [+0.18] TEST: Set metric with peer route on peer side [ OK ] # 145.94 [+0.33] TEST: Modify metric and peer address on local side [ OK ] # 146.09 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 148.06 [+1.97] # 148.06 [+0.00] IPv4 prefix route tests # 151.90 [+3.84] TEST: Default metric [ OK ] # 152.48 [+0.58] TEST: User specified metric on first device [ OK ] # 153.10 [+0.62] TEST: User specified metric on second device [ OK ] # 153.51 [+0.41] TEST: Delete of address on first device [ OK ] # 153.92 [+0.40] TEST: Modify metric of address [ OK ] # 154.32 [+0.41] TEST: Prefix route removed on link down [ OK ] # 154.76 [+0.44] TEST: Prefix route with metric on link up [ OK ] # 155.68 [+0.91] TEST: Modify metric of .0/24 address [ OK ] # 156.38 [+0.71] TEST: Set metric of address with peer route [ OK ] # 156.79 [+0.40] TEST: Modify metric and peer address for peer route [ OK ] # 158.70 [+1.91] # 158.70 [+0.00] IPv6 routes with metrics # 168.41 [+9.72] TEST: Single path route with mtu metric [ OK ] # 169.04 [+0.63] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 169.63 [+0.59] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 170.01 [+0.38] TEST: MTU of second leg [ OK ] # 170.38 [+0.37] TEST: Multipath route with mtu metric [ OK ] # 170.92 [+0.54] TEST: Using route with mtu metric [ OK ] # 171.26 [+0.34] TEST: Invalid metric (fails metric_convert) [ OK ] # 174.72 [+3.45] # 174.72 [+0.00] IPv4 route add / append tests # 185.05 [+10.33] TEST: Single path route with mtu metric [ OK ] # 185.47 [+0.42] TEST: Multipath route with mtu metric [ OK ] # 186.07 [+0.60] TEST: Using route with mtu metric [ OK ] # 186.40 [+0.33] TEST: Invalid metric (fails metric_convert) [ OK ] # 189.54 [+3.14] # 189.54 [+0.00] IPv4 route with IPv6 gateway tests # 201.29 [+11.75] TEST: Single path route with IPv6 gateway [ OK ] # 201.79 [+0.49] TEST: Single path route with IPv6 gateway - ping [ OK ] # 201.97 [+0.18] TEST: Single path route delete [ OK ] # 202.33 [+0.37] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 202.69 [+0.36] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 202.88 [+0.19] TEST: Multipath route delete exact match [ OK ] # 203.06 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 203.46 [+0.40] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 203.64 [+0.18] TEST: Multipath route delete exact match [ OK ] # 206.85 [+3.21] # 206.85 [+0.00] IPv4 rp_filter tests # 220.23 [+13.38] TEST: rp_filter passes local packets [ OK ] # 220.54 [+0.31] TEST: rp_filter passes loopback packets [ OK ] # 221.98 [+1.44] # 221.98 [+0.00] IPv4 delete address route tests # 227.78 [+5.80] Regular FIB info # 228.12 [+0.34] TEST: Route removed from VRF when source address deleted [ OK ] # 228.26 [+0.14] TEST: Route in default VRF not removed [ OK ] # 228.90 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 229.06 [+0.16] TEST: Route in VRF is not removed by address delete [ OK ] # 229.07 [+0.00] Identical FIB info with different table ID # 229.38 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 229.54 [+0.16] TEST: Route in default VRF not removed [ OK ] # 230.17 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 230.35 [+0.18] TEST: Route in VRF is not removed by address delete [ OK ] # 230.35 [+0.00] Table ID 0 # 230.69 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 232.51 [+1.82] # 232.51 [+0.00] IPv6 delete address route tests # 242.45 [+9.94] Single device using src address # 242.76 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 242.77 [+0.00] Two devices with the same source address # 243.07 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 243.38 [+0.32] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 243.39 [+0.00] VRF with single device using src address # 243.71 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 243.71 [+0.00] VRF with two devices using src address # 244.03 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 244.36 [+0.33] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 244.36 [+0.00] src address and nexthop dev in same VRF # 244.67 [+0.30] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 244.83 [+0.17] TEST: Prefsrc in default VRF not removed [ OK ] # 245.43 [+0.60] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 245.58 [+0.15] TEST: Prefsrc in default VRF removed [ OK ] # 245.58 [+0.00] src address and nexthop device in different VRF # 245.89 [+0.31] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 246.04 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 246.52 [+0.48] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 246.68 [+0.16] TEST: Prefsrc removed in default VRF [ OK ] # 246.68 [+0.00] Table ID 0 # 246.98 [+0.30] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 246.99 [+0.00] Link local source route # 247.29 [+0.30] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 247.62 [+0.33] TEST: Prefsrc removed when delete ll addr [ OK ] # 247.76 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 248.22 [+0.45] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 251.10 [+2.88] # 251.10 [+0.00] IPv4 mangling tests # 264.15 [+13.06] TEST: Connection with correct parameters [ OK ] # 264.50 [+0.35] TEST: Connection with incorrect parameters [ OK ] # 266.05 [+1.55] TEST: Connection with correct parameters - mangling [ OK ] # 267.26 [+1.21] TEST: Connection with correct parameters - no mangling [ OK ] # 267.40 [+0.15] TEST: Connection check - server side [ OK ] # 270.95 [+3.55] # 270.95 [+0.00] IPv6 mangling tests # 284.32 [+13.37] TEST: Connection with correct parameters [ OK ] # 284.75 [+0.42] TEST: Connection with incorrect parameters [ OK ] # 286.03 [+1.28] TEST: Connection with correct parameters - mangling [ OK ] # 287.27 [+1.24] TEST: Connection with correct parameters - no mangling [ OK ] # 287.39 [+0.12] TEST: Connection check - server side [ OK ] # 291.05 [+3.66] # 291.05 [+0.00] IPv4 broadcast neighbour tests # 295.62 [+4.57] TEST: Resolved neighbour for broadcast address [ OK ] # 295.79 [+0.18] TEST: Resolved neighbour for network broadcast address [ OK ] # 295.97 [+0.18] TEST: Unresolved neighbour for broadcast address [ OK ] # 296.15 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 299.98 [+3.83] # 299.98 [+0.00] Fib6 garbage collection test # 314.55 [+14.57] TEST: ipv6 route garbage collection [ OK ] # 329.45 [+14.90] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 344.28 [+14.83] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 359.36 [+15.08] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 374.76 [+15.40] TEST: ipv6 route garbage collection (RA message) [ OK ] # 376.23 [+1.47] # 376.23 [+0.00] IPv4 multipath list receive tests # 400.65 [+24.42] TEST: Multipath route hit ratio (1.00) [ OK ] # 403.74 [+3.09] # 403.74 [+0.00] IPv6 multipath list receive tests # 429.58 [+25.84] TEST: Multipath route hit ratio (1.00) [ OK ] # 433.49 [+3.91] # 433.49 [+0.00] Tests passed: 229 # 433.49 [+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__->