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.44 [+0.44] # 0.44 [+0.00] Single path route test # 1.54 [+1.10] Start point # 1.64 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.73 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.86 [+0.13] Nexthop device deleted # 1.97 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.08 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 2.70 [+0.62] # 2.70 [+0.00] Multipath route test # 4.70 [+2.00] Start point # 4.81 [+0.11] TEST: IPv4 fibmatch [ OK ] # 4.89 [+0.08] TEST: IPv6 fibmatch [ OK ] # 5.05 [+0.15] One nexthop device deleted # 5.14 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.23 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 5.38 [+0.14] Second nexthop device deleted # 5.46 [+0.09] TEST: IPv6 - no route [ OK ] # 6.09 [+0.63] # 6.09 [+0.00] Single path, admin down # 7.51 [+1.42] Start point # 7.61 [+0.10] TEST: IPv4 fibmatch [ OK ] # 7.72 [+0.11] TEST: IPv6 fibmatch [ OK ] # 7.82 [+0.10] Route deleted on down # 7.93 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.02 [+0.09] TEST: IPv6 fibmatch [ OK ] # 8.49 [+0.47] # 8.49 [+0.00] Admin down multipath # 10.41 [+1.92] Verify start point # 10.50 [+0.09] TEST: IPv4 fibmatch [ OK ] # 10.61 [+0.11] TEST: IPv6 fibmatch [ OK ] # 10.71 [+0.10] One device down, one up # 10.81 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 10.91 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 11.01 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 11.12 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 11.23 [+0.11] TEST: IPv4 flags on down device [ OK ] # 11.36 [+0.13] TEST: IPv6 flags on down device [ OK ] # 11.47 [+0.11] TEST: IPv4 flags on up device [ OK ] # 11.61 [+0.14] TEST: IPv6 flags on up device [ OK ] # 11.83 [+0.22] Other device down and up # 11.93 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.03 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.14 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 12.28 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 12.41 [+0.13] TEST: IPv4 flags on down device [ OK ] # 12.54 [+0.14] TEST: IPv6 flags on down device [ OK ] # 12.68 [+0.14] TEST: IPv4 flags on up device [ OK ] # 12.80 [+0.11] TEST: IPv6 flags on up device [ OK ] # 12.93 [+0.13] Both devices down # 13.05 [+0.12] TEST: IPv4 fibmatch [ OK ] # 13.15 [+0.10] TEST: IPv6 fibmatch [ OK ] # 13.91 [+0.76] # 13.91 [+0.00] Local carrier tests - single path # 15.47 [+1.56] Start point # 15.58 [+0.10] TEST: IPv4 fibmatch [ OK ] # 15.69 [+0.11] TEST: IPv6 fibmatch [ OK ] # 15.78 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 15.88 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 17.04 [+1.16] Carrier off on nexthop # 17.13 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.27 [+0.14] TEST: IPv6 fibmatch [ OK ] # 17.39 [+0.11] TEST: IPv4 - linkdown flag set [ OK ] # 17.51 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 17.72 [+0.22] Route to local address with carrier down # 17.83 [+0.11] TEST: IPv4 fibmatch [ OK ] # 17.92 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.04 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 18.19 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 18.70 [+0.52] # 18.70 [+0.00] Single path route carrier test # 20.19 [+1.48] Start point # 20.29 [+0.10] TEST: IPv4 fibmatch [ OK ] # 20.38 [+0.10] TEST: IPv6 fibmatch [ OK ] # 20.47 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 20.58 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 21.75 [+1.17] Carrier down # 21.85 [+0.10] TEST: IPv4 fibmatch [ OK ] # 21.94 [+0.09] TEST: IPv6 fibmatch [ OK ] # 22.07 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 22.18 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 22.38 [+0.21] Second address added with carrier down # 22.46 [+0.08] TEST: IPv4 fibmatch [ OK ] # 22.56 [+0.09] TEST: IPv6 fibmatch [ OK ] # 22.65 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 22.75 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 27.40 [+4.65] # 27.40 [+0.00] IPv4 nexthop tests # 27.40 [+0.00] <<< write me >>> # 27.66 [+0.26] # 27.66 [+0.00] IPv6 nexthop tests # 27.78 [+0.11] TEST: Directly connected nexthop, unicast address [ OK ] # 27.87 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 27.98 [+0.11] TEST: Gateway is linklocal address [ OK ] # 28.08 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 28.18 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 28.30 [+0.11] TEST: Gateway can not be local unicast address, with device [ OK ] # 28.41 [+0.12] TEST: Gateway can not be a local linklocal address [ OK ] # 28.53 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 28.64 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 28.75 [+0.11] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 28.84 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 28.97 [+0.13] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 29.06 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 29.19 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 30.22 [+1.03] # 30.22 [+0.00] FIB rule with suppress_prefixlength # 32.18 [+1.96] TEST: FIB rule suppress test [ OK ] # 34.02 [+1.84] # 34.02 [+0.00] Fib6 info length calculation in route notify test # 38.28 [+4.27] TEST: ipv6 route add notify [ OK ] # 40.08 [+1.80] # 40.08 [+0.00] Fib4 info length calculation in route notify test # 44.30 [+4.21] TEST: ipv4 route add notify [ OK ] # 49.50 [+5.21] # 49.50 [+0.00] IPv6 route add / append tests # 49.93 [+0.43] TEST: Attempt to add duplicate route - gw [ OK ] # 50.40 [+0.47] TEST: Attempt to add duplicate route - dev only [ OK ] # 50.84 [+0.44] TEST: Attempt to add duplicate route - reject route [ OK ] # 51.46 [+0.61] TEST: Append nexthop to existing route - gw [ OK ] # 51.93 [+0.47] TEST: Add multipath route [ OK ] # 52.33 [+0.40] TEST: Attempt to add duplicate multipath route [ OK ] # 52.91 [+0.58] TEST: Route add with different metrics [ OK ] # 53.13 [+0.22] TEST: Route delete with metric [ OK ] # 53.13 [+0.00] # 53.13 [+0.00] IPv6 route replace tests # 53.73 [+0.59] TEST: Single path with single path [ OK ] # 54.30 [+0.58] TEST: Single path with multipath [ OK ] # 54.83 [+0.52] TEST: Single path with single path via multipath attribute [ OK ] # 55.46 [+0.63] TEST: Invalid nexthop [ OK ] # 55.90 [+0.45] TEST: Single path - replace of non-existent route [ OK ] # 56.49 [+0.59] TEST: Multipath with multipath [ OK ] # 57.04 [+0.55] TEST: Multipath with single path [ OK ] # 57.66 [+0.62] TEST: Multipath with single path via multipath attribute [ OK ] # 58.21 [+0.55] TEST: Multipath with dev-only [ OK ] # 58.79 [+0.59] TEST: Multipath - invalid first nexthop [ OK ] # 59.36 [+0.57] TEST: Multipath - invalid second nexthop [ OK ] # 59.84 [+0.48] TEST: Multipath - replace of non-existent route [ OK ] # 59.84 [+0.00] # 59.84 [+0.00] IPv6 route with dsfield tests # 60.04 [+0.21] TEST: Reject route with dsfield [ OK ] # 67.08 [+7.04] # 67.08 [+0.00] IPv4 route add / append tests # 67.49 [+0.41] TEST: Attempt to add duplicate route - gw [ OK ] # 67.86 [+0.37] TEST: Attempt to add duplicate route - dev only [ OK ] # 68.26 [+0.40] TEST: Attempt to add duplicate route - reject route [ OK ] # 68.75 [+0.49] TEST: Add new nexthop for existing prefix [ OK ] # 69.24 [+0.49] TEST: Append nexthop to existing route - gw [ OK ] # 69.78 [+0.55] TEST: Append nexthop to existing route - dev only [ OK ] # 70.30 [+0.52] TEST: Append nexthop to existing route - reject route [ OK ] # 70.72 [+0.42] TEST: Append nexthop to existing reject route - gw [ OK ] # 71.13 [+0.41] TEST: Append nexthop to existing reject route - dev only [ OK ] # 71.54 [+0.40] TEST: add multipath route [ OK ] # 71.95 [+0.41] TEST: Attempt to add duplicate multipath route [ OK ] # 72.47 [+0.52] TEST: Route add with different metrics [ OK ] # 72.68 [+0.21] TEST: Route delete with metric [ OK ] # 72.69 [+0.00] # 72.69 [+0.00] IPv4 route replace tests # 73.22 [+0.53] TEST: Single path with single path [ OK ] # 73.72 [+0.50] TEST: Single path with multipath [ OK ] # 74.24 [+0.52] TEST: Single path with reject route [ OK ] # 74.89 [+0.64] TEST: Single path with single path via multipath attribute [ OK ] # 75.47 [+0.58] TEST: Invalid nexthop [ OK ] # 76.01 [+0.54] TEST: Single path - replace of non-existent route [ OK ] # 76.57 [+0.56] TEST: Multipath with multipath [ OK ] # 77.12 [+0.55] TEST: Multipath with single path [ OK ] # 77.66 [+0.54] TEST: Multipath with single path via multipath attribute [ OK ] # 78.33 [+0.67] TEST: Multipath with reject route [ OK ] # 78.89 [+0.56] TEST: Multipath - invalid first nexthop [ OK ] # 79.48 [+0.59] TEST: Multipath - invalid second nexthop [ OK ] # 79.97 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 81.86 [+1.89] TEST: Cached route removed from VRF port device [ OK ] # 81.86 [+0.00] # 81.86 [+0.00] IPv4 route with dsfield tests # 82.12 [+0.26] TEST: Reject route with dsfield 0x01 [ OK ] # 82.26 [+0.14] TEST: Reject route with dsfield 0x02 [ OK ] # 82.41 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 82.79 [+0.38] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 82.92 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 83.06 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 83.19 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 83.32 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 83.49 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 83.62 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 83.76 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 83.88 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 84.00 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 84.13 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 84.29 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 86.39 [+2.10] # 86.39 [+0.00] IPv6 prefix route tests # 88.72 [+2.33] TEST: Default metric [ OK ] # 89.09 [+0.37] TEST: User specified metric on first device [ OK ] # 89.47 [+0.38] TEST: User specified metric on second device [ OK ] # 89.73 [+0.26] TEST: Delete of address on first device [ OK ] # 89.95 [+0.22] TEST: Modify metric of address [ OK ] # 90.36 [+0.41] TEST: Prefix route removed on link down [ OK ] # 90.61 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 90.99 [+0.38] TEST: Set metric with peer route on local side [ OK ] # 91.11 [+0.12] TEST: Set metric with peer route on peer side [ OK ] # 91.35 [+0.23] TEST: Modify metric and peer address on local side [ OK ] # 91.49 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 92.62 [+1.14] # 92.62 [+0.00] IPv4 prefix route tests # 94.73 [+2.11] TEST: Default metric [ OK ] # 95.06 [+0.33] TEST: User specified metric on first device [ OK ] # 95.38 [+0.32] TEST: User specified metric on second device [ OK ] # 95.61 [+0.23] TEST: Delete of address on first device [ OK ] # 95.85 [+0.23] TEST: Modify metric of address [ OK ] # 96.07 [+0.23] TEST: Prefix route removed on link down [ OK ] # 96.32 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 96.75 [+0.43] TEST: Modify metric of .0/24 address [ OK ] # 97.11 [+0.36] TEST: Set metric of address with peer route [ OK ] # 97.30 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 98.42 [+1.12] # 98.42 [+0.00] IPv6 routes with metrics # 103.73 [+5.30] TEST: Single path route with mtu metric [ OK ] # 104.06 [+0.33] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 104.42 [+0.36] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 104.62 [+0.19] TEST: MTU of second leg [ OK ] # 104.85 [+0.23] TEST: Multipath route with mtu metric [ OK ] # 105.12 [+0.27] TEST: Using route with mtu metric [ OK ] # 105.30 [+0.18] TEST: Invalid metric (fails metric_convert) [ OK ] # 107.31 [+2.00] # 107.31 [+0.00] IPv4 route add / append tests # 112.80 [+5.49] TEST: Single path route with mtu metric [ OK ] # 113.04 [+0.24] TEST: Multipath route with mtu metric [ OK ] # 113.28 [+0.25] TEST: Using route with mtu metric [ OK ] # 113.49 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 115.53 [+2.04] # 115.53 [+0.00] IPv4 route with IPv6 gateway tests # 122.87 [+7.34] TEST: Single path route with IPv6 gateway [ OK ] # 123.20 [+0.33] TEST: Single path route with IPv6 gateway - ping [ OK ] # 123.29 [+0.09] TEST: Single path route delete [ OK ] # 123.51 [+0.22] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 123.73 [+0.22] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 123.84 [+0.11] TEST: Multipath route delete exact match [ OK ] # 123.95 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 124.16 [+0.21] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 124.28 [+0.12] TEST: Multipath route delete exact match [ OK ] # 126.39 [+2.11] # 126.39 [+0.00] IPv4 rp_filter tests # 134.03 [+7.64] TEST: rp_filter passes local packets [ OK ] # 134.21 [+0.19] TEST: rp_filter passes loopback packets [ OK ] # 135.22 [+1.01] # 135.22 [+0.00] IPv4 delete address route tests # 138.85 [+3.63] Regular FIB info # 139.05 [+0.20] TEST: Route removed from VRF when source address deleted [ OK ] # 139.16 [+0.11] TEST: Route in default VRF not removed [ OK ] # 139.64 [+0.47] TEST: Route removed in default VRF when source address deleted [ OK ] # 139.73 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 139.73 [+0.00] Identical FIB info with different table ID # 139.93 [+0.20] TEST: Route removed from VRF when source address deleted [ OK ] # 140.03 [+0.10] TEST: Route in default VRF not removed [ OK ] # 140.47 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 140.57 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 140.58 [+0.00] Table ID 0 # 140.87 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 142.14 [+1.27] # 142.14 [+0.00] IPv6 delete address route tests # 147.71 [+5.58] Single device using src address # 147.92 [+0.21] TEST: Prefsrc removed when src address removed on other device [ OK ] # 147.92 [+0.00] Two devices with the same source address # 148.16 [+0.24] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 148.40 [+0.24] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 148.40 [+0.00] VRF with single device using src address # 148.60 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 148.60 [+0.00] VRF with two devices using src address # 148.84 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 149.06 [+0.23] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 149.07 [+0.00] src address and nexthop dev in same VRF # 149.28 [+0.22] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 149.38 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 149.78 [+0.41] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 149.87 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 149.87 [+0.00] src address and nexthop device in different VRF # 150.08 [+0.21] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 150.18 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 150.47 [+0.28] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 150.57 [+0.10] TEST: Prefsrc removed in default VRF [ OK ] # 150.57 [+0.00] Table ID 0 # 150.77 [+0.20] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 150.78 [+0.00] Link local source route # 150.98 [+0.20] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 151.20 [+0.22] TEST: Prefsrc removed when delete ll addr [ OK ] # 151.31 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 151.64 [+0.33] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 153.36 [+1.73] # 153.36 [+0.00] IPv4 mangling tests # 162.17 [+8.80] TEST: Connection with correct parameters [ OK ] # 162.41 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 163.55 [+1.14] TEST: Connection with correct parameters - mangling [ OK ] # 164.45 [+0.90] TEST: Connection with correct parameters - no mangling [ OK ] # 164.56 [+0.11] TEST: Connection check - server side [ OK ] # 167.00 [+2.44] # 167.00 [+0.00] IPv6 mangling tests # 175.41 [+8.41] TEST: Connection with correct parameters [ OK ] # 175.65 [+0.24] TEST: Connection with incorrect parameters [ OK ] # 176.60 [+0.95] TEST: Connection with correct parameters - mangling [ OK ] # 177.57 [+0.97] TEST: Connection with correct parameters - no mangling [ OK ] # 177.65 [+0.09] TEST: Connection check - server side [ OK ] # 180.03 [+2.37] # 180.03 [+0.00] IPv4 broadcast neighbour tests # 182.77 [+2.74] TEST: Resolved neighbour for broadcast address [ OK ] # 182.92 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 183.01 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 183.14 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 185.41 [+2.27] # 185.41 [+0.00] Fib6 garbage collection test # 198.92 [+13.51] TEST: ipv6 route garbage collection [ OK ] # 212.65 [+13.73] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 226.41 [+13.76] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 240.59 [+14.18] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 255.20 [+14.60] TEST: ipv6 route garbage collection (RA message) [ OK ] # 256.15 [+0.95] # 256.15 [+0.00] IPv4 multipath list receive tests # 276.76 [+20.61] TEST: Multipath route hit ratio (1.00) [ OK ] # 278.87 [+2.11] # 278.87 [+0.00] IPv6 multipath list receive tests # 299.43 [+20.56] TEST: Multipath route hit ratio (1.00) [ OK ] # 301.67 [+2.24] # 301.67 [+0.00] Tests passed: 229 # 301.68 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->