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.10 [+1.10] # 1.10 [+0.00] Single path route test # 3.01 [+1.91] Start point # 3.17 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.33 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.55 [+0.22] Nexthop device deleted # 3.70 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.85 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.81 [+0.96] # 4.81 [+0.00] Multipath route test # 8.08 [+3.27] Start point # 8.24 [+0.15] TEST: IPv4 fibmatch [ OK ] # 8.40 [+0.17] TEST: IPv6 fibmatch [ OK ] # 8.61 [+0.21] One nexthop device deleted # 8.77 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.93 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.14 [+0.20] Second nexthop device deleted # 9.29 [+0.15] TEST: IPv6 - no route [ OK ] # 10.28 [+0.99] # 10.28 [+0.00] Single path, admin down # 12.60 [+2.32] Start point # 12.75 [+0.15] TEST: IPv4 fibmatch [ OK ] # 12.91 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.09 [+0.17] Route deleted on down # 13.24 [+0.15] TEST: IPv4 fibmatch [ OK ] # 13.39 [+0.15] TEST: IPv6 fibmatch [ OK ] # 14.20 [+0.80] # 14.20 [+0.00] Admin down multipath # 17.64 [+3.45] Verify start point # 17.81 [+0.17] TEST: IPv4 fibmatch [ OK ] # 17.97 [+0.16] TEST: IPv6 fibmatch [ OK ] # 18.15 [+0.17] One device down, one up # 18.30 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 18.46 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.65 [+0.19] TEST: IPv4 fibmatch on up device [ OK ] # 18.81 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 18.93 [+0.12] TEST: IPv4 flags on down device [ OK ] # 19.08 [+0.15] TEST: IPv6 flags on down device [ OK ] # 19.24 [+0.15] TEST: IPv4 flags on up device [ OK ] # 19.37 [+0.13] TEST: IPv6 flags on up device [ OK ] # 19.69 [+0.32] Other device down and up # 19.86 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 20.03 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 20.20 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 20.38 [+0.18] TEST: IPv6 fibmatch on up device [ OK ] # 20.50 [+0.12] TEST: IPv4 flags on down device [ OK ] # 20.63 [+0.14] TEST: IPv6 flags on down device [ OK ] # 20.76 [+0.13] TEST: IPv4 flags on up device [ OK ] # 20.88 [+0.12] TEST: IPv6 flags on up device [ OK ] # 21.06 [+0.19] Both devices down # 21.23 [+0.17] TEST: IPv4 fibmatch [ OK ] # 21.42 [+0.19] TEST: IPv6 fibmatch [ OK ] # 22.49 [+1.07] # 22.49 [+0.00] Local carrier tests - single path # 25.11 [+2.62] Start point # 25.28 [+0.17] TEST: IPv4 fibmatch [ OK ] # 25.46 [+0.18] TEST: IPv6 fibmatch [ OK ] # 25.59 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 25.76 [+0.17] TEST: IPv6 - no linkdown flag [ OK ] # 27.08 [+1.31] Carrier off on nexthop # 27.24 [+0.17] TEST: IPv4 fibmatch [ OK ] # 27.41 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.55 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 27.72 [+0.17] TEST: IPv6 - linkdown flag set [ OK ] # 28.07 [+0.36] Route to local address with carrier down # 28.26 [+0.18] TEST: IPv4 fibmatch [ OK ] # 28.43 [+0.18] TEST: IPv6 fibmatch [ OK ] # 28.56 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 28.71 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 29.50 [+0.79] # 29.50 [+0.00] Single path route carrier test # 32.07 [+2.57] Start point # 32.24 [+0.17] TEST: IPv4 fibmatch [ OK ] # 32.40 [+0.16] TEST: IPv6 fibmatch [ OK ] # 32.52 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 32.67 [+0.15] TEST: IPv6 no linkdown flag [ OK ] # 33.94 [+1.27] Carrier down # 34.12 [+0.18] TEST: IPv4 fibmatch [ OK ] # 34.32 [+0.20] TEST: IPv6 fibmatch [ OK ] # 34.48 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 34.62 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 34.94 [+0.32] Second address added with carrier down # 35.11 [+0.17] TEST: IPv4 fibmatch [ OK ] # 35.26 [+0.15] TEST: IPv6 fibmatch [ OK ] # 35.40 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 35.54 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 43.20 [+7.66] # 43.20 [+0.00] IPv4 nexthop tests # 43.20 [+0.00] <<< write me >>> # 43.56 [+0.36] # 43.56 [+0.00] IPv6 nexthop tests # 43.74 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 43.91 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.08 [+0.18] TEST: Gateway is linklocal address [ OK ] # 44.26 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 44.44 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 44.62 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 44.79 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 44.96 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 45.15 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 45.32 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 45.51 [+0.19] TEST: Redirect to VRF lookup [ OK ] # 45.69 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 45.85 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 46.02 [+0.16] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 47.54 [+1.53] # 47.54 [+0.00] FIB rule with suppress_prefixlength # 51.32 [+3.78] TEST: FIB rule suppress test [ OK ] # 54.67 [+3.35] # 54.67 [+0.00] Fib6 info length calculation in route notify test # 60.68 [+6.01] TEST: ipv6 route add notify [ OK ] # 64.00 [+3.32] # 64.01 [+0.00] Fib4 info length calculation in route notify test # 69.92 [+5.92] TEST: ipv4 route add notify [ OK ] # 78.78 [+8.85] # 78.78 [+0.00] IPv6 route add / append tests # 79.49 [+0.71] TEST: Attempt to add duplicate route - gw [ OK ] # 80.17 [+0.68] TEST: Attempt to add duplicate route - dev only [ OK ] # 80.84 [+0.67] TEST: Attempt to add duplicate route - reject route [ OK ] # 81.68 [+0.84] TEST: Append nexthop to existing route - gw [ OK ] # 82.36 [+0.67] TEST: Add multipath route [ OK ] # 83.08 [+0.72] TEST: Attempt to add duplicate multipath route [ OK ] # 83.94 [+0.87] TEST: Route add with different metrics [ OK ] # 84.28 [+0.34] TEST: Route delete with metric [ OK ] # 84.29 [+0.00] # 84.29 [+0.00] IPv6 route replace tests # 85.22 [+0.93] TEST: Single path with single path [ OK ] # 86.05 [+0.83] TEST: Single path with multipath [ OK ] # 86.89 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 87.72 [+0.83] TEST: Invalid nexthop [ OK ] # 88.41 [+0.69] TEST: Single path - replace of non-existent route [ OK ] # 89.23 [+0.83] TEST: Multipath with multipath [ OK ] # 90.06 [+0.83] TEST: Multipath with single path [ OK ] # 91.03 [+0.97] TEST: Multipath with single path via multipath attribute [ OK ] # 91.90 [+0.87] TEST: Multipath with dev-only [ OK ] # 92.77 [+0.87] TEST: Multipath - invalid first nexthop [ OK ] # 93.60 [+0.83] TEST: Multipath - invalid second nexthop [ OK ] # 94.27 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 94.27 [+0.00] # 94.27 [+0.00] IPv6 route with dsfield tests # 94.63 [+0.36] TEST: Reject route with dsfield [ OK ] # 106.43 [+11.79] # 106.43 [+0.00] IPv4 route add / append tests # 107.39 [+0.96] TEST: Attempt to add duplicate route - gw [ OK ] # 108.37 [+0.98] TEST: Attempt to add duplicate route - dev only [ OK ] # 109.07 [+0.69] TEST: Attempt to add duplicate route - reject route [ OK ] # 109.90 [+0.83] TEST: Add new nexthop for existing prefix [ OK ] # 110.74 [+0.84] TEST: Append nexthop to existing route - gw [ OK ] # 111.56 [+0.83] TEST: Append nexthop to existing route - dev only [ OK ] # 112.43 [+0.86] TEST: Append nexthop to existing route - reject route [ OK ] # 113.10 [+0.67] TEST: Append nexthop to existing reject route - gw [ OK ] # 113.79 [+0.69] TEST: Append nexthop to existing reject route - dev only [ OK ] # 114.46 [+0.67] TEST: add multipath route [ OK ] # 115.13 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 115.99 [+0.86] TEST: Route add with different metrics [ OK ] # 116.34 [+0.35] TEST: Route delete with metric [ OK ] # 116.35 [+0.00] # 116.35 [+0.00] IPv4 route replace tests # 117.22 [+0.87] TEST: Single path with single path [ OK ] # 118.07 [+0.85] TEST: Single path with multipath [ OK ] # 118.99 [+0.92] TEST: Single path with reject route [ OK ] # 119.86 [+0.87] TEST: Single path with single path via multipath attribute [ OK ] # 120.72 [+0.86] TEST: Invalid nexthop [ OK ] # 121.43 [+0.71] TEST: Single path - replace of non-existent route [ OK ] # 122.37 [+0.93] TEST: Multipath with multipath [ OK ] # 123.31 [+0.95] TEST: Multipath with single path [ OK ] # 124.32 [+1.00] TEST: Multipath with single path via multipath attribute [ OK ] # 125.31 [+0.99] TEST: Multipath with reject route [ OK ] # 126.27 [+0.96] TEST: Multipath - invalid first nexthop [ OK ] # 127.28 [+1.00] TEST: Multipath - invalid second nexthop [ OK ] # 128.14 [+0.86] TEST: Multipath - replace of non-existent route [ OK ] # 130.94 [+2.81] TEST: Cached route removed from VRF port device [ OK ] # 130.95 [+0.00] # 130.95 [+0.00] IPv4 route with dsfield tests # 131.32 [+0.37] TEST: Reject route with dsfield 0x01 [ OK ] # 131.51 [+0.19] TEST: Reject route with dsfield 0x02 [ OK ] # 131.70 [+0.19] TEST: Reject route with dsfield 0x03 [ OK ] # 132.24 [+0.55] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 132.42 [+0.17] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 132.58 [+0.17] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 132.78 [+0.20] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 132.97 [+0.19] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 133.13 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 133.29 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 133.46 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 133.68 [+0.22] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 133.85 [+0.18] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 134.03 [+0.17] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 134.23 [+0.20] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 137.69 [+3.46] # 137.69 [+0.00] IPv6 prefix route tests # 142.16 [+4.47] TEST: Default metric [ OK ] # 142.77 [+0.61] TEST: User specified metric on first device [ OK ] # 143.40 [+0.64] TEST: User specified metric on second device [ OK ] # 143.84 [+0.44] TEST: Delete of address on first device [ OK ] # 144.23 [+0.39] TEST: Modify metric of address [ OK ] # 144.98 [+0.75] TEST: Prefix route removed on link down [ OK ] # 145.37 [+0.39] TEST: Prefix route with metric on link up [ OK ] # 146.04 [+0.67] TEST: Set metric with peer route on local side [ OK ] # 146.23 [+0.19] TEST: Set metric with peer route on peer side [ OK ] # 146.62 [+0.39] TEST: Modify metric and peer address on local side [ OK ] # 146.85 [+0.23] TEST: Modify metric and peer address on peer side [ OK ] # 149.21 [+2.35] # 149.21 [+0.00] IPv4 prefix route tests # 153.29 [+4.08] TEST: Default metric [ OK ] # 153.83 [+0.54] TEST: User specified metric on first device [ OK ] # 154.39 [+0.55] TEST: User specified metric on second device [ OK ] # 154.75 [+0.36] TEST: Delete of address on first device [ OK ] # 155.11 [+0.36] TEST: Modify metric of address [ OK ] # 155.45 [+0.34] TEST: Prefix route removed on link down [ OK ] # 155.80 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 156.53 [+0.73] TEST: Modify metric of .0/24 address [ OK ] # 157.04 [+0.51] TEST: Set metric of address with peer route [ OK ] # 157.41 [+0.37] TEST: Modify metric and peer address for peer route [ OK ] # 159.25 [+1.84] # 159.26 [+0.00] IPv6 routes with metrics # 168.51 [+9.26] TEST: Single path route with mtu metric [ OK ] # 169.00 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 169.49 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 169.79 [+0.30] TEST: MTU of second leg [ OK ] # 170.15 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 170.61 [+0.47] TEST: Using route with mtu metric [ OK ] # 170.90 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 173.73 [+2.83] # 173.73 [+0.00] IPv4 route add / append tests # 182.91 [+9.18] TEST: Single path route with mtu metric [ OK ] # 183.25 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 183.72 [+0.47] TEST: Using route with mtu metric [ OK ] # 184.01 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 186.92 [+2.90] # 186.92 [+0.00] IPv4 route with IPv6 gateway tests # 198.21 [+11.29] TEST: Single path route with IPv6 gateway [ OK ] # 198.68 [+0.47] TEST: Single path route with IPv6 gateway - ping [ OK ] # 198.85 [+0.17] TEST: Single path route delete [ OK ] # 199.19 [+0.34] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 199.52 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 199.70 [+0.17] TEST: Multipath route delete exact match [ OK ] # 199.87 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 200.21 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 200.38 [+0.17] TEST: Multipath route delete exact match [ OK ] # 203.03 [+2.66] # 203.03 [+0.00] IPv4 rp_filter tests # 214.70 [+11.67] TEST: rp_filter passes local packets [ OK ] # 214.98 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 216.45 [+1.47] # 216.45 [+0.00] IPv4 delete address route tests # 222.08 [+5.63] Regular FIB info # 222.39 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 222.52 [+0.14] TEST: Route in default VRF not removed [ OK ] # 223.14 [+0.62] TEST: Route removed in default VRF when source address deleted [ OK ] # 223.27 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 223.28 [+0.00] Identical FIB info with different table ID # 223.58 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 223.75 [+0.17] TEST: Route in default VRF not removed [ OK ] # 224.38 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 224.51 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 224.52 [+0.00] Table ID 0 # 224.82 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 226.58 [+1.77] # 226.58 [+0.00] IPv6 delete address route tests # 236.01 [+9.42] Single device using src address # 236.31 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 236.32 [+0.00] Two devices with the same source address # 236.60 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 236.92 [+0.32] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 236.92 [+0.00] VRF with single device using src address # 237.25 [+0.33] TEST: Prefsrc removed when src address removed on other device [ OK ] # 237.26 [+0.00] VRF with two devices using src address # 237.57 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 237.86 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 237.87 [+0.00] src address and nexthop dev in same VRF # 238.19 [+0.32] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 238.34 [+0.16] TEST: Prefsrc in default VRF not removed [ OK ] # 238.95 [+0.61] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 239.11 [+0.16] TEST: Prefsrc in default VRF removed [ OK ] # 239.11 [+0.00] src address and nexthop device in different VRF # 239.39 [+0.28] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 239.53 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 240.01 [+0.48] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 240.14 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 240.14 [+0.00] Table ID 0 # 240.44 [+0.30] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 240.44 [+0.00] Link local source route # 240.73 [+0.28] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 241.04 [+0.31] TEST: Prefsrc removed when delete ll addr [ OK ] # 241.16 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 241.61 [+0.44] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 244.29 [+2.68] # 244.29 [+0.00] IPv4 mangling tests # 256.71 [+12.42] TEST: Connection with correct parameters [ OK ] # 257.02 [+0.31] TEST: Connection with incorrect parameters [ OK ] # 258.30 [+1.28] TEST: Connection with correct parameters - mangling [ OK ] # 259.46 [+1.16] TEST: Connection with correct parameters - no mangling [ OK ] # 259.55 [+0.10] TEST: Connection check - server side [ OK ] # 262.92 [+3.37] # 262.92 [+0.00] IPv6 mangling tests # 275.30 [+12.37] TEST: Connection with correct parameters [ OK ] # 275.65 [+0.36] TEST: Connection with incorrect parameters [ OK ] # 276.83 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 278.06 [+1.23] TEST: Connection with correct parameters - no mangling [ OK ] # 278.17 [+0.11] TEST: Connection check - server side [ OK ] # 281.55 [+3.38] # 281.55 [+0.00] IPv4 broadcast neighbour tests # 286.10 [+4.55] TEST: Resolved neighbour for broadcast address [ OK ] # 286.30 [+0.20] TEST: Resolved neighbour for network broadcast address [ OK ] # 286.47 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 286.63 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 290.33 [+3.70] # 290.33 [+0.00] Fib6 garbage collection test # 304.78 [+14.44] TEST: ipv6 route garbage collection [ OK ] # 319.48 [+14.70] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 334.20 [+14.73] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 349.01 [+14.81] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 364.32 [+15.31] TEST: ipv6 route garbage collection (RA message) [ OK ] # 365.71 [+1.39] # 365.71 [+0.00] IPv4 multipath list receive tests # 389.68 [+23.97] TEST: Multipath route hit ratio (1.00) [ OK ] # 392.67 [+2.99] # 392.67 [+0.00] IPv6 multipath list receive tests # 415.71 [+23.04] TEST: Multipath route hit ratio (1.00) [ OK ] # 418.86 [+3.16] # 418.86 [+0.00] Tests passed: 229 # 418.86 [+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__->