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.58 [+0.58] # 0.59 [+0.00] Single path route test # 1.80 [+1.22] Start point # 1.90 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.99 [+0.09] TEST: IPv6 fibmatch [ OK ] # 2.12 [+0.13] Nexthop device deleted # 2.24 [+0.12] TEST: IPv4 fibmatch - no route [ OK ] # 2.32 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 3.03 [+0.72] # 3.03 [+0.00] Multipath route test # 4.85 [+1.82] Start point # 4.95 [+0.10] TEST: IPv4 fibmatch [ OK ] # 5.04 [+0.09] TEST: IPv6 fibmatch [ OK ] # 5.20 [+0.16] One nexthop device deleted # 5.28 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.38 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 5.52 [+0.14] Second nexthop device deleted # 5.62 [+0.09] TEST: IPv6 - no route [ OK ] # 6.26 [+0.64] # 6.26 [+0.00] Single path, admin down # 7.68 [+1.42] Start point # 7.80 [+0.12] TEST: IPv4 fibmatch [ OK ] # 7.90 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.01 [+0.10] Route deleted on down # 8.11 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.24 [+0.13] TEST: IPv6 fibmatch [ OK ] # 8.84 [+0.59] # 8.84 [+0.00] Admin down multipath # 10.97 [+2.13] Verify start point # 11.09 [+0.12] TEST: IPv4 fibmatch [ OK ] # 11.19 [+0.10] TEST: IPv6 fibmatch [ OK ] # 11.32 [+0.13] One device down, one up # 11.42 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 11.52 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 11.64 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 11.76 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 11.88 [+0.12] TEST: IPv4 flags on down device [ OK ] # 12.00 [+0.12] TEST: IPv6 flags on down device [ OK ] # 12.13 [+0.13] TEST: IPv4 flags on up device [ OK ] # 12.25 [+0.12] TEST: IPv6 flags on up device [ OK ] # 12.47 [+0.23] Other device down and up # 12.58 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.68 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.78 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 12.90 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 13.04 [+0.14] TEST: IPv4 flags on down device [ OK ] # 13.17 [+0.13] TEST: IPv6 flags on down device [ OK ] # 13.28 [+0.11] TEST: IPv4 flags on up device [ OK ] # 13.41 [+0.14] TEST: IPv6 flags on up device [ OK ] # 13.50 [+0.09] Both devices down # 13.58 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.69 [+0.11] TEST: IPv6 fibmatch [ OK ] # 14.37 [+0.68] # 14.37 [+0.00] Local carrier tests - single path # 16.01 [+1.64] Start point # 16.12 [+0.11] TEST: IPv4 fibmatch [ OK ] # 16.26 [+0.14] TEST: IPv6 fibmatch [ OK ] # 16.38 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 16.52 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 17.69 [+1.17] Carrier off on nexthop # 17.81 [+0.12] TEST: IPv4 fibmatch [ OK ] # 17.91 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.02 [+0.11] TEST: IPv4 - linkdown flag set [ OK ] # 18.12 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 18.30 [+0.18] Route to local address with carrier down # 18.39 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.52 [+0.13] TEST: IPv6 fibmatch [ OK ] # 18.61 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 18.74 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 19.32 [+0.58] # 19.32 [+0.00] Single path route carrier test # 20.75 [+1.43] Start point # 20.85 [+0.10] TEST: IPv4 fibmatch [ OK ] # 20.96 [+0.11] TEST: IPv6 fibmatch [ OK ] # 21.05 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 21.17 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 22.33 [+1.15] Carrier down # 22.45 [+0.12] TEST: IPv4 fibmatch [ OK ] # 22.56 [+0.11] TEST: IPv6 fibmatch [ OK ] # 22.65 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 22.75 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 22.96 [+0.21] Second address added with carrier down # 23.07 [+0.11] TEST: IPv4 fibmatch [ OK ] # 23.18 [+0.12] TEST: IPv6 fibmatch [ OK ] # 23.29 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 23.41 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 28.44 [+5.03] # 28.44 [+0.00] IPv4 nexthop tests # 28.44 [+0.00] <<< write me >>> # 28.76 [+0.31] # 28.76 [+0.00] IPv6 nexthop tests # 28.90 [+0.14] TEST: Directly connected nexthop, unicast address [ OK ] # 29.03 [+0.14] TEST: Directly connected nexthop, unicast address with device [ OK ] # 29.15 [+0.12] TEST: Gateway is linklocal address [ OK ] # 29.28 [+0.13] TEST: Gateway is linklocal address, no device [ OK ] # 29.38 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 29.51 [+0.13] TEST: Gateway can not be local unicast address, with device [ OK ] # 29.61 [+0.11] TEST: Gateway can not be a local linklocal address [ OK ] # 29.72 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 29.82 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 29.95 [+0.13] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 30.07 [+0.12] TEST: Redirect to VRF lookup [ OK ] # 30.17 [+0.10] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 30.28 [+0.11] TEST: VRF route, gateway can not be a local address [ OK ] # 30.41 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 31.55 [+1.14] # 31.55 [+0.00] FIB rule with suppress_prefixlength # 33.57 [+2.02] TEST: FIB rule suppress test [ OK ] # 35.62 [+2.05] # 35.62 [+0.00] Fib6 info length calculation in route notify test # 40.11 [+4.49] TEST: ipv6 route add notify [ OK ] # 42.11 [+2.00] # 42.11 [+0.00] Fib4 info length calculation in route notify test # 46.39 [+4.29] TEST: ipv4 route add notify [ OK ] # 52.34 [+5.95] # 52.34 [+0.00] IPv6 route add / append tests # 52.79 [+0.45] TEST: Attempt to add duplicate route - gw [ OK ] # 53.25 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 53.70 [+0.45] TEST: Attempt to add duplicate route - reject route [ OK ] # 54.32 [+0.62] TEST: Append nexthop to existing route - gw [ OK ] # 54.90 [+0.58] TEST: Add multipath route [ OK ] # 55.40 [+0.49] TEST: Attempt to add duplicate multipath route [ OK ] # 56.03 [+0.64] TEST: Route add with different metrics [ OK ] # 56.30 [+0.27] TEST: Route delete with metric [ OK ] # 56.31 [+0.01] # 56.31 [+0.00] IPv6 route replace tests # 56.91 [+0.60] TEST: Single path with single path [ OK ] # 57.52 [+0.61] TEST: Single path with multipath [ OK ] # 58.17 [+0.65] TEST: Single path with single path via multipath attribute [ OK ] # 58.73 [+0.56] TEST: Invalid nexthop [ OK ] # 59.20 [+0.47] TEST: Single path - replace of non-existent route [ OK ] # 59.76 [+0.56] TEST: Multipath with multipath [ OK ] # 60.34 [+0.58] TEST: Multipath with single path [ OK ] # 60.88 [+0.54] TEST: Multipath with single path via multipath attribute [ OK ] # 61.49 [+0.61] TEST: Multipath with dev-only [ OK ] # 62.08 [+0.59] TEST: Multipath - invalid first nexthop [ OK ] # 62.68 [+0.60] TEST: Multipath - invalid second nexthop [ OK ] # 63.09 [+0.41] TEST: Multipath - replace of non-existent route [ OK ] # 63.09 [+0.01] # 63.09 [+0.00] IPv6 route with dsfield tests # 63.31 [+0.21] TEST: Reject route with dsfield [ OK ] # 70.33 [+7.03] # 70.33 [+0.00] IPv4 route add / append tests # 70.73 [+0.40] TEST: Attempt to add duplicate route - gw [ OK ] # 71.15 [+0.41] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.52 [+0.38] TEST: Attempt to add duplicate route - reject route [ OK ] # 72.01 [+0.49] TEST: Add new nexthop for existing prefix [ OK ] # 72.49 [+0.48] TEST: Append nexthop to existing route - gw [ OK ] # 72.98 [+0.49] TEST: Append nexthop to existing route - dev only [ OK ] # 73.45 [+0.47] TEST: Append nexthop to existing route - reject route [ OK ] # 73.86 [+0.41] TEST: Append nexthop to existing reject route - gw [ OK ] # 74.26 [+0.40] TEST: Append nexthop to existing reject route - dev only [ OK ] # 74.66 [+0.40] TEST: add multipath route [ OK ] # 75.05 [+0.39] TEST: Attempt to add duplicate multipath route [ OK ] # 75.56 [+0.51] TEST: Route add with different metrics [ OK ] # 75.77 [+0.21] TEST: Route delete with metric [ OK ] # 75.78 [+0.00] # 75.78 [+0.00] IPv4 route replace tests # 76.26 [+0.49] TEST: Single path with single path [ OK ] # 76.75 [+0.49] TEST: Single path with multipath [ OK ] # 77.24 [+0.48] TEST: Single path with reject route [ OK ] # 77.75 [+0.51] TEST: Single path with single path via multipath attribute [ OK ] # 78.22 [+0.47] TEST: Invalid nexthop [ OK ] # 78.60 [+0.39] TEST: Single path - replace of non-existent route [ OK ] # 79.09 [+0.49] TEST: Multipath with multipath [ OK ] # 79.56 [+0.47] TEST: Multipath with single path [ OK ] # 80.04 [+0.48] TEST: Multipath with single path via multipath attribute [ OK ] # 80.53 [+0.49] TEST: Multipath with reject route [ OK ] # 81.03 [+0.50] TEST: Multipath - invalid first nexthop [ OK ] # 81.52 [+0.49] TEST: Multipath - invalid second nexthop [ OK ] # 81.88 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 83.39 [+1.51] TEST: Cached route removed from VRF port device [ OK ] # 83.40 [+0.00] # 83.40 [+0.00] IPv4 route with dsfield tests # 83.59 [+0.19] TEST: Reject route with dsfield 0x01 [ OK ] # 83.69 [+0.10] TEST: Reject route with dsfield 0x02 [ OK ] # 83.79 [+0.10] TEST: Reject route with dsfield 0x03 [ OK ] # 84.04 [+0.26] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 84.14 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 84.22 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 84.30 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 84.40 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 84.48 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 84.57 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 84.65 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 84.74 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 84.82 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 84.92 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 85.01 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 86.72 [+1.71] # 86.72 [+0.00] IPv6 prefix route tests # 88.62 [+1.89] TEST: Default metric [ OK ] # 88.92 [+0.30] TEST: User specified metric on first device [ OK ] # 89.22 [+0.30] TEST: User specified metric on second device [ OK ] # 89.39 [+0.18] TEST: Delete of address on first device [ OK ] # 89.60 [+0.20] TEST: Modify metric of address [ OK ] # 89.91 [+0.31] TEST: Prefix route removed on link down [ OK ] # 90.09 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 90.38 [+0.29] TEST: Set metric with peer route on local side [ OK ] # 90.48 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 90.67 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 90.76 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 91.73 [+0.97] # 91.73 [+0.00] IPv4 prefix route tests # 93.59 [+1.86] TEST: Default metric [ OK ] # 93.86 [+0.27] TEST: User specified metric on first device [ OK ] # 94.13 [+0.28] TEST: User specified metric on second device [ OK ] # 94.32 [+0.18] TEST: Delete of address on first device [ OK ] # 94.51 [+0.19] TEST: Modify metric of address [ OK ] # 94.69 [+0.18] TEST: Prefix route removed on link down [ OK ] # 94.87 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 95.22 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 95.50 [+0.28] TEST: Set metric of address with peer route [ OK ] # 95.68 [+0.18] TEST: Modify metric and peer address for peer route [ OK ] # 96.64 [+0.96] # 96.64 [+0.00] IPv6 routes with metrics # 101.38 [+4.74] TEST: Single path route with mtu metric [ OK ] # 101.67 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 101.96 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 102.15 [+0.19] TEST: MTU of second leg [ OK ] # 102.35 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 102.57 [+0.22] TEST: Using route with mtu metric [ OK ] # 102.73 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 104.44 [+1.71] # 104.44 [+0.00] IPv4 route add / append tests # 108.90 [+4.46] TEST: Single path route with mtu metric [ OK ] # 109.08 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 109.31 [+0.23] TEST: Using route with mtu metric [ OK ] # 109.47 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 111.16 [+1.69] # 111.16 [+0.00] IPv4 route with IPv6 gateway tests # 117.50 [+6.34] TEST: Single path route with IPv6 gateway [ OK ] # 117.74 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 117.83 [+0.09] TEST: Single path route delete [ OK ] # 118.00 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 118.19 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 118.27 [+0.09] TEST: Multipath route delete exact match [ OK ] # 118.37 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 118.57 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 118.66 [+0.09] TEST: Multipath route delete exact match [ OK ] # 120.34 [+1.68] # 120.34 [+0.00] IPv4 rp_filter tests # 126.04 [+5.70] TEST: rp_filter passes local packets [ OK ] # 126.19 [+0.15] TEST: rp_filter passes loopback packets [ OK ] # 126.95 [+0.76] # 126.95 [+0.00] IPv4 delete address route tests # 129.65 [+2.70] Regular FIB info # 129.81 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 129.90 [+0.09] TEST: Route in default VRF not removed [ OK ] # 130.22 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 130.30 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 130.31 [+0.00] Identical FIB info with different table ID # 130.46 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 130.53 [+0.07] TEST: Route in default VRF not removed [ OK ] # 130.86 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 130.93 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 130.93 [+0.00] Table ID 0 # 131.08 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 132.01 [+0.93] # 132.01 [+0.00] IPv6 delete address route tests # 136.56 [+4.55] Single device using src address # 136.73 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 136.74 [+0.00] Two devices with the same source address # 136.88 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 137.06 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 137.07 [+0.00] VRF with single device using src address # 137.23 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 137.24 [+0.00] VRF with two devices using src address # 137.40 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 137.57 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 137.57 [+0.00] src address and nexthop dev in same VRF # 137.74 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 137.82 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 138.13 [+0.31] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 138.22 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 138.22 [+0.00] src address and nexthop device in different VRF # 138.38 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 138.47 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 138.70 [+0.23] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 138.79 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 138.79 [+0.00] Table ID 0 # 138.95 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 138.95 [+0.00] Link local source route # 139.10 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 139.29 [+0.18] TEST: Prefsrc removed when delete ll addr [ OK ] # 139.37 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 139.60 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 141.06 [+1.46] # 141.06 [+0.00] IPv4 mangling tests # 148.32 [+7.26] TEST: Connection with correct parameters [ OK ] # 148.48 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 149.40 [+0.91] TEST: Connection with correct parameters - mangling [ OK ] # 150.24 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 150.29 [+0.05] TEST: Connection check - server side [ OK ] # 152.16 [+1.88] # 152.16 [+0.00] IPv6 mangling tests # 159.38 [+7.22] TEST: Connection with correct parameters [ OK ] # 159.58 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 160.43 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 161.28 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 161.34 [+0.06] TEST: Connection check - server side [ OK ] # 163.25 [+1.92] # 163.25 [+0.00] IPv4 broadcast neighbour tests # 165.52 [+2.27] TEST: Resolved neighbour for broadcast address [ OK ] # 165.63 [+0.11] TEST: Resolved neighbour for network broadcast address [ OK ] # 165.74 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 165.85 [+0.11] TEST: Unresolved neighbour for network broadcast address [ OK ] # 168.04 [+2.19] # 168.04 [+0.00] Fib6 garbage collection test # 181.57 [+13.53] TEST: ipv6 route garbage collection [ OK ] # 195.07 [+13.50] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 208.70 [+13.63] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 222.21 [+13.51] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 236.45 [+14.24] TEST: ipv6 route garbage collection (RA message) [ OK ] # 237.25 [+0.80] # 237.25 [+0.00] IPv4 multipath list receive tests # 251.22 [+13.97] TEST: Multipath route hit ratio (1.00) [ OK ] # 253.00 [+1.78] # 253.00 [+0.00] IPv6 multipath list receive tests # 267.85 [+14.85] TEST: Multipath route hit ratio (1.00) [ OK ] # 269.54 [+1.69] # 269.54 [+0.00] Tests passed: 229 # 269.54 [+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__->