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.39 [+0.39] # 0.39 [+0.00] Single path route test # 1.30 [+0.92] Start point # 1.38 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.48 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.60 [+0.12] Nexthop device deleted # 1.68 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.76 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.31 [+0.55] # 2.31 [+0.00] Multipath route test # 3.97 [+1.66] Start point # 4.05 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.13 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.26 [+0.13] One nexthop device deleted # 4.33 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.44 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 4.55 [+0.11] Second nexthop device deleted # 4.64 [+0.09] TEST: IPv6 - no route [ OK ] # 5.16 [+0.52] # 5.16 [+0.00] Single path, admin down # 6.27 [+1.11] Start point # 6.35 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.43 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.50 [+0.08] Route deleted on down # 6.58 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.67 [+0.10] TEST: IPv6 fibmatch [ OK ] # 7.10 [+0.42] # 7.10 [+0.00] Admin down multipath # 8.72 [+1.62] Verify start point # 8.80 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.89 [+0.09] TEST: IPv6 fibmatch [ OK ] # 8.97 [+0.09] One device down, one up # 9.05 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 9.13 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.20 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 9.29 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 9.38 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.48 [+0.10] TEST: IPv6 flags on down device [ OK ] # 9.57 [+0.09] TEST: IPv4 flags on up device [ OK ] # 9.65 [+0.08] TEST: IPv6 flags on up device [ OK ] # 9.85 [+0.19] Other device down and up # 9.93 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 10.01 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 10.09 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.17 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.26 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.35 [+0.09] TEST: IPv6 flags on down device [ OK ] # 10.44 [+0.09] TEST: IPv4 flags on up device [ OK ] # 10.55 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.63 [+0.08] Both devices down # 10.71 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.79 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.33 [+0.54] # 11.33 [+0.00] Local carrier tests - single path # 12.51 [+1.18] Start point # 12.59 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.67 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.74 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 12.84 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 13.97 [+1.14] Carrier off on nexthop # 14.06 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.15 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.23 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 14.31 [+0.08] TEST: IPv6 - linkdown flag set [ OK ] # 14.48 [+0.17] Route to local address with carrier down # 14.55 [+0.07] TEST: IPv4 fibmatch [ OK ] # 14.64 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.71 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 14.79 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 15.20 [+0.41] # 15.20 [+0.00] Single path route carrier test # 16.40 [+1.20] Start point # 16.48 [+0.08] TEST: IPv4 fibmatch [ OK ] # 16.57 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.64 [+0.07] TEST: IPv4 no linkdown flag [ OK ] # 16.71 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 17.84 [+1.13] Carrier down # 17.93 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.01 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.10 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 18.18 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 18.33 [+0.16] Second address added with carrier down # 18.41 [+0.07] TEST: IPv4 fibmatch [ OK ] # 18.49 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.56 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 18.64 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 22.69 [+4.05] # 22.69 [+0.00] IPv4 nexthop tests # 22.69 [+0.00] <<< write me >>> # 22.91 [+0.22] # 22.91 [+0.00] IPv6 nexthop tests # 22.99 [+0.08] TEST: Directly connected nexthop, unicast address [ OK ] # 23.08 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.17 [+0.09] TEST: Gateway is linklocal address [ OK ] # 23.26 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 23.36 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 23.45 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 23.53 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 23.63 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 23.72 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 23.81 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 23.91 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 24.06 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.21 [+0.15] TEST: VRF route, gateway can not be a local address [ OK ] # 24.39 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 25.51 [+1.13] # 25.51 [+0.00] FIB rule with suppress_prefixlength # 27.42 [+1.90] TEST: FIB rule suppress test [ OK ] # 28.98 [+1.57] # 28.98 [+0.00] Fib6 info length calculation in route notify test # 33.29 [+4.31] TEST: ipv6 route add notify [ OK ] # 35.01 [+1.71] # 35.01 [+0.00] Fib4 info length calculation in route notify test # 39.00 [+3.99] TEST: ipv4 route add notify [ OK ] # 43.48 [+4.48] # 43.48 [+0.00] IPv6 route add / append tests # 43.83 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 44.20 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 44.57 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 45.06 [+0.49] TEST: Append nexthop to existing route - gw [ OK ] # 45.48 [+0.43] TEST: Add multipath route [ OK ] # 45.84 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 46.29 [+0.45] TEST: Route add with different metrics [ OK ] # 46.47 [+0.18] TEST: Route delete with metric [ OK ] # 46.47 [+0.00] # 46.47 [+0.00] IPv6 route replace tests # 46.92 [+0.45] TEST: Single path with single path [ OK ] # 47.37 [+0.46] TEST: Single path with multipath [ OK ] # 47.86 [+0.48] TEST: Single path with single path via multipath attribute [ OK ] # 48.39 [+0.54] TEST: Invalid nexthop [ OK ] # 48.79 [+0.40] TEST: Single path - replace of non-existent route [ OK ] # 49.31 [+0.51] TEST: Multipath with multipath [ OK ] # 49.77 [+0.47] TEST: Multipath with single path [ OK ] # 50.23 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 50.70 [+0.46] TEST: Multipath with dev-only [ OK ] # 51.14 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 51.61 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 51.96 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 51.96 [+0.00] # 51.96 [+0.00] IPv6 route with dsfield tests # 52.14 [+0.18] TEST: Reject route with dsfield [ OK ] # 58.41 [+6.27] # 58.41 [+0.00] IPv4 route add / append tests # 58.77 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 59.12 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 59.48 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 59.92 [+0.45] TEST: Add new nexthop for existing prefix [ OK ] # 60.37 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 60.81 [+0.44] TEST: Append nexthop to existing route - dev only [ OK ] # 61.25 [+0.43] TEST: Append nexthop to existing route - reject route [ OK ] # 61.60 [+0.35] TEST: Append nexthop to existing reject route - gw [ OK ] # 61.95 [+0.36] TEST: Append nexthop to existing reject route - dev only [ OK ] # 62.30 [+0.35] TEST: add multipath route [ OK ] # 62.65 [+0.34] TEST: Attempt to add duplicate multipath route [ OK ] # 63.09 [+0.44] TEST: Route add with different metrics [ OK ] # 63.28 [+0.19] TEST: Route delete with metric [ OK ] # 63.29 [+0.00] # 63.29 [+0.00] IPv4 route replace tests # 63.73 [+0.44] TEST: Single path with single path [ OK ] # 64.18 [+0.45] TEST: Single path with multipath [ OK ] # 64.63 [+0.45] TEST: Single path with reject route [ OK ] # 65.06 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 65.54 [+0.48] TEST: Invalid nexthop [ OK ] # 65.90 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 66.37 [+0.47] TEST: Multipath with multipath [ OK ] # 66.86 [+0.49] TEST: Multipath with single path [ OK ] # 67.38 [+0.52] TEST: Multipath with single path via multipath attribute [ OK ] # 67.87 [+0.49] TEST: Multipath with reject route [ OK ] # 68.34 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 68.80 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 69.19 [+0.38] TEST: Multipath - replace of non-existent route [ OK ] # 70.66 [+1.48] TEST: Cached route removed from VRF port device [ OK ] # 70.67 [+0.00] # 70.67 [+0.00] IPv4 route with dsfield tests # 70.85 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 70.94 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 71.02 [+0.08] TEST: Reject route with dsfield 0x03 [ OK ] # 71.30 [+0.28] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 71.40 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 71.49 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 71.61 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 71.72 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 71.80 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 71.88 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 71.98 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 72.08 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 72.18 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 72.26 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 72.35 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 74.28 [+1.92] # 74.28 [+0.00] IPv6 prefix route tests # 76.13 [+1.85] TEST: Default metric [ OK ] # 76.43 [+0.31] TEST: User specified metric on first device [ OK ] # 76.75 [+0.32] TEST: User specified metric on second device [ OK ] # 76.96 [+0.21] TEST: Delete of address on first device [ OK ] # 77.17 [+0.20] TEST: Modify metric of address [ OK ] # 77.50 [+0.34] TEST: Prefix route removed on link down [ OK ] # 77.71 [+0.21] TEST: Prefix route with metric on link up [ OK ] # 78.05 [+0.34] TEST: Set metric with peer route on local side [ OK ] # 78.16 [+0.11] TEST: Set metric with peer route on peer side [ OK ] # 78.35 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 78.46 [+0.11] TEST: Modify metric and peer address on peer side [ OK ] # 79.45 [+0.99] # 79.45 [+0.00] IPv4 prefix route tests # 81.30 [+1.84] TEST: Default metric [ OK ] # 81.57 [+0.27] TEST: User specified metric on first device [ OK ] # 81.85 [+0.28] TEST: User specified metric on second device [ OK ] # 82.03 [+0.18] TEST: Delete of address on first device [ OK ] # 82.23 [+0.20] TEST: Modify metric of address [ OK ] # 82.39 [+0.17] TEST: Prefix route removed on link down [ OK ] # 82.57 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 83.01 [+0.44] TEST: Modify metric of .0/24 address [ OK ] # 83.34 [+0.33] TEST: Set metric of address with peer route [ OK ] # 83.55 [+0.21] TEST: Modify metric and peer address for peer route [ OK ] # 84.50 [+0.95] # 84.50 [+0.00] IPv6 routes with metrics # 89.30 [+4.80] TEST: Single path route with mtu metric [ OK ] # 89.68 [+0.39] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 90.02 [+0.34] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 90.22 [+0.20] TEST: MTU of second leg [ OK ] # 90.45 [+0.23] TEST: Multipath route with mtu metric [ OK ] # 90.71 [+0.26] TEST: Using route with mtu metric [ OK ] # 90.88 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 92.57 [+1.69] # 92.57 [+0.00] IPv4 route add / append tests # 97.08 [+4.52] TEST: Single path route with mtu metric [ OK ] # 97.30 [+0.21] TEST: Multipath route with mtu metric [ OK ] # 97.55 [+0.26] TEST: Using route with mtu metric [ OK ] # 97.72 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 99.41 [+1.70] # 99.41 [+0.00] IPv4 route with IPv6 gateway tests # 106.14 [+6.73] TEST: Single path route with IPv6 gateway [ OK ] # 106.38 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 106.48 [+0.09] TEST: Single path route delete [ OK ] # 106.66 [+0.18] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 106.87 [+0.22] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 106.97 [+0.10] TEST: Multipath route delete exact match [ OK ] # 107.08 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 107.34 [+0.26] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 107.45 [+0.11] TEST: Multipath route delete exact match [ OK ] # 109.17 [+1.71] # 109.17 [+0.00] IPv4 rp_filter tests # 115.51 [+6.35] TEST: rp_filter passes local packets [ OK ] # 115.67 [+0.16] TEST: rp_filter passes loopback packets [ OK ] # 116.49 [+0.82] # 116.49 [+0.00] IPv4 delete address route tests # 119.33 [+2.83] Regular FIB info # 119.52 [+0.19] TEST: Route removed from VRF when source address deleted [ OK ] # 119.62 [+0.10] TEST: Route in default VRF not removed [ OK ] # 120.03 [+0.40] TEST: Route removed in default VRF when source address deleted [ OK ] # 120.12 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 120.12 [+0.00] Identical FIB info with different table ID # 120.30 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 120.39 [+0.09] TEST: Route in default VRF not removed [ OK ] # 120.72 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 120.80 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 120.80 [+0.00] Table ID 0 # 120.97 [+0.17] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.94 [+0.98] # 121.95 [+0.00] IPv6 delete address route tests # 126.81 [+4.87] Single device using src address # 126.99 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 127.00 [+0.00] Two devices with the same source address # 127.18 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 127.36 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 127.36 [+0.00] VRF with single device using src address # 127.57 [+0.21] TEST: Prefsrc removed when src address removed on other device [ OK ] # 127.57 [+0.00] VRF with two devices using src address # 127.81 [+0.24] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.01 [+0.21] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 128.02 [+0.00] src address and nexthop dev in same VRF # 128.24 [+0.22] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 128.33 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 128.70 [+0.37] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 128.79 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 128.79 [+0.00] src address and nexthop device in different VRF # 128.97 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 129.06 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 129.31 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 129.40 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 129.40 [+0.00] Table ID 0 # 129.56 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 129.56 [+0.00] Link local source route # 129.71 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 129.88 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 129.97 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.21 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 131.99 [+1.78] # 132.00 [+0.00] IPv4 mangling tests # 141.09 [+9.09] TEST: Connection with correct parameters [ OK ] # 141.25 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 142.31 [+1.06] TEST: Connection with correct parameters - mangling [ OK ] # 143.20 [+0.89] TEST: Connection with correct parameters - no mangling [ OK ] # 143.26 [+0.06] TEST: Connection check - server side [ OK ] # 145.57 [+2.31] # 145.57 [+0.00] IPv6 mangling tests # 153.52 [+7.95] TEST: Connection with correct parameters [ OK ] # 153.72 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 154.57 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 155.43 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 155.51 [+0.09] TEST: Connection check - server side [ OK ] # 157.69 [+2.18] # 157.69 [+0.00] IPv4 broadcast neighbour tests # 160.03 [+2.34] TEST: Resolved neighbour for broadcast address [ OK ] # 160.14 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 160.24 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 160.34 [+0.10] TEST: Unresolved neighbour for network broadcast address [ OK ] # 162.54 [+2.20] # 162.54 [+0.00] Fib6 garbage collection test # 175.95 [+13.41] TEST: ipv6 route garbage collection [ OK ] # 189.42 [+13.47] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 203.05 [+13.62] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 216.63 [+13.58] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 230.85 [+14.21] TEST: ipv6 route garbage collection (RA message) [ OK ] # 231.54 [+0.69] # 231.54 [+0.00] IPv4 multipath list receive tests # 248.15 [+16.61] TEST: Multipath route hit ratio (1.00) [ OK ] # 250.02 [+1.86] # 250.02 [+0.00] IPv6 multipath list receive tests # 266.37 [+16.36] TEST: Multipath route hit ratio (1.00) [ OK ] # 268.09 [+1.72] # 268.09 [+0.00] Tests passed: 229 # 268.09 [+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__->