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.06 [+1.06] # 1.06 [+0.00] Single path route test # 3.00 [+1.94] Start point # 3.17 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.34 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.55 [+0.21] Nexthop device deleted # 3.71 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.88 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.88 [+1.00] # 4.88 [+0.00] Multipath route test # 8.24 [+3.36] Start point # 8.42 [+0.18] TEST: IPv4 fibmatch [ OK ] # 8.59 [+0.17] TEST: IPv6 fibmatch [ OK ] # 8.79 [+0.20] One nexthop device deleted # 8.96 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.14 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 9.36 [+0.22] Second nexthop device deleted # 9.51 [+0.16] TEST: IPv6 - no route [ OK ] # 10.52 [+1.01] # 10.52 [+0.00] Single path, admin down # 12.96 [+2.44] Start point # 13.12 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.29 [+0.17] TEST: IPv6 fibmatch [ OK ] # 13.45 [+0.16] Route deleted on down # 13.62 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.79 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.62 [+0.84] # 14.62 [+0.00] Admin down multipath # 18.02 [+3.39] Verify start point # 18.17 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.34 [+0.17] TEST: IPv6 fibmatch [ OK ] # 18.51 [+0.16] One device down, one up # 18.67 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 18.83 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.00 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 19.16 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 19.31 [+0.15] TEST: IPv4 flags on down device [ OK ] # 19.44 [+0.12] TEST: IPv6 flags on down device [ OK ] # 19.57 [+0.13] TEST: IPv4 flags on up device [ OK ] # 19.70 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.02 [+0.32] Other device down and up # 20.19 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 20.34 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 20.50 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.66 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.78 [+0.12] TEST: IPv4 flags on down device [ OK ] # 20.91 [+0.12] TEST: IPv6 flags on down device [ OK ] # 21.04 [+0.14] TEST: IPv4 flags on up device [ OK ] # 21.18 [+0.13] TEST: IPv6 flags on up device [ OK ] # 21.36 [+0.18] Both devices down # 21.53 [+0.17] TEST: IPv4 fibmatch [ OK ] # 21.70 [+0.17] TEST: IPv6 fibmatch [ OK ] # 22.71 [+1.01] # 22.71 [+0.00] Local carrier tests - single path # 25.23 [+2.51] Start point # 25.39 [+0.16] TEST: IPv4 fibmatch [ OK ] # 25.56 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.72 [+0.16] TEST: IPv4 - no linkdown flag [ OK ] # 25.86 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 27.15 [+1.28] Carrier off on nexthop # 27.31 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.47 [+0.16] TEST: IPv6 fibmatch [ OK ] # 27.61 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 27.77 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 28.10 [+0.33] Route to local address with carrier down # 28.27 [+0.18] TEST: IPv4 fibmatch [ OK ] # 28.45 [+0.18] TEST: IPv6 fibmatch [ OK ] # 28.60 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 28.73 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 29.54 [+0.81] # 29.54 [+0.00] Single path route carrier test # 32.08 [+2.54] Start point # 32.25 [+0.17] TEST: IPv4 fibmatch [ OK ] # 32.41 [+0.16] TEST: IPv6 fibmatch [ OK ] # 32.54 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 32.68 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 33.96 [+1.28] Carrier down # 34.11 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.27 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.41 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 34.56 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 34.89 [+0.33] Second address added with carrier down # 35.05 [+0.16] TEST: IPv4 fibmatch [ OK ] # 35.23 [+0.18] TEST: IPv6 fibmatch [ OK ] # 35.37 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 35.52 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 43.12 [+7.60] # 43.12 [+0.00] IPv4 nexthop tests # 43.12 [+0.00] <<< write me >>> # 43.44 [+0.32] # 43.44 [+0.00] IPv6 nexthop tests # 43.63 [+0.19] TEST: Directly connected nexthop, unicast address [ OK ] # 43.84 [+0.20] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.05 [+0.21] TEST: Gateway is linklocal address [ OK ] # 44.24 [+0.19] TEST: Gateway is linklocal address, no device [ OK ] # 44.40 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 44.59 [+0.19] TEST: Gateway can not be local unicast address, with device [ OK ] # 44.76 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 44.96 [+0.19] TEST: Gateway can be local address in a VRF [ OK ] # 45.16 [+0.20] TEST: Gateway can be local address in a VRF, with device [ OK ] # 45.37 [+0.21] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 45.54 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 45.73 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 45.93 [+0.20] TEST: VRF route, gateway can not be a local address [ OK ] # 46.11 [+0.18] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 47.65 [+1.54] # 47.65 [+0.00] FIB rule with suppress_prefixlength # 51.31 [+3.65] TEST: FIB rule suppress test [ OK ] # 54.63 [+3.32] # 54.63 [+0.00] Fib6 info length calculation in route notify test # 60.67 [+6.04] TEST: ipv6 route add notify [ OK ] # 63.91 [+3.24] # 63.91 [+0.00] Fib4 info length calculation in route notify test # 69.78 [+5.87] TEST: ipv4 route add notify [ OK ] # 78.54 [+8.76] # 78.54 [+0.00] IPv6 route add / append tests # 79.20 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 79.87 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 80.58 [+0.70] TEST: Attempt to add duplicate route - reject route [ OK ] # 81.44 [+0.86] TEST: Append nexthop to existing route - gw [ OK ] # 82.12 [+0.68] TEST: Add multipath route [ OK ] # 82.81 [+0.69] TEST: Attempt to add duplicate multipath route [ OK ] # 83.68 [+0.87] TEST: Route add with different metrics [ OK ] # 84.01 [+0.32] TEST: Route delete with metric [ OK ] # 84.01 [+0.00] # 84.01 [+0.00] IPv6 route replace tests # 84.84 [+0.82] TEST: Single path with single path [ OK ] # 85.70 [+0.87] TEST: Single path with multipath [ OK ] # 86.52 [+0.82] TEST: Single path with single path via multipath attribute [ OK ] # 87.40 [+0.88] TEST: Invalid nexthop [ OK ] # 88.08 [+0.69] TEST: Single path - replace of non-existent route [ OK ] # 88.94 [+0.86] TEST: Multipath with multipath [ OK ] # 89.79 [+0.85] TEST: Multipath with single path [ OK ] # 90.66 [+0.86] TEST: Multipath with single path via multipath attribute [ OK ] # 91.53 [+0.87] TEST: Multipath with dev-only [ OK ] # 92.38 [+0.86] TEST: Multipath - invalid first nexthop [ OK ] # 93.24 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 93.94 [+0.70] TEST: Multipath - replace of non-existent route [ OK ] # 93.94 [+0.00] # 93.94 [+0.00] IPv6 route with dsfield tests # 94.29 [+0.35] TEST: Reject route with dsfield [ OK ] # 106.12 [+11.82] # 106.12 [+0.00] IPv4 route add / append tests # 106.81 [+0.70] TEST: Attempt to add duplicate route - gw [ OK ] # 107.53 [+0.72] TEST: Attempt to add duplicate route - dev only [ OK ] # 108.22 [+0.69] TEST: Attempt to add duplicate route - reject route [ OK ] # 109.10 [+0.88] TEST: Add new nexthop for existing prefix [ OK ] # 109.99 [+0.89] TEST: Append nexthop to existing route - gw [ OK ] # 110.88 [+0.89] TEST: Append nexthop to existing route - dev only [ OK ] # 111.77 [+0.88] TEST: Append nexthop to existing route - reject route [ OK ] # 112.47 [+0.70] TEST: Append nexthop to existing reject route - gw [ OK ] # 113.16 [+0.69] TEST: Append nexthop to existing reject route - dev only [ OK ] # 113.85 [+0.69] TEST: add multipath route [ OK ] # 114.53 [+0.68] TEST: Attempt to add duplicate multipath route [ OK ] # 115.38 [+0.84] TEST: Route add with different metrics [ OK ] # 115.73 [+0.35] TEST: Route delete with metric [ OK ] # 115.73 [+0.00] # 115.73 [+0.00] IPv4 route replace tests # 116.61 [+0.88] TEST: Single path with single path [ OK ] # 117.52 [+0.91] TEST: Single path with multipath [ OK ] # 118.45 [+0.93] TEST: Single path with reject route [ OK ] # 119.32 [+0.88] TEST: Single path with single path via multipath attribute [ OK ] # 120.21 [+0.89] TEST: Invalid nexthop [ OK ] # 120.92 [+0.71] TEST: Single path - replace of non-existent route [ OK ] # 121.79 [+0.87] TEST: Multipath with multipath [ OK ] # 122.73 [+0.93] TEST: Multipath with single path [ OK ] # 123.68 [+0.95] TEST: Multipath with single path via multipath attribute [ OK ] # 124.54 [+0.86] TEST: Multipath with reject route [ OK ] # 125.44 [+0.90] TEST: Multipath - invalid first nexthop [ OK ] # 126.34 [+0.90] TEST: Multipath - invalid second nexthop [ OK ] # 127.06 [+0.71] TEST: Multipath - replace of non-existent route [ OK ] # 129.53 [+2.47] TEST: Cached route removed from VRF port device [ OK ] # 129.53 [+0.00] # 129.53 [+0.00] IPv4 route with dsfield tests # 129.88 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 130.06 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 130.24 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 130.71 [+0.47] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 130.86 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 131.00 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 131.14 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 131.28 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 131.44 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 131.58 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 131.72 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 131.85 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 131.98 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 132.13 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 132.28 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 135.10 [+2.82] # 135.10 [+0.00] IPv6 prefix route tests # 138.77 [+3.67] TEST: Default metric [ OK ] # 139.28 [+0.51] TEST: User specified metric on first device [ OK ] # 139.79 [+0.51] TEST: User specified metric on second device [ OK ] # 140.13 [+0.33] TEST: Delete of address on first device [ OK ] # 140.46 [+0.33] TEST: Modify metric of address [ OK ] # 141.05 [+0.59] TEST: Prefix route removed on link down [ OK ] # 141.39 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 141.87 [+0.48] TEST: Set metric with peer route on local side [ OK ] # 142.02 [+0.15] TEST: Set metric with peer route on peer side [ OK ] # 142.33 [+0.31] TEST: Modify metric and peer address on local side [ OK ] # 142.50 [+0.16] TEST: Modify metric and peer address on peer side [ OK ] # 144.30 [+1.80] # 144.30 [+0.00] IPv4 prefix route tests # 148.06 [+3.76] TEST: Default metric [ OK ] # 148.61 [+0.55] TEST: User specified metric on first device [ OK ] # 149.14 [+0.52] TEST: User specified metric on second device [ OK ] # 149.48 [+0.34] TEST: Delete of address on first device [ OK ] # 149.84 [+0.35] TEST: Modify metric of address [ OK ] # 150.19 [+0.36] TEST: Prefix route removed on link down [ OK ] # 150.55 [+0.36] TEST: Prefix route with metric on link up [ OK ] # 151.25 [+0.70] TEST: Modify metric of .0/24 address [ OK ] # 151.79 [+0.54] TEST: Set metric of address with peer route [ OK ] # 152.14 [+0.35] TEST: Modify metric and peer address for peer route [ OK ] # 154.01 [+1.87] # 154.01 [+0.00] IPv6 routes with metrics # 163.49 [+9.48] TEST: Single path route with mtu metric [ OK ] # 163.99 [+0.50] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 164.54 [+0.54] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 164.88 [+0.34] TEST: MTU of second leg [ OK ] # 165.21 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 165.69 [+0.48] TEST: Using route with mtu metric [ OK ] # 165.99 [+0.30] TEST: Invalid metric (fails metric_convert) [ OK ] # 168.92 [+2.92] # 168.92 [+0.00] IPv4 route add / append tests # 178.04 [+9.12] TEST: Single path route with mtu metric [ OK ] # 178.38 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 178.84 [+0.45] TEST: Using route with mtu metric [ OK ] # 179.11 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 181.85 [+2.74] # 181.85 [+0.00] IPv4 route with IPv6 gateway tests # 193.25 [+11.40] TEST: Single path route with IPv6 gateway [ OK ] # 193.74 [+0.49] TEST: Single path route with IPv6 gateway - ping [ OK ] # 193.92 [+0.18] TEST: Single path route delete [ OK ] # 194.29 [+0.36] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 194.65 [+0.36] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 194.83 [+0.18] TEST: Multipath route delete exact match [ OK ] # 195.01 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 195.35 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 195.53 [+0.17] TEST: Multipath route delete exact match [ OK ] # 198.33 [+2.80] # 198.33 [+0.00] IPv4 rp_filter tests # 210.13 [+11.80] TEST: rp_filter passes local packets [ OK ] # 210.41 [+0.28] TEST: rp_filter passes loopback packets [ OK ] # 211.79 [+1.38] # 211.79 [+0.00] IPv4 delete address route tests # 217.34 [+5.55] Regular FIB info # 217.62 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 217.76 [+0.14] TEST: Route in default VRF not removed [ OK ] # 218.40 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 218.53 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 218.54 [+0.00] Identical FIB info with different table ID # 218.81 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 218.98 [+0.17] TEST: Route in default VRF not removed [ OK ] # 219.58 [+0.60] TEST: Route removed in default VRF when source address deleted [ OK ] # 219.71 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 219.72 [+0.00] Table ID 0 # 220.03 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 221.79 [+1.76] # 221.79 [+0.00] IPv6 delete address route tests # 231.00 [+9.21] Single device using src address # 231.29 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 231.30 [+0.00] Two devices with the same source address # 231.57 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 231.88 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 231.88 [+0.00] VRF with single device using src address # 232.15 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 232.16 [+0.00] VRF with two devices using src address # 232.46 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 232.74 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 232.74 [+0.00] src address and nexthop dev in same VRF # 233.03 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 233.16 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 233.78 [+0.62] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 233.91 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 233.91 [+0.00] src address and nexthop device in different VRF # 234.21 [+0.30] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 234.36 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 234.79 [+0.44] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 234.94 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 234.95 [+0.00] Table ID 0 # 235.23 [+0.29] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 235.24 [+0.00] Link local source route # 235.54 [+0.30] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 235.84 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 235.97 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 236.44 [+0.47] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 239.03 [+2.59] # 239.03 [+0.00] IPv4 mangling tests # 251.20 [+12.17] TEST: Connection with correct parameters [ OK ] # 251.50 [+0.30] TEST: Connection with incorrect parameters [ OK ] # 252.77 [+1.27] TEST: Connection with correct parameters - mangling [ OK ] # 253.92 [+1.15] TEST: Connection with correct parameters - no mangling [ OK ] # 254.03 [+0.11] TEST: Connection check - server side [ OK ] # 257.41 [+3.38] # 257.41 [+0.00] IPv6 mangling tests # 269.62 [+12.21] TEST: Connection with correct parameters [ OK ] # 269.98 [+0.36] TEST: Connection with incorrect parameters [ OK ] # 271.16 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 272.38 [+1.21] TEST: Connection with correct parameters - no mangling [ OK ] # 272.48 [+0.11] TEST: Connection check - server side [ OK ] # 275.90 [+3.41] # 275.90 [+0.00] IPv4 broadcast neighbour tests # 280.26 [+4.36] TEST: Resolved neighbour for broadcast address [ OK ] # 280.42 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 280.59 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 280.76 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 284.43 [+3.67] # 284.43 [+0.00] Fib6 garbage collection test # 298.79 [+14.37] TEST: ipv6 route garbage collection [ OK ] # 313.52 [+14.73] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 328.27 [+14.75] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 343.13 [+14.87] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 358.38 [+15.25] TEST: ipv6 route garbage collection (RA message) [ OK ] # 359.74 [+1.36] # 359.74 [+0.00] IPv4 multipath list receive tests # 383.65 [+23.91] TEST: Multipath route hit ratio (1.00) [ OK ] # 386.75 [+3.10] # 386.75 [+0.00] IPv6 multipath list receive tests # 409.95 [+23.20] TEST: Multipath route hit ratio (1.00) [ OK ] # 412.90 [+2.95] # 412.90 [+0.00] Tests passed: 229 # 412.90 [+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__->