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.14 [+1.14] # 1.14 [+0.00] Single path route test # 2.98 [+1.84] Start point # 3.15 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.30 [+0.15] TEST: IPv6 fibmatch [ OK ] # 3.51 [+0.21] Nexthop device deleted # 3.67 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.82 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.79 [+0.97] # 4.79 [+0.00] Multipath route test # 8.08 [+3.29] Start point # 8.24 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.40 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.61 [+0.21] One nexthop device deleted # 8.78 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.95 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 9.15 [+0.20] Second nexthop device deleted # 9.33 [+0.17] TEST: IPv6 - no route [ OK ] # 10.31 [+0.98] # 10.31 [+0.00] Single path, admin down # 12.73 [+2.43] Start point # 12.90 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.07 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.23 [+0.16] Route deleted on down # 13.38 [+0.15] TEST: IPv4 fibmatch [ OK ] # 13.55 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.36 [+0.81] # 14.36 [+0.00] Admin down multipath # 17.69 [+3.33] Verify start point # 17.85 [+0.17] TEST: IPv4 fibmatch [ OK ] # 18.01 [+0.16] TEST: IPv6 fibmatch [ OK ] # 18.19 [+0.17] One device down, one up # 18.34 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.51 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 18.68 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 18.82 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 18.96 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.11 [+0.15] TEST: IPv6 flags on down device [ OK ] # 19.26 [+0.15] TEST: IPv4 flags on up device [ OK ] # 19.38 [+0.13] TEST: IPv6 flags on up device [ OK ] # 19.71 [+0.32] Other device down and up # 19.88 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 20.05 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 20.21 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.38 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 20.51 [+0.13] TEST: IPv4 flags on down device [ OK ] # 20.65 [+0.15] TEST: IPv6 flags on down device [ OK ] # 20.83 [+0.18] TEST: IPv4 flags on up device [ OK ] # 20.98 [+0.15] TEST: IPv6 flags on up device [ OK ] # 21.13 [+0.15] Both devices down # 21.29 [+0.16] TEST: IPv4 fibmatch [ OK ] # 21.45 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.41 [+0.96] # 22.41 [+0.00] Local carrier tests - single path # 24.86 [+2.45] Start point # 25.02 [+0.17] TEST: IPv4 fibmatch [ OK ] # 25.19 [+0.16] TEST: IPv6 fibmatch [ OK ] # 25.32 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 25.47 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 26.76 [+1.29] Carrier off on nexthop # 26.91 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.08 [+0.16] TEST: IPv6 fibmatch [ OK ] # 27.22 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 27.38 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 27.69 [+0.31] Route to local address with carrier down # 27.85 [+0.15] TEST: IPv4 fibmatch [ OK ] # 28.01 [+0.17] TEST: IPv6 fibmatch [ OK ] # 28.16 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 28.30 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 29.08 [+0.77] # 29.08 [+0.00] Single path route carrier test # 31.50 [+2.43] Start point # 31.65 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.81 [+0.16] TEST: IPv6 fibmatch [ OK ] # 31.95 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 32.08 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 33.35 [+1.28] Carrier down # 33.51 [+0.15] TEST: IPv4 fibmatch [ OK ] # 33.67 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.82 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 33.95 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 34.26 [+0.31] Second address added with carrier down # 34.43 [+0.17] TEST: IPv4 fibmatch [ OK ] # 34.60 [+0.17] TEST: IPv6 fibmatch [ OK ] # 34.72 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 34.86 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 42.18 [+7.33] # 42.18 [+0.00] IPv4 nexthop tests # 42.18 [+0.00] <<< write me >>> # 42.50 [+0.31] # 42.50 [+0.00] IPv6 nexthop tests # 42.68 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 42.85 [+0.16] TEST: Directly connected nexthop, unicast address with device [ OK ] # 43.03 [+0.18] TEST: Gateway is linklocal address [ OK ] # 43.20 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 43.36 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 43.54 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.71 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 43.89 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 44.08 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 44.27 [+0.19] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.46 [+0.19] TEST: Redirect to VRF lookup [ OK ] # 44.65 [+0.19] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.84 [+0.19] TEST: VRF route, gateway can not be a local address [ OK ] # 45.03 [+0.18] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.72 [+1.70] # 46.72 [+0.00] FIB rule with suppress_prefixlength # 50.24 [+3.52] TEST: FIB rule suppress test [ OK ] # 53.54 [+3.30] # 53.54 [+0.00] Fib6 info length calculation in route notify test # 59.94 [+6.40] TEST: ipv6 route add notify [ OK ] # 63.76 [+3.82] # 63.76 [+0.00] Fib4 info length calculation in route notify test # 70.78 [+7.02] TEST: ipv4 route add notify [ OK ] # 82.14 [+11.36] # 82.14 [+0.00] IPv6 route add / append tests # 83.02 [+0.87] TEST: Attempt to add duplicate route - gw [ OK ] # 83.91 [+0.89] TEST: Attempt to add duplicate route - dev only [ OK ] # 84.77 [+0.86] TEST: Attempt to add duplicate route - reject route [ OK ] # 85.80 [+1.03] TEST: Append nexthop to existing route - gw [ OK ] # 86.57 [+0.77] TEST: Add multipath route [ OK ] # 87.32 [+0.75] TEST: Attempt to add duplicate multipath route [ OK ] # 88.26 [+0.94] TEST: Route add with different metrics [ OK ] # 88.59 [+0.34] TEST: Route delete with metric [ OK ] # 88.60 [+0.00] # 88.60 [+0.00] IPv6 route replace tests # 89.51 [+0.91] TEST: Single path with single path [ OK ] # 90.44 [+0.93] TEST: Single path with multipath [ OK ] # 91.34 [+0.90] TEST: Single path with single path via multipath attribute [ OK ] # 92.25 [+0.92] TEST: Invalid nexthop [ OK ] # 92.97 [+0.71] TEST: Single path - replace of non-existent route [ OK ] # 93.88 [+0.92] TEST: Multipath with multipath [ OK ] # 94.80 [+0.92] TEST: Multipath with single path [ OK ] # 95.64 [+0.84] TEST: Multipath with single path via multipath attribute [ OK ] # 96.57 [+0.93] TEST: Multipath with dev-only [ OK ] # 97.40 [+0.83] TEST: Multipath - invalid first nexthop [ OK ] # 98.25 [+0.84] TEST: Multipath - invalid second nexthop [ OK ] # 98.93 [+0.68] TEST: Multipath - replace of non-existent route [ OK ] # 98.93 [+0.00] # 98.93 [+0.00] IPv6 route with dsfield tests # 99.29 [+0.36] TEST: Reject route with dsfield [ OK ] # 110.75 [+11.46] # 110.75 [+0.00] IPv4 route add / append tests # 111.41 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 112.08 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 112.73 [+0.65] TEST: Attempt to add duplicate route - reject route [ OK ] # 113.55 [+0.82] TEST: Add new nexthop for existing prefix [ OK ] # 114.39 [+0.84] TEST: Append nexthop to existing route - gw [ OK ] # 115.20 [+0.81] TEST: Append nexthop to existing route - dev only [ OK ] # 116.03 [+0.83] TEST: Append nexthop to existing route - reject route [ OK ] # 116.71 [+0.68] TEST: Append nexthop to existing reject route - gw [ OK ] # 117.38 [+0.67] TEST: Append nexthop to existing reject route - dev only [ OK ] # 118.03 [+0.64] TEST: add multipath route [ OK ] # 118.69 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 119.52 [+0.82] TEST: Route add with different metrics [ OK ] # 119.86 [+0.34] TEST: Route delete with metric [ OK ] # 119.86 [+0.00] # 119.86 [+0.00] IPv4 route replace tests # 120.67 [+0.81] TEST: Single path with single path [ OK ] # 121.52 [+0.84] TEST: Single path with multipath [ OK ] # 122.38 [+0.87] TEST: Single path with reject route [ OK ] # 123.21 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 124.05 [+0.84] TEST: Invalid nexthop [ OK ] # 124.75 [+0.70] TEST: Single path - replace of non-existent route [ OK ] # 125.60 [+0.85] TEST: Multipath with multipath [ OK ] # 126.42 [+0.82] TEST: Multipath with single path [ OK ] # 127.24 [+0.82] TEST: Multipath with single path via multipath attribute [ OK ] # 128.09 [+0.85] TEST: Multipath with reject route [ OK ] # 128.94 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 129.84 [+0.90] TEST: Multipath - invalid second nexthop [ OK ] # 130.52 [+0.68] TEST: Multipath - replace of non-existent route [ OK ] # 132.95 [+2.42] TEST: Cached route removed from VRF port device [ OK ] # 132.95 [+0.00] # 132.95 [+0.00] IPv4 route with dsfield tests # 133.29 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 133.47 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 133.65 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 134.14 [+0.49] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 134.28 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 134.40 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 134.55 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 134.70 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 134.84 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 134.98 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 135.13 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 135.31 [+0.18] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 135.47 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 135.62 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 135.77 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 138.61 [+2.84] # 138.61 [+0.00] IPv6 prefix route tests # 142.16 [+3.54] TEST: Default metric [ OK ] # 142.67 [+0.52] TEST: User specified metric on first device [ OK ] # 143.18 [+0.51] TEST: User specified metric on second device [ OK ] # 143.48 [+0.29] TEST: Delete of address on first device [ OK ] # 143.81 [+0.33] TEST: Modify metric of address [ OK ] # 144.38 [+0.57] TEST: Prefix route removed on link down [ OK ] # 144.70 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 145.20 [+0.50] TEST: Set metric with peer route on local side [ OK ] # 145.34 [+0.15] TEST: Set metric with peer route on peer side [ OK ] # 145.65 [+0.31] TEST: Modify metric and peer address on local side [ OK ] # 145.80 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 147.56 [+1.76] # 147.56 [+0.00] IPv4 prefix route tests # 151.12 [+3.55] TEST: Default metric [ OK ] # 151.62 [+0.51] TEST: User specified metric on first device [ OK ] # 152.15 [+0.53] TEST: User specified metric on second device [ OK ] # 152.49 [+0.34] TEST: Delete of address on first device [ OK ] # 152.81 [+0.32] TEST: Modify metric of address [ OK ] # 153.15 [+0.33] TEST: Prefix route removed on link down [ OK ] # 153.48 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 154.16 [+0.68] TEST: Modify metric of .0/24 address [ OK ] # 154.65 [+0.49] TEST: Set metric of address with peer route [ OK ] # 154.99 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 156.73 [+1.74] # 156.73 [+0.00] IPv6 routes with metrics # 165.74 [+9.01] TEST: Single path route with mtu metric [ OK ] # 166.25 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 166.75 [+0.50] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 167.07 [+0.32] TEST: MTU of second leg [ OK ] # 167.41 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 167.86 [+0.45] TEST: Using route with mtu metric [ OK ] # 168.13 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 170.96 [+2.82] # 170.96 [+0.00] IPv4 route add / append tests # 179.90 [+8.95] TEST: Single path route with mtu metric [ OK ] # 180.23 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 180.68 [+0.46] TEST: Using route with mtu metric [ OK ] # 180.94 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 183.71 [+2.77] # 183.71 [+0.00] IPv4 route with IPv6 gateway tests # 194.68 [+10.97] TEST: Single path route with IPv6 gateway [ OK ] # 195.14 [+0.46] TEST: Single path route with IPv6 gateway - ping [ OK ] # 195.31 [+0.17] TEST: Single path route delete [ OK ] # 195.64 [+0.33] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 195.97 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 196.14 [+0.17] TEST: Multipath route delete exact match [ OK ] # 196.31 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 196.64 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 196.81 [+0.16] TEST: Multipath route delete exact match [ OK ] # 199.49 [+2.68] # 199.49 [+0.00] IPv4 rp_filter tests # 211.02 [+11.53] TEST: rp_filter passes local packets [ OK ] # 211.31 [+0.28] TEST: rp_filter passes loopback packets [ OK ] # 212.69 [+1.39] # 212.69 [+0.00] IPv4 delete address route tests # 218.09 [+5.40] Regular FIB info # 218.38 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 218.51 [+0.13] TEST: Route in default VRF not removed [ OK ] # 219.11 [+0.60] TEST: Route removed in default VRF when source address deleted [ OK ] # 219.27 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 219.27 [+0.00] Identical FIB info with different table ID # 219.55 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 219.69 [+0.14] TEST: Route in default VRF not removed [ OK ] # 220.30 [+0.61] TEST: Route removed in default VRF when source address deleted [ OK ] # 220.47 [+0.17] TEST: Route in VRF is not removed by address delete [ OK ] # 220.47 [+0.00] Table ID 0 # 220.77 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 222.51 [+1.73] # 222.51 [+0.00] IPv6 delete address route tests # 231.80 [+9.30] Single device using src address # 232.09 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 232.09 [+0.00] Two devices with the same source address # 232.38 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 232.70 [+0.31] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 232.70 [+0.00] VRF with single device using src address # 233.00 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 233.00 [+0.00] VRF with two devices using src address # 233.29 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 233.58 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 233.59 [+0.00] src address and nexthop dev in same VRF # 233.88 [+0.30] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 234.04 [+0.16] TEST: Prefsrc in default VRF not removed [ OK ] # 234.70 [+0.66] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 234.83 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 234.83 [+0.00] src address and nexthop device in different VRF # 235.15 [+0.31] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 235.31 [+0.17] TEST: Prefsrc not removed in default VRF [ OK ] # 235.82 [+0.50] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 235.95 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 235.96 [+0.00] Table ID 0 # 236.25 [+0.29] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 236.26 [+0.00] Link local source route # 236.56 [+0.31] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 236.86 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 237.00 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 237.44 [+0.44] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 240.16 [+2.72] # 240.16 [+0.00] IPv4 mangling tests # 252.59 [+12.43] TEST: Connection with correct parameters [ OK ] # 252.90 [+0.31] TEST: Connection with incorrect parameters [ OK ] # 254.22 [+1.31] TEST: Connection with correct parameters - mangling [ OK ] # 255.37 [+1.16] TEST: Connection with correct parameters - no mangling [ OK ] # 255.48 [+0.11] TEST: Connection check - server side [ OK ] # 258.86 [+3.38] # 258.86 [+0.00] IPv6 mangling tests # 271.28 [+12.41] TEST: Connection with correct parameters [ OK ] # 271.65 [+0.38] TEST: Connection with incorrect parameters [ OK ] # 272.84 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 274.04 [+1.21] TEST: Connection with correct parameters - no mangling [ OK ] # 274.15 [+0.11] TEST: Connection check - server side [ OK ] # 277.65 [+3.50] # 277.65 [+0.00] IPv4 broadcast neighbour tests # 282.05 [+4.40] TEST: Resolved neighbour for broadcast address [ OK ] # 282.22 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 282.40 [+0.18] TEST: Unresolved neighbour for broadcast address [ OK ] # 282.57 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 286.36 [+3.79] # 286.36 [+0.00] Fib6 garbage collection test # 300.84 [+14.47] TEST: ipv6 route garbage collection [ OK ] # 315.62 [+14.79] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 330.43 [+14.80] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 345.32 [+14.90] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 360.79 [+15.47] TEST: ipv6 route garbage collection (RA message) [ OK ] # 362.19 [+1.40] # 362.19 [+0.00] IPv4 multipath list receive tests # 386.61 [+24.42] TEST: Multipath route hit ratio (1.00) [ OK ] # 389.64 [+3.04] # 389.64 [+0.00] IPv6 multipath list receive tests # 412.48 [+22.84] TEST: Multipath route hit ratio (1.00) [ OK ] # 415.48 [+3.00] # 415.48 [+0.00] Tests passed: 229 # 415.48 [+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__->