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.12 [+1.12] # 1.12 [+0.00] Single path route test # 3.04 [+1.92] Start point # 3.21 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.36 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.57 [+0.21] Nexthop device deleted # 3.72 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.87 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.86 [+0.99] # 4.86 [+0.00] Multipath route test # 8.25 [+3.39] Start point # 8.41 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.56 [+0.15] TEST: IPv6 fibmatch [ OK ] # 8.78 [+0.21] One nexthop device deleted # 8.93 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.08 [+0.14] TEST: IPv6 - multipath down to single path [ OK ] # 9.29 [+0.21] Second nexthop device deleted # 9.45 [+0.17] TEST: IPv6 - no route [ OK ] # 10.41 [+0.96] # 10.41 [+0.00] Single path, admin down # 12.66 [+2.25] Start point # 12.81 [+0.15] TEST: IPv4 fibmatch [ OK ] # 12.97 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.13 [+0.16] Route deleted on down # 13.30 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.46 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.23 [+0.77] # 14.23 [+0.00] Admin down multipath # 17.55 [+3.32] Verify start point # 17.70 [+0.15] TEST: IPv4 fibmatch [ OK ] # 17.88 [+0.18] TEST: IPv6 fibmatch [ OK ] # 18.04 [+0.17] One device down, one up # 18.21 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.37 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.56 [+0.19] TEST: IPv4 fibmatch on up device [ OK ] # 18.71 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 18.85 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.00 [+0.15] TEST: IPv6 flags on down device [ OK ] # 19.14 [+0.14] TEST: IPv4 flags on up device [ OK ] # 19.27 [+0.13] TEST: IPv6 flags on up device [ OK ] # 19.61 [+0.34] Other device down and up # 19.78 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.94 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 20.11 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 20.26 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 20.41 [+0.14] TEST: IPv4 flags on down device [ OK ] # 20.54 [+0.14] TEST: IPv6 flags on down device [ OK ] # 20.70 [+0.16] TEST: IPv4 flags on up device [ OK ] # 20.85 [+0.15] TEST: IPv6 flags on up device [ OK ] # 21.01 [+0.17] Both devices down # 21.18 [+0.17] TEST: IPv4 fibmatch [ OK ] # 21.35 [+0.17] TEST: IPv6 fibmatch [ OK ] # 22.35 [+1.00] # 22.35 [+0.00] Local carrier tests - single path # 24.87 [+2.52] Start point # 25.04 [+0.17] TEST: IPv4 fibmatch [ OK ] # 25.21 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.35 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 25.50 [+0.15] TEST: IPv6 - no linkdown flag [ OK ] # 26.80 [+1.30] Carrier off on nexthop # 26.96 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.14 [+0.18] TEST: IPv6 fibmatch [ OK ] # 27.27 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 27.40 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 27.72 [+0.32] Route to local address with carrier down # 27.88 [+0.17] TEST: IPv4 fibmatch [ OK ] # 28.05 [+0.17] TEST: IPv6 fibmatch [ OK ] # 28.19 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 28.33 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 29.13 [+0.80] # 29.13 [+0.00] Single path route carrier test # 31.70 [+2.56] Start point # 31.85 [+0.16] TEST: IPv4 fibmatch [ OK ] # 32.02 [+0.17] TEST: IPv6 fibmatch [ OK ] # 32.14 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 32.26 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 33.55 [+1.29] Carrier down # 33.73 [+0.17] TEST: IPv4 fibmatch [ OK ] # 33.89 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.02 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 34.17 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 34.50 [+0.33] Second address added with carrier down # 34.68 [+0.18] TEST: IPv4 fibmatch [ OK ] # 34.85 [+0.17] TEST: IPv6 fibmatch [ OK ] # 34.97 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 35.11 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 42.79 [+7.68] # 42.79 [+0.00] IPv4 nexthop tests # 42.79 [+0.00] <<< write me >>> # 43.11 [+0.33] # 43.11 [+0.00] IPv6 nexthop tests # 43.30 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 43.48 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 43.67 [+0.19] TEST: Gateway is linklocal address [ OK ] # 43.86 [+0.19] TEST: Gateway is linklocal address, no device [ OK ] # 44.04 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 44.23 [+0.19] TEST: Gateway can not be local unicast address, with device [ OK ] # 44.41 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 44.59 [+0.19] TEST: Gateway can be local address in a VRF [ OK ] # 44.78 [+0.19] TEST: Gateway can be local address in a VRF, with device [ OK ] # 44.96 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 45.15 [+0.19] TEST: Redirect to VRF lookup [ OK ] # 45.33 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 45.51 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 45.69 [+0.18] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 47.31 [+1.61] # 47.31 [+0.00] FIB rule with suppress_prefixlength # 50.88 [+3.58] TEST: FIB rule suppress test [ OK ] # 54.00 [+3.12] # 54.00 [+0.00] Fib6 info length calculation in route notify test # 59.94 [+5.94] TEST: ipv6 route add notify [ OK ] # 63.22 [+3.28] # 63.22 [+0.00] Fib4 info length calculation in route notify test # 69.26 [+6.04] TEST: ipv4 route add notify [ OK ] # 78.42 [+9.15] # 78.42 [+0.00] IPv6 route add / append tests # 79.16 [+0.74] TEST: Attempt to add duplicate route - gw [ OK ] # 79.84 [+0.69] TEST: Attempt to add duplicate route - dev only [ OK ] # 80.58 [+0.74] TEST: Attempt to add duplicate route - reject route [ OK ] # 81.52 [+0.94] TEST: Append nexthop to existing route - gw [ OK ] # 82.21 [+0.69] TEST: Add multipath route [ OK ] # 82.94 [+0.73] TEST: Attempt to add duplicate multipath route [ OK ] # 83.86 [+0.92] TEST: Route add with different metrics [ OK ] # 84.21 [+0.35] TEST: Route delete with metric [ OK ] # 84.22 [+0.00] # 84.22 [+0.00] IPv6 route replace tests # 85.12 [+0.90] TEST: Single path with single path [ OK ] # 86.03 [+0.91] TEST: Single path with multipath [ OK ] # 86.93 [+0.91] TEST: Single path with single path via multipath attribute [ OK ] # 87.81 [+0.87] TEST: Invalid nexthop [ OK ] # 88.56 [+0.75] TEST: Single path - replace of non-existent route [ OK ] # 89.45 [+0.89] TEST: Multipath with multipath [ OK ] # 90.33 [+0.89] TEST: Multipath with single path [ OK ] # 91.20 [+0.87] TEST: Multipath with single path via multipath attribute [ OK ] # 92.07 [+0.87] TEST: Multipath with dev-only [ OK ] # 92.97 [+0.90] TEST: Multipath - invalid first nexthop [ OK ] # 93.84 [+0.87] TEST: Multipath - invalid second nexthop [ OK ] # 94.54 [+0.70] TEST: Multipath - replace of non-existent route [ OK ] # 94.54 [+0.00] # 94.54 [+0.00] IPv6 route with dsfield tests # 94.90 [+0.36] TEST: Reject route with dsfield [ OK ] # 107.27 [+12.38] # 107.27 [+0.00] IPv4 route add / append tests # 107.96 [+0.69] TEST: Attempt to add duplicate route - gw [ OK ] # 108.66 [+0.70] TEST: Attempt to add duplicate route - dev only [ OK ] # 109.35 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 110.23 [+0.88] TEST: Add new nexthop for existing prefix [ OK ] # 111.12 [+0.89] TEST: Append nexthop to existing route - gw [ OK ] # 112.05 [+0.93] TEST: Append nexthop to existing route - dev only [ OK ] # 112.94 [+0.89] TEST: Append nexthop to existing route - reject route [ OK ] # 113.63 [+0.69] TEST: Append nexthop to existing reject route - gw [ OK ] # 114.33 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 115.03 [+0.70] TEST: add multipath route [ OK ] # 115.75 [+0.72] TEST: Attempt to add duplicate multipath route [ OK ] # 116.67 [+0.92] TEST: Route add with different metrics [ OK ] # 117.05 [+0.37] TEST: Route delete with metric [ OK ] # 117.05 [+0.00] # 117.05 [+0.00] IPv4 route replace tests # 117.90 [+0.85] TEST: Single path with single path [ OK ] # 118.79 [+0.89] TEST: Single path with multipath [ OK ] # 119.66 [+0.87] TEST: Single path with reject route [ OK ] # 120.58 [+0.92] TEST: Single path with single path via multipath attribute [ OK ] # 121.46 [+0.89] TEST: Invalid nexthop [ OK ] # 122.20 [+0.73] TEST: Single path - replace of non-existent route [ OK ] # 123.10 [+0.90] TEST: Multipath with multipath [ OK ] # 124.00 [+0.90] TEST: Multipath with single path [ OK ] # 124.87 [+0.88] TEST: Multipath with single path via multipath attribute [ OK ] # 125.83 [+0.96] TEST: Multipath with reject route [ OK ] # 126.73 [+0.90] TEST: Multipath - invalid first nexthop [ OK ] # 127.71 [+0.98] TEST: Multipath - invalid second nexthop [ OK ] # 128.42 [+0.71] TEST: Multipath - replace of non-existent route [ OK ] # 131.16 [+2.74] TEST: Cached route removed from VRF port device [ OK ] # 131.16 [+0.00] # 131.16 [+0.00] IPv4 route with dsfield tests # 131.51 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 131.69 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 131.87 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 132.35 [+0.48] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 132.51 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 132.63 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 132.80 [+0.16] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 132.92 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 133.06 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 133.22 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 133.36 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 133.50 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 133.63 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 133.76 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 133.90 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 136.87 [+2.97] # 136.88 [+0.00] IPv6 prefix route tests # 140.65 [+3.78] TEST: Default metric [ OK ] # 141.16 [+0.51] TEST: User specified metric on first device [ OK ] # 141.66 [+0.50] TEST: User specified metric on second device [ OK ] # 142.00 [+0.34] TEST: Delete of address on first device [ OK ] # 142.34 [+0.35] TEST: Modify metric of address [ OK ] # 142.99 [+0.64] TEST: Prefix route removed on link down [ OK ] # 143.31 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 143.82 [+0.51] TEST: Set metric with peer route on local side [ OK ] # 143.98 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 144.30 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 144.44 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 146.25 [+1.81] # 146.25 [+0.00] IPv4 prefix route tests # 150.01 [+3.76] TEST: Default metric [ OK ] # 150.52 [+0.51] TEST: User specified metric on first device [ OK ] # 151.05 [+0.53] TEST: User specified metric on second device [ OK ] # 151.38 [+0.33] TEST: Delete of address on first device [ OK ] # 151.72 [+0.34] TEST: Modify metric of address [ OK ] # 152.05 [+0.33] TEST: Prefix route removed on link down [ OK ] # 152.39 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 153.10 [+0.70] TEST: Modify metric of .0/24 address [ OK ] # 153.60 [+0.51] TEST: Set metric of address with peer route [ OK ] # 153.94 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 155.75 [+1.80] # 155.75 [+0.00] IPv6 routes with metrics # 164.91 [+9.16] TEST: Single path route with mtu metric [ OK ] # 165.42 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 165.91 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 166.24 [+0.33] TEST: MTU of second leg [ OK ] # 166.58 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 167.03 [+0.45] TEST: Using route with mtu metric [ OK ] # 167.33 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 170.08 [+2.75] # 170.08 [+0.00] IPv4 route add / append tests # 179.40 [+9.31] TEST: Single path route with mtu metric [ OK ] # 179.76 [+0.37] TEST: Multipath route with mtu metric [ OK ] # 180.23 [+0.47] TEST: Using route with mtu metric [ OK ] # 180.52 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 183.40 [+2.88] # 183.40 [+0.00] IPv4 route with IPv6 gateway tests # 194.47 [+11.07] TEST: Single path route with IPv6 gateway [ OK ] # 194.93 [+0.46] TEST: Single path route with IPv6 gateway - ping [ OK ] # 195.10 [+0.17] TEST: Single path route delete [ OK ] # 195.44 [+0.34] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 195.79 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 195.95 [+0.17] TEST: Multipath route delete exact match [ OK ] # 196.12 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 196.46 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 196.62 [+0.16] TEST: Multipath route delete exact match [ OK ] # 199.34 [+2.72] # 199.35 [+0.00] IPv4 rp_filter tests # 211.04 [+11.70] TEST: rp_filter passes local packets [ OK ] # 211.32 [+0.27] TEST: rp_filter passes loopback packets [ OK ] # 212.68 [+1.36] # 212.68 [+0.00] IPv4 delete address route tests # 218.22 [+5.53] Regular FIB info # 218.51 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 218.64 [+0.13] TEST: Route in default VRF not removed [ OK ] # 219.25 [+0.61] TEST: Route removed in default VRF when source address deleted [ OK ] # 219.39 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 219.39 [+0.00] Identical FIB info with different table ID # 219.68 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 219.80 [+0.12] TEST: Route in default VRF not removed [ OK ] # 220.39 [+0.59] TEST: Route removed in default VRF when source address deleted [ OK ] # 220.51 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 220.51 [+0.00] Table ID 0 # 220.78 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 222.53 [+1.75] # 222.53 [+0.00] IPv6 delete address route tests # 231.90 [+9.37] Single device using src address # 232.21 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 232.21 [+0.00] Two devices with the same source address # 232.51 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 232.81 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 232.81 [+0.00] VRF with single device using src address # 233.11 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 233.11 [+0.00] VRF with two devices using src address # 233.43 [+0.32] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 233.72 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 233.72 [+0.00] src address and nexthop dev in same VRF # 234.01 [+0.29] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 234.16 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 234.78 [+0.62] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 234.92 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 234.92 [+0.00] src address and nexthop device in different VRF # 235.21 [+0.28] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 235.35 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 235.83 [+0.48] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 235.99 [+0.16] TEST: Prefsrc removed in default VRF [ OK ] # 236.00 [+0.00] Table ID 0 # 236.29 [+0.29] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 236.29 [+0.00] Link local source route # 236.56 [+0.27] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 236.87 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 237.00 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 237.46 [+0.46] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 240.14 [+2.68] # 240.14 [+0.00] IPv4 mangling tests # 252.57 [+12.43] TEST: Connection with correct parameters [ OK ] # 252.91 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 254.20 [+1.29] TEST: Connection with correct parameters - mangling [ OK ] # 255.37 [+1.17] TEST: Connection with correct parameters - no mangling [ OK ] # 255.48 [+0.11] TEST: Connection check - server side [ OK ] # 258.92 [+3.44] # 258.92 [+0.00] IPv6 mangling tests # 271.42 [+12.50] TEST: Connection with correct parameters [ OK ] # 271.80 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 272.98 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 274.20 [+1.21] TEST: Connection with correct parameters - no mangling [ OK ] # 274.33 [+0.13] TEST: Connection check - server side [ OK ] # 277.76 [+3.43] # 277.76 [+0.00] IPv4 broadcast neighbour tests # 282.11 [+4.35] TEST: Resolved neighbour for broadcast address [ OK ] # 282.28 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 282.45 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 282.61 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 286.29 [+3.68] # 286.30 [+0.00] Fib6 garbage collection test # 300.71 [+14.41] TEST: ipv6 route garbage collection [ OK ] # 315.49 [+14.78] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 330.25 [+14.76] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 345.10 [+14.85] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 360.38 [+15.28] TEST: ipv6 route garbage collection (RA message) [ OK ] # 361.75 [+1.37] # 361.75 [+0.00] IPv4 multipath list receive tests # 385.97 [+24.22] TEST: Multipath route hit ratio (1.00) [ OK ] # 388.99 [+3.02] # 388.99 [+0.00] IPv6 multipath list receive tests # 412.38 [+23.39] TEST: Multipath route hit ratio (1.00) [ OK ] # 415.42 [+3.05] # 415.42 [+0.00] Tests passed: 229 # 415.43 [+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__->