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.36 [+0.36] # 0.36 [+0.00] Single path route test # 1.21 [+0.85] Start point # 1.29 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.37 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.50 [+0.13] Nexthop device deleted # 1.58 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.66 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.16 [+0.50] # 2.16 [+0.00] Multipath route test # 3.73 [+1.57] Start point # 3.81 [+0.08] TEST: IPv4 fibmatch [ OK ] # 3.89 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.01 [+0.12] One nexthop device deleted # 4.09 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.18 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.30 [+0.12] Second nexthop device deleted # 4.38 [+0.08] TEST: IPv6 - no route [ OK ] # 4.91 [+0.54] # 4.91 [+0.00] Single path, admin down # 6.02 [+1.11] Start point # 6.10 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.19 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.27 [+0.08] Route deleted on down # 6.35 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.43 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.84 [+0.41] # 6.84 [+0.00] Admin down multipath # 8.41 [+1.57] Verify start point # 8.50 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.57 [+0.07] TEST: IPv6 fibmatch [ OK ] # 8.66 [+0.09] One device down, one up # 8.73 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 8.82 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 8.90 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 8.98 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 9.07 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.16 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.27 [+0.11] TEST: IPv4 flags on up device [ OK ] # 9.38 [+0.11] TEST: IPv6 flags on up device [ OK ] # 9.57 [+0.19] Other device down and up # 9.65 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.73 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.81 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.89 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.98 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.06 [+0.08] TEST: IPv6 flags on down device [ OK ] # 10.16 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.27 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.34 [+0.08] Both devices down # 10.42 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.51 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.05 [+0.54] # 11.05 [+0.00] Local carrier tests - single path # 12.37 [+1.32] Start point # 12.47 [+0.10] TEST: IPv4 fibmatch [ OK ] # 12.55 [+0.09] TEST: IPv6 fibmatch [ OK ] # 12.63 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 12.71 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 13.85 [+1.14] Carrier off on nexthop # 13.95 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.03 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.10 [+0.07] TEST: IPv4 - linkdown flag set [ OK ] # 14.19 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 14.35 [+0.16] Route to local address with carrier down # 14.42 [+0.07] TEST: IPv4 fibmatch [ OK ] # 14.51 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.58 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 14.66 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 15.10 [+0.44] # 15.10 [+0.00] Single path route carrier test # 16.30 [+1.20] Start point # 16.41 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.49 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.57 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 16.66 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 17.79 [+1.12] Carrier down # 17.88 [+0.09] TEST: IPv4 fibmatch [ OK ] # 17.95 [+0.07] TEST: IPv6 fibmatch [ OK ] # 18.02 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.10 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 18.26 [+0.16] Second address added with carrier down # 18.34 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.42 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.50 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 18.59 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 23.30 [+4.71] # 23.30 [+0.00] IPv4 nexthop tests # 23.31 [+0.00] <<< write me >>> # 23.62 [+0.32] # 23.63 [+0.00] IPv6 nexthop tests # 23.73 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 23.84 [+0.11] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.94 [+0.11] TEST: Gateway is linklocal address [ OK ] # 24.06 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 24.17 [+0.11] TEST: Gateway can not be local unicast address [ OK ] # 24.33 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 24.44 [+0.12] TEST: Gateway can not be a local linklocal address [ OK ] # 24.57 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 24.69 [+0.12] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.81 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.93 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 25.04 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.17 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 25.31 [+0.14] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.79 [+1.48] # 26.79 [+0.00] FIB rule with suppress_prefixlength # 29.22 [+2.43] TEST: FIB rule suppress test [ OK ] # 31.68 [+2.45] # 31.68 [+0.00] Fib6 info length calculation in route notify test # 36.36 [+4.68] TEST: ipv6 route add notify [ OK ] # 38.38 [+2.02] # 38.38 [+0.00] Fib4 info length calculation in route notify test # 42.81 [+4.44] TEST: ipv4 route add notify [ OK ] # 47.56 [+4.75] # 47.56 [+0.00] IPv6 route add / append tests # 47.95 [+0.39] TEST: Attempt to add duplicate route - gw [ OK ] # 48.32 [+0.37] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.71 [+0.39] TEST: Attempt to add duplicate route - reject route [ OK ] # 49.21 [+0.50] TEST: Append nexthop to existing route - gw [ OK ] # 49.63 [+0.42] TEST: Add multipath route [ OK ] # 50.00 [+0.38] TEST: Attempt to add duplicate multipath route [ OK ] # 50.49 [+0.48] TEST: Route add with different metrics [ OK ] # 50.71 [+0.22] TEST: Route delete with metric [ OK ] # 50.71 [+0.00] # 50.71 [+0.00] IPv6 route replace tests # 51.20 [+0.49] TEST: Single path with single path [ OK ] # 51.70 [+0.50] TEST: Single path with multipath [ OK ] # 52.15 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 52.66 [+0.50] TEST: Invalid nexthop [ OK ] # 53.04 [+0.38] TEST: Single path - replace of non-existent route [ OK ] # 53.54 [+0.50] TEST: Multipath with multipath [ OK ] # 54.04 [+0.50] TEST: Multipath with single path [ OK ] # 54.53 [+0.49] TEST: Multipath with single path via multipath attribute [ OK ] # 55.00 [+0.46] TEST: Multipath with dev-only [ OK ] # 55.48 [+0.48] TEST: Multipath - invalid first nexthop [ OK ] # 55.92 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 56.27 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 56.27 [+0.00] # 56.27 [+0.00] IPv6 route with dsfield tests # 56.46 [+0.19] TEST: Reject route with dsfield [ OK ] # 62.38 [+5.92] # 62.38 [+0.00] IPv4 route add / append tests # 62.72 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 63.07 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 63.41 [+0.34] TEST: Attempt to add duplicate route - reject route [ OK ] # 63.86 [+0.45] TEST: Add new nexthop for existing prefix [ OK ] # 64.30 [+0.44] TEST: Append nexthop to existing route - gw [ OK ] # 64.72 [+0.42] TEST: Append nexthop to existing route - dev only [ OK ] # 65.15 [+0.43] TEST: Append nexthop to existing route - reject route [ OK ] # 65.51 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 65.86 [+0.35] TEST: Append nexthop to existing reject route - dev only [ OK ] # 66.20 [+0.34] TEST: add multipath route [ OK ] # 66.55 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 67.00 [+0.44] TEST: Route add with different metrics [ OK ] # 67.17 [+0.17] TEST: Route delete with metric [ OK ] # 67.17 [+0.00] # 67.17 [+0.00] IPv4 route replace tests # 67.59 [+0.42] TEST: Single path with single path [ OK ] # 68.03 [+0.44] TEST: Single path with multipath [ OK ] # 68.47 [+0.44] TEST: Single path with reject route [ OK ] # 68.90 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 69.33 [+0.43] TEST: Invalid nexthop [ OK ] # 69.67 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 70.11 [+0.44] TEST: Multipath with multipath [ OK ] # 70.53 [+0.42] TEST: Multipath with single path [ OK ] # 70.96 [+0.43] TEST: Multipath with single path via multipath attribute [ OK ] # 71.40 [+0.43] TEST: Multipath with reject route [ OK ] # 71.83 [+0.44] TEST: Multipath - invalid first nexthop [ OK ] # 72.27 [+0.43] TEST: Multipath - invalid second nexthop [ OK ] # 72.60 [+0.33] TEST: Multipath - replace of non-existent route [ OK ] # 73.98 [+1.38] TEST: Cached route removed from VRF port device [ OK ] # 73.98 [+0.00] # 73.98 [+0.00] IPv4 route with dsfield tests # 74.17 [+0.19] TEST: Reject route with dsfield 0x01 [ OK ] # 74.26 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 74.34 [+0.08] TEST: Reject route with dsfield 0x03 [ OK ] # 74.61 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 74.69 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 74.76 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 74.85 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 74.94 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 75.01 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 75.09 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 75.19 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 75.27 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 75.36 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 75.44 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 75.53 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 77.22 [+1.69] # 77.22 [+0.00] IPv6 prefix route tests # 79.02 [+1.81] TEST: Default metric [ OK ] # 79.31 [+0.29] TEST: User specified metric on first device [ OK ] # 79.59 [+0.28] TEST: User specified metric on second device [ OK ] # 79.78 [+0.19] TEST: Delete of address on first device [ OK ] # 79.96 [+0.18] TEST: Modify metric of address [ OK ] # 80.25 [+0.29] TEST: Prefix route removed on link down [ OK ] # 80.43 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 80.70 [+0.27] TEST: Set metric with peer route on local side [ OK ] # 80.78 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 80.96 [+0.17] TEST: Modify metric and peer address on local side [ OK ] # 81.05 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 81.97 [+0.92] # 81.98 [+0.00] IPv4 prefix route tests # 83.72 [+1.75] TEST: Default metric [ OK ] # 83.98 [+0.26] TEST: User specified metric on first device [ OK ] # 84.26 [+0.28] TEST: User specified metric on second device [ OK ] # 84.43 [+0.17] TEST: Delete of address on first device [ OK ] # 84.62 [+0.19] TEST: Modify metric of address [ OK ] # 84.79 [+0.17] TEST: Prefix route removed on link down [ OK ] # 84.96 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 85.32 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 85.59 [+0.27] TEST: Set metric of address with peer route [ OK ] # 85.76 [+0.17] TEST: Modify metric and peer address for peer route [ OK ] # 86.70 [+0.94] # 86.70 [+0.00] IPv6 routes with metrics # 91.00 [+4.30] TEST: Single path route with mtu metric [ OK ] # 91.30 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 91.55 [+0.25] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 91.72 [+0.17] TEST: MTU of second leg [ OK ] # 91.91 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 92.12 [+0.21] TEST: Using route with mtu metric [ OK ] # 92.28 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 93.84 [+1.56] # 93.84 [+0.00] IPv4 route add / append tests # 98.14 [+4.30] TEST: Single path route with mtu metric [ OK ] # 98.33 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 98.53 [+0.20] TEST: Using route with mtu metric [ OK ] # 98.70 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 100.37 [+1.67] # 100.37 [+0.00] IPv4 route with IPv6 gateway tests # 106.73 [+6.36] TEST: Single path route with IPv6 gateway [ OK ] # 106.96 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 107.05 [+0.08] TEST: Single path route delete [ OK ] # 107.22 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 107.39 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 107.49 [+0.09] TEST: Multipath route delete exact match [ OK ] # 107.58 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 107.76 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 107.86 [+0.10] TEST: Multipath route delete exact match [ OK ] # 109.54 [+1.67] # 109.54 [+0.00] IPv4 rp_filter tests # 115.18 [+5.64] TEST: rp_filter passes local packets [ OK ] # 115.31 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 116.04 [+0.73] # 116.04 [+0.00] IPv4 delete address route tests # 118.67 [+2.63] Regular FIB info # 118.82 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 118.91 [+0.08] TEST: Route in default VRF not removed [ OK ] # 119.23 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 119.31 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 119.31 [+0.00] Identical FIB info with different table ID # 119.49 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 119.55 [+0.06] TEST: Route in default VRF not removed [ OK ] # 119.87 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 119.95 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 119.95 [+0.00] Table ID 0 # 120.10 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.06 [+0.96] # 121.06 [+0.00] IPv6 delete address route tests # 125.53 [+4.47] Single device using src address # 125.69 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 125.70 [+0.00] Two devices with the same source address # 125.85 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 126.02 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 126.02 [+0.00] VRF with single device using src address # 126.19 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 126.19 [+0.00] VRF with two devices using src address # 126.35 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 126.51 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 126.51 [+0.00] src address and nexthop dev in same VRF # 126.68 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 126.76 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 127.08 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 127.15 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 127.15 [+0.00] src address and nexthop device in different VRF # 127.32 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 127.41 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 127.66 [+0.26] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 127.74 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 127.74 [+0.00] Table ID 0 # 127.89 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 127.89 [+0.00] Link local source route # 128.05 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 128.22 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 128.32 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 128.57 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 130.03 [+1.46] # 130.03 [+0.00] IPv4 mangling tests # 137.41 [+7.38] TEST: Connection with correct parameters [ OK ] # 137.58 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 138.57 [+0.99] TEST: Connection with correct parameters - mangling [ OK ] # 139.42 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 139.49 [+0.07] TEST: Connection check - server side [ OK ] # 141.47 [+1.98] # 141.47 [+0.00] IPv6 mangling tests # 148.74 [+7.27] TEST: Connection with correct parameters [ OK ] # 148.93 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 149.79 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 150.66 [+0.88] TEST: Connection with correct parameters - no mangling [ OK ] # 150.72 [+0.05] TEST: Connection check - server side [ OK ] # 152.70 [+1.98] # 152.70 [+0.00] IPv4 broadcast neighbour tests # 154.84 [+2.14] TEST: Resolved neighbour for broadcast address [ OK ] # 154.91 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 155.00 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 155.09 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 156.86 [+1.78] # 156.86 [+0.00] Fib6 garbage collection test # 170.04 [+13.18] TEST: ipv6 route garbage collection [ OK ] # 183.40 [+13.36] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 196.83 [+13.43] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 210.31 [+13.48] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 224.63 [+14.33] TEST: ipv6 route garbage collection (RA message) [ OK ] # 225.36 [+0.72] # 225.36 [+0.00] IPv4 multipath list receive tests # 241.77 [+16.42] TEST: Multipath route hit ratio (1.00) [ OK ] # 243.84 [+2.07] # 243.84 [+0.00] IPv6 multipath list receive tests # 260.16 [+16.31] TEST: Multipath route hit ratio (1.00) [ OK ] # 262.04 [+1.88] # 262.04 [+0.00] Tests passed: 229 # 262.04 [+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__->