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.43 [+0.43] # 0.43 [+0.00] Single path route test # 1.30 [+0.87] Start point # 1.38 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.47 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.59 [+0.12] Nexthop device deleted # 1.68 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 1.76 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.30 [+0.54] # 2.30 [+0.00] Multipath route test # 3.99 [+1.69] Start point # 4.07 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.16 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.28 [+0.13] One nexthop device deleted # 4.36 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.45 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 4.59 [+0.14] Second nexthop device deleted # 4.67 [+0.08] TEST: IPv6 - no route [ OK ] # 5.22 [+0.55] # 5.22 [+0.00] Single path, admin down # 6.45 [+1.23] Start point # 6.53 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.62 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.71 [+0.09] Route deleted on down # 6.79 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.87 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.35 [+0.48] # 7.35 [+0.00] Admin down multipath # 8.99 [+1.64] Verify start point # 9.06 [+0.07] TEST: IPv4 fibmatch [ OK ] # 9.15 [+0.08] TEST: IPv6 fibmatch [ OK ] # 9.23 [+0.08] One device down, one up # 9.31 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.39 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.47 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.55 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.63 [+0.08] TEST: IPv4 flags on down device [ OK ] # 9.72 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.82 [+0.10] TEST: IPv4 flags on up device [ OK ] # 9.91 [+0.09] TEST: IPv6 flags on up device [ OK ] # 10.07 [+0.16] Other device down and up # 10.14 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 10.23 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.32 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.40 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.49 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.60 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.68 [+0.08] TEST: IPv4 flags on up device [ OK ] # 10.78 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.86 [+0.08] Both devices down # 10.94 [+0.08] TEST: IPv4 fibmatch [ OK ] # 11.02 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.59 [+0.58] # 11.59 [+0.00] Local carrier tests - single path # 12.95 [+1.35] Start point # 13.02 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.11 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.20 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 13.28 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 14.41 [+1.13] Carrier off on nexthop # 14.49 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.58 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.70 [+0.11] TEST: IPv4 - linkdown flag set [ OK ] # 14.82 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 15.00 [+0.18] Route to local address with carrier down # 15.09 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.17 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.25 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 15.35 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 15.80 [+0.45] # 15.80 [+0.00] Single path route carrier test # 16.98 [+1.18] Start point # 17.07 [+0.09] TEST: IPv4 fibmatch [ OK ] # 17.15 [+0.08] TEST: IPv6 fibmatch [ OK ] # 17.25 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 17.32 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 18.45 [+1.13] Carrier down # 18.54 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.62 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.70 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.78 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 18.93 [+0.15] Second address added with carrier down # 19.01 [+0.08] TEST: IPv4 fibmatch [ OK ] # 19.09 [+0.07] TEST: IPv6 fibmatch [ OK ] # 19.18 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 19.25 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 23.38 [+4.13] # 23.38 [+0.00] IPv4 nexthop tests # 23.38 [+0.00] <<< write me >>> # 23.64 [+0.26] # 23.64 [+0.00] IPv6 nexthop tests # 23.75 [+0.11] TEST: Directly connected nexthop, unicast address [ OK ] # 23.86 [+0.11] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.96 [+0.11] TEST: Gateway is linklocal address [ OK ] # 24.06 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 24.18 [+0.11] TEST: Gateway can not be local unicast address [ OK ] # 24.29 [+0.11] TEST: Gateway can not be local unicast address, with device [ OK ] # 24.39 [+0.11] TEST: Gateway can not be a local linklocal address [ OK ] # 24.53 [+0.14] TEST: Gateway can be local address in a VRF [ OK ] # 24.64 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.74 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.84 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 24.97 [+0.13] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.07 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 25.18 [+0.11] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.28 [+1.10] # 26.28 [+0.00] FIB rule with suppress_prefixlength # 28.36 [+2.08] TEST: FIB rule suppress test [ OK ] # 30.31 [+1.95] # 30.31 [+0.00] Fib6 info length calculation in route notify test # 34.78 [+4.47] TEST: ipv6 route add notify [ OK ] # 36.52 [+1.73] # 36.52 [+0.00] Fib4 info length calculation in route notify test # 40.51 [+3.99] TEST: ipv4 route add notify [ OK ] # 44.90 [+4.39] # 44.91 [+0.00] IPv6 route add / append tests # 45.27 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 45.64 [+0.37] TEST: Attempt to add duplicate route - dev only [ OK ] # 46.00 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 46.46 [+0.47] TEST: Append nexthop to existing route - gw [ OK ] # 46.85 [+0.38] TEST: Add multipath route [ OK ] # 47.20 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 47.63 [+0.44] TEST: Route add with different metrics [ OK ] # 47.83 [+0.19] TEST: Route delete with metric [ OK ] # 47.83 [+0.00] # 47.83 [+0.00] IPv6 route replace tests # 48.27 [+0.45] TEST: Single path with single path [ OK ] # 48.74 [+0.47] TEST: Single path with multipath [ OK ] # 49.18 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 49.61 [+0.43] TEST: Invalid nexthop [ OK ] # 49.97 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 50.60 [+0.63] TEST: Multipath with multipath [ OK ] # 51.10 [+0.50] TEST: Multipath with single path [ OK ] # 51.57 [+0.47] TEST: Multipath with single path via multipath attribute [ OK ] # 52.01 [+0.44] TEST: Multipath with dev-only [ OK ] # 52.49 [+0.48] TEST: Multipath - invalid first nexthop [ OK ] # 53.03 [+0.55] TEST: Multipath - invalid second nexthop [ OK ] # 53.44 [+0.41] TEST: Multipath - replace of non-existent route [ OK ] # 53.45 [+0.00] # 53.45 [+0.00] IPv6 route with dsfield tests # 53.64 [+0.19] TEST: Reject route with dsfield [ OK ] # 59.96 [+6.32] # 59.96 [+0.00] IPv4 route add / append tests # 60.31 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 60.66 [+0.34] TEST: Attempt to add duplicate route - dev only [ OK ] # 61.02 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 61.49 [+0.46] TEST: Add new nexthop for existing prefix [ OK ] # 61.97 [+0.48] TEST: Append nexthop to existing route - gw [ OK ] # 62.45 [+0.49] TEST: Append nexthop to existing route - dev only [ OK ] # 62.92 [+0.47] TEST: Append nexthop to existing route - reject route [ OK ] # 63.31 [+0.39] TEST: Append nexthop to existing reject route - gw [ OK ] # 63.68 [+0.37] TEST: Append nexthop to existing reject route - dev only [ OK ] # 64.05 [+0.37] TEST: add multipath route [ OK ] # 64.45 [+0.39] TEST: Attempt to add duplicate multipath route [ OK ] # 64.99 [+0.54] TEST: Route add with different metrics [ OK ] # 65.18 [+0.19] TEST: Route delete with metric [ OK ] # 65.18 [+0.00] # 65.18 [+0.00] IPv4 route replace tests # 65.67 [+0.49] TEST: Single path with single path [ OK ] # 66.13 [+0.46] TEST: Single path with multipath [ OK ] # 66.59 [+0.46] TEST: Single path with reject route [ OK ] # 67.07 [+0.48] TEST: Single path with single path via multipath attribute [ OK ] # 67.60 [+0.54] TEST: Invalid nexthop [ OK ] # 67.98 [+0.38] TEST: Single path - replace of non-existent route [ OK ] # 68.46 [+0.48] TEST: Multipath with multipath [ OK ] # 68.93 [+0.48] TEST: Multipath with single path [ OK ] # 69.44 [+0.50] TEST: Multipath with single path via multipath attribute [ OK ] # 69.91 [+0.47] TEST: Multipath with reject route [ OK ] # 70.36 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 70.80 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 71.19 [+0.38] TEST: Multipath - replace of non-existent route [ OK ] # 72.61 [+1.42] TEST: Cached route removed from VRF port device [ OK ] # 72.61 [+0.00] # 72.61 [+0.00] IPv4 route with dsfield tests # 72.79 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 72.87 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 72.96 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 73.24 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 73.33 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 73.41 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 73.50 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 73.60 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 73.70 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 73.79 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 73.87 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 73.97 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 74.06 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 74.14 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 74.26 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 76.15 [+1.90] # 76.15 [+0.00] IPv6 prefix route tests # 78.05 [+1.90] TEST: Default metric [ OK ] # 78.35 [+0.29] TEST: User specified metric on first device [ OK ] # 78.63 [+0.29] TEST: User specified metric on second device [ OK ] # 78.82 [+0.19] TEST: Delete of address on first device [ OK ] # 79.01 [+0.19] TEST: Modify metric of address [ OK ] # 79.30 [+0.30] TEST: Prefix route removed on link down [ OK ] # 79.50 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 79.81 [+0.31] TEST: Set metric with peer route on local side [ OK ] # 79.90 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 80.08 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 80.18 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 81.13 [+0.96] # 81.13 [+0.00] IPv4 prefix route tests # 82.99 [+1.86] TEST: Default metric [ OK ] # 83.30 [+0.31] TEST: User specified metric on first device [ OK ] # 83.57 [+0.27] TEST: User specified metric on second device [ OK ] # 83.77 [+0.20] TEST: Delete of address on first device [ OK ] # 83.95 [+0.18] TEST: Modify metric of address [ OK ] # 84.12 [+0.17] TEST: Prefix route removed on link down [ OK ] # 84.31 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 84.68 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 84.95 [+0.28] TEST: Set metric of address with peer route [ OK ] # 85.13 [+0.18] TEST: Modify metric and peer address for peer route [ OK ] # 86.13 [+1.00] # 86.13 [+0.00] IPv6 routes with metrics # 90.70 [+4.57] TEST: Single path route with mtu metric [ OK ] # 90.97 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 91.28 [+0.30] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 91.45 [+0.18] TEST: MTU of second leg [ OK ] # 91.65 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 91.87 [+0.22] TEST: Using route with mtu metric [ OK ] # 92.04 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 93.77 [+1.73] # 93.77 [+0.00] IPv4 route add / append tests # 98.52 [+4.75] TEST: Single path route with mtu metric [ OK ] # 98.71 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 98.93 [+0.22] TEST: Using route with mtu metric [ OK ] # 99.09 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 100.81 [+1.72] # 100.81 [+0.00] IPv4 route with IPv6 gateway tests # 107.34 [+6.52] TEST: Single path route with IPv6 gateway [ OK ] # 107.58 [+0.25] TEST: Single path route with IPv6 gateway - ping [ OK ] # 107.68 [+0.09] TEST: Single path route delete [ OK ] # 107.86 [+0.18] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 108.05 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 108.15 [+0.10] TEST: Multipath route delete exact match [ OK ] # 108.24 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 108.44 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 108.54 [+0.10] TEST: Multipath route delete exact match [ OK ] # 110.26 [+1.72] # 110.26 [+0.00] IPv4 rp_filter tests # 116.42 [+6.15] TEST: rp_filter passes local packets [ OK ] # 116.56 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 117.34 [+0.78] # 117.34 [+0.00] IPv4 delete address route tests # 120.04 [+2.70] Regular FIB info # 120.21 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 120.29 [+0.08] TEST: Route in default VRF not removed [ OK ] # 120.60 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 120.69 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 120.70 [+0.00] Identical FIB info with different table ID # 120.84 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 120.94 [+0.10] TEST: Route in default VRF not removed [ OK ] # 121.26 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.35 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 121.35 [+0.00] Table ID 0 # 121.54 [+0.18] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.53 [+0.99] # 122.53 [+0.00] IPv6 delete address route tests # 127.22 [+4.69] Single device using src address # 127.38 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 127.39 [+0.00] Two devices with the same source address # 127.55 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 127.73 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 127.73 [+0.00] VRF with single device using src address # 127.91 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 127.91 [+0.00] VRF with two devices using src address # 128.10 [+0.19] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.28 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 128.28 [+0.00] src address and nexthop dev in same VRF # 128.46 [+0.18] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 128.55 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 128.89 [+0.33] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 128.99 [+0.10] TEST: Prefsrc in default VRF removed [ OK ] # 128.99 [+0.00] src address and nexthop device in different VRF # 129.18 [+0.19] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 129.26 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 129.51 [+0.26] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 129.61 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 129.61 [+0.00] Table ID 0 # 129.83 [+0.22] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 129.84 [+0.00] Link local source route # 130.00 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.18 [+0.18] TEST: Prefsrc removed when delete ll addr [ OK ] # 130.26 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.51 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 132.07 [+1.56] # 132.07 [+0.00] IPv4 mangling tests # 139.66 [+7.59] TEST: Connection with correct parameters [ OK ] # 139.83 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 140.83 [+1.01] TEST: Connection with correct parameters - mangling [ OK ] # 141.70 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 141.77 [+0.07] TEST: Connection check - server side [ OK ] # 143.94 [+2.18] # 143.94 [+0.00] IPv6 mangling tests # 151.48 [+7.53] TEST: Connection with correct parameters [ OK ] # 151.67 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 152.57 [+0.90] TEST: Connection with correct parameters - mangling [ OK ] # 153.47 [+0.90] TEST: Connection with correct parameters - no mangling [ OK ] # 153.53 [+0.06] TEST: Connection check - server side [ OK ] # 155.63 [+2.09] # 155.63 [+0.00] IPv4 broadcast neighbour tests # 157.92 [+2.29] TEST: Resolved neighbour for broadcast address [ OK ] # 158.03 [+0.11] TEST: Resolved neighbour for network broadcast address [ OK ] # 158.12 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 158.23 [+0.11] TEST: Unresolved neighbour for network broadcast address [ OK ] # 160.18 [+1.95] # 160.18 [+0.00] Fib6 garbage collection test # 173.38 [+13.20] TEST: ipv6 route garbage collection [ OK ] # 186.84 [+13.46] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 200.27 [+13.43] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 214.04 [+13.77] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 228.33 [+14.29] TEST: ipv6 route garbage collection (RA message) [ OK ] # 229.11 [+0.78] # 229.11 [+0.00] IPv4 multipath list receive tests # 245.79 [+16.68] TEST: Multipath route hit ratio (1.00) [ OK ] # 247.64 [+1.85] # 247.64 [+0.00] IPv6 multipath list receive tests # 265.22 [+17.58] TEST: Multipath route hit ratio (1.00) [ OK ] # 267.37 [+2.15] # 267.37 [+0.00] Tests passed: 229 # 267.37 [+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__->