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.18 [+1.18] # 1.18 [+0.00] Single path route test # 3.09 [+1.90] Start point # 3.26 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.41 [+0.15] TEST: IPv6 fibmatch [ OK ] # 3.62 [+0.21] Nexthop device deleted # 3.78 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.95 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.96 [+1.01] # 4.96 [+0.00] Multipath route test # 8.46 [+3.50] Start point # 8.63 [+0.17] TEST: IPv4 fibmatch [ OK ] # 8.79 [+0.16] TEST: IPv6 fibmatch [ OK ] # 9.01 [+0.22] One nexthop device deleted # 9.16 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.34 [+0.19] TEST: IPv6 - multipath down to single path [ OK ] # 9.57 [+0.22] Second nexthop device deleted # 9.72 [+0.16] TEST: IPv6 - no route [ OK ] # 10.72 [+1.00] # 10.72 [+0.00] Single path, admin down # 13.16 [+2.45] Start point # 13.32 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.49 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.64 [+0.16] Route deleted on down # 13.81 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.98 [+0.17] TEST: IPv6 fibmatch [ OK ] # 14.76 [+0.78] # 14.76 [+0.00] Admin down multipath # 18.09 [+3.34] Verify start point # 18.26 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.41 [+0.15] TEST: IPv6 fibmatch [ OK ] # 18.57 [+0.17] One device down, one up # 18.73 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.89 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 19.04 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.20 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 19.33 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.48 [+0.15] TEST: IPv6 flags on down device [ OK ] # 19.63 [+0.15] TEST: IPv4 flags on up device [ OK ] # 19.76 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.09 [+0.33] Other device down and up # 20.25 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 20.41 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 20.57 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.73 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.86 [+0.13] TEST: IPv4 flags on down device [ OK ] # 21.00 [+0.14] TEST: IPv6 flags on down device [ OK ] # 21.15 [+0.15] TEST: IPv4 flags on up device [ OK ] # 21.28 [+0.13] TEST: IPv6 flags on up device [ OK ] # 21.45 [+0.17] Both devices down # 21.60 [+0.16] TEST: IPv4 fibmatch [ OK ] # 21.76 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.77 [+1.01] # 22.77 [+0.00] Local carrier tests - single path # 25.24 [+2.47] Start point # 25.39 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.56 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.70 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 25.84 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 27.13 [+1.29] Carrier off on nexthop # 27.28 [+0.15] TEST: IPv4 fibmatch [ OK ] # 27.44 [+0.16] TEST: IPv6 fibmatch [ OK ] # 27.59 [+0.15] TEST: IPv4 - linkdown flag set [ OK ] # 27.72 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 28.04 [+0.32] Route to local address with carrier down # 28.21 [+0.17] TEST: IPv4 fibmatch [ OK ] # 28.40 [+0.19] TEST: IPv6 fibmatch [ OK ] # 28.54 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 28.68 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 29.49 [+0.81] # 29.49 [+0.00] Single path route carrier test # 31.95 [+2.46] Start point # 32.11 [+0.15] TEST: IPv4 fibmatch [ OK ] # 32.27 [+0.17] TEST: IPv6 fibmatch [ OK ] # 32.41 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 32.54 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 33.81 [+1.27] Carrier down # 33.96 [+0.15] TEST: IPv4 fibmatch [ OK ] # 34.12 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.26 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 34.44 [+0.17] TEST: IPv6 linkdown flag set [ OK ] # 34.75 [+0.31] Second address added with carrier down # 34.90 [+0.15] TEST: IPv4 fibmatch [ OK ] # 35.06 [+0.16] TEST: IPv6 fibmatch [ OK ] # 35.21 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 35.35 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 42.76 [+7.41] # 42.76 [+0.00] IPv4 nexthop tests # 42.76 [+0.00] <<< write me >>> # 43.09 [+0.33] # 43.09 [+0.00] IPv6 nexthop tests # 43.27 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 43.45 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 43.63 [+0.18] TEST: Gateway is linklocal address [ OK ] # 43.80 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 43.98 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 44.15 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 44.33 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 44.50 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 44.67 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 44.85 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 45.01 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 45.18 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 45.35 [+0.17] TEST: VRF route, gateway can not be a local address [ OK ] # 45.52 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 47.05 [+1.53] # 47.05 [+0.00] FIB rule with suppress_prefixlength # 50.58 [+3.53] TEST: FIB rule suppress test [ OK ] # 53.70 [+3.12] # 53.70 [+0.00] Fib6 info length calculation in route notify test # 59.48 [+5.79] TEST: ipv6 route add notify [ OK ] # 62.61 [+3.13] # 62.61 [+0.00] Fib4 info length calculation in route notify test # 68.38 [+5.77] TEST: ipv4 route add notify [ OK ] # 77.25 [+8.87] # 77.25 [+0.00] IPv6 route add / append tests # 77.92 [+0.67] TEST: Attempt to add duplicate route - gw [ OK ] # 78.60 [+0.68] TEST: Attempt to add duplicate route - dev only [ OK ] # 79.29 [+0.69] TEST: Attempt to add duplicate route - reject route [ OK ] # 80.14 [+0.86] TEST: Append nexthop to existing route - gw [ OK ] # 80.82 [+0.68] TEST: Add multipath route [ OK ] # 81.52 [+0.70] TEST: Attempt to add duplicate multipath route [ OK ] # 82.38 [+0.86] TEST: Route add with different metrics [ OK ] # 82.72 [+0.34] TEST: Route delete with metric [ OK ] # 82.72 [+0.00] # 82.72 [+0.00] IPv6 route replace tests # 83.55 [+0.83] TEST: Single path with single path [ OK ] # 84.41 [+0.86] TEST: Single path with multipath [ OK ] # 85.23 [+0.81] TEST: Single path with single path via multipath attribute [ OK ] # 86.07 [+0.84] TEST: Invalid nexthop [ OK ] # 86.75 [+0.69] TEST: Single path - replace of non-existent route [ OK ] # 87.57 [+0.82] TEST: Multipath with multipath [ OK ] # 88.39 [+0.81] TEST: Multipath with single path [ OK ] # 89.20 [+0.81] TEST: Multipath with single path via multipath attribute [ OK ] # 90.02 [+0.82] TEST: Multipath with dev-only [ OK ] # 90.84 [+0.82] TEST: Multipath - invalid first nexthop [ OK ] # 91.66 [+0.83] TEST: Multipath - invalid second nexthop [ OK ] # 92.33 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 92.33 [+0.00] # 92.33 [+0.00] IPv6 route with dsfield tests # 92.68 [+0.35] TEST: Reject route with dsfield [ OK ] # 104.23 [+11.55] # 104.23 [+0.00] IPv4 route add / append tests # 104.89 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 105.56 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 106.23 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 107.07 [+0.84] TEST: Add new nexthop for existing prefix [ OK ] # 107.92 [+0.85] TEST: Append nexthop to existing route - gw [ OK ] # 108.77 [+0.85] TEST: Append nexthop to existing route - dev only [ OK ] # 109.60 [+0.84] TEST: Append nexthop to existing route - reject route [ OK ] # 110.27 [+0.67] TEST: Append nexthop to existing reject route - gw [ OK ] # 110.97 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 111.65 [+0.68] TEST: add multipath route [ OK ] # 112.31 [+0.66] TEST: Attempt to add duplicate multipath route [ OK ] # 113.16 [+0.85] TEST: Route add with different metrics [ OK ] # 113.49 [+0.34] TEST: Route delete with metric [ OK ] # 113.50 [+0.00] # 113.50 [+0.00] IPv4 route replace tests # 114.34 [+0.84] TEST: Single path with single path [ OK ] # 115.17 [+0.83] TEST: Single path with multipath [ OK ] # 116.01 [+0.84] TEST: Single path with reject route [ OK ] # 116.88 [+0.88] TEST: Single path with single path via multipath attribute [ OK ] # 117.76 [+0.88] TEST: Invalid nexthop [ OK ] # 118.46 [+0.70] TEST: Single path - replace of non-existent route [ OK ] # 119.38 [+0.91] TEST: Multipath with multipath [ OK ] # 120.26 [+0.88] TEST: Multipath with single path [ OK ] # 121.17 [+0.91] TEST: Multipath with single path via multipath attribute [ OK ] # 122.03 [+0.87] TEST: Multipath with reject route [ OK ] # 122.97 [+0.93] TEST: Multipath - invalid first nexthop [ OK ] # 123.82 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 124.49 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 126.98 [+2.48] TEST: Cached route removed from VRF port device [ OK ] # 126.98 [+0.00] # 126.98 [+0.00] IPv4 route with dsfield tests # 127.31 [+0.33] TEST: Reject route with dsfield 0x01 [ OK ] # 127.48 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 127.65 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 128.15 [+0.50] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 128.29 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 128.43 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 128.57 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 128.73 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 128.86 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 129.01 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 129.14 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 129.28 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 129.42 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 129.55 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 129.69 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 132.53 [+2.84] # 132.53 [+0.00] IPv6 prefix route tests # 136.11 [+3.58] TEST: Default metric [ OK ] # 136.59 [+0.48] TEST: User specified metric on first device [ OK ] # 137.09 [+0.50] TEST: User specified metric on second device [ OK ] # 137.41 [+0.31] TEST: Delete of address on first device [ OK ] # 137.73 [+0.33] TEST: Modify metric of address [ OK ] # 138.35 [+0.62] TEST: Prefix route removed on link down [ OK ] # 138.69 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 139.18 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 139.33 [+0.15] TEST: Set metric with peer route on peer side [ OK ] # 139.62 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 139.78 [+0.16] TEST: Modify metric and peer address on peer side [ OK ] # 141.55 [+1.77] # 141.55 [+0.00] IPv4 prefix route tests # 145.16 [+3.61] TEST: Default metric [ OK ] # 145.67 [+0.50] TEST: User specified metric on first device [ OK ] # 146.19 [+0.52] TEST: User specified metric on second device [ OK ] # 146.51 [+0.32] TEST: Delete of address on first device [ OK ] # 146.85 [+0.34] TEST: Modify metric of address [ OK ] # 147.17 [+0.32] TEST: Prefix route removed on link down [ OK ] # 147.52 [+0.35] TEST: Prefix route with metric on link up [ OK ] # 148.20 [+0.68] TEST: Modify metric of .0/24 address [ OK ] # 148.70 [+0.50] TEST: Set metric of address with peer route [ OK ] # 149.04 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 150.78 [+1.74] # 150.78 [+0.00] IPv6 routes with metrics # 159.74 [+8.96] TEST: Single path route with mtu metric [ OK ] # 160.25 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 160.76 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 161.06 [+0.30] TEST: MTU of second leg [ OK ] # 161.38 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 161.84 [+0.46] TEST: Using route with mtu metric [ OK ] # 162.11 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 164.91 [+2.81] # 164.91 [+0.00] IPv4 route add / append tests # 175.20 [+10.29] TEST: Single path route with mtu metric [ OK ] # 175.54 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 176.01 [+0.47] TEST: Using route with mtu metric [ OK ] # 176.33 [+0.33] TEST: Invalid metric (fails metric_convert) [ OK ] # 179.52 [+3.18] # 179.52 [+0.00] IPv4 route with IPv6 gateway tests # 191.98 [+12.46] TEST: Single path route with IPv6 gateway [ OK ] # 192.56 [+0.58] TEST: Single path route with IPv6 gateway - ping [ OK ] # 192.82 [+0.26] TEST: Single path route delete [ OK ] # 193.26 [+0.44] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 193.71 [+0.45] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 193.93 [+0.22] TEST: Multipath route delete exact match [ OK ] # 194.17 [+0.24] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 194.62 [+0.44] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 194.82 [+0.20] TEST: Multipath route delete exact match [ OK ] # 198.55 [+3.73] # 198.55 [+0.00] IPv4 rp_filter tests # 212.23 [+13.68] TEST: rp_filter passes local packets [ OK ] # 212.55 [+0.31] TEST: rp_filter passes loopback packets [ OK ] # 214.17 [+1.62] # 214.17 [+0.00] IPv4 delete address route tests # 220.36 [+6.19] Regular FIB info # 220.69 [+0.33] TEST: Route removed from VRF when source address deleted [ OK ] # 220.83 [+0.14] TEST: Route in default VRF not removed [ OK ] # 221.54 [+0.70] TEST: Route removed in default VRF when source address deleted [ OK ] # 221.67 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 221.68 [+0.00] Identical FIB info with different table ID # 222.00 [+0.32] TEST: Route removed from VRF when source address deleted [ OK ] # 222.13 [+0.13] TEST: Route in default VRF not removed [ OK ] # 222.79 [+0.67] TEST: Route removed in default VRF when source address deleted [ OK ] # 222.94 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 222.94 [+0.00] Table ID 0 # 223.23 [+0.28] TEST: Route removed in default VRF when source address deleted [ OK ] # 225.07 [+1.84] # 225.07 [+0.00] IPv6 delete address route tests # 234.76 [+9.68] Single device using src address # 235.05 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 235.06 [+0.00] Two devices with the same source address # 235.38 [+0.32] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 235.70 [+0.32] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 235.70 [+0.00] VRF with single device using src address # 235.99 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 235.99 [+0.00] VRF with two devices using src address # 236.29 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 236.58 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 236.59 [+0.00] src address and nexthop dev in same VRF # 236.86 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 237.01 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 237.64 [+0.64] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 237.77 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 237.78 [+0.00] src address and nexthop device in different VRF # 238.07 [+0.30] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 238.21 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 238.67 [+0.45] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 238.79 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 238.80 [+0.00] Table ID 0 # 239.11 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 239.11 [+0.00] Link local source route # 239.41 [+0.29] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 239.70 [+0.29] TEST: Prefsrc removed when delete ll addr [ OK ] # 239.84 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 240.30 [+0.46] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 242.89 [+2.58] # 242.89 [+0.00] IPv4 mangling tests # 254.82 [+11.94] TEST: Connection with correct parameters [ OK ] # 255.14 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 256.42 [+1.28] TEST: Connection with correct parameters - mangling [ OK ] # 257.55 [+1.13] TEST: Connection with correct parameters - no mangling [ OK ] # 257.65 [+0.10] TEST: Connection check - server side [ OK ] # 261.00 [+3.35] # 261.00 [+0.00] IPv6 mangling tests # 273.25 [+12.24] TEST: Connection with correct parameters [ OK ] # 273.62 [+0.38] TEST: Connection with incorrect parameters [ OK ] # 274.79 [+1.16] TEST: Connection with correct parameters - mangling [ OK ] # 275.99 [+1.20] TEST: Connection with correct parameters - no mangling [ OK ] # 276.12 [+0.12] TEST: Connection check - server side [ OK ] # 279.42 [+3.30] # 279.42 [+0.00] IPv4 broadcast neighbour tests # 283.63 [+4.22] TEST: Resolved neighbour for broadcast address [ OK ] # 283.80 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 283.96 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 284.13 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 287.66 [+3.52] # 287.66 [+0.00] Fib6 garbage collection test # 302.01 [+14.36] TEST: ipv6 route garbage collection [ OK ] # 316.72 [+14.71] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 331.43 [+14.71] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 346.27 [+14.84] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 361.54 [+15.27] TEST: ipv6 route garbage collection (RA message) [ OK ] # 362.90 [+1.36] # 362.90 [+0.00] IPv4 multipath list receive tests # 387.12 [+24.22] TEST: Multipath route hit ratio (1.00) [ OK ] # 390.11 [+2.99] # 390.11 [+0.00] IPv6 multipath list receive tests # 412.70 [+22.59] TEST: Multipath route hit ratio (1.00) [ OK ] # 415.72 [+3.02] # 415.72 [+0.00] Tests passed: 229 # 415.72 [+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__->