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.50 [+0.50] # 0.50 [+0.00] Single path route test # 1.46 [+0.96] Start point # 1.55 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.63 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.75 [+0.12] Nexthop device deleted # 1.84 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.91 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.44 [+0.53] # 2.44 [+0.00] Multipath route test # 4.07 [+1.63] Start point # 4.16 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.24 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.35 [+0.11] One nexthop device deleted # 4.43 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.51 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.65 [+0.13] Second nexthop device deleted # 4.74 [+0.09] TEST: IPv6 - no route [ OK ] # 5.24 [+0.50] # 5.24 [+0.00] Single path, admin down # 6.37 [+1.13] Start point # 6.44 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.53 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.61 [+0.08] Route deleted on down # 6.69 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.77 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.23 [+0.45] # 7.23 [+0.00] Admin down multipath # 8.82 [+1.60] Verify start point # 8.91 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.99 [+0.08] TEST: IPv6 fibmatch [ OK ] # 9.07 [+0.08] One device down, one up # 9.15 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.23 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.31 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.40 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 9.50 [+0.10] TEST: IPv4 flags on down device [ OK ] # 9.60 [+0.10] TEST: IPv6 flags on down device [ OK ] # 9.70 [+0.10] TEST: IPv4 flags on up device [ OK ] # 9.79 [+0.08] TEST: IPv6 flags on up device [ OK ] # 9.95 [+0.16] Other device down and up # 10.03 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.13 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.20 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.30 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 10.39 [+0.08] TEST: IPv4 flags on down device [ OK ] # 10.48 [+0.09] TEST: IPv6 flags on down device [ OK ] # 10.59 [+0.11] TEST: IPv4 flags on up device [ OK ] # 10.69 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.78 [+0.09] Both devices down # 10.86 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.94 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.49 [+0.55] # 11.49 [+0.00] Local carrier tests - single path # 12.69 [+1.20] Start point # 12.77 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.86 [+0.09] TEST: IPv6 fibmatch [ OK ] # 12.96 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 13.04 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 14.19 [+1.14] Carrier off on nexthop # 14.28 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.35 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.44 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 14.54 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 14.71 [+0.17] Route to local address with carrier down # 14.78 [+0.07] TEST: IPv4 fibmatch [ OK ] # 14.87 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.96 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 15.05 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 15.51 [+0.46] # 15.51 [+0.00] Single path route carrier test # 16.74 [+1.23] Start point # 16.82 [+0.08] TEST: IPv4 fibmatch [ OK ] # 16.91 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.99 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 17.06 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 18.20 [+1.14] Carrier down # 18.29 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.37 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.47 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 18.56 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 18.73 [+0.17] Second address added with carrier down # 18.81 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.89 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.98 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 19.06 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 23.29 [+4.23] # 23.29 [+0.00] IPv4 nexthop tests # 23.29 [+0.00] <<< write me >>> # 23.53 [+0.24] # 23.53 [+0.00] IPv6 nexthop tests # 23.63 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 23.72 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.82 [+0.10] TEST: Gateway is linklocal address [ OK ] # 23.91 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 24.00 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 24.10 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 24.20 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 24.30 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 24.40 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.49 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.60 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 24.69 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.78 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 24.87 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 25.91 [+1.04] # 25.91 [+0.00] FIB rule with suppress_prefixlength # 27.68 [+1.77] TEST: FIB rule suppress test [ OK ] # 29.27 [+1.59] # 29.27 [+0.00] Fib6 info length calculation in route notify test # 33.24 [+3.96] TEST: ipv6 route add notify [ OK ] # 34.86 [+1.62] # 34.86 [+0.00] Fib4 info length calculation in route notify test # 39.46 [+4.60] TEST: ipv4 route add notify [ OK ] # 44.29 [+4.83] # 44.29 [+0.00] IPv6 route add / append tests # 44.69 [+0.40] TEST: Attempt to add duplicate route - gw [ OK ] # 45.13 [+0.43] TEST: Attempt to add duplicate route - dev only [ OK ] # 45.53 [+0.40] TEST: Attempt to add duplicate route - reject route [ OK ] # 46.02 [+0.49] TEST: Append nexthop to existing route - gw [ OK ] # 46.42 [+0.40] TEST: Add multipath route [ OK ] # 46.83 [+0.41] TEST: Attempt to add duplicate multipath route [ OK ] # 47.32 [+0.49] TEST: Route add with different metrics [ OK ] # 47.55 [+0.22] TEST: Route delete with metric [ OK ] # 47.55 [+0.00] # 47.55 [+0.00] IPv6 route replace tests # 48.05 [+0.50] TEST: Single path with single path [ OK ] # 48.57 [+0.52] TEST: Single path with multipath [ OK ] # 49.15 [+0.58] TEST: Single path with single path via multipath attribute [ OK ] # 49.71 [+0.55] TEST: Invalid nexthop [ OK ] # 50.13 [+0.43] TEST: Single path - replace of non-existent route [ OK ] # 50.70 [+0.57] TEST: Multipath with multipath [ OK ] # 51.25 [+0.55] TEST: Multipath with single path [ OK ] # 51.81 [+0.56] TEST: Multipath with single path via multipath attribute [ OK ] # 52.39 [+0.58] TEST: Multipath with dev-only [ OK ] # 53.00 [+0.61] TEST: Multipath - invalid first nexthop [ OK ] # 53.61 [+0.61] TEST: Multipath - invalid second nexthop [ OK ] # 54.12 [+0.51] TEST: Multipath - replace of non-existent route [ OK ] # 54.12 [+0.00] # 54.12 [+0.00] IPv6 route with dsfield tests # 54.37 [+0.25] TEST: Reject route with dsfield [ OK ] # 63.16 [+8.78] # 63.16 [+0.00] IPv4 route add / append tests # 63.69 [+0.54] TEST: Attempt to add duplicate route - gw [ OK ] # 64.30 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 64.87 [+0.58] TEST: Attempt to add duplicate route - reject route [ OK ] # 65.46 [+0.59] TEST: Add new nexthop for existing prefix [ OK ] # 66.04 [+0.57] TEST: Append nexthop to existing route - gw [ OK ] # 66.64 [+0.61] TEST: Append nexthop to existing route - dev only [ OK ] # 67.30 [+0.66] TEST: Append nexthop to existing route - reject route [ OK ] # 67.81 [+0.51] TEST: Append nexthop to existing reject route - gw [ OK ] # 68.33 [+0.52] TEST: Append nexthop to existing reject route - dev only [ OK ] # 68.82 [+0.49] TEST: add multipath route [ OK ] # 69.25 [+0.43] TEST: Attempt to add duplicate multipath route [ OK ] # 69.83 [+0.58] TEST: Route add with different metrics [ OK ] # 70.07 [+0.25] TEST: Route delete with metric [ OK ] # 70.08 [+0.00] # 70.08 [+0.00] IPv4 route replace tests # 70.71 [+0.63] TEST: Single path with single path [ OK ] # 71.34 [+0.64] TEST: Single path with multipath [ OK ] # 71.96 [+0.61] TEST: Single path with reject route [ OK ] # 72.57 [+0.61] TEST: Single path with single path via multipath attribute [ OK ] # 73.15 [+0.58] TEST: Invalid nexthop [ OK ] # 73.61 [+0.45] TEST: Single path - replace of non-existent route [ OK ] # 74.21 [+0.60] TEST: Multipath with multipath [ OK ] # 74.76 [+0.55] TEST: Multipath with single path [ OK ] # 75.31 [+0.55] TEST: Multipath with single path via multipath attribute [ OK ] # 75.86 [+0.56] TEST: Multipath with reject route [ OK ] # 76.45 [+0.58] TEST: Multipath - invalid first nexthop [ OK ] # 76.95 [+0.51] TEST: Multipath - invalid second nexthop [ OK ] # 77.37 [+0.41] TEST: Multipath - replace of non-existent route [ OK ] # 78.94 [+1.57] TEST: Cached route removed from VRF port device [ OK ] # 78.94 [+0.00] # 78.94 [+0.00] IPv4 route with dsfield tests # 79.18 [+0.24] TEST: Reject route with dsfield 0x01 [ OK ] # 79.29 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 79.39 [+0.10] TEST: Reject route with dsfield 0x03 [ OK ] # 79.70 [+0.31] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 79.79 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 79.88 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 79.97 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 80.07 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 80.16 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 80.27 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 80.35 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 80.46 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 80.56 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 80.65 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 80.75 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 82.77 [+2.02] # 82.77 [+0.00] IPv6 prefix route tests # 84.74 [+1.98] TEST: Default metric [ OK ] # 85.04 [+0.29] TEST: User specified metric on first device [ OK ] # 85.34 [+0.31] TEST: User specified metric on second device [ OK ] # 85.54 [+0.20] TEST: Delete of address on first device [ OK ] # 85.72 [+0.18] TEST: Modify metric of address [ OK ] # 86.04 [+0.32] TEST: Prefix route removed on link down [ OK ] # 86.25 [+0.21] TEST: Prefix route with metric on link up [ OK ] # 86.55 [+0.30] TEST: Set metric with peer route on local side [ OK ] # 86.64 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 86.82 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 86.91 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 87.94 [+1.03] # 87.94 [+0.00] IPv4 prefix route tests # 89.81 [+1.87] TEST: Default metric [ OK ] # 90.10 [+0.29] TEST: User specified metric on first device [ OK ] # 90.40 [+0.30] TEST: User specified metric on second device [ OK ] # 90.59 [+0.19] TEST: Delete of address on first device [ OK ] # 90.76 [+0.17] TEST: Modify metric of address [ OK ] # 90.94 [+0.18] TEST: Prefix route removed on link down [ OK ] # 91.13 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 91.51 [+0.37] TEST: Modify metric of .0/24 address [ OK ] # 91.78 [+0.27] TEST: Set metric of address with peer route [ OK ] # 91.97 [+0.20] TEST: Modify metric and peer address for peer route [ OK ] # 92.91 [+0.94] # 92.91 [+0.00] IPv6 routes with metrics # 97.58 [+4.67] TEST: Single path route with mtu metric [ OK ] # 97.93 [+0.35] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 98.21 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 98.40 [+0.18] TEST: MTU of second leg [ OK ] # 98.63 [+0.23] TEST: Multipath route with mtu metric [ OK ] # 98.85 [+0.23] TEST: Using route with mtu metric [ OK ] # 99.01 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 100.72 [+1.71] # 100.73 [+0.00] IPv4 route add / append tests # 105.40 [+4.68] TEST: Single path route with mtu metric [ OK ] # 105.58 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 105.80 [+0.22] TEST: Using route with mtu metric [ OK ] # 105.97 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 107.67 [+1.70] # 107.67 [+0.00] IPv4 route with IPv6 gateway tests # 114.00 [+6.33] TEST: Single path route with IPv6 gateway [ OK ] # 114.25 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 114.34 [+0.09] TEST: Single path route delete [ OK ] # 114.51 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 114.69 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 114.77 [+0.08] TEST: Multipath route delete exact match [ OK ] # 114.87 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 115.05 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 115.14 [+0.10] TEST: Multipath route delete exact match [ OK ] # 116.85 [+1.71] # 116.85 [+0.00] IPv4 rp_filter tests # 122.67 [+5.82] TEST: rp_filter passes local packets [ OK ] # 122.81 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 123.54 [+0.73] # 123.54 [+0.00] IPv4 delete address route tests # 126.20 [+2.66] Regular FIB info # 126.37 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 126.45 [+0.07] TEST: Route in default VRF not removed [ OK ] # 126.77 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 126.86 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 126.86 [+0.00] Identical FIB info with different table ID # 127.03 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 127.12 [+0.08] TEST: Route in default VRF not removed [ OK ] # 127.42 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 127.52 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 127.52 [+0.00] Table ID 0 # 127.69 [+0.17] TEST: Route removed in default VRF when source address deleted [ OK ] # 128.63 [+0.95] # 128.63 [+0.00] IPv6 delete address route tests # 133.17 [+4.54] Single device using src address # 133.33 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 133.33 [+0.00] Two devices with the same source address # 133.50 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 133.67 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 133.67 [+0.00] VRF with single device using src address # 133.86 [+0.19] TEST: Prefsrc removed when src address removed on other device [ OK ] # 133.86 [+0.00] VRF with two devices using src address # 134.02 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 134.18 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 134.18 [+0.00] src address and nexthop dev in same VRF # 134.36 [+0.18] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 134.45 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 134.77 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 134.84 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 134.84 [+0.00] src address and nexthop device in different VRF # 135.00 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 135.08 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 135.31 [+0.23] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 135.40 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 135.40 [+0.00] Table ID 0 # 135.58 [+0.18] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 135.58 [+0.00] Link local source route # 135.74 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 135.90 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 135.99 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 136.23 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 137.75 [+1.51] # 137.75 [+0.00] IPv4 mangling tests # 145.06 [+7.31] TEST: Connection with correct parameters [ OK ] # 145.23 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 146.14 [+0.92] TEST: Connection with correct parameters - mangling [ OK ] # 146.99 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 147.06 [+0.07] TEST: Connection check - server side [ OK ] # 149.03 [+1.96] # 149.03 [+0.00] IPv6 mangling tests # 156.38 [+7.35] TEST: Connection with correct parameters [ OK ] # 156.56 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 157.41 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 158.28 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 158.34 [+0.06] TEST: Connection check - server side [ OK ] # 160.29 [+1.95] # 160.29 [+0.00] IPv4 broadcast neighbour tests # 162.44 [+2.15] TEST: Resolved neighbour for broadcast address [ OK ] # 162.53 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 162.62 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 162.70 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 164.50 [+1.79] # 164.50 [+0.00] Fib6 garbage collection test # 177.65 [+13.16] TEST: ipv6 route garbage collection [ OK ] # 191.03 [+13.38] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 204.42 [+13.38] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 217.92 [+13.50] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 232.19 [+14.27] TEST: ipv6 route garbage collection (RA message) [ OK ] # 232.92 [+0.73] # 232.92 [+0.00] IPv4 multipath list receive tests # 249.09 [+16.17] TEST: Multipath route hit ratio (1.00) [ OK ] # 250.90 [+1.81] # 250.90 [+0.00] IPv6 multipath list receive tests # 266.82 [+15.92] TEST: Multipath route hit ratio (1.00) [ OK ] # 268.52 [+1.70] # 268.52 [+0.00] Tests passed: 229 # 268.52 [+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__->