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.45 [+0.45] # 0.45 [+0.00] Single path route test # 1.48 [+1.03] Start point # 1.57 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.67 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.80 [+0.13] Nexthop device deleted # 1.90 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 1.99 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.62 [+0.63] # 2.62 [+0.00] Multipath route test # 4.60 [+1.98] Start point # 4.68 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.76 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.90 [+0.14] One nexthop device deleted # 4.99 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.08 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 5.21 [+0.13] Second nexthop device deleted # 5.30 [+0.09] TEST: IPv6 - no route [ OK ] # 5.94 [+0.63] # 5.94 [+0.00] Single path, admin down # 7.28 [+1.35] Start point # 7.38 [+0.10] TEST: IPv4 fibmatch [ OK ] # 7.49 [+0.11] TEST: IPv6 fibmatch [ OK ] # 7.60 [+0.11] Route deleted on down # 7.71 [+0.11] TEST: IPv4 fibmatch [ OK ] # 7.81 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.31 [+0.51] # 8.31 [+0.00] Admin down multipath # 10.30 [+1.99] Verify start point # 10.39 [+0.09] TEST: IPv4 fibmatch [ OK ] # 10.51 [+0.12] TEST: IPv6 fibmatch [ OK ] # 10.60 [+0.09] One device down, one up # 10.71 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 10.82 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 10.92 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 11.04 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 11.14 [+0.10] TEST: IPv4 flags on down device [ OK ] # 11.26 [+0.12] TEST: IPv6 flags on down device [ OK ] # 11.37 [+0.12] TEST: IPv4 flags on up device [ OK ] # 11.52 [+0.15] TEST: IPv6 flags on up device [ OK ] # 11.73 [+0.21] Other device down and up # 11.86 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 11.96 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.08 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 12.19 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.31 [+0.11] TEST: IPv4 flags on down device [ OK ] # 12.41 [+0.10] TEST: IPv6 flags on down device [ OK ] # 12.55 [+0.14] TEST: IPv4 flags on up device [ OK ] # 12.68 [+0.13] TEST: IPv6 flags on up device [ OK ] # 12.78 [+0.10] Both devices down # 12.91 [+0.14] TEST: IPv4 fibmatch [ OK ] # 13.02 [+0.10] TEST: IPv6 fibmatch [ OK ] # 13.70 [+0.68] # 13.70 [+0.00] Local carrier tests - single path # 15.47 [+1.77] Start point # 15.56 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.68 [+0.12] TEST: IPv6 fibmatch [ OK ] # 15.76 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 15.86 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 17.03 [+1.17] Carrier off on nexthop # 17.13 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.24 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.37 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 17.47 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 17.64 [+0.17] Route to local address with carrier down # 17.74 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.85 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.96 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 18.06 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 18.60 [+0.54] # 18.60 [+0.00] Single path route carrier test # 20.17 [+1.57] Start point # 20.28 [+0.11] TEST: IPv4 fibmatch [ OK ] # 20.38 [+0.10] TEST: IPv6 fibmatch [ OK ] # 20.48 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 20.58 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 21.74 [+1.16] Carrier down # 21.83 [+0.09] TEST: IPv4 fibmatch [ OK ] # 21.94 [+0.11] TEST: IPv6 fibmatch [ OK ] # 22.07 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 22.19 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 22.39 [+0.21] Second address added with carrier down # 22.51 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.60 [+0.09] TEST: IPv6 fibmatch [ OK ] # 22.73 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 22.83 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 27.91 [+5.08] # 27.91 [+0.00] IPv4 nexthop tests # 27.92 [+0.00] <<< write me >>> # 28.20 [+0.29] # 28.20 [+0.00] IPv6 nexthop tests # 28.32 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 28.43 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 28.54 [+0.11] TEST: Gateway is linklocal address [ OK ] # 28.64 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 28.74 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 28.87 [+0.13] TEST: Gateway can not be local unicast address, with device [ OK ] # 28.98 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 29.10 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 29.22 [+0.12] TEST: Gateway can be local address in a VRF, with device [ OK ] # 29.34 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 29.45 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 29.58 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 29.68 [+0.11] TEST: VRF route, gateway can not be a local address [ OK ] # 29.81 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 30.96 [+1.15] # 30.96 [+0.00] FIB rule with suppress_prefixlength # 33.22 [+2.26] TEST: FIB rule suppress test [ OK ] # 35.24 [+2.02] # 35.24 [+0.00] Fib6 info length calculation in route notify test # 39.67 [+4.43] TEST: ipv6 route add notify [ OK ] # 41.76 [+2.09] # 41.76 [+0.00] Fib4 info length calculation in route notify test # 46.53 [+4.77] TEST: ipv4 route add notify [ OK ] # 52.08 [+5.55] # 52.08 [+0.00] IPv6 route add / append tests # 52.53 [+0.45] TEST: Attempt to add duplicate route - gw [ OK ] # 53.03 [+0.50] TEST: Attempt to add duplicate route - dev only [ OK ] # 53.45 [+0.42] TEST: Attempt to add duplicate route - reject route [ OK ] # 54.08 [+0.63] TEST: Append nexthop to existing route - gw [ OK ] # 54.61 [+0.53] TEST: Add multipath route [ OK ] # 55.05 [+0.44] TEST: Attempt to add duplicate multipath route [ OK ] # 55.59 [+0.54] TEST: Route add with different metrics [ OK ] # 55.84 [+0.25] TEST: Route delete with metric [ OK ] # 55.85 [+0.00] # 55.85 [+0.00] IPv6 route replace tests # 56.39 [+0.54] TEST: Single path with single path [ OK ] # 56.96 [+0.57] TEST: Single path with multipath [ OK ] # 57.51 [+0.55] TEST: Single path with single path via multipath attribute [ OK ] # 58.05 [+0.54] TEST: Invalid nexthop [ OK ] # 58.49 [+0.44] TEST: Single path - replace of non-existent route [ OK ] # 59.07 [+0.58] TEST: Multipath with multipath [ OK ] # 59.63 [+0.56] TEST: Multipath with single path [ OK ] # 60.17 [+0.54] TEST: Multipath with single path via multipath attribute [ OK ] # 60.75 [+0.58] TEST: Multipath with dev-only [ OK ] # 61.34 [+0.59] TEST: Multipath - invalid first nexthop [ OK ] # 61.91 [+0.57] TEST: Multipath - invalid second nexthop [ OK ] # 62.40 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 62.41 [+0.00] # 62.41 [+0.00] IPv6 route with dsfield tests # 62.63 [+0.22] TEST: Reject route with dsfield [ OK ] # 70.47 [+7.85] # 70.48 [+0.00] IPv4 route add / append tests # 70.92 [+0.44] TEST: Attempt to add duplicate route - gw [ OK ] # 71.38 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.81 [+0.43] TEST: Attempt to add duplicate route - reject route [ OK ] # 72.38 [+0.57] TEST: Add new nexthop for existing prefix [ OK ] # 72.98 [+0.60] TEST: Append nexthop to existing route - gw [ OK ] # 73.58 [+0.60] TEST: Append nexthop to existing route - dev only [ OK ] # 74.16 [+0.58] TEST: Append nexthop to existing route - reject route [ OK ] # 74.64 [+0.49] TEST: Append nexthop to existing reject route - gw [ OK ] # 75.14 [+0.50] TEST: Append nexthop to existing reject route - dev only [ OK ] # 75.61 [+0.47] TEST: add multipath route [ OK ] # 76.08 [+0.47] TEST: Attempt to add duplicate multipath route [ OK ] # 76.72 [+0.64] TEST: Route add with different metrics [ OK ] # 76.93 [+0.20] TEST: Route delete with metric [ OK ] # 76.93 [+0.00] # 76.93 [+0.00] IPv4 route replace tests # 77.49 [+0.56] TEST: Single path with single path [ OK ] # 78.05 [+0.56] TEST: Single path with multipath [ OK ] # 78.63 [+0.58] TEST: Single path with reject route [ OK ] # 79.25 [+0.62] TEST: Single path with single path via multipath attribute [ OK ] # 79.81 [+0.56] TEST: Invalid nexthop [ OK ] # 80.23 [+0.42] TEST: Single path - replace of non-existent route [ OK ] # 80.85 [+0.61] TEST: Multipath with multipath [ OK ] # 81.48 [+0.63] TEST: Multipath with single path [ OK ] # 82.05 [+0.57] TEST: Multipath with single path via multipath attribute [ OK ] # 82.64 [+0.59] TEST: Multipath with reject route [ OK ] # 83.18 [+0.54] TEST: Multipath - invalid first nexthop [ OK ] # 83.74 [+0.56] TEST: Multipath - invalid second nexthop [ OK ] # 84.25 [+0.51] TEST: Multipath - replace of non-existent route [ OK ] # 86.08 [+1.83] TEST: Cached route removed from VRF port device [ OK ] # 86.08 [+0.00] # 86.08 [+0.00] IPv4 route with dsfield tests # 86.31 [+0.23] TEST: Reject route with dsfield 0x01 [ OK ] # 86.42 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 86.54 [+0.11] TEST: Reject route with dsfield 0x03 [ OK ] # 86.91 [+0.37] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 87.03 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 87.15 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 87.26 [+0.11] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 87.39 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 87.51 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 87.63 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 87.74 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 87.81 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 87.93 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 88.05 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 88.15 [+0.10] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 90.27 [+2.12] # 90.27 [+0.00] IPv6 prefix route tests # 92.68 [+2.41] TEST: Default metric [ OK ] # 93.05 [+0.37] TEST: User specified metric on first device [ OK ] # 93.43 [+0.38] TEST: User specified metric on second device [ OK ] # 93.67 [+0.24] TEST: Delete of address on first device [ OK ] # 93.90 [+0.23] TEST: Modify metric of address [ OK ] # 94.30 [+0.40] TEST: Prefix route removed on link down [ OK ] # 94.53 [+0.23] TEST: Prefix route with metric on link up [ OK ] # 94.86 [+0.33] TEST: Set metric with peer route on local side [ OK ] # 94.98 [+0.12] TEST: Set metric with peer route on peer side [ OK ] # 95.22 [+0.24] TEST: Modify metric and peer address on local side [ OK ] # 95.36 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 96.58 [+1.22] # 96.58 [+0.00] IPv4 prefix route tests # 98.96 [+2.38] TEST: Default metric [ OK ] # 99.30 [+0.34] TEST: User specified metric on first device [ OK ] # 99.62 [+0.32] TEST: User specified metric on second device [ OK ] # 99.85 [+0.24] TEST: Delete of address on first device [ OK ] # 100.10 [+0.25] TEST: Modify metric of address [ OK ] # 100.31 [+0.21] TEST: Prefix route removed on link down [ OK ] # 100.54 [+0.23] TEST: Prefix route with metric on link up [ OK ] # 101.01 [+0.46] TEST: Modify metric of .0/24 address [ OK ] # 101.36 [+0.36] TEST: Set metric of address with peer route [ OK ] # 101.59 [+0.23] TEST: Modify metric and peer address for peer route [ OK ] # 102.81 [+1.22] # 102.81 [+0.00] IPv6 routes with metrics # 108.71 [+5.90] TEST: Single path route with mtu metric [ OK ] # 109.11 [+0.40] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 109.49 [+0.38] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 109.76 [+0.27] TEST: MTU of second leg [ OK ] # 110.01 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 110.29 [+0.28] TEST: Using route with mtu metric [ OK ] # 110.50 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 112.69 [+2.19] # 112.69 [+0.00] IPv4 route add / append tests # 118.50 [+5.81] TEST: Single path route with mtu metric [ OK ] # 118.75 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 119.00 [+0.24] TEST: Using route with mtu metric [ OK ] # 119.19 [+0.19] TEST: Invalid metric (fails metric_convert) [ OK ] # 121.16 [+1.97] # 121.16 [+0.00] IPv4 route with IPv6 gateway tests # 128.83 [+7.67] TEST: Single path route with IPv6 gateway [ OK ] # 129.09 [+0.26] TEST: Single path route with IPv6 gateway - ping [ OK ] # 129.20 [+0.11] TEST: Single path route delete [ OK ] # 129.43 [+0.22] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 129.64 [+0.22] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 129.78 [+0.14] TEST: Multipath route delete exact match [ OK ] # 129.92 [+0.14] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 130.17 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 130.27 [+0.10] TEST: Multipath route delete exact match [ OK ] # 132.27 [+2.00] # 132.27 [+0.00] IPv4 rp_filter tests # 139.51 [+7.24] TEST: rp_filter passes local packets [ OK ] # 139.70 [+0.19] TEST: rp_filter passes loopback packets [ OK ] # 140.64 [+0.95] # 140.64 [+0.00] IPv4 delete address route tests # 144.11 [+3.47] Regular FIB info # 144.29 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 144.42 [+0.12] TEST: Route in default VRF not removed [ OK ] # 144.85 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 144.94 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 144.95 [+0.00] Identical FIB info with different table ID # 145.16 [+0.21] TEST: Route removed from VRF when source address deleted [ OK ] # 145.25 [+0.09] TEST: Route in default VRF not removed [ OK ] # 145.67 [+0.42] TEST: Route removed in default VRF when source address deleted [ OK ] # 145.78 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 145.78 [+0.00] Table ID 0 # 145.99 [+0.21] TEST: Route removed in default VRF when source address deleted [ OK ] # 147.25 [+1.26] # 147.25 [+0.00] IPv6 delete address route tests # 153.29 [+6.04] Single device using src address # 153.48 [+0.19] TEST: Prefsrc removed when src address removed on other device [ OK ] # 153.49 [+0.00] Two devices with the same source address # 153.67 [+0.19] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 153.85 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 153.86 [+0.01] VRF with single device using src address # 154.08 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 154.08 [+0.01] VRF with two devices using src address # 154.30 [+0.21] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 154.53 [+0.23] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 154.53 [+0.00] src address and nexthop dev in same VRF # 154.75 [+0.22] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 154.85 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 155.30 [+0.45] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 155.40 [+0.10] TEST: Prefsrc in default VRF removed [ OK ] # 155.40 [+0.00] src address and nexthop device in different VRF # 155.62 [+0.22] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 155.72 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 156.06 [+0.34] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 156.21 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 156.21 [+0.00] Table ID 0 # 156.39 [+0.18] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 156.40 [+0.00] Link local source route # 156.59 [+0.20] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 156.82 [+0.23] TEST: Prefsrc removed when delete ll addr [ OK ] # 156.93 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 157.25 [+0.33] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 159.04 [+1.79] # 159.04 [+0.00] IPv4 mangling tests # 167.99 [+8.95] TEST: Connection with correct parameters [ OK ] # 168.24 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 169.40 [+1.16] TEST: Connection with correct parameters - mangling [ OK ] # 170.36 [+0.97] TEST: Connection with correct parameters - no mangling [ OK ] # 170.44 [+0.08] TEST: Connection check - server side [ OK ] # 173.09 [+2.65] # 173.09 [+0.00] IPv6 mangling tests # 181.99 [+8.90] TEST: Connection with correct parameters [ OK ] # 182.22 [+0.23] TEST: Connection with incorrect parameters [ OK ] # 183.23 [+1.01] TEST: Connection with correct parameters - mangling [ OK ] # 184.27 [+1.03] TEST: Connection with correct parameters - no mangling [ OK ] # 184.38 [+0.11] TEST: Connection check - server side [ OK ] # 186.84 [+2.46] # 186.84 [+0.00] IPv4 broadcast neighbour tests # 189.62 [+2.78] TEST: Resolved neighbour for broadcast address [ OK ] # 189.72 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 189.83 [+0.11] TEST: Unresolved neighbour for broadcast address [ OK ] # 189.99 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 192.20 [+2.21] # 192.20 [+0.00] Fib6 garbage collection test # 205.65 [+13.45] TEST: ipv6 route garbage collection [ OK ] # 219.31 [+13.65] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 233.13 [+13.82] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 247.05 [+13.92] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 261.53 [+14.48] TEST: ipv6 route garbage collection (RA message) [ OK ] # 262.46 [+0.93] # 262.46 [+0.00] IPv4 multipath list receive tests # 282.31 [+19.85] TEST: Multipath route hit ratio (1.00) [ OK ] # 284.45 [+2.14] # 284.45 [+0.00] IPv6 multipath list receive tests # 303.38 [+18.92] TEST: Multipath route hit ratio (1.00) [ OK ] # 305.56 [+2.19] # 305.56 [+0.00] Tests passed: 229 # 305.56 [+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__->