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.47 [+0.47] # 0.48 [+0.00] Single path route test # 1.45 [+0.98] Start point # 1.55 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.63 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.77 [+0.14] Nexthop device deleted # 1.87 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 1.95 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.57 [+0.61] # 2.57 [+0.00] Multipath route test # 4.26 [+1.69] Start point # 4.35 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.42 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.56 [+0.13] One nexthop device deleted # 4.64 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.73 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 4.86 [+0.14] Second nexthop device deleted # 4.94 [+0.08] TEST: IPv6 - no route [ OK ] # 5.49 [+0.55] # 5.49 [+0.00] Single path, admin down # 6.66 [+1.17] Start point # 6.75 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.84 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.92 [+0.08] Route deleted on down # 7.01 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.09 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.58 [+0.49] # 7.58 [+0.00] Admin down multipath # 9.24 [+1.67] Verify start point # 9.33 [+0.08] TEST: IPv4 fibmatch [ OK ] # 9.41 [+0.09] TEST: IPv6 fibmatch [ OK ] # 9.50 [+0.08] One device down, one up # 9.57 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.67 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 9.76 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 9.84 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.93 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.05 [+0.12] TEST: IPv6 flags on down device [ OK ] # 10.15 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.26 [+0.11] TEST: IPv6 flags on up device [ OK ] # 10.42 [+0.17] Other device down and up # 10.52 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 10.60 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 10.69 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.77 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.88 [+0.10] TEST: IPv4 flags on down device [ OK ] # 10.99 [+0.11] TEST: IPv6 flags on down device [ OK ] # 11.07 [+0.08] TEST: IPv4 flags on up device [ OK ] # 11.15 [+0.08] TEST: IPv6 flags on up device [ OK ] # 11.25 [+0.09] Both devices down # 11.34 [+0.09] TEST: IPv4 fibmatch [ OK ] # 11.42 [+0.09] TEST: IPv6 fibmatch [ OK ] # 11.98 [+0.55] # 11.98 [+0.00] Local carrier tests - single path # 13.23 [+1.25] Start point # 13.31 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.41 [+0.10] TEST: IPv6 fibmatch [ OK ] # 13.48 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 13.58 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 14.72 [+1.15] Carrier off on nexthop # 14.81 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.91 [+0.10] TEST: IPv6 fibmatch [ OK ] # 15.02 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 15.10 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 15.28 [+0.17] Route to local address with carrier down # 15.37 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.45 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.55 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 15.64 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 16.10 [+0.46] # 16.10 [+0.00] Single path route carrier test # 17.36 [+1.26] Start point # 17.44 [+0.08] TEST: IPv4 fibmatch [ OK ] # 17.54 [+0.10] TEST: IPv6 fibmatch [ OK ] # 17.61 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 17.71 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 18.84 [+1.13] Carrier down # 18.94 [+0.10] TEST: IPv4 fibmatch [ OK ] # 19.04 [+0.10] TEST: IPv6 fibmatch [ OK ] # 19.13 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 19.21 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 19.38 [+0.17] Second address added with carrier down # 19.48 [+0.10] TEST: IPv4 fibmatch [ OK ] # 19.57 [+0.09] TEST: IPv6 fibmatch [ OK ] # 19.66 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 19.77 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 24.23 [+4.46] # 24.23 [+0.00] IPv4 nexthop tests # 24.23 [+0.00] <<< write me >>> # 24.47 [+0.24] # 24.47 [+0.00] IPv6 nexthop tests # 24.57 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 24.66 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.77 [+0.11] TEST: Gateway is linklocal address [ OK ] # 24.86 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 24.97 [+0.11] TEST: Gateway can not be local unicast address [ OK ] # 25.07 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.17 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 25.25 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 25.37 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 25.46 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 25.55 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 25.63 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.73 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 25.82 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.88 [+1.06] # 26.88 [+0.00] FIB rule with suppress_prefixlength # 28.67 [+1.79] TEST: FIB rule suppress test [ OK ] # 30.39 [+1.72] # 30.39 [+0.00] Fib6 info length calculation in route notify test # 34.34 [+3.94] TEST: ipv6 route add notify [ OK ] # 36.07 [+1.74] # 36.07 [+0.00] Fib4 info length calculation in route notify test # 40.38 [+4.31] TEST: ipv4 route add notify [ OK ] # 44.77 [+4.39] # 44.77 [+0.00] IPv6 route add / append tests # 45.10 [+0.33] TEST: Attempt to add duplicate route - gw [ OK ] # 45.46 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 45.80 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 46.27 [+0.46] TEST: Append nexthop to existing route - gw [ OK ] # 46.64 [+0.37] TEST: Add multipath route [ OK ] # 46.99 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 47.44 [+0.46] TEST: Route add with different metrics [ OK ] # 47.64 [+0.20] TEST: Route delete with metric [ OK ] # 47.65 [+0.00] # 47.65 [+0.00] IPv6 route replace tests # 48.11 [+0.46] TEST: Single path with single path [ OK ] # 48.56 [+0.45] TEST: Single path with multipath [ OK ] # 49.02 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 49.48 [+0.46] TEST: Invalid nexthop [ OK ] # 49.83 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 50.28 [+0.45] TEST: Multipath with multipath [ OK ] # 50.72 [+0.44] TEST: Multipath with single path [ OK ] # 51.15 [+0.43] TEST: Multipath with single path via multipath attribute [ OK ] # 51.59 [+0.44] TEST: Multipath with dev-only [ OK ] # 52.03 [+0.44] TEST: Multipath - invalid first nexthop [ OK ] # 52.46 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 52.83 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 52.83 [+0.00] # 52.83 [+0.00] IPv6 route with dsfield tests # 53.02 [+0.19] TEST: Reject route with dsfield [ OK ] # 58.83 [+5.81] # 58.83 [+0.00] IPv4 route add / append tests # 59.19 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 59.57 [+0.38] TEST: Attempt to add duplicate route - dev only [ OK ] # 59.92 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 60.36 [+0.44] TEST: Add new nexthop for existing prefix [ OK ] # 60.80 [+0.44] TEST: Append nexthop to existing route - gw [ OK ] # 61.26 [+0.46] TEST: Append nexthop to existing route - dev only [ OK ] # 61.71 [+0.45] TEST: Append nexthop to existing route - reject route [ OK ] # 62.10 [+0.39] TEST: Append nexthop to existing reject route - gw [ OK ] # 62.47 [+0.37] TEST: Append nexthop to existing reject route - dev only [ OK ] # 62.82 [+0.35] TEST: add multipath route [ OK ] # 63.17 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 63.60 [+0.44] TEST: Route add with different metrics [ OK ] # 63.79 [+0.19] TEST: Route delete with metric [ OK ] # 63.79 [+0.00] # 63.79 [+0.00] IPv4 route replace tests # 64.25 [+0.45] TEST: Single path with single path [ OK ] # 64.69 [+0.44] TEST: Single path with multipath [ OK ] # 65.16 [+0.48] TEST: Single path with reject route [ OK ] # 65.64 [+0.47] TEST: Single path with single path via multipath attribute [ OK ] # 66.08 [+0.44] TEST: Invalid nexthop [ OK ] # 66.43 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 66.88 [+0.45] TEST: Multipath with multipath [ OK ] # 67.34 [+0.46] TEST: Multipath with single path [ OK ] # 67.79 [+0.45] TEST: Multipath with single path via multipath attribute [ OK ] # 68.22 [+0.43] TEST: Multipath with reject route [ OK ] # 68.72 [+0.50] TEST: Multipath - invalid first nexthop [ OK ] # 69.17 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 69.51 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 70.96 [+1.45] TEST: Cached route removed from VRF port device [ OK ] # 70.97 [+0.00] # 70.97 [+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.31 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 71.59 [+0.28] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 71.67 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 71.75 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 71.84 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 71.92 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 72.02 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 72.10 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 72.18 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 72.27 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 72.35 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 72.43 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 72.51 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 74.20 [+1.69] # 74.20 [+0.00] IPv6 prefix route tests # 75.99 [+1.78] TEST: Default metric [ OK ] # 76.29 [+0.30] TEST: User specified metric on first device [ OK ] # 76.57 [+0.28] TEST: User specified metric on second device [ OK ] # 76.75 [+0.18] TEST: Delete of address on first device [ OK ] # 76.94 [+0.19] TEST: Modify metric of address [ OK ] # 77.24 [+0.30] TEST: Prefix route removed on link down [ OK ] # 77.44 [+0.21] TEST: Prefix route with metric on link up [ OK ] # 77.73 [+0.29] TEST: Set metric with peer route on local side [ OK ] # 77.83 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 78.04 [+0.22] TEST: Modify metric and peer address on local side [ OK ] # 78.15 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 79.15 [+1.00] # 79.15 [+0.00] IPv4 prefix route tests # 80.98 [+1.83] TEST: Default metric [ OK ] # 81.26 [+0.28] TEST: User specified metric on first device [ OK ] # 81.54 [+0.27] TEST: User specified metric on second device [ OK ] # 81.72 [+0.18] TEST: Delete of address on first device [ OK ] # 81.91 [+0.20] TEST: Modify metric of address [ OK ] # 82.09 [+0.17] TEST: Prefix route removed on link down [ OK ] # 82.27 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 82.63 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 82.89 [+0.26] TEST: Set metric of address with peer route [ OK ] # 83.07 [+0.18] TEST: Modify metric and peer address for peer route [ OK ] # 84.01 [+0.94] # 84.01 [+0.00] IPv6 routes with metrics # 88.52 [+4.51] TEST: Single path route with mtu metric [ OK ] # 88.80 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 89.08 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 89.26 [+0.18] TEST: MTU of second leg [ OK ] # 89.45 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 89.66 [+0.21] TEST: Using route with mtu metric [ OK ] # 89.82 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 91.55 [+1.73] # 91.55 [+0.00] IPv4 route add / append tests # 96.00 [+4.45] TEST: Single path route with mtu metric [ OK ] # 96.18 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 96.40 [+0.22] TEST: Using route with mtu metric [ OK ] # 96.57 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 98.30 [+1.73] # 98.30 [+0.00] IPv4 route with IPv6 gateway tests # 104.73 [+6.43] TEST: Single path route with IPv6 gateway [ OK ] # 104.97 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 105.06 [+0.08] TEST: Single path route delete [ OK ] # 105.23 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 105.41 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 105.50 [+0.09] TEST: Multipath route delete exact match [ OK ] # 105.58 [+0.08] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 105.77 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 105.86 [+0.09] TEST: Multipath route delete exact match [ OK ] # 107.53 [+1.67] # 107.53 [+0.00] IPv4 rp_filter tests # 113.34 [+5.81] TEST: rp_filter passes local packets [ OK ] # 113.47 [+0.12] TEST: rp_filter passes loopback packets [ OK ] # 114.21 [+0.75] # 114.21 [+0.00] IPv4 delete address route tests # 116.92 [+2.70] Regular FIB info # 117.09 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 117.19 [+0.10] TEST: Route in default VRF not removed [ OK ] # 117.49 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 117.59 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 117.59 [+0.00] Identical FIB info with different table ID # 117.74 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 117.82 [+0.07] TEST: Route in default VRF not removed [ OK ] # 118.14 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 118.22 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 118.23 [+0.00] Table ID 0 # 118.37 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 119.31 [+0.93] # 119.31 [+0.00] IPv6 delete address route tests # 123.93 [+4.63] Single device using src address # 124.10 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 124.10 [+0.00] Two devices with the same source address # 124.28 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 124.45 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 124.45 [+0.00] VRF with single device using src address # 124.63 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 124.63 [+0.00] VRF with two devices using src address # 124.83 [+0.20] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 125.01 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 125.01 [+0.00] src address and nexthop dev in same VRF # 125.18 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 125.26 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 125.61 [+0.35] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 125.70 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 125.71 [+0.00] src address and nexthop device in different VRF # 125.88 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 125.95 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 126.20 [+0.26] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 126.30 [+0.10] TEST: Prefsrc removed in default VRF [ OK ] # 126.31 [+0.00] Table ID 0 # 126.47 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 126.47 [+0.00] Link local source route # 126.63 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 126.79 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 126.87 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 127.12 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 128.61 [+1.49] # 128.61 [+0.00] IPv4 mangling tests # 136.29 [+7.68] TEST: Connection with correct parameters [ OK ] # 136.48 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 137.45 [+0.98] TEST: Connection with correct parameters - mangling [ OK ] # 138.31 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 138.37 [+0.06] TEST: Connection check - server side [ OK ] # 140.39 [+2.02] # 140.39 [+0.00] IPv6 mangling tests # 147.88 [+7.50] TEST: Connection with correct parameters [ OK ] # 148.07 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 148.93 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 149.80 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 149.86 [+0.06] TEST: Connection check - server side [ OK ] # 151.88 [+2.02] # 151.88 [+0.00] IPv4 broadcast neighbour tests # 154.07 [+2.19] TEST: Resolved neighbour for broadcast address [ OK ] # 154.16 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 154.24 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 154.33 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 156.15 [+1.82] # 156.15 [+0.00] Fib6 garbage collection test # 169.35 [+13.20] TEST: ipv6 route garbage collection [ OK ] # 182.73 [+13.38] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 196.14 [+13.40] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 209.68 [+13.54] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 223.88 [+14.20] TEST: ipv6 route garbage collection (RA message) [ OK ] # 224.60 [+0.73] # 224.60 [+0.00] IPv4 multipath list receive tests # 240.70 [+16.10] TEST: Multipath route hit ratio (1.00) [ OK ] # 242.58 [+1.88] # 242.58 [+0.00] IPv6 multipath list receive tests # 258.25 [+15.68] TEST: Multipath route hit ratio (1.00) [ OK ] # 260.03 [+1.78] # 260.03 [+0.00] Tests passed: 229 # 260.03 [+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__->