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.68 [+0.68] # 0.68 [+0.00] Single path route test # 2.44 [+1.76] Start point # 2.60 [+0.16] TEST: IPv4 fibmatch [ OK ] # 2.75 [+0.16] TEST: IPv6 fibmatch [ OK ] # 2.96 [+0.20] Nexthop device deleted # 3.12 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.28 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.28 [+1.00] # 4.28 [+0.00] Multipath route test # 7.64 [+3.37] Start point # 7.82 [+0.17] TEST: IPv4 fibmatch [ OK ] # 7.99 [+0.17] TEST: IPv6 fibmatch [ OK ] # 8.20 [+0.21] One nexthop device deleted # 8.36 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.53 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 8.73 [+0.20] Second nexthop device deleted # 8.88 [+0.15] TEST: IPv6 - no route [ OK ] # 9.86 [+0.98] # 9.86 [+0.00] Single path, admin down # 12.21 [+2.35] Start point # 12.39 [+0.18] TEST: IPv4 fibmatch [ OK ] # 12.53 [+0.14] TEST: IPv6 fibmatch [ OK ] # 12.68 [+0.15] Route deleted on down # 12.86 [+0.18] TEST: IPv4 fibmatch [ OK ] # 13.02 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.87 [+0.85] # 13.87 [+0.00] Admin down multipath # 17.26 [+3.39] Verify start point # 17.43 [+0.17] TEST: IPv4 fibmatch [ OK ] # 17.59 [+0.16] TEST: IPv6 fibmatch [ OK ] # 17.75 [+0.16] One device down, one up # 17.91 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 18.05 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 18.25 [+0.20] TEST: IPv4 fibmatch on up device [ OK ] # 18.39 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 18.53 [+0.14] TEST: IPv4 flags on down device [ OK ] # 18.65 [+0.12] TEST: IPv6 flags on down device [ OK ] # 18.77 [+0.11] TEST: IPv4 flags on up device [ OK ] # 18.91 [+0.14] TEST: IPv6 flags on up device [ OK ] # 19.21 [+0.31] Other device down and up # 19.41 [+0.20] TEST: IPv4 fibmatch on down device [ OK ] # 19.55 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 19.71 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.86 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 20.00 [+0.14] TEST: IPv4 flags on down device [ OK ] # 20.14 [+0.14] TEST: IPv6 flags on down device [ OK ] # 20.25 [+0.11] TEST: IPv4 flags on up device [ OK ] # 20.38 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.56 [+0.17] Both devices down # 20.69 [+0.14] TEST: IPv4 fibmatch [ OK ] # 20.85 [+0.16] TEST: IPv6 fibmatch [ OK ] # 21.77 [+0.92] # 21.77 [+0.00] Local carrier tests - single path # 24.11 [+2.34] Start point # 24.26 [+0.15] TEST: IPv4 fibmatch [ OK ] # 24.41 [+0.15] TEST: IPv6 fibmatch [ OK ] # 24.53 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 24.67 [+0.15] TEST: IPv6 - no linkdown flag [ OK ] # 25.96 [+1.28] Carrier off on nexthop # 26.10 [+0.14] TEST: IPv4 fibmatch [ OK ] # 26.24 [+0.15] TEST: IPv6 fibmatch [ OK ] # 26.38 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 26.53 [+0.15] TEST: IPv6 - linkdown flag set [ OK ] # 26.82 [+0.30] Route to local address with carrier down # 26.97 [+0.14] TEST: IPv4 fibmatch [ OK ] # 27.13 [+0.16] TEST: IPv6 fibmatch [ OK ] # 27.24 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 27.36 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 28.09 [+0.73] # 28.09 [+0.00] Single path route carrier test # 30.39 [+2.30] Start point # 30.56 [+0.16] TEST: IPv4 fibmatch [ OK ] # 30.72 [+0.16] TEST: IPv6 fibmatch [ OK ] # 30.85 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 30.97 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 32.24 [+1.27] Carrier down # 32.41 [+0.17] TEST: IPv4 fibmatch [ OK ] # 32.56 [+0.15] TEST: IPv6 fibmatch [ OK ] # 32.70 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 32.82 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 33.13 [+0.31] Second address added with carrier down # 33.28 [+0.15] TEST: IPv4 fibmatch [ OK ] # 33.44 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.57 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 33.70 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 40.61 [+6.92] # 40.61 [+0.00] IPv4 nexthop tests # 40.61 [+0.00] <<< write me >>> # 40.96 [+0.35] # 40.96 [+0.00] IPv6 nexthop tests # 41.11 [+0.15] TEST: Directly connected nexthop, unicast address [ OK ] # 41.27 [+0.16] TEST: Directly connected nexthop, unicast address with device [ OK ] # 41.46 [+0.19] TEST: Gateway is linklocal address [ OK ] # 41.65 [+0.20] TEST: Gateway is linklocal address, no device [ OK ] # 41.83 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 41.99 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 42.15 [+0.16] TEST: Gateway can not be a local linklocal address [ OK ] # 42.32 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 42.47 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 42.64 [+0.16] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 42.82 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 42.97 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 43.15 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 43.32 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 44.80 [+1.48] # 44.80 [+0.00] FIB rule with suppress_prefixlength # 48.11 [+3.31] TEST: FIB rule suppress test [ OK ] # 51.00 [+2.90] # 51.00 [+0.00] Fib6 info length calculation in route notify test # 56.55 [+5.54] TEST: ipv6 route add notify [ OK ] # 59.50 [+2.95] # 59.50 [+0.00] Fib4 info length calculation in route notify test # 65.10 [+5.60] TEST: ipv4 route add notify [ OK ] # 73.11 [+8.01] # 73.11 [+0.00] IPv6 route add / append tests # 73.72 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 74.32 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 74.94 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 75.70 [+0.76] TEST: Append nexthop to existing route - gw [ OK ] # 76.34 [+0.63] TEST: Add multipath route [ OK ] # 76.96 [+0.62] TEST: Attempt to add duplicate multipath route [ OK ] # 77.75 [+0.80] TEST: Route add with different metrics [ OK ] # 78.06 [+0.30] TEST: Route delete with metric [ OK ] # 78.06 [+0.00] # 78.06 [+0.00] IPv6 route replace tests # 78.83 [+0.77] TEST: Single path with single path [ OK ] # 79.59 [+0.75] TEST: Single path with multipath [ OK ] # 80.33 [+0.74] TEST: Single path with single path via multipath attribute [ OK ] # 81.16 [+0.84] TEST: Invalid nexthop [ OK ] # 81.78 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 82.52 [+0.74] TEST: Multipath with multipath [ OK ] # 83.29 [+0.77] TEST: Multipath with single path [ OK ] # 84.04 [+0.75] TEST: Multipath with single path via multipath attribute [ OK ] # 84.80 [+0.76] TEST: Multipath with dev-only [ OK ] # 85.55 [+0.75] TEST: Multipath - invalid first nexthop [ OK ] # 86.28 [+0.73] TEST: Multipath - invalid second nexthop [ OK ] # 86.90 [+0.62] TEST: Multipath - replace of non-existent route [ OK ] # 86.91 [+0.00] # 86.91 [+0.00] IPv6 route with dsfield tests # 87.22 [+0.31] TEST: Reject route with dsfield [ OK ] # 97.97 [+10.75] # 97.97 [+0.00] IPv4 route add / append tests # 98.58 [+0.62] TEST: Attempt to add duplicate route - gw [ OK ] # 99.20 [+0.62] TEST: Attempt to add duplicate route - dev only [ OK ] # 99.83 [+0.63] TEST: Attempt to add duplicate route - reject route [ OK ] # 100.60 [+0.77] TEST: Add new nexthop for existing prefix [ OK ] # 101.39 [+0.79] TEST: Append nexthop to existing route - gw [ OK ] # 102.17 [+0.78] TEST: Append nexthop to existing route - dev only [ OK ] # 102.96 [+0.79] TEST: Append nexthop to existing route - reject route [ OK ] # 103.61 [+0.65] TEST: Append nexthop to existing reject route - gw [ OK ] # 104.25 [+0.64] TEST: Append nexthop to existing reject route - dev only [ OK ] # 104.92 [+0.66] TEST: add multipath route [ OK ] # 105.53 [+0.62] TEST: Attempt to add duplicate multipath route [ OK ] # 106.35 [+0.81] TEST: Route add with different metrics [ OK ] # 106.67 [+0.32] TEST: Route delete with metric [ OK ] # 106.67 [+0.00] # 106.67 [+0.00] IPv4 route replace tests # 107.44 [+0.77] TEST: Single path with single path [ OK ] # 108.21 [+0.76] TEST: Single path with multipath [ OK ] # 108.97 [+0.76] TEST: Single path with reject route [ OK ] # 109.76 [+0.79] TEST: Single path with single path via multipath attribute [ OK ] # 110.55 [+0.79] TEST: Invalid nexthop [ OK ] # 111.19 [+0.64] TEST: Single path - replace of non-existent route [ OK ] # 111.95 [+0.76] TEST: Multipath with multipath [ OK ] # 112.76 [+0.80] TEST: Multipath with single path [ OK ] # 113.54 [+0.78] TEST: Multipath with single path via multipath attribute [ OK ] # 114.31 [+0.77] TEST: Multipath with reject route [ OK ] # 115.08 [+0.77] TEST: Multipath - invalid first nexthop [ OK ] # 115.85 [+0.77] TEST: Multipath - invalid second nexthop [ OK ] # 116.47 [+0.62] TEST: Multipath - replace of non-existent route [ OK ] # 118.68 [+2.22] TEST: Cached route removed from VRF port device [ OK ] # 118.69 [+0.00] # 118.69 [+0.00] IPv4 route with dsfield tests # 119.01 [+0.32] TEST: Reject route with dsfield 0x01 [ OK ] # 119.19 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 119.38 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 119.83 [+0.46] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 119.97 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 120.11 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 120.24 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 120.37 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 120.51 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 120.64 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 120.79 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 120.92 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 121.09 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 121.25 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 121.37 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 124.20 [+2.83] # 124.20 [+0.00] IPv6 prefix route tests # 127.72 [+3.52] TEST: Default metric [ OK ] # 128.24 [+0.52] TEST: User specified metric on first device [ OK ] # 128.70 [+0.46] TEST: User specified metric on second device [ OK ] # 128.99 [+0.29] TEST: Delete of address on first device [ OK ] # 129.29 [+0.30] TEST: Modify metric of address [ OK ] # 129.86 [+0.57] TEST: Prefix route removed on link down [ OK ] # 130.16 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 130.58 [+0.42] TEST: Set metric with peer route on local side [ OK ] # 130.72 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 131.02 [+0.30] TEST: Modify metric and peer address on local side [ OK ] # 131.16 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 132.90 [+1.74] # 132.90 [+0.00] IPv4 prefix route tests # 136.40 [+3.50] TEST: Default metric [ OK ] # 136.93 [+0.52] TEST: User specified metric on first device [ OK ] # 137.44 [+0.51] TEST: User specified metric on second device [ OK ] # 137.77 [+0.33] TEST: Delete of address on first device [ OK ] # 138.10 [+0.33] TEST: Modify metric of address [ OK ] # 138.41 [+0.31] TEST: Prefix route removed on link down [ OK ] # 138.73 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 139.43 [+0.70] TEST: Modify metric of .0/24 address [ OK ] # 139.91 [+0.48] TEST: Set metric of address with peer route [ OK ] # 140.25 [+0.33] TEST: Modify metric and peer address for peer route [ OK ] # 141.96 [+1.72] # 141.96 [+0.00] IPv6 routes with metrics # 150.50 [+8.54] TEST: Single path route with mtu metric [ OK ] # 150.95 [+0.44] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 151.44 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 151.72 [+0.28] TEST: MTU of second leg [ OK ] # 152.03 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 152.45 [+0.42] TEST: Using route with mtu metric [ OK ] # 152.72 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 155.45 [+2.73] # 155.46 [+0.00] IPv4 route add / append tests # 164.16 [+8.70] TEST: Single path route with mtu metric [ OK ] # 164.48 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 164.90 [+0.42] TEST: Using route with mtu metric [ OK ] # 165.19 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 167.92 [+2.73] # 167.93 [+0.00] IPv4 route with IPv6 gateway tests # 178.58 [+10.66] TEST: Single path route with IPv6 gateway [ OK ] # 179.03 [+0.44] TEST: Single path route with IPv6 gateway - ping [ OK ] # 179.18 [+0.16] TEST: Single path route delete [ OK ] # 179.50 [+0.31] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 179.83 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 179.99 [+0.16] TEST: Multipath route delete exact match [ OK ] # 180.14 [+0.15] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 180.47 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 180.64 [+0.17] TEST: Multipath route delete exact match [ OK ] # 183.30 [+2.66] # 183.30 [+0.00] IPv4 rp_filter tests # 194.63 [+11.33] TEST: rp_filter passes local packets [ OK ] # 194.91 [+0.28] TEST: rp_filter passes loopback packets [ OK ] # 196.31 [+1.40] # 196.31 [+0.00] IPv4 delete address route tests # 201.74 [+5.43] Regular FIB info # 202.02 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 202.15 [+0.13] TEST: Route in default VRF not removed [ OK ] # 202.74 [+0.59] TEST: Route removed in default VRF when source address deleted [ OK ] # 202.87 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 202.87 [+0.00] Identical FIB info with different table ID # 203.14 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 203.28 [+0.14] TEST: Route in default VRF not removed [ OK ] # 203.86 [+0.58] TEST: Route removed in default VRF when source address deleted [ OK ] # 203.97 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 203.97 [+0.00] Table ID 0 # 204.26 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 205.97 [+1.71] # 205.97 [+0.00] IPv6 delete address route tests # 214.99 [+9.02] Single device using src address # 215.28 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 215.28 [+0.00] Two devices with the same source address # 215.55 [+0.27] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 215.83 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 215.83 [+0.00] VRF with single device using src address # 216.10 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 216.10 [+0.00] VRF with two devices using src address # 216.40 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 216.68 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 216.68 [+0.00] src address and nexthop dev in same VRF # 216.96 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 217.11 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 217.73 [+0.62] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 217.87 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 217.88 [+0.00] src address and nexthop device in different VRF # 218.15 [+0.28] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 218.30 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 218.76 [+0.46] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 218.87 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 218.88 [+0.00] Table ID 0 # 219.20 [+0.32] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 219.20 [+0.00] Link local source route # 219.51 [+0.31] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 219.80 [+0.28] TEST: Prefsrc removed when delete ll addr [ OK ] # 219.93 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 220.40 [+0.47] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 223.04 [+2.64] # 223.04 [+0.00] IPv4 mangling tests # 235.00 [+11.96] TEST: Connection with correct parameters [ OK ] # 235.32 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 236.57 [+1.25] TEST: Connection with correct parameters - mangling [ OK ] # 237.71 [+1.14] TEST: Connection with correct parameters - no mangling [ OK ] # 237.81 [+0.10] TEST: Connection check - server side [ OK ] # 241.18 [+3.37] # 241.18 [+0.00] IPv6 mangling tests # 253.27 [+12.09] TEST: Connection with correct parameters [ OK ] # 253.64 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 254.81 [+1.17] TEST: Connection with correct parameters - mangling [ OK ] # 255.98 [+1.17] TEST: Connection with correct parameters - no mangling [ OK ] # 256.07 [+0.09] TEST: Connection check - server side [ OK ] # 259.34 [+3.27] # 259.34 [+0.00] IPv4 broadcast neighbour tests # 263.39 [+4.05] TEST: Resolved neighbour for broadcast address [ OK ] # 263.56 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 263.72 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 263.87 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 267.37 [+3.50] # 267.37 [+0.00] Fib6 garbage collection test # 281.66 [+14.29] TEST: ipv6 route garbage collection [ OK ] # 296.19 [+14.53] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 310.73 [+14.54] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 325.35 [+14.61] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 340.51 [+15.17] TEST: ipv6 route garbage collection (RA message) [ OK ] # 341.79 [+1.28] # 341.79 [+0.00] IPv4 multipath list receive tests # 364.31 [+22.52] TEST: Multipath route hit ratio (1.00) [ OK ] # 367.06 [+2.76] # 367.06 [+0.00] IPv6 multipath list receive tests # 388.42 [+21.35] TEST: Multipath route hit ratio (1.00) [ OK ] # 391.25 [+2.83] # 391.25 [+0.00] Tests passed: 229 # 391.25 [+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__->