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.46 [+0.46] # 0.46 [+0.00] Single path route test # 1.34 [+0.88] Start point # 1.43 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.52 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.66 [+0.14] Nexthop device deleted # 1.74 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.82 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.37 [+0.55] # 2.37 [+0.00] Multipath route test # 4.05 [+1.68] Start point # 4.13 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.22 [+0.09] TEST: IPv6 fibmatch [ OK ] # 4.36 [+0.14] One nexthop device deleted # 4.45 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.54 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 4.66 [+0.12] Second nexthop device deleted # 4.74 [+0.08] TEST: IPv6 - no route [ OK ] # 5.30 [+0.56] # 5.30 [+0.00] Single path, admin down # 6.43 [+1.12] Start point # 6.51 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.58 [+0.07] TEST: IPv6 fibmatch [ OK ] # 6.67 [+0.09] Route deleted on down # 6.76 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.83 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.25 [+0.42] # 7.25 [+0.00] Admin down multipath # 9.03 [+1.78] Verify start point # 9.11 [+0.08] TEST: IPv4 fibmatch [ OK ] # 9.20 [+0.09] TEST: IPv6 fibmatch [ OK ] # 9.28 [+0.08] One device down, one up # 9.37 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.44 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.52 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.61 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 9.70 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.79 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.88 [+0.09] TEST: IPv4 flags on up device [ OK ] # 9.99 [+0.11] TEST: IPv6 flags on up device [ OK ] # 10.16 [+0.17] Other device down and up # 10.24 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.32 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 10.40 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.48 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.57 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.67 [+0.09] TEST: IPv6 flags on down device [ OK ] # 10.76 [+0.09] TEST: IPv4 flags on up device [ OK ] # 10.84 [+0.09] TEST: IPv6 flags on up device [ OK ] # 10.92 [+0.08] Both devices down # 11.06 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.16 [+0.09] TEST: IPv6 fibmatch [ OK ] # 11.83 [+0.67] # 11.83 [+0.00] Local carrier tests - single path # 13.20 [+1.37] Start point # 13.29 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.40 [+0.10] TEST: IPv6 fibmatch [ OK ] # 13.50 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 13.60 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 14.75 [+1.16] Carrier off on nexthop # 14.86 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.96 [+0.10] TEST: IPv6 fibmatch [ OK ] # 15.05 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 15.18 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 15.39 [+0.20] Route to local address with carrier down # 15.49 [+0.10] TEST: IPv4 fibmatch [ OK ] # 15.59 [+0.10] TEST: IPv6 fibmatch [ OK ] # 15.70 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 15.81 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 16.35 [+0.53] # 16.35 [+0.00] Single path route carrier test # 17.71 [+1.37] Start point # 17.81 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.90 [+0.09] TEST: IPv6 fibmatch [ OK ] # 17.99 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 18.09 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 19.23 [+1.14] Carrier down # 19.33 [+0.10] TEST: IPv4 fibmatch [ OK ] # 19.42 [+0.09] TEST: IPv6 fibmatch [ OK ] # 19.49 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 19.57 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 19.76 [+0.19] Second address added with carrier down # 19.85 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.94 [+0.09] TEST: IPv6 fibmatch [ OK ] # 20.04 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 20.12 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 24.71 [+4.59] # 24.71 [+0.00] IPv4 nexthop tests # 24.71 [+0.00] <<< write me >>> # 24.95 [+0.25] # 24.96 [+0.00] IPv6 nexthop tests # 25.06 [+0.11] TEST: Directly connected nexthop, unicast address [ OK ] # 25.17 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 25.27 [+0.10] TEST: Gateway is linklocal address [ OK ] # 25.37 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 25.47 [+0.11] TEST: Gateway can not be local unicast address [ OK ] # 25.56 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.67 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 25.77 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 25.89 [+0.12] TEST: Gateway can be local address in a VRF, with device [ OK ] # 25.99 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 26.09 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 26.20 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 26.29 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 26.38 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 27.43 [+1.05] # 27.43 [+0.00] FIB rule with suppress_prefixlength # 29.40 [+1.96] TEST: FIB rule suppress test [ OK ] # 31.00 [+1.60] # 31.00 [+0.00] Fib6 info length calculation in route notify test # 35.00 [+4.00] TEST: ipv6 route add notify [ OK ] # 36.63 [+1.63] # 36.63 [+0.00] Fib4 info length calculation in route notify test # 40.65 [+4.02] TEST: ipv4 route add notify [ OK ] # 45.16 [+4.51] # 45.16 [+0.00] IPv6 route add / append tests # 45.53 [+0.37] TEST: Attempt to add duplicate route - gw [ OK ] # 45.88 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 46.28 [+0.40] TEST: Attempt to add duplicate route - reject route [ OK ] # 46.74 [+0.46] TEST: Append nexthop to existing route - gw [ OK ] # 47.12 [+0.38] TEST: Add multipath route [ OK ] # 47.48 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 47.92 [+0.44] TEST: Route add with different metrics [ OK ] # 48.12 [+0.20] TEST: Route delete with metric [ OK ] # 48.12 [+0.00] # 48.12 [+0.00] IPv6 route replace tests # 48.56 [+0.44] TEST: Single path with single path [ OK ] # 49.07 [+0.51] TEST: Single path with multipath [ OK ] # 49.54 [+0.47] TEST: Single path with single path via multipath attribute [ OK ] # 50.01 [+0.47] TEST: Invalid nexthop [ OK ] # 50.39 [+0.38] TEST: Single path - replace of non-existent route [ OK ] # 50.89 [+0.50] TEST: Multipath with multipath [ OK ] # 51.33 [+0.44] TEST: Multipath with single path [ OK ] # 51.76 [+0.43] TEST: Multipath with single path via multipath attribute [ OK ] # 52.19 [+0.43] TEST: Multipath with dev-only [ OK ] # 52.64 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 53.07 [+0.43] TEST: Multipath - invalid second nexthop [ OK ] # 53.41 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 53.41 [+0.00] # 53.41 [+0.00] IPv6 route with dsfield tests # 53.59 [+0.18] TEST: Reject route with dsfield [ OK ] # 59.44 [+5.84] # 59.44 [+0.00] IPv4 route add / append tests # 59.77 [+0.33] TEST: Attempt to add duplicate route - gw [ OK ] # 60.14 [+0.37] TEST: Attempt to add duplicate route - dev only [ OK ] # 60.48 [+0.34] TEST: Attempt to add duplicate route - reject route [ OK ] # 60.90 [+0.42] TEST: Add new nexthop for existing prefix [ OK ] # 61.33 [+0.43] TEST: Append nexthop to existing route - gw [ OK ] # 61.74 [+0.42] TEST: Append nexthop to existing route - dev only [ OK ] # 62.17 [+0.43] TEST: Append nexthop to existing route - reject route [ OK ] # 62.54 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 62.88 [+0.34] TEST: Append nexthop to existing reject route - dev only [ OK ] # 63.21 [+0.33] TEST: add multipath route [ OK ] # 63.55 [+0.34] TEST: Attempt to add duplicate multipath route [ OK ] # 63.97 [+0.42] TEST: Route add with different metrics [ OK ] # 64.15 [+0.18] TEST: Route delete with metric [ OK ] # 64.15 [+0.00] # 64.15 [+0.00] IPv4 route replace tests # 64.58 [+0.43] TEST: Single path with single path [ OK ] # 65.02 [+0.44] TEST: Single path with multipath [ OK ] # 65.44 [+0.43] TEST: Single path with reject route [ OK ] # 65.88 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 66.31 [+0.43] TEST: Invalid nexthop [ OK ] # 66.64 [+0.33] TEST: Single path - replace of non-existent route [ OK ] # 67.06 [+0.42] TEST: Multipath with multipath [ OK ] # 67.49 [+0.43] TEST: Multipath with single path [ OK ] # 67.92 [+0.42] TEST: Multipath with single path via multipath attribute [ OK ] # 68.36 [+0.45] TEST: Multipath with reject route [ OK ] # 68.78 [+0.42] TEST: Multipath - invalid first nexthop [ OK ] # 69.21 [+0.43] TEST: Multipath - invalid second nexthop [ OK ] # 69.58 [+0.38] TEST: Multipath - replace of non-existent route [ OK ] # 70.96 [+1.37] TEST: Cached route removed from VRF port device [ OK ] # 70.96 [+0.00] # 70.96 [+0.00] IPv4 route with dsfield tests # 71.13 [+0.17] TEST: Reject route with dsfield 0x01 [ OK ] # 71.22 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 71.32 [+0.10] TEST: Reject route with dsfield 0x03 [ OK ] # 71.58 [+0.26] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 71.68 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 71.77 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 71.86 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 71.94 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 72.01 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 72.11 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 72.21 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 72.28 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 72.38 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 72.47 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 72.57 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 74.28 [+1.70] # 74.28 [+0.00] IPv6 prefix route tests # 76.07 [+1.79] TEST: Default metric [ OK ] # 76.36 [+0.29] TEST: User specified metric on first device [ OK ] # 76.64 [+0.28] TEST: User specified metric on second device [ OK ] # 76.82 [+0.18] TEST: Delete of address on first device [ OK ] # 77.01 [+0.18] TEST: Modify metric of address [ OK ] # 77.29 [+0.29] TEST: Prefix route removed on link down [ OK ] # 77.48 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 77.76 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 77.85 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 78.04 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 78.13 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 79.08 [+0.94] # 79.08 [+0.00] IPv4 prefix route tests # 80.92 [+1.84] TEST: Default metric [ OK ] # 81.21 [+0.29] TEST: User specified metric on first device [ OK ] # 81.53 [+0.32] TEST: User specified metric on second device [ OK ] # 81.73 [+0.20] TEST: Delete of address on first device [ OK ] # 81.93 [+0.20] TEST: Modify metric of address [ OK ] # 82.10 [+0.17] TEST: Prefix route removed on link down [ OK ] # 82.30 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 82.67 [+0.37] TEST: Modify metric of .0/24 address [ OK ] # 82.95 [+0.28] TEST: Set metric of address with peer route [ OK ] # 83.15 [+0.20] TEST: Modify metric and peer address for peer route [ OK ] # 84.11 [+0.97] # 84.11 [+0.00] IPv6 routes with metrics # 88.48 [+4.37] TEST: Single path route with mtu metric [ OK ] # 88.77 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 89.06 [+0.30] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 89.24 [+0.18] TEST: MTU of second leg [ OK ] # 89.45 [+0.22] TEST: Multipath route with mtu metric [ OK ] # 89.67 [+0.22] TEST: Using route with mtu metric [ OK ] # 89.83 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 91.54 [+1.72] # 91.54 [+0.00] IPv4 route add / append tests # 95.99 [+4.44] TEST: Single path route with mtu metric [ OK ] # 96.17 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 96.38 [+0.22] TEST: Using route with mtu metric [ OK ] # 96.53 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 98.25 [+1.71] # 98.25 [+0.00] IPv4 route with IPv6 gateway tests # 104.75 [+6.50] TEST: Single path route with IPv6 gateway [ OK ] # 104.97 [+0.22] TEST: Single path route with IPv6 gateway - ping [ OK ] # 105.06 [+0.09] TEST: Single path route delete [ OK ] # 105.23 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 105.42 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 105.51 [+0.09] TEST: Multipath route delete exact match [ OK ] # 105.60 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 105.81 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 105.90 [+0.09] TEST: Multipath route delete exact match [ OK ] # 107.61 [+1.71] # 107.61 [+0.00] IPv4 rp_filter tests # 113.58 [+5.97] TEST: rp_filter passes local packets [ OK ] # 113.72 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 114.52 [+0.80] # 114.52 [+0.00] IPv4 delete address route tests # 117.35 [+2.83] Regular FIB info # 117.54 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 117.62 [+0.08] TEST: Route in default VRF not removed [ OK ] # 117.95 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 118.02 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 118.03 [+0.00] Identical FIB info with different table ID # 118.18 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 118.27 [+0.09] TEST: Route in default VRF not removed [ OK ] # 118.59 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 118.68 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 118.68 [+0.00] Table ID 0 # 118.86 [+0.18] TEST: Route removed in default VRF when source address deleted [ OK ] # 119.90 [+1.04] # 119.90 [+0.00] IPv6 delete address route tests # 124.70 [+4.81] Single device using src address # 124.87 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 124.88 [+0.00] Two devices with the same source address # 125.05 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 125.21 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 125.22 [+0.00] VRF with single device using src address # 125.38 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 125.39 [+0.00] VRF with two devices using src address # 125.56 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 125.74 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 125.74 [+0.00] src address and nexthop dev in same VRF # 125.92 [+0.18] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 126.01 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 126.32 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 126.41 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 126.41 [+0.00] src address and nexthop device in different VRF # 126.57 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 126.67 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 126.93 [+0.26] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 127.03 [+0.10] TEST: Prefsrc removed in default VRF [ OK ] # 127.04 [+0.00] Table ID 0 # 127.21 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 127.21 [+0.00] Link local source route # 127.38 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 127.55 [+0.18] TEST: Prefsrc removed when delete ll addr [ OK ] # 127.63 [+0.07] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 127.88 [+0.26] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 129.36 [+1.48] # 129.36 [+0.00] IPv4 mangling tests # 136.64 [+7.28] TEST: Connection with correct parameters [ OK ] # 136.80 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 137.71 [+0.91] TEST: Connection with correct parameters - mangling [ OK ] # 138.54 [+0.83] TEST: Connection with correct parameters - no mangling [ OK ] # 138.59 [+0.06] TEST: Connection check - server side [ OK ] # 140.55 [+1.96] # 140.55 [+0.00] IPv6 mangling tests # 147.83 [+7.28] TEST: Connection with correct parameters [ OK ] # 148.02 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 148.86 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 149.72 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 149.77 [+0.05] TEST: Connection check - server side [ OK ] # 151.69 [+1.91] # 151.69 [+0.00] IPv4 broadcast neighbour tests # 153.84 [+2.15] TEST: Resolved neighbour for broadcast address [ OK ] # 153.92 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 154.01 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 154.10 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 155.87 [+1.77] # 155.87 [+0.00] Fib6 garbage collection test # 169.01 [+13.14] TEST: ipv6 route garbage collection [ OK ] # 182.34 [+13.33] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 195.71 [+13.38] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 209.21 [+13.49] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 223.46 [+14.25] TEST: ipv6 route garbage collection (RA message) [ OK ] # 224.17 [+0.72] # 224.17 [+0.00] IPv4 multipath list receive tests # 240.19 [+16.02] TEST: Multipath route hit ratio (1.00) [ OK ] # 242.00 [+1.80] # 242.00 [+0.00] IPv6 multipath list receive tests # 257.96 [+15.96] TEST: Multipath route hit ratio (1.00) [ OK ] # 259.72 [+1.76] # 259.73 [+0.00] Tests passed: 229 # 259.73 [+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__->