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.52 [+0.52] # 0.52 [+0.00] Single path route test # 1.57 [+1.05] Start point # 1.66 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.78 [+0.12] TEST: IPv6 fibmatch [ OK ] # 1.93 [+0.15] Nexthop device deleted # 2.04 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.15 [+0.11] TEST: IPv6 fibmatch - no route [ OK ] # 2.86 [+0.71] # 2.86 [+0.00] Multipath route test # 5.02 [+2.16] Start point # 5.13 [+0.11] TEST: IPv4 fibmatch [ OK ] # 5.24 [+0.11] TEST: IPv6 fibmatch [ OK ] # 5.41 [+0.16] One nexthop device deleted # 5.51 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.62 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 5.79 [+0.17] Second nexthop device deleted # 5.91 [+0.12] TEST: IPv6 - no route [ OK ] # 6.63 [+0.72] # 6.63 [+0.00] Single path, admin down # 8.26 [+1.64] Start point # 8.37 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.46 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.58 [+0.11] Route deleted on down # 8.70 [+0.12] TEST: IPv4 fibmatch [ OK ] # 8.84 [+0.15] TEST: IPv6 fibmatch [ OK ] # 9.52 [+0.68] # 9.52 [+0.00] Admin down multipath # 11.87 [+2.34] Verify start point # 12.00 [+0.13] TEST: IPv4 fibmatch [ OK ] # 12.11 [+0.11] TEST: IPv6 fibmatch [ OK ] # 12.23 [+0.12] One device down, one up # 12.34 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 12.43 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.53 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 12.65 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.77 [+0.12] TEST: IPv4 flags on down device [ OK ] # 12.91 [+0.14] TEST: IPv6 flags on down device [ OK ] # 13.06 [+0.15] TEST: IPv4 flags on up device [ OK ] # 13.19 [+0.13] TEST: IPv6 flags on up device [ OK ] # 13.42 [+0.23] Other device down and up # 13.55 [+0.13] TEST: IPv4 fibmatch on down device [ OK ] # 13.67 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 13.80 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 13.92 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 14.05 [+0.13] TEST: IPv4 flags on down device [ OK ] # 14.18 [+0.13] TEST: IPv6 flags on down device [ OK ] # 14.28 [+0.11] TEST: IPv4 flags on up device [ OK ] # 14.41 [+0.13] TEST: IPv6 flags on up device [ OK ] # 14.52 [+0.11] Both devices down # 14.63 [+0.12] TEST: IPv4 fibmatch [ OK ] # 14.75 [+0.12] TEST: IPv6 fibmatch [ OK ] # 15.45 [+0.70] # 15.46 [+0.00] Local carrier tests - single path # 17.11 [+1.65] Start point # 17.22 [+0.12] TEST: IPv4 fibmatch [ OK ] # 17.35 [+0.12] TEST: IPv6 fibmatch [ OK ] # 17.48 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 17.60 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 18.75 [+1.15] Carrier off on nexthop # 18.89 [+0.14] TEST: IPv4 fibmatch [ OK ] # 19.01 [+0.12] TEST: IPv6 fibmatch [ OK ] # 19.12 [+0.11] TEST: IPv4 - linkdown flag set [ OK ] # 19.25 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 19.48 [+0.23] Route to local address with carrier down # 19.57 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.67 [+0.10] TEST: IPv6 fibmatch [ OK ] # 19.82 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 19.95 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 20.50 [+0.55] # 20.50 [+0.00] Single path route carrier test # 22.15 [+1.65] Start point # 22.28 [+0.13] TEST: IPv4 fibmatch [ OK ] # 22.44 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.58 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 22.72 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 23.90 [+1.17] Carrier down # 24.05 [+0.15] TEST: IPv4 fibmatch [ OK ] # 24.16 [+0.11] TEST: IPv6 fibmatch [ OK ] # 24.27 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 24.39 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 24.59 [+0.20] Second address added with carrier down # 24.68 [+0.09] TEST: IPv4 fibmatch [ OK ] # 24.78 [+0.10] TEST: IPv6 fibmatch [ OK ] # 24.93 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 25.08 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 30.62 [+5.54] # 30.62 [+0.00] IPv4 nexthop tests # 30.63 [+0.00] <<< write me >>> # 30.97 [+0.34] # 30.97 [+0.00] IPv6 nexthop tests # 31.11 [+0.14] TEST: Directly connected nexthop, unicast address [ OK ] # 31.26 [+0.15] TEST: Directly connected nexthop, unicast address with device [ OK ] # 31.42 [+0.16] TEST: Gateway is linklocal address [ OK ] # 31.54 [+0.13] TEST: Gateway is linklocal address, no device [ OK ] # 31.70 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 31.84 [+0.14] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.96 [+0.12] TEST: Gateway can not be a local linklocal address [ OK ] # 32.09 [+0.12] TEST: Gateway can be local address in a VRF [ OK ] # 32.20 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 32.32 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 32.43 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 32.54 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 32.66 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 32.76 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 34.01 [+1.25] # 34.01 [+0.00] FIB rule with suppress_prefixlength # 36.32 [+2.31] TEST: FIB rule suppress test [ OK ] # 38.53 [+2.21] # 38.53 [+0.00] Fib6 info length calculation in route notify test # 43.14 [+4.61] TEST: ipv6 route add notify [ OK ] # 45.32 [+2.18] # 45.32 [+0.00] Fib4 info length calculation in route notify test # 49.75 [+4.42] TEST: ipv4 route add notify [ OK ] # 55.48 [+5.73] # 55.48 [+0.00] IPv6 route add / append tests # 56.01 [+0.53] TEST: Attempt to add duplicate route - gw [ OK ] # 56.48 [+0.47] TEST: Attempt to add duplicate route - dev only [ OK ] # 56.93 [+0.45] TEST: Attempt to add duplicate route - reject route [ OK ] # 57.58 [+0.64] TEST: Append nexthop to existing route - gw [ OK ] # 58.13 [+0.56] TEST: Add multipath route [ OK ] # 58.62 [+0.49] TEST: Attempt to add duplicate multipath route [ OK ] # 59.19 [+0.57] TEST: Route add with different metrics [ OK ] # 59.44 [+0.25] TEST: Route delete with metric [ OK ] # 59.45 [+0.00] # 59.45 [+0.00] IPv6 route replace tests # 60.04 [+0.59] TEST: Single path with single path [ OK ] # 60.60 [+0.56] TEST: Single path with multipath [ OK ] # 61.23 [+0.63] TEST: Single path with single path via multipath attribute [ OK ] # 61.82 [+0.59] TEST: Invalid nexthop [ OK ] # 62.32 [+0.51] TEST: Single path - replace of non-existent route [ OK ] # 62.88 [+0.56] TEST: Multipath with multipath [ OK ] # 63.51 [+0.63] TEST: Multipath with single path [ OK ] # 64.07 [+0.55] TEST: Multipath with single path via multipath attribute [ OK ] # 64.70 [+0.63] TEST: Multipath with dev-only [ OK ] # 65.29 [+0.60] TEST: Multipath - invalid first nexthop [ OK ] # 65.98 [+0.69] TEST: Multipath - invalid second nexthop [ OK ] # 66.49 [+0.51] TEST: Multipath - replace of non-existent route [ OK ] # 66.49 [+0.00] # 66.49 [+0.00] IPv6 route with dsfield tests # 66.76 [+0.27] TEST: Reject route with dsfield [ OK ] # 74.48 [+7.72] # 74.48 [+0.00] IPv4 route add / append tests # 74.91 [+0.43] TEST: Attempt to add duplicate route - gw [ OK ] # 75.35 [+0.44] TEST: Attempt to add duplicate route - dev only [ OK ] # 75.80 [+0.44] TEST: Attempt to add duplicate route - reject route [ OK ] # 76.34 [+0.54] TEST: Add new nexthop for existing prefix [ OK ] # 76.88 [+0.54] TEST: Append nexthop to existing route - gw [ OK ] # 77.42 [+0.54] TEST: Append nexthop to existing route - dev only [ OK ] # 78.03 [+0.60] TEST: Append nexthop to existing route - reject route [ OK ] # 78.57 [+0.54] TEST: Append nexthop to existing reject route - gw [ OK ] # 79.14 [+0.58] TEST: Append nexthop to existing reject route - dev only [ OK ] # 79.67 [+0.53] TEST: add multipath route [ OK ] # 80.14 [+0.47] TEST: Attempt to add duplicate multipath route [ OK ] # 80.72 [+0.59] TEST: Route add with different metrics [ OK ] # 80.99 [+0.27] TEST: Route delete with metric [ OK ] # 81.00 [+0.00] # 81.00 [+0.00] IPv4 route replace tests # 81.63 [+0.63] TEST: Single path with single path [ OK ] # 82.25 [+0.62] TEST: Single path with multipath [ OK ] # 82.88 [+0.63] TEST: Single path with reject route [ OK ] # 83.43 [+0.55] TEST: Single path with single path via multipath attribute [ OK ] # 84.00 [+0.57] TEST: Invalid nexthop [ OK ] # 84.43 [+0.44] TEST: Single path - replace of non-existent route [ OK ] # 84.98 [+0.54] TEST: Multipath with multipath [ OK ] # 85.58 [+0.60] TEST: Multipath with single path [ OK ] # 86.11 [+0.54] TEST: Multipath with single path via multipath attribute [ OK ] # 86.59 [+0.47] TEST: Multipath with reject route [ OK ] # 87.08 [+0.49] TEST: Multipath - invalid first nexthop [ OK ] # 87.54 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 87.91 [+0.38] TEST: Multipath - replace of non-existent route [ OK ] # 89.36 [+1.45] TEST: Cached route removed from VRF port device [ OK ] # 89.36 [+0.00] # 89.36 [+0.00] IPv4 route with dsfield tests # 89.55 [+0.19] TEST: Reject route with dsfield 0x01 [ OK ] # 89.64 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 89.74 [+0.10] TEST: Reject route with dsfield 0x03 [ OK ] # 90.03 [+0.29] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 90.11 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 90.19 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 90.29 [+0.11] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 90.38 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 90.47 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 90.56 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 90.63 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 90.72 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 90.82 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 90.89 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 90.99 [+0.10] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 92.74 [+1.75] # 92.74 [+0.00] IPv6 prefix route tests # 94.68 [+1.95] TEST: Default metric [ OK ] # 94.98 [+0.29] TEST: User specified metric on first device [ OK ] # 95.27 [+0.30] TEST: User specified metric on second device [ OK ] # 95.53 [+0.25] TEST: Delete of address on first device [ OK ] # 95.75 [+0.22] TEST: Modify metric of address [ OK ] # 96.05 [+0.31] TEST: Prefix route removed on link down [ OK ] # 96.24 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 96.52 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 96.61 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 96.80 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 96.90 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 97.91 [+1.01] # 97.91 [+0.00] IPv4 prefix route tests # 99.72 [+1.81] TEST: Default metric [ OK ] # 100.00 [+0.28] TEST: User specified metric on first device [ OK ] # 100.27 [+0.27] TEST: User specified metric on second device [ OK ] # 100.45 [+0.18] TEST: Delete of address on first device [ OK ] # 100.64 [+0.19] TEST: Modify metric of address [ OK ] # 100.81 [+0.17] TEST: Prefix route removed on link down [ OK ] # 101.00 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 101.37 [+0.37] TEST: Modify metric of .0/24 address [ OK ] # 101.65 [+0.28] TEST: Set metric of address with peer route [ OK ] # 101.82 [+0.17] TEST: Modify metric and peer address for peer route [ OK ] # 102.77 [+0.95] # 102.77 [+0.00] IPv6 routes with metrics # 107.22 [+4.45] TEST: Single path route with mtu metric [ OK ] # 107.51 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 107.78 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 107.96 [+0.18] TEST: MTU of second leg [ OK ] # 108.15 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 108.38 [+0.23] TEST: Using route with mtu metric [ OK ] # 108.54 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 110.23 [+1.69] # 110.23 [+0.00] IPv4 route add / append tests # 114.71 [+4.48] TEST: Single path route with mtu metric [ OK ] # 114.89 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 115.12 [+0.23] TEST: Using route with mtu metric [ OK ] # 115.28 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 116.97 [+1.69] # 116.97 [+0.00] IPv4 route with IPv6 gateway tests # 123.28 [+6.31] TEST: Single path route with IPv6 gateway [ OK ] # 123.50 [+0.22] TEST: Single path route with IPv6 gateway - ping [ OK ] # 123.60 [+0.10] TEST: Single path route delete [ OK ] # 123.78 [+0.18] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 123.95 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 124.04 [+0.09] TEST: Multipath route delete exact match [ OK ] # 124.14 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 124.32 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 124.41 [+0.09] TEST: Multipath route delete exact match [ OK ] # 126.07 [+1.66] # 126.07 [+0.00] IPv4 rp_filter tests # 131.84 [+5.77] TEST: rp_filter passes local packets [ OK ] # 131.98 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 132.70 [+0.72] # 132.70 [+0.00] IPv4 delete address route tests # 135.39 [+2.69] Regular FIB info # 135.57 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 135.63 [+0.06] TEST: Route in default VRF not removed [ OK ] # 135.95 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 136.02 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 136.03 [+0.00] Identical FIB info with different table ID # 136.18 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 136.26 [+0.08] TEST: Route in default VRF not removed [ OK ] # 136.57 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 136.65 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 136.65 [+0.00] Table ID 0 # 136.80 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 137.75 [+0.94] # 137.75 [+0.00] IPv6 delete address route tests # 142.31 [+4.56] Single device using src address # 142.48 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 142.48 [+0.00] Two devices with the same source address # 142.65 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 142.80 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 142.81 [+0.00] VRF with single device using src address # 142.97 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 142.97 [+0.00] VRF with two devices using src address # 143.14 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 143.30 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 143.30 [+0.00] src address and nexthop dev in same VRF # 143.47 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 143.56 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 143.88 [+0.31] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 143.97 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 143.97 [+0.00] src address and nexthop device in different VRF # 144.13 [+0.15] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 144.21 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 144.46 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 144.54 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 144.55 [+0.00] Table ID 0 # 144.71 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 144.71 [+0.00] Link local source route # 144.88 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 145.05 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 145.13 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 145.36 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 146.83 [+1.47] # 146.83 [+0.00] IPv4 mangling tests # 154.09 [+7.26] TEST: Connection with correct parameters [ OK ] # 154.26 [+0.16] TEST: Connection with incorrect parameters [ OK ] # 155.18 [+0.92] TEST: Connection with correct parameters - mangling [ OK ] # 156.01 [+0.83] TEST: Connection with correct parameters - no mangling [ OK ] # 156.07 [+0.06] TEST: Connection check - server side [ OK ] # 158.03 [+1.96] # 158.03 [+0.00] IPv6 mangling tests # 165.34 [+7.32] TEST: Connection with correct parameters [ OK ] # 165.55 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 166.39 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 167.28 [+0.89] TEST: Connection with correct parameters - no mangling [ OK ] # 167.33 [+0.06] TEST: Connection check - server side [ OK ] # 169.32 [+1.99] # 169.32 [+0.00] IPv4 broadcast neighbour tests # 171.48 [+2.16] TEST: Resolved neighbour for broadcast address [ OK ] # 171.57 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 171.67 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 171.75 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 173.57 [+1.83] # 173.58 [+0.00] Fib6 garbage collection test # 186.73 [+13.15] TEST: ipv6 route garbage collection [ OK ] # 200.08 [+13.35] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 213.46 [+13.38] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 227.37 [+13.92] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 241.88 [+14.51] TEST: ipv6 route garbage collection (RA message) [ OK ] # 242.60 [+0.72] # 242.60 [+0.00] IPv4 multipath list receive tests # 259.87 [+17.26] TEST: Multipath route hit ratio (1.00) [ OK ] # 261.65 [+1.78] # 261.65 [+0.00] IPv6 multipath list receive tests # 275.32 [+13.67] TEST: Multipath route hit ratio (1.00) [ OK ] # 277.33 [+2.01] # 277.33 [+0.00] Tests passed: 229 # 277.33 [+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__->