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.43 [+0.43] # 0.43 [+0.00] Single path route test # 1.34 [+0.91] Start point # 1.44 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.53 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.65 [+0.12] Nexthop device deleted # 1.74 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.83 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.41 [+0.58] # 2.41 [+0.00] Multipath route test # 4.14 [+1.73] Start point # 4.22 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.32 [+0.09] TEST: IPv6 fibmatch [ OK ] # 4.47 [+0.15] One nexthop device deleted # 4.55 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.65 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 4.79 [+0.14] Second nexthop device deleted # 4.88 [+0.09] TEST: IPv6 - no route [ OK ] # 5.44 [+0.56] # 5.44 [+0.00] Single path, admin down # 6.62 [+1.18] Start point # 6.71 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.81 [+0.10] TEST: IPv6 fibmatch [ OK ] # 6.89 [+0.08] Route deleted on down # 6.98 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.06 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.55 [+0.49] # 7.55 [+0.00] Admin down multipath # 9.24 [+1.69] Verify start point # 9.33 [+0.09] TEST: IPv4 fibmatch [ OK ] # 9.42 [+0.09] TEST: IPv6 fibmatch [ OK ] # 9.51 [+0.09] One device down, one up # 9.60 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 9.69 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 9.77 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.85 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.94 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.04 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.14 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.24 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.40 [+0.16] Other device down and up # 10.48 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.56 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 10.66 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 10.74 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.83 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.92 [+0.09] TEST: IPv6 flags on down device [ OK ] # 11.01 [+0.09] TEST: IPv4 flags on up device [ OK ] # 11.10 [+0.09] TEST: IPv6 flags on up device [ OK ] # 11.19 [+0.09] Both devices down # 11.27 [+0.08] TEST: IPv4 fibmatch [ OK ] # 11.35 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.92 [+0.56] # 11.92 [+0.00] Local carrier tests - single path # 13.16 [+1.24] Start point # 13.23 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.32 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.41 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 13.51 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 14.64 [+1.13] Carrier off on nexthop # 14.75 [+0.11] TEST: IPv4 fibmatch [ OK ] # 14.83 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.92 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 15.03 [+0.11] TEST: IPv6 - linkdown flag set [ OK ] # 15.20 [+0.17] Route to local address with carrier down # 15.29 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.39 [+0.10] TEST: IPv6 fibmatch [ OK ] # 15.49 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 15.58 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 16.07 [+0.49] # 16.07 [+0.00] Single path route carrier test # 17.39 [+1.32] Start point # 17.49 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.57 [+0.08] TEST: IPv6 fibmatch [ OK ] # 17.68 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 17.77 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 18.92 [+1.15] Carrier down # 19.02 [+0.10] TEST: IPv4 fibmatch [ OK ] # 19.11 [+0.09] TEST: IPv6 fibmatch [ OK ] # 19.21 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 19.30 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 19.47 [+0.17] Second address added with carrier down # 19.56 [+0.08] TEST: IPv4 fibmatch [ OK ] # 19.65 [+0.09] TEST: IPv6 fibmatch [ OK ] # 19.75 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 19.82 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 24.14 [+4.32] # 24.14 [+0.00] IPv4 nexthop tests # 24.14 [+0.00] <<< write me >>> # 24.38 [+0.24] # 24.38 [+0.00] IPv6 nexthop tests # 24.48 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 24.58 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.68 [+0.10] TEST: Gateway is linklocal address [ OK ] # 24.77 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 24.87 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 24.96 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.07 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 25.16 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 25.27 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 25.38 [+0.11] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 25.49 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 25.58 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.67 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 25.77 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.83 [+1.07] # 26.83 [+0.00] FIB rule with suppress_prefixlength # 28.72 [+1.89] TEST: FIB rule suppress test [ OK ] # 30.45 [+1.73] # 30.45 [+0.00] Fib6 info length calculation in route notify test # 34.59 [+4.14] TEST: ipv6 route add notify [ OK ] # 36.48 [+1.89] # 36.48 [+0.00] Fib4 info length calculation in route notify test # 40.46 [+3.98] TEST: ipv4 route add notify [ OK ] # 45.01 [+4.55] # 45.01 [+0.00] IPv6 route add / append tests # 45.42 [+0.41] TEST: Attempt to add duplicate route - gw [ OK ] # 45.83 [+0.42] TEST: Attempt to add duplicate route - dev only [ OK ] # 46.25 [+0.42] TEST: Attempt to add duplicate route - reject route [ OK ] # 46.77 [+0.52] TEST: Append nexthop to existing route - gw [ OK ] # 47.19 [+0.42] TEST: Add multipath route [ OK ] # 47.55 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 48.02 [+0.47] TEST: Route add with different metrics [ OK ] # 48.22 [+0.20] TEST: Route delete with metric [ OK ] # 48.23 [+0.00] # 48.23 [+0.00] IPv6 route replace tests # 48.69 [+0.46] TEST: Single path with single path [ OK ] # 49.19 [+0.50] TEST: Single path with multipath [ OK ] # 49.66 [+0.47] TEST: Single path with single path via multipath attribute [ OK ] # 50.17 [+0.51] TEST: Invalid nexthop [ OK ] # 50.53 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 51.01 [+0.48] TEST: Multipath with multipath [ OK ] # 51.48 [+0.46] TEST: Multipath with single path [ OK ] # 51.96 [+0.48] TEST: Multipath with single path via multipath attribute [ OK ] # 52.44 [+0.48] TEST: Multipath with dev-only [ OK ] # 52.95 [+0.52] TEST: Multipath - invalid first nexthop [ OK ] # 53.45 [+0.50] TEST: Multipath - invalid second nexthop [ OK ] # 53.83 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 53.83 [+0.00] # 53.83 [+0.00] IPv6 route with dsfield tests # 54.04 [+0.22] TEST: Reject route with dsfield [ OK ] # 60.66 [+6.62] # 60.66 [+0.00] IPv4 route add / append tests # 61.03 [+0.37] TEST: Attempt to add duplicate route - gw [ OK ] # 61.40 [+0.37] TEST: Attempt to add duplicate route - dev only [ OK ] # 61.79 [+0.39] TEST: Attempt to add duplicate route - reject route [ OK ] # 62.29 [+0.50] TEST: Add new nexthop for existing prefix [ OK ] # 62.80 [+0.51] TEST: Append nexthop to existing route - gw [ OK ] # 63.30 [+0.49] TEST: Append nexthop to existing route - dev only [ OK ] # 63.79 [+0.49] TEST: Append nexthop to existing route - reject route [ OK ] # 64.18 [+0.39] TEST: Append nexthop to existing reject route - gw [ OK ] # 64.60 [+0.42] TEST: Append nexthop to existing reject route - dev only [ OK ] # 64.99 [+0.39] TEST: add multipath route [ OK ] # 65.35 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 65.82 [+0.47] TEST: Route add with different metrics [ OK ] # 66.02 [+0.20] TEST: Route delete with metric [ OK ] # 66.03 [+0.00] # 66.03 [+0.00] IPv4 route replace tests # 66.52 [+0.49] TEST: Single path with single path [ OK ] # 67.00 [+0.48] TEST: Single path with multipath [ OK ] # 67.48 [+0.48] TEST: Single path with reject route [ OK ] # 67.95 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 68.42 [+0.47] TEST: Invalid nexthop [ OK ] # 68.78 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 69.25 [+0.47] TEST: Multipath with multipath [ OK ] # 69.70 [+0.46] TEST: Multipath with single path [ OK ] # 70.18 [+0.48] TEST: Multipath with single path via multipath attribute [ OK ] # 70.65 [+0.47] TEST: Multipath with reject route [ OK ] # 71.11 [+0.46] TEST: Multipath - invalid first nexthop [ OK ] # 71.58 [+0.47] TEST: Multipath - invalid second nexthop [ OK ] # 71.95 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 73.50 [+1.55] TEST: Cached route removed from VRF port device [ OK ] # 73.50 [+0.00] # 73.50 [+0.00] IPv4 route with dsfield tests # 73.70 [+0.20] TEST: Reject route with dsfield 0x01 [ OK ] # 73.79 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 73.90 [+0.10] TEST: Reject route with dsfield 0x03 [ OK ] # 74.18 [+0.29] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 74.28 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 74.38 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 74.49 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 74.57 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 74.66 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 74.77 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 74.87 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 74.96 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 75.06 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 75.16 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 75.24 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 77.01 [+1.77] # 77.01 [+0.00] IPv6 prefix route tests # 78.95 [+1.94] TEST: Default metric [ OK ] # 79.25 [+0.30] TEST: User specified metric on first device [ OK ] # 79.56 [+0.31] TEST: User specified metric on second device [ OK ] # 79.76 [+0.20] TEST: Delete of address on first device [ OK ] # 79.94 [+0.18] TEST: Modify metric of address [ OK ] # 80.26 [+0.32] TEST: Prefix route removed on link down [ OK ] # 80.44 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 80.72 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 80.82 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 81.01 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 81.12 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 82.12 [+1.00] # 82.12 [+0.00] IPv4 prefix route tests # 83.97 [+1.85] TEST: Default metric [ OK ] # 84.27 [+0.30] TEST: User specified metric on first device [ OK ] # 84.58 [+0.30] TEST: User specified metric on second device [ OK ] # 84.78 [+0.21] TEST: Delete of address on first device [ OK ] # 84.99 [+0.20] TEST: Modify metric of address [ OK ] # 85.16 [+0.17] TEST: Prefix route removed on link down [ OK ] # 85.34 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 85.73 [+0.39] TEST: Modify metric of .0/24 address [ OK ] # 86.01 [+0.28] TEST: Set metric of address with peer route [ OK ] # 86.20 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 87.17 [+0.97] # 87.17 [+0.00] IPv6 routes with metrics # 91.77 [+4.59] TEST: Single path route with mtu metric [ OK ] # 92.06 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 92.35 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 92.53 [+0.19] TEST: MTU of second leg [ OK ] # 92.75 [+0.21] TEST: Multipath route with mtu metric [ OK ] # 92.97 [+0.23] TEST: Using route with mtu metric [ OK ] # 93.14 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 94.92 [+1.77] # 94.92 [+0.00] IPv4 route add / append tests # 99.76 [+4.84] TEST: Single path route with mtu metric [ OK ] # 99.95 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 100.18 [+0.23] TEST: Using route with mtu metric [ OK ] # 100.34 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 102.13 [+1.78] # 102.13 [+0.00] IPv4 route with IPv6 gateway tests # 108.74 [+6.62] TEST: Single path route with IPv6 gateway [ OK ] # 109.01 [+0.26] TEST: Single path route with IPv6 gateway - ping [ OK ] # 109.11 [+0.10] TEST: Single path route delete [ OK ] # 109.29 [+0.18] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 109.48 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.57 [+0.09] TEST: Multipath route delete exact match [ OK ] # 109.65 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 109.85 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.95 [+0.10] TEST: Multipath route delete exact match [ OK ] # 111.68 [+1.73] # 111.68 [+0.00] IPv4 rp_filter tests # 117.72 [+6.04] TEST: rp_filter passes local packets [ OK ] # 117.87 [+0.15] TEST: rp_filter passes loopback packets [ OK ] # 118.63 [+0.76] # 118.63 [+0.00] IPv4 delete address route tests # 121.62 [+2.99] Regular FIB info # 121.81 [+0.20] TEST: Route removed from VRF when source address deleted [ OK ] # 121.91 [+0.10] TEST: Route in default VRF not removed [ OK ] # 122.30 [+0.39] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.40 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 122.41 [+0.00] Identical FIB info with different table ID # 122.61 [+0.21] TEST: Route removed from VRF when source address deleted [ OK ] # 122.70 [+0.09] TEST: Route in default VRF not removed [ OK ] # 123.09 [+0.38] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.18 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 123.19 [+0.00] Table ID 0 # 123.34 [+0.16] TEST: Route removed in default VRF when source address deleted [ OK ] # 124.40 [+1.05] # 124.40 [+0.00] IPv6 delete address route tests # 129.40 [+5.00] Single device using src address # 129.56 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 129.56 [+0.00] Two devices with the same source address # 129.73 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 129.88 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 129.88 [+0.00] VRF with single device using src address # 130.06 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.06 [+0.00] VRF with two devices using src address # 130.24 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 130.42 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 130.43 [+0.00] src address and nexthop dev in same VRF # 130.61 [+0.18] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 130.71 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 131.09 [+0.39] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 131.18 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 131.18 [+0.00] src address and nexthop device in different VRF # 131.39 [+0.21] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 131.50 [+0.11] TEST: Prefsrc not removed in default VRF [ OK ] # 131.77 [+0.27] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 131.87 [+0.10] TEST: Prefsrc removed in default VRF [ OK ] # 131.87 [+0.00] Table ID 0 # 132.08 [+0.21] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 132.08 [+0.00] Link local source route # 132.30 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 132.52 [+0.22] TEST: Prefsrc removed when delete ll addr [ OK ] # 132.60 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 132.90 [+0.29] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 134.63 [+1.73] # 134.63 [+0.00] IPv4 mangling tests # 144.03 [+9.39] TEST: Connection with correct parameters [ OK ] # 144.29 [+0.26] TEST: Connection with incorrect parameters [ OK ] # 145.49 [+1.21] TEST: Connection with correct parameters - mangling [ OK ] # 146.50 [+1.01] TEST: Connection with correct parameters - no mangling [ OK ] # 146.61 [+0.11] TEST: Connection check - server side [ OK ] # 149.42 [+2.81] # 149.42 [+0.00] IPv6 mangling tests # 159.52 [+10.10] TEST: Connection with correct parameters [ OK ] # 159.82 [+0.30] TEST: Connection with incorrect parameters [ OK ] # 160.88 [+1.06] TEST: Connection with correct parameters - mangling [ OK ] # 161.93 [+1.06] TEST: Connection with correct parameters - no mangling [ OK ] # 162.02 [+0.08] TEST: Connection check - server side [ OK ] # 164.92 [+2.90] # 164.92 [+0.00] IPv4 broadcast neighbour tests # 168.37 [+3.45] TEST: Resolved neighbour for broadcast address [ OK ] # 168.53 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 168.66 [+0.13] TEST: Unresolved neighbour for broadcast address [ OK ] # 168.80 [+0.14] TEST: Unresolved neighbour for network broadcast address [ OK ] # 171.49 [+2.70] # 171.49 [+0.00] Fib6 garbage collection test # 185.26 [+13.77] TEST: ipv6 route garbage collection [ OK ] # 198.94 [+13.68] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 212.40 [+13.46] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 226.00 [+13.60] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 240.35 [+14.35] TEST: ipv6 route garbage collection (RA message) [ OK ] # 241.21 [+0.86] # 241.21 [+0.00] IPv4 multipath list receive tests # 257.58 [+16.37] TEST: Multipath route hit ratio (1.00) [ OK ] # 259.29 [+1.71] # 259.29 [+0.00] IPv6 multipath list receive tests # 274.97 [+15.68] TEST: Multipath route hit ratio (1.00) [ OK ] # 276.73 [+1.76] # 276.73 [+0.00] Tests passed: 229 # 276.73 [+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__->