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.34 [+0.34] # 0.35 [+0.00] Single path route test # 1.07 [+0.72] Start point # 1.13 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.20 [+0.07] TEST: IPv6 fibmatch [ OK ] # 1.31 [+0.11] Nexthop device deleted # 1.38 [+0.07] TEST: IPv4 fibmatch - no route [ OK ] # 1.45 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 1.88 [+0.43] # 1.88 [+0.00] Multipath route test # 3.20 [+1.32] Start point # 3.27 [+0.07] TEST: IPv4 fibmatch [ OK ] # 3.33 [+0.07] TEST: IPv6 fibmatch [ OK ] # 3.45 [+0.12] One nexthop device deleted # 3.52 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 3.59 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 3.69 [+0.10] Second nexthop device deleted # 3.76 [+0.07] TEST: IPv6 - no route [ OK ] # 4.20 [+0.44] # 4.20 [+0.00] Single path, admin down # 5.12 [+0.92] Start point # 5.19 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.26 [+0.07] TEST: IPv6 fibmatch [ OK ] # 5.33 [+0.07] Route deleted on down # 5.39 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.46 [+0.07] TEST: IPv6 fibmatch [ OK ] # 5.84 [+0.38] # 5.84 [+0.00] Admin down multipath # 7.20 [+1.35] Verify start point # 7.27 [+0.07] TEST: IPv4 fibmatch [ OK ] # 7.34 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.40 [+0.06] One device down, one up # 7.47 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 7.53 [+0.06] TEST: IPv6 fibmatch on down device [ OK ] # 7.60 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 7.67 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 7.75 [+0.09] TEST: IPv4 flags on down device [ OK ] # 7.84 [+0.09] TEST: IPv6 flags on down device [ OK ] # 7.92 [+0.08] TEST: IPv4 flags on up device [ OK ] # 7.99 [+0.07] TEST: IPv6 flags on up device [ OK ] # 8.12 [+0.13] Other device down and up # 8.20 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 8.28 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 8.34 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 8.41 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 8.49 [+0.08] TEST: IPv4 flags on down device [ OK ] # 8.57 [+0.07] TEST: IPv6 flags on down device [ OK ] # 8.65 [+0.09] TEST: IPv4 flags on up device [ OK ] # 8.73 [+0.08] TEST: IPv6 flags on up device [ OK ] # 8.81 [+0.07] Both devices down # 8.87 [+0.07] TEST: IPv4 fibmatch [ OK ] # 8.95 [+0.07] TEST: IPv6 fibmatch [ OK ] # 9.40 [+0.45] # 9.40 [+0.00] Local carrier tests - single path # 10.39 [+0.99] Start point # 10.46 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.52 [+0.06] TEST: IPv6 fibmatch [ OK ] # 10.59 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 10.67 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 11.77 [+1.10] Carrier off on nexthop # 11.85 [+0.08] TEST: IPv4 fibmatch [ OK ] # 11.92 [+0.07] TEST: IPv6 fibmatch [ OK ] # 11.98 [+0.06] TEST: IPv4 - linkdown flag set [ OK ] # 12.05 [+0.06] TEST: IPv6 - linkdown flag set [ OK ] # 12.17 [+0.13] Route to local address with carrier down # 12.24 [+0.07] TEST: IPv4 fibmatch [ OK ] # 12.31 [+0.07] TEST: IPv6 fibmatch [ OK ] # 12.37 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 12.44 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 12.81 [+0.38] # 12.82 [+0.00] Single path route carrier test # 13.86 [+1.04] Start point # 13.94 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.01 [+0.07] TEST: IPv6 fibmatch [ OK ] # 14.07 [+0.06] TEST: IPv4 no linkdown flag [ OK ] # 14.14 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 15.26 [+1.11] Carrier down # 15.33 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.40 [+0.07] TEST: IPv6 fibmatch [ OK ] # 15.47 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 15.54 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 15.70 [+0.16] Second address added with carrier down # 15.76 [+0.06] TEST: IPv4 fibmatch [ OK ] # 15.83 [+0.07] TEST: IPv6 fibmatch [ OK ] # 15.91 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 15.97 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 19.69 [+3.72] # 19.69 [+0.00] IPv4 nexthop tests # 19.69 [+0.00] <<< write me >>> # 19.89 [+0.20] # 19.89 [+0.00] IPv6 nexthop tests # 19.97 [+0.08] TEST: Directly connected nexthop, unicast address [ OK ] # 20.05 [+0.08] TEST: Directly connected nexthop, unicast address with device [ OK ] # 20.13 [+0.08] TEST: Gateway is linklocal address [ OK ] # 20.20 [+0.07] TEST: Gateway is linklocal address, no device [ OK ] # 20.29 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 20.36 [+0.07] TEST: Gateway can not be local unicast address, with device [ OK ] # 20.45 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 20.52 [+0.08] TEST: Gateway can be local address in a VRF [ OK ] # 20.61 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 20.69 [+0.07] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 20.77 [+0.08] TEST: Redirect to VRF lookup [ OK ] # 20.84 [+0.07] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 20.92 [+0.08] TEST: VRF route, gateway can not be a local address [ OK ] # 20.99 [+0.07] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 21.89 [+0.90] # 21.89 [+0.00] FIB rule with suppress_prefixlength # 23.38 [+1.49] TEST: FIB rule suppress test [ OK ] # 24.69 [+1.31] # 24.69 [+0.00] Fib6 info length calculation in route notify test # 28.32 [+3.62] TEST: ipv6 route add notify [ OK ] # 29.65 [+1.33] # 29.65 [+0.00] Fib4 info length calculation in route notify test # 33.26 [+3.61] TEST: ipv4 route add notify [ OK ] # 36.82 [+3.56] # 36.82 [+0.00] IPv6 route add / append tests # 37.12 [+0.30] TEST: Attempt to add duplicate route - gw [ OK ] # 37.42 [+0.30] TEST: Attempt to add duplicate route - dev only [ OK ] # 37.71 [+0.29] TEST: Attempt to add duplicate route - reject route [ OK ] # 38.11 [+0.40] TEST: Append nexthop to existing route - gw [ OK ] # 38.41 [+0.31] TEST: Add multipath route [ OK ] # 38.71 [+0.30] TEST: Attempt to add duplicate multipath route [ OK ] # 39.09 [+0.38] TEST: Route add with different metrics [ OK ] # 39.24 [+0.15] TEST: Route delete with metric [ OK ] # 39.24 [+0.00] # 39.24 [+0.00] IPv6 route replace tests # 39.63 [+0.39] TEST: Single path with single path [ OK ] # 40.02 [+0.39] TEST: Single path with multipath [ OK ] # 40.40 [+0.39] TEST: Single path with single path via multipath attribute [ OK ] # 40.78 [+0.37] TEST: Invalid nexthop [ OK ] # 41.08 [+0.31] TEST: Single path - replace of non-existent route [ OK ] # 41.47 [+0.39] TEST: Multipath with multipath [ OK ] # 41.85 [+0.37] TEST: Multipath with single path [ OK ] # 42.21 [+0.37] TEST: Multipath with single path via multipath attribute [ OK ] # 42.59 [+0.38] TEST: Multipath with dev-only [ OK ] # 42.98 [+0.38] TEST: Multipath - invalid first nexthop [ OK ] # 43.37 [+0.40] TEST: Multipath - invalid second nexthop [ OK ] # 43.67 [+0.30] TEST: Multipath - replace of non-existent route [ OK ] # 43.67 [+0.00] # 43.67 [+0.00] IPv6 route with dsfield tests # 43.83 [+0.16] TEST: Reject route with dsfield [ OK ] # 48.95 [+5.12] # 48.95 [+0.00] IPv4 route add / append tests # 49.26 [+0.30] TEST: Attempt to add duplicate route - gw [ OK ] # 49.56 [+0.30] TEST: Attempt to add duplicate route - dev only [ OK ] # 49.86 [+0.30] TEST: Attempt to add duplicate route - reject route [ OK ] # 50.24 [+0.39] TEST: Add new nexthop for existing prefix [ OK ] # 50.62 [+0.38] TEST: Append nexthop to existing route - gw [ OK ] # 51.00 [+0.37] TEST: Append nexthop to existing route - dev only [ OK ] # 51.38 [+0.38] TEST: Append nexthop to existing route - reject route [ OK ] # 51.67 [+0.29] TEST: Append nexthop to existing reject route - gw [ OK ] # 51.97 [+0.30] TEST: Append nexthop to existing reject route - dev only [ OK ] # 52.26 [+0.30] TEST: add multipath route [ OK ] # 52.58 [+0.31] TEST: Attempt to add duplicate multipath route [ OK ] # 52.93 [+0.35] TEST: Route add with different metrics [ OK ] # 53.08 [+0.15] TEST: Route delete with metric [ OK ] # 53.08 [+0.00] # 53.08 [+0.00] IPv4 route replace tests # 53.46 [+0.38] TEST: Single path with single path [ OK ] # 53.84 [+0.38] TEST: Single path with multipath [ OK ] # 54.20 [+0.36] TEST: Single path with reject route [ OK ] # 54.59 [+0.39] TEST: Single path with single path via multipath attribute [ OK ] # 54.95 [+0.35] TEST: Invalid nexthop [ OK ] # 55.25 [+0.30] TEST: Single path - replace of non-existent route [ OK ] # 55.62 [+0.37] TEST: Multipath with multipath [ OK ] # 55.99 [+0.37] TEST: Multipath with single path [ OK ] # 56.36 [+0.37] TEST: Multipath with single path via multipath attribute [ OK ] # 56.73 [+0.37] TEST: Multipath with reject route [ OK ] # 57.11 [+0.37] TEST: Multipath - invalid first nexthop [ OK ] # 57.48 [+0.37] TEST: Multipath - invalid second nexthop [ OK ] # 57.77 [+0.29] TEST: Multipath - replace of non-existent route [ OK ] # 58.99 [+1.22] TEST: Cached route removed from VRF port device [ OK ] # 58.99 [+0.00] # 58.99 [+0.00] IPv4 route with dsfield tests # 59.15 [+0.15] TEST: Reject route with dsfield 0x01 [ OK ] # 59.22 [+0.07] TEST: Reject route with dsfield 0x02 [ OK ] # 59.30 [+0.08] TEST: Reject route with dsfield 0x03 [ OK ] # 59.54 [+0.24] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 59.60 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 59.69 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 59.76 [+0.07] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 59.82 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 59.89 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 59.96 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 60.04 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 60.10 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 60.19 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 60.26 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 60.33 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 61.90 [+1.57] # 61.90 [+0.00] IPv6 prefix route tests # 63.45 [+1.56] TEST: Default metric [ OK ] # 63.70 [+0.24] TEST: User specified metric on first device [ OK ] # 63.95 [+0.25] TEST: User specified metric on second device [ OK ] # 64.11 [+0.16] TEST: Delete of address on first device [ OK ] # 64.27 [+0.16] TEST: Modify metric of address [ OK ] # 64.52 [+0.25] TEST: Prefix route removed on link down [ OK ] # 64.69 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 64.93 [+0.24] TEST: Set metric with peer route on local side [ OK ] # 65.01 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 65.17 [+0.16] TEST: Modify metric and peer address on local side [ OK ] # 65.28 [+0.11] TEST: Modify metric and peer address on peer side [ OK ] # 66.23 [+0.95] # 66.23 [+0.00] IPv4 prefix route tests # 67.86 [+1.63] TEST: Default metric [ OK ] # 68.09 [+0.24] TEST: User specified metric on first device [ OK ] # 68.32 [+0.23] TEST: User specified metric on second device [ OK ] # 68.49 [+0.16] TEST: Delete of address on first device [ OK ] # 68.64 [+0.15] TEST: Modify metric of address [ OK ] # 68.79 [+0.15] TEST: Prefix route removed on link down [ OK ] # 68.94 [+0.16] TEST: Prefix route with metric on link up [ OK ] # 69.25 [+0.31] TEST: Modify metric of .0/24 address [ OK ] # 69.48 [+0.23] TEST: Set metric of address with peer route [ OK ] # 69.65 [+0.17] TEST: Modify metric and peer address for peer route [ OK ] # 70.49 [+0.85] # 70.49 [+0.00] IPv6 routes with metrics # 74.28 [+3.79] TEST: Single path route with mtu metric [ OK ] # 74.52 [+0.24] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 74.78 [+0.26] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 74.93 [+0.16] TEST: MTU of second leg [ OK ] # 75.10 [+0.17] TEST: Multipath route with mtu metric [ OK ] # 75.28 [+0.18] TEST: Using route with mtu metric [ OK ] # 75.43 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 76.86 [+1.43] # 76.86 [+0.00] IPv4 route add / append tests # 80.58 [+3.72] TEST: Single path route with mtu metric [ OK ] # 80.73 [+0.15] TEST: Multipath route with mtu metric [ OK ] # 80.93 [+0.19] TEST: Using route with mtu metric [ OK ] # 81.07 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 82.46 [+1.39] # 82.46 [+0.00] IPv4 route with IPv6 gateway tests # 88.19 [+5.73] TEST: Single path route with IPv6 gateway [ OK ] # 88.43 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 88.50 [+0.07] TEST: Single path route delete [ OK ] # 88.66 [+0.15] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 88.81 [+0.16] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 88.90 [+0.08] TEST: Multipath route delete exact match [ OK ] # 88.97 [+0.07] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 89.12 [+0.15] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 89.21 [+0.08] TEST: Multipath route delete exact match [ OK ] # 90.68 [+1.47] # 90.68 [+0.00] IPv4 rp_filter tests # 95.64 [+4.95] TEST: rp_filter passes local packets [ OK ] # 95.77 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 96.39 [+0.62] # 96.39 [+0.00] IPv4 delete address route tests # 98.83 [+2.44] Regular FIB info # 98.98 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 99.06 [+0.08] TEST: Route in default VRF not removed [ OK ] # 99.33 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 99.40 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 99.40 [+0.00] Identical FIB info with different table ID # 99.54 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 99.62 [+0.08] TEST: Route in default VRF not removed [ OK ] # 99.89 [+0.28] TEST: Route removed in default VRF when source address deleted [ OK ] # 99.97 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 99.97 [+0.00] Table ID 0 # 100.10 [+0.13] TEST: Route removed in default VRF when source address deleted [ OK ] # 100.92 [+0.82] # 100.92 [+0.00] IPv6 delete address route tests # 104.99 [+4.07] Single device using src address # 105.12 [+0.14] TEST: Prefsrc removed when src address removed on other device [ OK ] # 105.13 [+0.00] Two devices with the same source address # 105.27 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 105.42 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 105.42 [+0.00] VRF with single device using src address # 105.55 [+0.13] TEST: Prefsrc removed when src address removed on other device [ OK ] # 105.55 [+0.00] VRF with two devices using src address # 105.68 [+0.13] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 105.82 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 105.82 [+0.00] src address and nexthop dev in same VRF # 105.95 [+0.13] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 106.02 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 106.33 [+0.31] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 106.40 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 106.40 [+0.00] src address and nexthop device in different VRF # 106.53 [+0.13] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 106.61 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 106.82 [+0.21] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 106.90 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 106.90 [+0.00] Table ID 0 # 107.04 [+0.14] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 107.04 [+0.00] Link local source route # 107.17 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 107.32 [+0.14] TEST: Prefsrc removed when delete ll addr [ OK ] # 107.38 [+0.07] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 107.58 [+0.20] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 108.89 [+1.31] # 108.89 [+0.00] IPv4 mangling tests # 115.72 [+6.83] TEST: Connection with correct parameters [ OK ] # 115.89 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 116.85 [+0.96] TEST: Connection with correct parameters - mangling [ OK ] # 117.66 [+0.81] TEST: Connection with correct parameters - no mangling [ OK ] # 117.71 [+0.06] TEST: Connection check - server side [ OK ] # 119.61 [+1.90] # 119.61 [+0.00] IPv6 mangling tests # 126.45 [+6.84] TEST: Connection with correct parameters [ OK ] # 126.61 [+0.16] TEST: Connection with incorrect parameters [ OK ] # 127.45 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 128.29 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 128.34 [+0.05] TEST: Connection check - server side [ OK ] # 130.12 [+1.78] # 130.12 [+0.00] IPv4 broadcast neighbour tests # 132.05 [+1.93] TEST: Resolved neighbour for broadcast address [ OK ] # 132.13 [+0.07] TEST: Resolved neighbour for network broadcast address [ OK ] # 132.20 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 132.28 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 133.88 [+1.59] # 133.88 [+0.00] Fib6 garbage collection test # 146.88 [+13.01] TEST: ipv6 route garbage collection [ OK ] # 160.10 [+13.22] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 173.32 [+13.22] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 186.63 [+13.31] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 200.73 [+14.10] TEST: ipv6 route garbage collection (RA message) [ OK ] # 201.39 [+0.66] # 201.39 [+0.00] IPv4 multipath list receive tests # 213.43 [+12.04] TEST: Multipath route hit ratio (1.00) [ OK ] # 214.95 [+1.53] # 214.95 [+0.00] IPv6 multipath list receive tests # 226.45 [+11.50] TEST: Multipath route hit ratio (1.00) [ OK ] # 228.01 [+1.56] # 228.01 [+0.00] Tests passed: 229 # 228.01 [+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__->