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 # 0.75 [+0.75] # 0.75 [+0.00] Single path route test # 2.46 [+1.71] Start point # 2.60 [+0.14] TEST: IPv4 fibmatch [ OK ] # 2.75 [+0.14] TEST: IPv6 fibmatch [ OK ] # 2.95 [+0.20] Nexthop device deleted # 3.09 [+0.14] TEST: IPv4 fibmatch - no route [ OK ] # 3.24 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.13 [+0.88] # 4.13 [+0.00] Multipath route test # 7.08 [+2.95] Start point # 7.22 [+0.15] TEST: IPv4 fibmatch [ OK ] # 7.38 [+0.15] TEST: IPv6 fibmatch [ OK ] # 7.57 [+0.19] One nexthop device deleted # 7.71 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.86 [+0.14] TEST: IPv6 - multipath down to single path [ OK ] # 8.05 [+0.19] Second nexthop device deleted # 8.19 [+0.14] TEST: IPv6 - no route [ OK ] # 9.10 [+0.91] # 9.10 [+0.00] Single path, admin down # 11.16 [+2.05] Start point # 11.30 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.45 [+0.15] TEST: IPv6 fibmatch [ OK ] # 11.59 [+0.14] Route deleted on down # 11.74 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.89 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.62 [+0.73] # 12.62 [+0.00] Admin down multipath # 15.58 [+2.97] Verify start point # 15.73 [+0.15] TEST: IPv4 fibmatch [ OK ] # 15.89 [+0.15] TEST: IPv6 fibmatch [ OK ] # 16.04 [+0.15] One device down, one up # 16.19 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 16.33 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 16.48 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 16.63 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 16.76 [+0.12] TEST: IPv4 flags on down device [ OK ] # 16.86 [+0.11] TEST: IPv6 flags on down device [ OK ] # 16.98 [+0.11] TEST: IPv4 flags on up device [ OK ] # 17.12 [+0.15] TEST: IPv6 flags on up device [ OK ] # 17.40 [+0.28] Other device down and up # 17.56 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 17.70 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 17.86 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.02 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 18.13 [+0.11] TEST: IPv4 flags on down device [ OK ] # 18.28 [+0.15] TEST: IPv6 flags on down device [ OK ] # 18.39 [+0.11] TEST: IPv4 flags on up device [ OK ] # 18.51 [+0.12] TEST: IPv6 flags on up device [ OK ] # 18.67 [+0.17] Both devices down # 18.81 [+0.14] TEST: IPv4 fibmatch [ OK ] # 18.96 [+0.15] TEST: IPv6 fibmatch [ OK ] # 19.87 [+0.91] # 19.87 [+0.00] Local carrier tests - single path # 22.19 [+2.33] Start point # 22.33 [+0.14] TEST: IPv4 fibmatch [ OK ] # 22.48 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.59 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 22.72 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 23.99 [+1.26] Carrier off on nexthop # 24.13 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.28 [+0.15] TEST: IPv6 fibmatch [ OK ] # 24.42 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 24.58 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 24.88 [+0.30] Route to local address with carrier down # 25.04 [+0.17] TEST: IPv4 fibmatch [ OK ] # 25.20 [+0.16] TEST: IPv6 fibmatch [ OK ] # 25.34 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 25.47 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 26.20 [+0.73] # 26.20 [+0.00] Single path route carrier test # 28.48 [+2.28] Start point # 28.63 [+0.15] TEST: IPv4 fibmatch [ OK ] # 28.77 [+0.14] TEST: IPv6 fibmatch [ OK ] # 28.94 [+0.17] TEST: IPv4 no linkdown flag [ OK ] # 29.06 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 30.31 [+1.25] Carrier down # 30.46 [+0.15] TEST: IPv4 fibmatch [ OK ] # 30.60 [+0.14] TEST: IPv6 fibmatch [ OK ] # 30.76 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 30.91 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 31.20 [+0.29] Second address added with carrier down # 31.35 [+0.14] TEST: IPv4 fibmatch [ OK ] # 31.50 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.66 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 31.77 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 38.51 [+6.74] # 38.51 [+0.00] IPv4 nexthop tests # 38.51 [+0.00] <<< write me >>> # 38.84 [+0.33] # 38.84 [+0.00] IPv6 nexthop tests # 38.99 [+0.15] TEST: Directly connected nexthop, unicast address [ OK ] # 39.17 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 39.33 [+0.16] TEST: Gateway is linklocal address [ OK ] # 39.49 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 39.65 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 39.80 [+0.15] TEST: Gateway can not be local unicast address, with device [ OK ] # 39.95 [+0.15] TEST: Gateway can not be a local linklocal address [ OK ] # 40.11 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 40.26 [+0.15] TEST: Gateway can be local address in a VRF, with device [ OK ] # 40.41 [+0.15] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 40.58 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 40.73 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 40.89 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 41.04 [+0.15] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 42.47 [+1.43] # 42.47 [+0.00] FIB rule with suppress_prefixlength # 45.59 [+3.11] TEST: FIB rule suppress test [ OK ] # 48.36 [+2.78] # 48.36 [+0.00] Fib6 info length calculation in route notify test # 53.73 [+5.37] TEST: ipv6 route add notify [ OK ] # 56.50 [+2.77] # 56.50 [+0.00] Fib4 info length calculation in route notify test # 61.86 [+5.36] TEST: ipv4 route add notify [ OK ] # 69.44 [+7.59] # 69.44 [+0.00] IPv6 route add / append tests # 70.05 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 70.64 [+0.59] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.25 [+0.60] TEST: Attempt to add duplicate route - reject route [ OK ] # 71.99 [+0.74] TEST: Append nexthop to existing route - gw [ OK ] # 72.59 [+0.61] TEST: Add multipath route [ OK ] # 73.19 [+0.60] TEST: Attempt to add duplicate multipath route [ OK ] # 73.94 [+0.75] TEST: Route add with different metrics [ OK ] # 74.23 [+0.29] TEST: Route delete with metric [ OK ] # 74.23 [+0.00] # 74.23 [+0.00] IPv6 route replace tests # 74.95 [+0.71] TEST: Single path with single path [ OK ] # 75.70 [+0.75] TEST: Single path with multipath [ OK ] # 76.45 [+0.75] TEST: Single path with single path via multipath attribute [ OK ] # 77.19 [+0.74] TEST: Invalid nexthop [ OK ] # 77.79 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 78.52 [+0.73] TEST: Multipath with multipath [ OK ] # 79.27 [+0.74] TEST: Multipath with single path [ OK ] # 80.00 [+0.73] TEST: Multipath with single path via multipath attribute [ OK ] # 80.74 [+0.74] TEST: Multipath with dev-only [ OK ] # 81.47 [+0.74] TEST: Multipath - invalid first nexthop [ OK ] # 82.20 [+0.72] TEST: Multipath - invalid second nexthop [ OK ] # 82.80 [+0.60] TEST: Multipath - replace of non-existent route [ OK ] # 82.80 [+0.00] # 82.80 [+0.00] IPv6 route with dsfield tests # 83.10 [+0.30] TEST: Reject route with dsfield [ OK ] # 93.53 [+10.43] # 93.53 [+0.00] IPv4 route add / append tests # 94.14 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 94.74 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 95.35 [+0.61] TEST: Attempt to add duplicate route - reject route [ OK ] # 96.11 [+0.76] TEST: Add new nexthop for existing prefix [ OK ] # 96.87 [+0.76] TEST: Append nexthop to existing route - gw [ OK ] # 97.63 [+0.75] TEST: Append nexthop to existing route - dev only [ OK ] # 98.36 [+0.73] TEST: Append nexthop to existing route - reject route [ OK ] # 98.95 [+0.59] TEST: Append nexthop to existing reject route - gw [ OK ] # 99.55 [+0.59] TEST: Append nexthop to existing reject route - dev only [ OK ] # 100.14 [+0.59] TEST: add multipath route [ OK ] # 100.71 [+0.57] TEST: Attempt to add duplicate multipath route [ OK ] # 101.45 [+0.74] TEST: Route add with different metrics [ OK ] # 101.74 [+0.29] TEST: Route delete with metric [ OK ] # 101.74 [+0.00] # 101.74 [+0.00] IPv4 route replace tests # 102.46 [+0.72] TEST: Single path with single path [ OK ] # 103.21 [+0.75] TEST: Single path with multipath [ OK ] # 103.95 [+0.74] TEST: Single path with reject route [ OK ] # 104.69 [+0.75] TEST: Single path with single path via multipath attribute [ OK ] # 105.42 [+0.73] TEST: Invalid nexthop [ OK ] # 106.02 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 106.76 [+0.75] TEST: Multipath with multipath [ OK ] # 107.49 [+0.73] TEST: Multipath with single path [ OK ] # 108.23 [+0.74] TEST: Multipath with single path via multipath attribute [ OK ] # 108.96 [+0.74] TEST: Multipath with reject route [ OK ] # 109.71 [+0.75] TEST: Multipath - invalid first nexthop [ OK ] # 110.46 [+0.75] TEST: Multipath - invalid second nexthop [ OK ] # 111.05 [+0.59] TEST: Multipath - replace of non-existent route [ OK ] # 113.19 [+2.15] TEST: Cached route removed from VRF port device [ OK ] # 113.20 [+0.00] # 113.20 [+0.00] IPv4 route with dsfield tests # 113.49 [+0.29] TEST: Reject route with dsfield 0x01 [ OK ] # 113.65 [+0.16] TEST: Reject route with dsfield 0x02 [ OK ] # 113.82 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 114.25 [+0.43] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 114.37 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 114.49 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 114.62 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 114.72 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 114.84 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 114.96 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 115.08 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 115.21 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 115.32 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 115.45 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 115.59 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 118.14 [+2.55] # 118.14 [+0.00] IPv6 prefix route tests # 121.33 [+3.19] TEST: Default metric [ OK ] # 121.77 [+0.44] TEST: User specified metric on first device [ OK ] # 122.24 [+0.46] TEST: User specified metric on second device [ OK ] # 122.52 [+0.28] TEST: Delete of address on first device [ OK ] # 122.80 [+0.29] TEST: Modify metric of address [ OK ] # 123.35 [+0.55] TEST: Prefix route removed on link down [ OK ] # 123.65 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 124.10 [+0.45] TEST: Set metric with peer route on local side [ OK ] # 124.23 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 124.52 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 124.65 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 126.26 [+1.61] # 126.26 [+0.00] IPv4 prefix route tests # 129.47 [+3.21] TEST: Default metric [ OK ] # 129.93 [+0.46] TEST: User specified metric on first device [ OK ] # 130.39 [+0.45] TEST: User specified metric on second device [ OK ] # 130.69 [+0.31] TEST: Delete of address on first device [ OK ] # 131.00 [+0.31] TEST: Modify metric of address [ OK ] # 131.29 [+0.29] TEST: Prefix route removed on link down [ OK ] # 131.59 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 132.20 [+0.61] TEST: Modify metric of .0/24 address [ OK ] # 132.67 [+0.47] TEST: Set metric of address with peer route [ OK ] # 132.97 [+0.30] TEST: Modify metric and peer address for peer route [ OK ] # 134.55 [+1.59] # 134.55 [+0.00] IPv6 routes with metrics # 142.68 [+8.12] TEST: Single path route with mtu metric [ OK ] # 143.12 [+0.45] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 143.58 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 143.86 [+0.28] TEST: MTU of second leg [ OK ] # 144.18 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 144.59 [+0.41] TEST: Using route with mtu metric [ OK ] # 144.86 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 147.49 [+2.63] # 147.49 [+0.00] IPv4 route add / append tests # 155.61 [+8.12] TEST: Single path route with mtu metric [ OK ] # 155.91 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 156.32 [+0.41] TEST: Using route with mtu metric [ OK ] # 156.59 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 159.18 [+2.59] # 159.18 [+0.00] IPv4 route with IPv6 gateway tests # 169.47 [+10.30] TEST: Single path route with IPv6 gateway [ OK ] # 169.90 [+0.43] TEST: Single path route with IPv6 gateway - ping [ OK ] # 170.06 [+0.16] TEST: Single path route delete [ OK ] # 170.35 [+0.29] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 170.67 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 170.83 [+0.15] TEST: Multipath route delete exact match [ OK ] # 170.99 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 171.30 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 171.46 [+0.16] TEST: Multipath route delete exact match [ OK ] # 174.13 [+2.67] # 174.13 [+0.00] IPv4 rp_filter tests # 184.86 [+10.73] TEST: rp_filter passes local packets [ OK ] # 185.12 [+0.27] TEST: rp_filter passes loopback packets [ OK ] # 186.39 [+1.27] # 186.39 [+0.00] IPv4 delete address route tests # 191.57 [+5.18] Regular FIB info # 191.85 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 191.99 [+0.14] TEST: Route in default VRF not removed [ OK ] # 192.54 [+0.55] TEST: Route removed in default VRF when source address deleted [ OK ] # 192.66 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 192.66 [+0.00] Identical FIB info with different table ID # 192.94 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 193.07 [+0.13] TEST: Route in default VRF not removed [ OK ] # 193.63 [+0.56] TEST: Route removed in default VRF when source address deleted [ OK ] # 193.75 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 193.75 [+0.00] Table ID 0 # 194.03 [+0.28] TEST: Route removed in default VRF when source address deleted [ OK ] # 195.62 [+1.60] # 195.62 [+0.00] IPv6 delete address route tests # 204.07 [+8.45] Single device using src address # 204.33 [+0.26] TEST: Prefsrc removed when src address removed on other device [ OK ] # 204.34 [+0.00] Two devices with the same source address # 204.62 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 204.87 [+0.25] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 204.87 [+0.00] VRF with single device using src address # 205.16 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 205.16 [+0.00] VRF with two devices using src address # 205.41 [+0.25] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 205.68 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 205.69 [+0.00] src address and nexthop dev in same VRF # 205.96 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 206.09 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 206.65 [+0.55] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 206.78 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 206.78 [+0.00] src address and nexthop device in different VRF # 207.04 [+0.25] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 207.18 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 207.60 [+0.42] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 207.70 [+0.11] TEST: Prefsrc removed in default VRF [ OK ] # 207.70 [+0.00] Table ID 0 # 207.98 [+0.28] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 207.98 [+0.00] Link local source route # 208.26 [+0.27] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 208.54 [+0.28] TEST: Prefsrc removed when delete ll addr [ OK ] # 208.66 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 209.06 [+0.41] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 211.54 [+2.48] # 211.54 [+0.00] IPv4 mangling tests # 223.39 [+11.86] TEST: Connection with correct parameters [ OK ] # 223.69 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 224.91 [+1.22] TEST: Connection with correct parameters - mangling [ OK ] # 226.03 [+1.11] TEST: Connection with correct parameters - no mangling [ OK ] # 226.13 [+0.11] TEST: Connection check - server side [ OK ] # 229.39 [+3.26] # 229.39 [+0.00] IPv6 mangling tests # 241.09 [+11.70] TEST: Connection with correct parameters [ OK ] # 241.43 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 242.55 [+1.12] TEST: Connection with correct parameters - mangling [ OK ] # 243.70 [+1.15] TEST: Connection with correct parameters - no mangling [ OK ] # 243.81 [+0.11] TEST: Connection check - server side [ OK ] # 246.91 [+3.10] # 246.91 [+0.00] IPv4 broadcast neighbour tests # 250.84 [+3.93] TEST: Resolved neighbour for broadcast address [ OK ] # 250.99 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 251.19 [+0.20] TEST: Unresolved neighbour for broadcast address [ OK ] # 251.34 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 254.69 [+3.35] # 254.69 [+0.00] Fib6 garbage collection test # 268.88 [+14.18] TEST: ipv6 route garbage collection [ OK ] # 283.42 [+14.54] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 298.08 [+14.66] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 312.80 [+14.72] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 328.11 [+15.31] TEST: ipv6 route garbage collection (RA message) [ OK ] # 329.38 [+1.28] # 329.38 [+0.00] IPv4 multipath list receive tests # 352.35 [+22.97] TEST: Multipath route hit ratio (1.00) [ OK ] # 355.20 [+2.85] # 355.20 [+0.00] IPv6 multipath list receive tests # 376.64 [+21.45] TEST: Multipath route hit ratio (1.00) [ OK ] # 379.45 [+2.80] # 379.45 [+0.00] Tests passed: 229 # 379.45 [+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__->