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.05 [+1.05] # 1.05 [+0.00] Single path route test # 2.90 [+1.86] Start point # 3.07 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.23 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.42 [+0.19] Nexthop device deleted # 3.59 [+0.17] TEST: IPv4 fibmatch - no route [ OK ] # 3.75 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.73 [+0.98] # 4.73 [+0.00] Multipath route test # 8.07 [+3.34] Start point # 8.24 [+0.17] TEST: IPv4 fibmatch [ OK ] # 8.40 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.60 [+0.21] One nexthop device deleted # 8.77 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.92 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 9.11 [+0.19] Second nexthop device deleted # 9.27 [+0.16] TEST: IPv6 - no route [ OK ] # 10.26 [+0.99] # 10.26 [+0.00] Single path, admin down # 12.70 [+2.43] Start point # 12.87 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.03 [+0.17] TEST: IPv6 fibmatch [ OK ] # 13.20 [+0.16] Route deleted on down # 13.38 [+0.18] TEST: IPv4 fibmatch [ OK ] # 13.54 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.35 [+0.81] # 14.35 [+0.00] Admin down multipath # 17.66 [+3.32] Verify start point # 17.84 [+0.17] TEST: IPv4 fibmatch [ OK ] # 18.00 [+0.17] TEST: IPv6 fibmatch [ OK ] # 18.16 [+0.16] One device down, one up # 18.33 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.50 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 18.67 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 18.83 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 18.97 [+0.14] TEST: IPv4 flags on down device [ OK ] # 19.14 [+0.16] TEST: IPv6 flags on down device [ OK ] # 19.29 [+0.15] TEST: IPv4 flags on up device [ OK ] # 19.44 [+0.15] TEST: IPv6 flags on up device [ OK ] # 19.78 [+0.34] Other device down and up # 19.94 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 20.10 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 20.27 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 20.44 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 20.58 [+0.14] TEST: IPv4 flags on down device [ OK ] # 20.74 [+0.15] TEST: IPv6 flags on down device [ OK ] # 20.89 [+0.15] TEST: IPv4 flags on up device [ OK ] # 21.04 [+0.15] TEST: IPv6 flags on up device [ OK ] # 21.21 [+0.16] Both devices down # 21.37 [+0.16] TEST: IPv4 fibmatch [ OK ] # 21.54 [+0.17] TEST: IPv6 fibmatch [ OK ] # 22.59 [+1.05] # 22.59 [+0.00] Local carrier tests - single path # 25.07 [+2.48] Start point # 25.22 [+0.16] TEST: IPv4 fibmatch [ OK ] # 25.39 [+0.16] TEST: IPv6 fibmatch [ OK ] # 25.51 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 25.66 [+0.15] TEST: IPv6 - no linkdown flag [ OK ] # 26.93 [+1.27] Carrier off on nexthop # 27.09 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.26 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.39 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 27.54 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 27.87 [+0.33] Route to local address with carrier down # 28.03 [+0.16] TEST: IPv4 fibmatch [ OK ] # 28.19 [+0.16] TEST: IPv6 fibmatch [ OK ] # 28.32 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 28.45 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 29.23 [+0.78] # 29.23 [+0.00] Single path route carrier test # 31.64 [+2.40] Start point # 31.80 [+0.16] TEST: IPv4 fibmatch [ OK ] # 31.96 [+0.17] TEST: IPv6 fibmatch [ OK ] # 32.10 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 32.22 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 33.49 [+1.27] Carrier down # 33.64 [+0.15] TEST: IPv4 fibmatch [ OK ] # 33.80 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.93 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 34.07 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 34.38 [+0.31] Second address added with carrier down # 34.53 [+0.15] TEST: IPv4 fibmatch [ OK ] # 34.69 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.84 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 34.97 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 42.26 [+7.29] # 42.26 [+0.00] IPv4 nexthop tests # 42.27 [+0.00] <<< write me >>> # 42.61 [+0.35] # 42.61 [+0.00] IPv6 nexthop tests # 42.79 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 42.96 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 43.13 [+0.18] TEST: Gateway is linklocal address [ OK ] # 43.31 [+0.18] TEST: Gateway is linklocal address, no device [ OK ] # 43.50 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 43.67 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.85 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 44.02 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 44.20 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 44.37 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.54 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 44.71 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.88 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 45.04 [+0.16] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.59 [+1.55] # 46.59 [+0.00] FIB rule with suppress_prefixlength # 50.05 [+3.45] TEST: FIB rule suppress test [ OK ] # 53.14 [+3.10] # 53.14 [+0.00] Fib6 info length calculation in route notify test # 58.94 [+5.80] TEST: ipv6 route add notify [ OK ] # 62.11 [+3.17] # 62.11 [+0.00] Fib4 info length calculation in route notify test # 68.18 [+6.07] TEST: ipv4 route add notify [ OK ] # 78.90 [+10.72] # 78.90 [+0.00] IPv6 route add / append tests # 79.72 [+0.82] TEST: Attempt to add duplicate route - gw [ OK ] # 80.57 [+0.85] TEST: Attempt to add duplicate route - dev only [ OK ] # 81.41 [+0.84] TEST: Attempt to add duplicate route - reject route [ OK ] # 82.43 [+1.02] TEST: Append nexthop to existing route - gw [ OK ] # 83.27 [+0.84] TEST: Add multipath route [ OK ] # 84.15 [+0.88] TEST: Attempt to add duplicate multipath route [ OK ] # 85.25 [+1.10] TEST: Route add with different metrics [ OK ] # 85.71 [+0.46] TEST: Route delete with metric [ OK ] # 85.72 [+0.00] # 85.72 [+0.00] IPv6 route replace tests # 86.82 [+1.10] TEST: Single path with single path [ OK ] # 88.01 [+1.18] TEST: Single path with multipath [ OK ] # 89.21 [+1.21] TEST: Single path with single path via multipath attribute [ OK ] # 90.40 [+1.18] TEST: Invalid nexthop [ OK ] # 91.37 [+0.98] TEST: Single path - replace of non-existent route [ OK ] # 92.67 [+1.30] TEST: Multipath with multipath [ OK ] # 93.76 [+1.09] TEST: Multipath with single path [ OK ] # 94.85 [+1.09] TEST: Multipath with single path via multipath attribute [ OK ] # 95.90 [+1.05] TEST: Multipath with dev-only [ OK ] # 97.00 [+1.10] TEST: Multipath - invalid first nexthop [ OK ] # 98.12 [+1.13] TEST: Multipath - invalid second nexthop [ OK ] # 99.18 [+1.06] TEST: Multipath - replace of non-existent route [ OK ] # 99.18 [+0.00] # 99.18 [+0.00] IPv6 route with dsfield tests # 99.64 [+0.45] TEST: Reject route with dsfield [ OK ] # 113.57 [+13.93] # 113.57 [+0.00] IPv4 route add / append tests # 114.41 [+0.84] TEST: Attempt to add duplicate route - gw [ OK ] # 115.23 [+0.82] TEST: Attempt to add duplicate route - dev only [ OK ] # 115.97 [+0.75] TEST: Attempt to add duplicate route - reject route [ OK ] # 116.90 [+0.92] TEST: Add new nexthop for existing prefix [ OK ] # 117.77 [+0.87] TEST: Append nexthop to existing route - gw [ OK ] # 118.64 [+0.87] TEST: Append nexthop to existing route - dev only [ OK ] # 119.51 [+0.87] TEST: Append nexthop to existing route - reject route [ OK ] # 120.19 [+0.69] TEST: Append nexthop to existing reject route - gw [ OK ] # 120.91 [+0.72] TEST: Append nexthop to existing reject route - dev only [ OK ] # 121.59 [+0.68] TEST: add multipath route [ OK ] # 122.31 [+0.72] TEST: Attempt to add duplicate multipath route [ OK ] # 123.17 [+0.86] TEST: Route add with different metrics [ OK ] # 123.52 [+0.35] TEST: Route delete with metric [ OK ] # 123.52 [+0.00] # 123.52 [+0.00] IPv4 route replace tests # 124.39 [+0.87] TEST: Single path with single path [ OK ] # 125.25 [+0.86] TEST: Single path with multipath [ OK ] # 126.08 [+0.83] TEST: Single path with reject route [ OK ] # 126.91 [+0.84] TEST: Single path with single path via multipath attribute [ OK ] # 127.74 [+0.83] TEST: Invalid nexthop [ OK ] # 128.42 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 129.25 [+0.83] TEST: Multipath with multipath [ OK ] # 130.06 [+0.81] TEST: Multipath with single path [ OK ] # 130.90 [+0.83] TEST: Multipath with single path via multipath attribute [ OK ] # 131.73 [+0.84] TEST: Multipath with reject route [ OK ] # 132.59 [+0.86] TEST: Multipath - invalid first nexthop [ OK ] # 133.43 [+0.84] TEST: Multipath - invalid second nexthop [ OK ] # 134.10 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 136.52 [+2.42] TEST: Cached route removed from VRF port device [ OK ] # 136.52 [+0.00] # 136.52 [+0.00] IPv4 route with dsfield tests # 136.86 [+0.33] TEST: Reject route with dsfield 0x01 [ OK ] # 137.04 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 137.19 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 137.69 [+0.49] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 137.83 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 137.99 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 138.12 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 138.27 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 138.43 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 138.55 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 138.68 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 138.83 [+0.15] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 138.97 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 139.13 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 139.26 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 142.06 [+2.80] # 142.06 [+0.00] IPv6 prefix route tests # 145.69 [+3.63] TEST: Default metric [ OK ] # 146.19 [+0.50] TEST: User specified metric on first device [ OK ] # 146.73 [+0.54] TEST: User specified metric on second device [ OK ] # 147.06 [+0.33] TEST: Delete of address on first device [ OK ] # 147.38 [+0.32] TEST: Modify metric of address [ OK ] # 147.99 [+0.61] TEST: Prefix route removed on link down [ OK ] # 148.33 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 148.81 [+0.48] TEST: Set metric with peer route on local side [ OK ] # 148.97 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 149.28 [+0.31] TEST: Modify metric and peer address on local side [ OK ] # 149.42 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 151.15 [+1.73] # 151.15 [+0.00] IPv4 prefix route tests # 154.67 [+3.51] TEST: Default metric [ OK ] # 155.16 [+0.49] TEST: User specified metric on first device [ OK ] # 155.66 [+0.50] TEST: User specified metric on second device [ OK ] # 155.99 [+0.33] TEST: Delete of address on first device [ OK ] # 156.32 [+0.33] TEST: Modify metric of address [ OK ] # 156.64 [+0.32] TEST: Prefix route removed on link down [ OK ] # 156.97 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 157.63 [+0.67] TEST: Modify metric of .0/24 address [ OK ] # 158.13 [+0.50] TEST: Set metric of address with peer route [ OK ] # 158.46 [+0.32] TEST: Modify metric and peer address for peer route [ OK ] # 160.19 [+1.73] # 160.19 [+0.00] IPv6 routes with metrics # 169.09 [+8.90] TEST: Single path route with mtu metric [ OK ] # 169.57 [+0.48] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 170.04 [+0.48] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 170.34 [+0.30] TEST: MTU of second leg [ OK ] # 170.69 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 171.13 [+0.44] TEST: Using route with mtu metric [ OK ] # 171.41 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 174.15 [+2.74] # 174.15 [+0.00] IPv4 route add / append tests # 183.17 [+9.01] TEST: Single path route with mtu metric [ OK ] # 183.51 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 183.96 [+0.45] TEST: Using route with mtu metric [ OK ] # 184.25 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 186.97 [+2.72] # 186.97 [+0.00] IPv4 route with IPv6 gateway tests # 198.16 [+11.20] TEST: Single path route with IPv6 gateway [ OK ] # 198.63 [+0.46] TEST: Single path route with IPv6 gateway - ping [ OK ] # 198.81 [+0.18] TEST: Single path route delete [ OK ] # 199.14 [+0.33] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 199.48 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 199.65 [+0.17] TEST: Multipath route delete exact match [ OK ] # 199.82 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 200.16 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 200.33 [+0.17] TEST: Multipath route delete exact match [ OK ] # 203.06 [+2.73] # 203.06 [+0.00] IPv4 rp_filter tests # 214.35 [+11.30] TEST: rp_filter passes local packets [ OK ] # 214.64 [+0.28] TEST: rp_filter passes loopback packets [ OK ] # 216.00 [+1.36] # 216.00 [+0.00] IPv4 delete address route tests # 221.48 [+5.48] Regular FIB info # 221.78 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 221.90 [+0.12] TEST: Route in default VRF not removed [ OK ] # 222.53 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 222.65 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 222.65 [+0.00] Identical FIB info with different table ID # 222.96 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 223.08 [+0.12] TEST: Route in default VRF not removed [ OK ] # 223.70 [+0.61] TEST: Route removed in default VRF when source address deleted [ OK ] # 223.83 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 223.83 [+0.00] Table ID 0 # 224.12 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 225.83 [+1.71] # 225.83 [+0.00] IPv6 delete address route tests # 235.07 [+9.24] Single device using src address # 235.36 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 235.37 [+0.00] Two devices with the same source address # 235.64 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 235.94 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 235.94 [+0.00] VRF with single device using src address # 236.22 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 236.22 [+0.00] VRF with two devices using src address # 236.51 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 236.80 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 236.80 [+0.00] src address and nexthop dev in same VRF # 237.12 [+0.32] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 237.25 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 237.88 [+0.63] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 238.05 [+0.17] TEST: Prefsrc in default VRF removed [ OK ] # 238.05 [+0.00] src address and nexthop device in different VRF # 238.36 [+0.32] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 238.50 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 238.94 [+0.44] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 239.09 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 239.10 [+0.00] Table ID 0 # 239.37 [+0.28] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 239.38 [+0.00] Link local source route # 239.65 [+0.28] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 239.95 [+0.29] TEST: Prefsrc removed when delete ll addr [ OK ] # 240.07 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 240.52 [+0.46] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 243.25 [+2.73] # 243.25 [+0.00] IPv4 mangling tests # 255.58 [+12.33] TEST: Connection with correct parameters [ OK ] # 255.91 [+0.33] TEST: Connection with incorrect parameters [ OK ] # 257.22 [+1.31] TEST: Connection with correct parameters - mangling [ OK ] # 258.39 [+1.17] TEST: Connection with correct parameters - no mangling [ OK ] # 258.49 [+0.10] TEST: Connection check - server side [ OK ] # 261.86 [+3.37] # 261.86 [+0.00] IPv6 mangling tests # 274.01 [+12.15] TEST: Connection with correct parameters [ OK ] # 274.37 [+0.36] TEST: Connection with incorrect parameters [ OK ] # 275.56 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 276.77 [+1.21] TEST: Connection with correct parameters - no mangling [ OK ] # 276.89 [+0.11] TEST: Connection check - server side [ OK ] # 280.17 [+3.28] # 280.17 [+0.00] IPv4 broadcast neighbour tests # 284.23 [+4.06] TEST: Resolved neighbour for broadcast address [ OK ] # 284.38 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 284.54 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 284.71 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 288.31 [+3.59] # 288.31 [+0.00] Fib6 garbage collection test # 302.72 [+14.41] TEST: ipv6 route garbage collection [ OK ] # 317.37 [+14.65] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 332.00 [+14.63] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 346.76 [+14.77] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 362.08 [+15.32] TEST: ipv6 route garbage collection (RA message) [ OK ] # 363.42 [+1.34] # 363.42 [+0.00] IPv4 multipath list receive tests # 386.87 [+23.44] TEST: Multipath route hit ratio (1.00) [ OK ] # 389.75 [+2.88] # 389.75 [+0.00] IPv6 multipath list receive tests # 412.05 [+22.30] TEST: Multipath route hit ratio (1.00) [ OK ] # 414.96 [+2.92] # 414.96 [+0.00] Tests passed: 229 # 414.96 [+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__->