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.29 [+0.83] Start point # 1.37 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.45 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.57 [+0.12] Nexthop device deleted # 1.66 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.74 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.25 [+0.50] # 2.25 [+0.00] Multipath route test # 3.78 [+1.54] Start point # 3.86 [+0.08] TEST: IPv4 fibmatch [ OK ] # 3.94 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.07 [+0.13] One nexthop device deleted # 4.15 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.23 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.36 [+0.13] Second nexthop device deleted # 4.45 [+0.09] TEST: IPv6 - no route [ OK ] # 4.94 [+0.49] # 4.94 [+0.00] Single path, admin down # 6.06 [+1.11] Start point # 6.14 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.21 [+0.07] TEST: IPv6 fibmatch [ OK ] # 6.29 [+0.08] Route deleted on down # 6.38 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.45 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.87 [+0.42] # 6.87 [+0.00] Admin down multipath # 8.40 [+1.53] Verify start point # 8.49 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.56 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.65 [+0.08] One device down, one up # 8.73 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 8.81 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 8.89 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 8.97 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.07 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.16 [+0.10] TEST: IPv6 flags on down device [ OK ] # 9.24 [+0.08] TEST: IPv4 flags on up device [ OK ] # 9.33 [+0.10] TEST: IPv6 flags on up device [ OK ] # 9.49 [+0.16] Other device down and up # 9.57 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.65 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.73 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.81 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.88 [+0.08] TEST: IPv4 flags on down device [ OK ] # 9.98 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.08 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.16 [+0.08] TEST: IPv6 flags on up device [ OK ] # 10.25 [+0.09] Both devices down # 10.33 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.40 [+0.07] TEST: IPv6 fibmatch [ OK ] # 10.94 [+0.54] # 10.94 [+0.00] Local carrier tests - single path # 12.08 [+1.14] Start point # 12.15 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.24 [+0.09] TEST: IPv6 fibmatch [ OK ] # 12.32 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 12.41 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 13.52 [+1.11] Carrier off on nexthop # 13.61 [+0.10] TEST: IPv4 fibmatch [ OK ] # 13.70 [+0.08] TEST: IPv6 fibmatch [ OK ] # 13.76 [+0.07] TEST: IPv4 - linkdown flag set [ OK ] # 13.84 [+0.08] TEST: IPv6 - linkdown flag set [ OK ] # 14.00 [+0.15] Route to local address with carrier down # 14.08 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.15 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.23 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 14.32 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 14.73 [+0.41] # 14.73 [+0.00] Single path route carrier test # 15.91 [+1.18] Start point # 15.99 [+0.08] TEST: IPv4 fibmatch [ OK ] # 16.07 [+0.07] TEST: IPv6 fibmatch [ OK ] # 16.14 [+0.07] TEST: IPv4 no linkdown flag [ OK ] # 16.23 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 17.36 [+1.12] Carrier down # 17.44 [+0.08] TEST: IPv4 fibmatch [ OK ] # 17.52 [+0.08] TEST: IPv6 fibmatch [ OK ] # 17.61 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 17.69 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 17.84 [+0.16] Second address added with carrier down # 17.92 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.01 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.10 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 18.20 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 22.40 [+4.20] # 22.40 [+0.00] IPv4 nexthop tests # 22.40 [+0.00] <<< write me >>> # 22.62 [+0.21] # 22.62 [+0.00] IPv6 nexthop tests # 22.71 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 22.79 [+0.08] TEST: Directly connected nexthop, unicast address with device [ OK ] # 22.88 [+0.09] TEST: Gateway is linklocal address [ OK ] # 22.98 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 23.07 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 23.16 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 23.24 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 23.33 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 23.42 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 23.51 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 23.60 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 23.69 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 23.79 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 23.88 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 24.89 [+1.00] # 24.89 [+0.00] FIB rule with suppress_prefixlength # 26.59 [+1.70] TEST: FIB rule suppress test [ OK ] # 28.13 [+1.54] # 28.13 [+0.00] Fib6 info length calculation in route notify test # 32.36 [+4.22] TEST: ipv6 route add notify [ OK ] # 34.14 [+1.78] # 34.14 [+0.00] Fib4 info length calculation in route notify test # 38.53 [+4.39] TEST: ipv4 route add notify [ OK ] # 44.35 [+5.82] # 44.35 [+0.00] IPv6 route add / append tests # 44.78 [+0.43] TEST: Attempt to add duplicate route - gw [ OK ] # 45.29 [+0.51] TEST: Attempt to add duplicate route - dev only [ OK ] # 45.76 [+0.47] TEST: Attempt to add duplicate route - reject route [ OK ] # 46.38 [+0.62] TEST: Append nexthop to existing route - gw [ OK ] # 46.82 [+0.44] TEST: Add multipath route [ OK ] # 47.26 [+0.44] TEST: Attempt to add duplicate multipath route [ OK ] # 47.85 [+0.58] TEST: Route add with different metrics [ OK ] # 48.07 [+0.22] TEST: Route delete with metric [ OK ] # 48.07 [+0.00] # 48.07 [+0.00] IPv6 route replace tests # 48.63 [+0.56] TEST: Single path with single path [ OK ] # 49.19 [+0.55] TEST: Single path with multipath [ OK ] # 49.71 [+0.52] TEST: Single path with single path via multipath attribute [ OK ] # 50.24 [+0.53] TEST: Invalid nexthop [ OK ] # 50.61 [+0.37] TEST: Single path - replace of non-existent route [ OK ] # 51.11 [+0.51] TEST: Multipath with multipath [ OK ] # 51.61 [+0.49] TEST: Multipath with single path [ OK ] # 52.10 [+0.49] TEST: Multipath with single path via multipath attribute [ OK ] # 52.57 [+0.48] TEST: Multipath with dev-only [ OK ] # 53.05 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 53.66 [+0.61] TEST: Multipath - invalid second nexthop [ OK ] # 54.05 [+0.39] TEST: Multipath - replace of non-existent route [ OK ] # 54.05 [+0.00] # 54.05 [+0.00] IPv6 route with dsfield tests # 54.26 [+0.20] TEST: Reject route with dsfield [ OK ] # 60.65 [+6.40] # 60.65 [+0.00] IPv4 route add / append tests # 61.01 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 61.36 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 61.71 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 62.16 [+0.44] TEST: Add new nexthop for existing prefix [ OK ] # 62.63 [+0.47] TEST: Append nexthop to existing route - gw [ OK ] # 63.07 [+0.44] TEST: Append nexthop to existing route - dev only [ OK ] # 63.51 [+0.44] TEST: Append nexthop to existing route - reject route [ OK ] # 63.88 [+0.38] TEST: Append nexthop to existing reject route - gw [ OK ] # 64.24 [+0.35] TEST: Append nexthop to existing reject route - dev only [ OK ] # 64.60 [+0.36] TEST: add multipath route [ OK ] # 64.94 [+0.34] TEST: Attempt to add duplicate multipath route [ OK ] # 65.38 [+0.44] TEST: Route add with different metrics [ OK ] # 65.55 [+0.18] TEST: Route delete with metric [ OK ] # 65.56 [+0.00] # 65.56 [+0.00] IPv4 route replace tests # 65.99 [+0.43] TEST: Single path with single path [ OK ] # 66.44 [+0.45] TEST: Single path with multipath [ OK ] # 66.88 [+0.44] TEST: Single path with reject route [ OK ] # 67.33 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 67.78 [+0.44] TEST: Invalid nexthop [ OK ] # 68.13 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 68.59 [+0.47] TEST: Multipath with multipath [ OK ] # 69.05 [+0.45] TEST: Multipath with single path [ OK ] # 69.49 [+0.45] TEST: Multipath with single path via multipath attribute [ OK ] # 69.94 [+0.44] TEST: Multipath with reject route [ OK ] # 70.38 [+0.44] TEST: Multipath - invalid first nexthop [ OK ] # 70.81 [+0.43] TEST: Multipath - invalid second nexthop [ OK ] # 71.17 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 72.54 [+1.38] TEST: Cached route removed from VRF port device [ OK ] # 72.55 [+0.00] # 72.55 [+0.00] IPv4 route with dsfield tests # 72.73 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 72.82 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 72.91 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 73.18 [+0.26] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 73.27 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 73.36 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 73.43 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 73.51 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 73.60 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 73.69 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 73.77 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 73.85 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 73.94 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 74.01 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 74.09 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 75.78 [+1.69] # 75.78 [+0.00] IPv6 prefix route tests # 77.57 [+1.79] TEST: Default metric [ OK ] # 77.84 [+0.27] TEST: User specified metric on first device [ OK ] # 78.11 [+0.27] TEST: User specified metric on second device [ OK ] # 78.30 [+0.18] TEST: Delete of address on first device [ OK ] # 78.47 [+0.17] TEST: Modify metric of address [ OK ] # 78.77 [+0.30] TEST: Prefix route removed on link down [ OK ] # 78.96 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 79.23 [+0.26] TEST: Set metric with peer route on local side [ OK ] # 79.33 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 79.51 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 79.60 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 80.58 [+0.99] # 80.59 [+0.00] IPv4 prefix route tests # 82.36 [+1.77] TEST: Default metric [ OK ] # 82.63 [+0.27] TEST: User specified metric on first device [ OK ] # 82.90 [+0.27] TEST: User specified metric on second device [ OK ] # 83.08 [+0.18] TEST: Delete of address on first device [ OK ] # 83.25 [+0.18] TEST: Modify metric of address [ OK ] # 83.41 [+0.16] TEST: Prefix route removed on link down [ OK ] # 83.59 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 83.94 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 84.21 [+0.27] TEST: Set metric of address with peer route [ OK ] # 84.38 [+0.17] TEST: Modify metric and peer address for peer route [ OK ] # 85.36 [+0.98] # 85.36 [+0.00] IPv6 routes with metrics # 89.85 [+4.49] TEST: Single path route with mtu metric [ OK ] # 90.15 [+0.30] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 90.45 [+0.30] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 90.65 [+0.20] TEST: MTU of second leg [ OK ] # 90.86 [+0.21] TEST: Multipath route with mtu metric [ OK ] # 91.08 [+0.22] TEST: Using route with mtu metric [ OK ] # 91.26 [+0.18] TEST: Invalid metric (fails metric_convert) [ OK ] # 93.01 [+1.76] # 93.01 [+0.00] IPv4 route add / append tests # 97.40 [+4.38] TEST: Single path route with mtu metric [ OK ] # 97.58 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 97.79 [+0.21] TEST: Using route with mtu metric [ OK ] # 97.94 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 99.58 [+1.64] # 99.58 [+0.00] IPv4 route with IPv6 gateway tests # 105.93 [+6.35] TEST: Single path route with IPv6 gateway [ OK ] # 106.16 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 106.26 [+0.09] TEST: Single path route delete [ OK ] # 106.43 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 106.60 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 106.69 [+0.09] TEST: Multipath route delete exact match [ OK ] # 106.78 [+0.08] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 106.96 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 107.05 [+0.09] TEST: Multipath route delete exact match [ OK ] # 108.74 [+1.68] # 108.74 [+0.00] IPv4 rp_filter tests # 114.71 [+5.97] TEST: rp_filter passes local packets [ OK ] # 114.84 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 115.61 [+0.77] # 115.61 [+0.00] IPv4 delete address route tests # 118.27 [+2.67] Regular FIB info # 118.44 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 118.52 [+0.08] TEST: Route in default VRF not removed [ OK ] # 118.86 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 118.94 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 118.94 [+0.00] Identical FIB info with different table ID # 119.09 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 119.17 [+0.08] TEST: Route in default VRF not removed [ OK ] # 119.50 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 119.57 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 119.57 [+0.00] Table ID 0 # 119.74 [+0.17] TEST: Route removed in default VRF when source address deleted [ OK ] # 120.66 [+0.92] # 120.66 [+0.00] IPv6 delete address route tests # 125.15 [+4.49] Single device using src address # 125.31 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 125.31 [+0.00] Two devices with the same source address # 125.49 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 125.63 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 125.64 [+0.00] VRF with single device using src address # 125.81 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 125.81 [+0.00] VRF with two devices using src address # 125.99 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 126.15 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 126.15 [+0.00] src address and nexthop dev in same VRF # 126.32 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 126.40 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 126.73 [+0.33] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 126.81 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 126.82 [+0.00] src address and nexthop device in different VRF # 126.98 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 127.07 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 127.31 [+0.24] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 127.39 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 127.39 [+0.00] Table ID 0 # 127.54 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 127.54 [+0.00] Link local source route # 127.69 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 127.86 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 127.93 [+0.07] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 128.18 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 129.64 [+1.47] # 129.64 [+0.00] IPv4 mangling tests # 137.02 [+7.38] TEST: Connection with correct parameters [ OK ] # 137.20 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 138.17 [+0.98] TEST: Connection with correct parameters - mangling [ OK ] # 139.03 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 139.08 [+0.05] TEST: Connection check - server side [ OK ] # 141.04 [+1.96] # 141.04 [+0.00] IPv6 mangling tests # 148.36 [+7.33] TEST: Connection with correct parameters [ OK ] # 148.54 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 149.39 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 150.24 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 150.30 [+0.06] TEST: Connection check - server side [ OK ] # 152.24 [+1.93] # 152.24 [+0.00] IPv4 broadcast neighbour tests # 154.36 [+2.12] TEST: Resolved neighbour for broadcast address [ OK ] # 154.44 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 154.53 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 154.63 [+0.10] TEST: Unresolved neighbour for network broadcast address [ OK ] # 156.40 [+1.78] # 156.40 [+0.00] Fib6 garbage collection test # 169.54 [+13.14] TEST: ipv6 route garbage collection [ OK ] # 182.90 [+13.36] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 196.26 [+13.36] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 209.82 [+13.56] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 224.14 [+14.32] TEST: ipv6 route garbage collection (RA message) [ OK ] # 224.87 [+0.73] # 224.87 [+0.00] IPv4 multipath list receive tests # 241.15 [+16.27] TEST: Multipath route hit ratio (1.00) [ OK ] # 242.92 [+1.77] # 242.92 [+0.00] IPv6 multipath list receive tests # 258.92 [+16.01] TEST: Multipath route hit ratio (.99) [ OK ] # 260.69 [+1.76] # 260.69 [+0.00] Tests passed: 229 # 260.69 [+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__->