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.63 [+0.63] # 0.63 [+0.00] Single path route test # 1.67 [+1.04] Start point # 1.74 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.83 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.95 [+0.11] Nexthop device deleted # 2.03 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 2.11 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.61 [+0.50] # 2.61 [+0.00] Multipath route test # 4.89 [+2.28] Start point # 5.03 [+0.15] TEST: IPv4 fibmatch [ OK ] # 5.17 [+0.13] TEST: IPv6 fibmatch [ OK ] # 5.37 [+0.20] One nexthop device deleted # 5.48 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.58 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 5.75 [+0.17] Second nexthop device deleted # 5.89 [+0.15] TEST: IPv6 - no route [ OK ] # 6.62 [+0.73] # 6.62 [+0.00] Single path, admin down # 8.21 [+1.59] Start point # 8.31 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.45 [+0.14] TEST: IPv6 fibmatch [ OK ] # 8.52 [+0.07] Route deleted on down # 8.62 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.69 [+0.08] TEST: IPv6 fibmatch [ OK ] # 9.14 [+0.44] # 9.14 [+0.00] Admin down multipath # 10.79 [+1.66] Verify start point # 10.88 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.96 [+0.09] TEST: IPv6 fibmatch [ OK ] # 11.04 [+0.08] One device down, one up # 11.12 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 11.21 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 11.29 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 11.38 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 11.47 [+0.09] TEST: IPv4 flags on down device [ OK ] # 11.56 [+0.09] TEST: IPv6 flags on down device [ OK ] # 11.64 [+0.08] TEST: IPv4 flags on up device [ OK ] # 11.73 [+0.08] TEST: IPv6 flags on up device [ OK ] # 11.90 [+0.18] Other device down and up # 12.01 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 12.10 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 12.19 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 12.27 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 12.37 [+0.10] TEST: IPv4 flags on down device [ OK ] # 12.49 [+0.11] TEST: IPv6 flags on down device [ OK ] # 12.58 [+0.09] TEST: IPv4 flags on up device [ OK ] # 12.66 [+0.09] TEST: IPv6 flags on up device [ OK ] # 12.74 [+0.08] Both devices down # 12.82 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.90 [+0.08] TEST: IPv6 fibmatch [ OK ] # 13.46 [+0.56] # 13.46 [+0.00] Local carrier tests - single path # 14.67 [+1.21] Start point # 14.75 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.84 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.91 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 15.00 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 16.12 [+1.12] Carrier off on nexthop # 16.21 [+0.09] TEST: IPv4 fibmatch [ OK ] # 16.29 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.38 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 16.47 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 16.63 [+0.16] Route to local address with carrier down # 16.73 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.83 [+0.10] TEST: IPv6 fibmatch [ OK ] # 16.90 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 17.00 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 17.42 [+0.42] # 17.42 [+0.00] Single path route carrier test # 18.63 [+1.21] Start point # 18.71 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.79 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.88 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 18.96 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 20.08 [+1.12] Carrier down # 20.17 [+0.08] TEST: IPv4 fibmatch [ OK ] # 20.25 [+0.08] TEST: IPv6 fibmatch [ OK ] # 20.34 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 20.43 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 20.61 [+0.18] Second address added with carrier down # 20.70 [+0.09] TEST: IPv4 fibmatch [ OK ] # 20.78 [+0.08] TEST: IPv6 fibmatch [ OK ] # 20.86 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 20.95 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 25.09 [+4.14] # 25.09 [+0.00] IPv4 nexthop tests # 25.09 [+0.00] <<< write me >>> # 25.31 [+0.22] # 25.31 [+0.00] IPv6 nexthop tests # 25.40 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 25.50 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 25.59 [+0.09] TEST: Gateway is linklocal address [ OK ] # 25.68 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 25.77 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 25.87 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.96 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 26.05 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 26.15 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 26.26 [+0.11] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 26.35 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 26.43 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 26.53 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 26.61 [+0.08] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 27.56 [+0.95] # 27.56 [+0.00] FIB rule with suppress_prefixlength # 29.21 [+1.66] TEST: FIB rule suppress test [ OK ] # 30.71 [+1.50] # 30.71 [+0.00] Fib6 info length calculation in route notify test # 34.60 [+3.89] TEST: ipv6 route add notify [ OK ] # 36.14 [+1.54] # 36.15 [+0.00] Fib4 info length calculation in route notify test # 40.05 [+3.90] TEST: ipv4 route add notify [ OK ] # 44.29 [+4.24] # 44.29 [+0.00] IPv6 route add / append tests # 44.61 [+0.32] TEST: Attempt to add duplicate route - gw [ OK ] # 44.96 [+0.34] TEST: Attempt to add duplicate route - dev only [ OK ] # 45.30 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 45.75 [+0.44] TEST: Append nexthop to existing route - gw [ OK ] # 46.11 [+0.37] TEST: Add multipath route [ OK ] # 46.46 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 46.92 [+0.45] TEST: Route add with different metrics [ OK ] # 47.13 [+0.21] TEST: Route delete with metric [ OK ] # 47.13 [+0.00] # 47.13 [+0.00] IPv6 route replace tests # 47.58 [+0.45] TEST: Single path with single path [ OK ] # 48.04 [+0.45] TEST: Single path with multipath [ OK ] # 48.48 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 48.94 [+0.46] TEST: Invalid nexthop [ OK ] # 49.30 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 49.76 [+0.46] TEST: Multipath with multipath [ OK ] # 50.23 [+0.46] TEST: Multipath with single path [ OK ] # 50.67 [+0.45] TEST: Multipath with single path via multipath attribute [ OK ] # 51.11 [+0.44] TEST: Multipath with dev-only [ OK ] # 51.56 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 52.01 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 52.37 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 52.37 [+0.00] # 52.37 [+0.00] IPv6 route with dsfield tests # 52.57 [+0.21] TEST: Reject route with dsfield [ OK ] # 58.98 [+6.41] # 58.98 [+0.00] IPv4 route add / append tests # 59.33 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 59.71 [+0.38] TEST: Attempt to add duplicate route - dev only [ OK ] # 60.05 [+0.34] TEST: Attempt to add duplicate route - reject route [ OK ] # 60.49 [+0.44] TEST: Add new nexthop for existing prefix [ OK ] # 60.94 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 61.41 [+0.47] TEST: Append nexthop to existing route - dev only [ OK ] # 61.90 [+0.49] TEST: Append nexthop to existing route - reject route [ OK ] # 62.28 [+0.38] TEST: Append nexthop to existing reject route - gw [ OK ] # 62.65 [+0.37] TEST: Append nexthop to existing reject route - dev only [ OK ] # 63.02 [+0.37] TEST: add multipath route [ OK ] # 63.39 [+0.37] TEST: Attempt to add duplicate multipath route [ OK ] # 63.82 [+0.43] TEST: Route add with different metrics [ OK ] # 64.00 [+0.18] TEST: Route delete with metric [ OK ] # 64.00 [+0.00] # 64.00 [+0.00] IPv4 route replace tests # 64.42 [+0.42] TEST: Single path with single path [ OK ] # 64.86 [+0.44] TEST: Single path with multipath [ OK ] # 65.28 [+0.42] TEST: Single path with reject route [ OK ] # 65.71 [+0.43] TEST: Single path with single path via multipath attribute [ OK ] # 66.31 [+0.60] TEST: Invalid nexthop [ OK ] # 66.81 [+0.50] TEST: Single path - replace of non-existent route [ OK ] # 67.41 [+0.60] TEST: Multipath with multipath [ OK ] # 67.88 [+0.47] TEST: Multipath with single path [ OK ] # 68.31 [+0.43] TEST: Multipath with single path via multipath attribute [ OK ] # 68.73 [+0.42] TEST: Multipath with reject route [ OK ] # 69.18 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 69.68 [+0.51] TEST: Multipath - invalid second nexthop [ OK ] # 70.10 [+0.42] TEST: Multipath - replace of non-existent route [ OK ] # 71.64 [+1.54] TEST: Cached route removed from VRF port device [ OK ] # 71.64 [+0.00] # 71.64 [+0.00] IPv4 route with dsfield tests # 71.81 [+0.17] TEST: Reject route with dsfield 0x01 [ OK ] # 71.91 [+0.10] TEST: Reject route with dsfield 0x02 [ OK ] # 72.00 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 72.28 [+0.28] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 72.38 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 72.49 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 72.63 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 72.72 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 72.83 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 72.96 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 73.10 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 73.19 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 73.32 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 73.40 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 73.50 [+0.10] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 75.22 [+1.71] # 75.22 [+0.00] IPv6 prefix route tests # 77.36 [+2.14] TEST: Default metric [ OK ] # 77.66 [+0.30] TEST: User specified metric on first device [ OK ] # 77.96 [+0.30] TEST: User specified metric on second device [ OK ] # 78.15 [+0.20] TEST: Delete of address on first device [ OK ] # 78.34 [+0.18] TEST: Modify metric of address [ OK ] # 78.63 [+0.30] TEST: Prefix route removed on link down [ OK ] # 78.83 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 79.11 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 79.22 [+0.11] TEST: Set metric with peer route on peer side [ OK ] # 79.41 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 79.50 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 80.48 [+0.98] # 80.48 [+0.00] IPv4 prefix route tests # 82.33 [+1.85] TEST: Default metric [ OK ] # 82.59 [+0.26] TEST: User specified metric on first device [ OK ] # 82.85 [+0.26] TEST: User specified metric on second device [ OK ] # 83.03 [+0.18] TEST: Delete of address on first device [ OK ] # 83.20 [+0.17] TEST: Modify metric of address [ OK ] # 83.37 [+0.17] TEST: Prefix route removed on link down [ OK ] # 83.53 [+0.16] TEST: Prefix route with metric on link up [ OK ] # 83.87 [+0.34] TEST: Modify metric of .0/24 address [ OK ] # 84.16 [+0.29] TEST: Set metric of address with peer route [ OK ] # 84.33 [+0.17] TEST: Modify metric and peer address for peer route [ OK ] # 85.26 [+0.93] # 85.26 [+0.00] IPv6 routes with metrics # 89.54 [+4.28] TEST: Single path route with mtu metric [ OK ] # 89.83 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 90.10 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 90.30 [+0.20] TEST: MTU of second leg [ OK ] # 90.50 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 90.71 [+0.21] TEST: Using route with mtu metric [ OK ] # 90.89 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 92.61 [+1.72] # 92.61 [+0.00] IPv4 route add / append tests # 96.99 [+4.38] TEST: Single path route with mtu metric [ OK ] # 97.16 [+0.17] TEST: Multipath route with mtu metric [ OK ] # 97.36 [+0.20] TEST: Using route with mtu metric [ OK ] # 97.51 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 99.13 [+1.62] # 99.13 [+0.00] IPv4 route with IPv6 gateway tests # 105.40 [+6.27] TEST: Single path route with IPv6 gateway [ OK ] # 105.62 [+0.22] TEST: Single path route with IPv6 gateway - ping [ OK ] # 105.70 [+0.08] TEST: Single path route delete [ OK ] # 105.87 [+0.16] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 106.03 [+0.16] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 106.12 [+0.09] TEST: Multipath route delete exact match [ OK ] # 106.21 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 106.38 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 106.48 [+0.09] TEST: Multipath route delete exact match [ OK ] # 108.12 [+1.65] # 108.12 [+0.00] IPv4 rp_filter tests # 114.17 [+6.05] TEST: rp_filter passes local packets [ OK ] # 114.30 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 115.17 [+0.86] # 115.17 [+0.00] IPv4 delete address route tests # 117.81 [+2.64] Regular FIB info # 117.95 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 118.03 [+0.08] TEST: Route in default VRF not removed [ OK ] # 118.33 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 118.41 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 118.41 [+0.00] Identical FIB info with different table ID # 118.57 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 118.65 [+0.08] TEST: Route in default VRF not removed [ OK ] # 118.96 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 119.05 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 119.05 [+0.00] Table ID 0 # 119.20 [+0.14] TEST: Route removed in default VRF when source address deleted [ OK ] # 120.09 [+0.89] # 120.09 [+0.00] IPv6 delete address route tests # 124.35 [+4.26] Single device using src address # 124.51 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 124.51 [+0.00] Two devices with the same source address # 124.66 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 124.81 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 124.81 [+0.00] VRF with single device using src address # 124.97 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 124.98 [+0.00] VRF with two devices using src address # 125.12 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 125.27 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 125.27 [+0.00] src address and nexthop dev in same VRF # 125.43 [+0.15] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 125.52 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 125.81 [+0.29] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 125.89 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 125.89 [+0.00] src address and nexthop device in different VRF # 126.04 [+0.15] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 126.13 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 126.38 [+0.24] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 126.47 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 126.47 [+0.00] Table ID 0 # 126.63 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 126.63 [+0.00] Link local source route # 126.78 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 126.94 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 127.02 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 127.25 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 128.68 [+1.42] # 128.68 [+0.00] IPv4 mangling tests # 136.01 [+7.34] TEST: Connection with correct parameters [ OK ] # 136.18 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 137.15 [+0.97] TEST: Connection with correct parameters - mangling [ OK ] # 137.98 [+0.83] TEST: Connection with correct parameters - no mangling [ OK ] # 138.03 [+0.05] TEST: Connection check - server side [ OK ] # 139.92 [+1.89] # 139.92 [+0.00] IPv6 mangling tests # 147.64 [+7.72] TEST: Connection with correct parameters [ OK ] # 147.84 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 148.66 [+0.82] TEST: Connection with correct parameters - mangling [ OK ] # 149.50 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 149.56 [+0.05] TEST: Connection check - server side [ OK ] # 151.36 [+1.80] # 151.36 [+0.00] IPv4 broadcast neighbour tests # 153.39 [+2.03] TEST: Resolved neighbour for broadcast address [ OK ] # 153.48 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 153.56 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 153.64 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 155.32 [+1.68] # 155.32 [+0.00] Fib6 garbage collection test # 168.39 [+13.07] TEST: ipv6 route garbage collection [ OK ] # 181.71 [+13.32] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 195.02 [+13.31] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 208.45 [+13.43] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 222.63 [+14.19] TEST: ipv6 route garbage collection (RA message) [ OK ] # 223.31 [+0.68] # 223.31 [+0.00] IPv4 multipath list receive tests # 240.71 [+17.40] TEST: Multipath route hit ratio (1.00) [ OK ] # 242.38 [+1.68] # 242.38 [+0.00] IPv6 multipath list receive tests # 260.09 [+17.71] TEST: Multipath route hit ratio (1.00) [ OK ] # 261.81 [+1.71] # 261.81 [+0.00] Tests passed: 229 # 261.81 [+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__->