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.58 [+0.00] Single path route test # 1.60 [+1.02] Start point # 1.70 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.80 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.97 [+0.17] Nexthop device deleted # 2.06 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 2.15 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.71 [+0.56] # 2.71 [+0.00] Multipath route test # 4.32 [+1.61] Start point # 4.39 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.48 [+0.09] TEST: IPv6 fibmatch [ OK ] # 4.60 [+0.12] One nexthop device deleted # 4.67 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.76 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.87 [+0.11] Second nexthop device deleted # 4.96 [+0.09] TEST: IPv6 - no route [ OK ] # 5.47 [+0.51] # 5.47 [+0.00] Single path, admin down # 6.58 [+1.11] Start point # 6.66 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.74 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.82 [+0.09] Route deleted on down # 6.91 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.98 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.40 [+0.42] # 7.40 [+0.00] Admin down multipath # 9.29 [+1.89] Verify start point # 9.39 [+0.10] TEST: IPv4 fibmatch [ OK ] # 9.49 [+0.10] TEST: IPv6 fibmatch [ OK ] # 9.59 [+0.09] One device down, one up # 9.68 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 9.78 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 9.88 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 9.98 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 10.10 [+0.13] TEST: IPv4 flags on down device [ OK ] # 10.23 [+0.13] TEST: IPv6 flags on down device [ OK ] # 10.35 [+0.12] TEST: IPv4 flags on up device [ OK ] # 10.49 [+0.14] TEST: IPv6 flags on up device [ OK ] # 10.71 [+0.21] Other device down and up # 10.79 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.90 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 11.04 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 11.15 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 11.25 [+0.10] TEST: IPv4 flags on down device [ OK ] # 11.40 [+0.14] TEST: IPv6 flags on down device [ OK ] # 11.52 [+0.12] TEST: IPv4 flags on up device [ OK ] # 11.64 [+0.12] TEST: IPv6 flags on up device [ OK ] # 11.74 [+0.10] Both devices down # 11.87 [+0.13] TEST: IPv4 fibmatch [ OK ] # 11.96 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.58 [+0.63] # 12.58 [+0.00] Local carrier tests - single path # 13.82 [+1.23] Start point # 13.91 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.99 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.08 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 14.16 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 15.30 [+1.13] Carrier off on nexthop # 15.44 [+0.14] TEST: IPv4 fibmatch [ OK ] # 15.53 [+0.09] TEST: IPv6 fibmatch [ OK ] # 15.69 [+0.16] TEST: IPv4 - linkdown flag set [ OK ] # 15.85 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 16.09 [+0.24] Route to local address with carrier down # 16.23 [+0.14] TEST: IPv4 fibmatch [ OK ] # 16.32 [+0.10] TEST: IPv6 fibmatch [ OK ] # 16.47 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 16.57 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 17.09 [+0.52] # 17.09 [+0.00] Single path route carrier test # 18.48 [+1.39] Start point # 18.56 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.65 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.73 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 18.83 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 19.96 [+1.13] Carrier down # 20.04 [+0.08] TEST: IPv4 fibmatch [ OK ] # 20.13 [+0.09] TEST: IPv6 fibmatch [ OK ] # 20.22 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 20.31 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 20.48 [+0.17] Second address added with carrier down # 20.57 [+0.09] TEST: IPv4 fibmatch [ OK ] # 20.65 [+0.08] TEST: IPv6 fibmatch [ OK ] # 20.73 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 20.82 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 25.76 [+4.94] # 25.76 [+0.00] IPv4 nexthop tests # 25.77 [+0.00] <<< write me >>> # 26.02 [+0.25] # 26.02 [+0.00] IPv6 nexthop tests # 26.12 [+0.11] TEST: Directly connected nexthop, unicast address [ OK ] # 26.22 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 26.32 [+0.10] TEST: Gateway is linklocal address [ OK ] # 26.41 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 26.53 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 26.63 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 26.73 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 26.83 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 26.93 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 27.02 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 27.14 [+0.13] TEST: Redirect to VRF lookup [ OK ] # 27.23 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 27.32 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 27.42 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 28.38 [+0.96] # 28.38 [+0.00] FIB rule with suppress_prefixlength # 30.09 [+1.71] TEST: FIB rule suppress test [ OK ] # 31.62 [+1.53] # 31.62 [+0.00] Fib6 info length calculation in route notify test # 35.77 [+4.15] TEST: ipv6 route add notify [ OK ] # 37.35 [+1.57] # 37.35 [+0.00] Fib4 info length calculation in route notify test # 41.28 [+3.93] TEST: ipv4 route add notify [ OK ] # 45.60 [+4.32] # 45.60 [+0.00] IPv6 route add / append tests # 45.99 [+0.39] TEST: Attempt to add duplicate route - gw [ OK ] # 46.42 [+0.43] TEST: Attempt to add duplicate route - dev only [ OK ] # 46.82 [+0.40] TEST: Attempt to add duplicate route - reject route [ OK ] # 47.36 [+0.54] TEST: Append nexthop to existing route - gw [ OK ] # 47.79 [+0.42] TEST: Add multipath route [ OK ] # 48.22 [+0.44] TEST: Attempt to add duplicate multipath route [ OK ] # 48.72 [+0.50] TEST: Route add with different metrics [ OK ] # 48.92 [+0.20] TEST: Route delete with metric [ OK ] # 48.92 [+0.00] # 48.92 [+0.00] IPv6 route replace tests # 49.37 [+0.45] TEST: Single path with single path [ OK ] # 49.83 [+0.46] TEST: Single path with multipath [ OK ] # 50.26 [+0.43] TEST: Single path with single path via multipath attribute [ OK ] # 50.70 [+0.43] TEST: Invalid nexthop [ OK ] # 51.04 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 51.50 [+0.46] TEST: Multipath with multipath [ OK ] # 51.93 [+0.44] TEST: Multipath with single path [ OK ] # 52.39 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 52.85 [+0.46] TEST: Multipath with dev-only [ OK ] # 53.37 [+0.52] TEST: Multipath - invalid first nexthop [ OK ] # 53.88 [+0.51] TEST: Multipath - invalid second nexthop [ OK ] # 54.25 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 54.26 [+0.00] # 54.26 [+0.00] IPv6 route with dsfield tests # 54.47 [+0.22] TEST: Reject route with dsfield [ OK ] # 60.48 [+6.01] # 60.48 [+0.00] IPv4 route add / append tests # 60.86 [+0.38] TEST: Attempt to add duplicate route - gw [ OK ] # 61.24 [+0.38] TEST: Attempt to add duplicate route - dev only [ OK ] # 61.61 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 62.11 [+0.50] TEST: Add new nexthop for existing prefix [ OK ] # 62.54 [+0.43] TEST: Append nexthop to existing route - gw [ OK ] # 62.97 [+0.43] TEST: Append nexthop to existing route - dev only [ OK ] # 63.47 [+0.50] TEST: Append nexthop to existing route - reject route [ OK ] # 63.83 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 64.21 [+0.38] TEST: Append nexthop to existing reject route - dev only [ OK ] # 64.59 [+0.39] TEST: add multipath route [ OK ] # 64.94 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 65.41 [+0.47] TEST: Route add with different metrics [ OK ] # 65.61 [+0.20] TEST: Route delete with metric [ OK ] # 65.61 [+0.00] # 65.61 [+0.00] IPv4 route replace tests # 66.07 [+0.46] TEST: Single path with single path [ OK ] # 66.56 [+0.48] TEST: Single path with multipath [ OK ] # 67.04 [+0.48] TEST: Single path with reject route [ OK ] # 67.53 [+0.49] TEST: Single path with single path via multipath attribute [ OK ] # 68.02 [+0.49] TEST: Invalid nexthop [ OK ] # 68.40 [+0.39] TEST: Single path - replace of non-existent route [ OK ] # 68.91 [+0.51] TEST: Multipath with multipath [ OK ] # 69.42 [+0.51] TEST: Multipath with single path [ OK ] # 69.94 [+0.51] TEST: Multipath with single path via multipath attribute [ OK ] # 70.45 [+0.51] TEST: Multipath with reject route [ OK ] # 70.97 [+0.52] TEST: Multipath - invalid first nexthop [ OK ] # 71.50 [+0.53] TEST: Multipath - invalid second nexthop [ OK ] # 71.93 [+0.43] TEST: Multipath - replace of non-existent route [ OK ] # 73.45 [+1.52] TEST: Cached route removed from VRF port device [ OK ] # 73.45 [+0.00] # 73.45 [+0.00] IPv4 route with dsfield tests # 73.65 [+0.20] TEST: Reject route with dsfield 0x01 [ OK ] # 73.74 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 73.84 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 74.12 [+0.29] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 74.22 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 74.31 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 74.39 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 74.46 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 74.54 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 74.61 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 74.69 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 74.76 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 74.85 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 74.93 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 75.02 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 76.83 [+1.81] # 76.83 [+0.00] IPv6 prefix route tests # 78.68 [+1.85] TEST: Default metric [ OK ] # 78.97 [+0.28] TEST: User specified metric on first device [ OK ] # 79.27 [+0.30] TEST: User specified metric on second device [ OK ] # 79.46 [+0.19] TEST: Delete of address on first device [ OK ] # 79.62 [+0.17] TEST: Modify metric of address [ OK ] # 79.95 [+0.33] TEST: Prefix route removed on link down [ OK ] # 80.14 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 80.42 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 80.51 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 80.70 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 80.79 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 81.76 [+0.97] # 81.76 [+0.00] IPv4 prefix route tests # 83.50 [+1.74] TEST: Default metric [ OK ] # 83.77 [+0.27] TEST: User specified metric on first device [ OK ] # 84.03 [+0.26] TEST: User specified metric on second device [ OK ] # 84.20 [+0.17] TEST: Delete of address on first device [ OK ] # 84.39 [+0.19] TEST: Modify metric of address [ OK ] # 84.56 [+0.18] TEST: Prefix route removed on link down [ OK ] # 84.75 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 85.18 [+0.43] TEST: Modify metric of .0/24 address [ OK ] # 85.46 [+0.28] TEST: Set metric of address with peer route [ OK ] # 85.65 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 86.68 [+1.03] # 86.68 [+0.00] IPv6 routes with metrics # 91.82 [+5.14] TEST: Single path route with mtu metric [ OK ] # 92.12 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 92.39 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 92.58 [+0.19] TEST: MTU of second leg [ OK ] # 92.78 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 93.03 [+0.25] TEST: Using route with mtu metric [ OK ] # 93.18 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 94.87 [+1.69] # 94.87 [+0.00] IPv4 route add / append tests # 99.59 [+4.72] TEST: Single path route with mtu metric [ OK ] # 99.79 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 100.05 [+0.25] TEST: Using route with mtu metric [ OK ] # 100.25 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 102.13 [+1.88] # 102.13 [+0.00] IPv4 route with IPv6 gateway tests # 108.46 [+6.33] TEST: Single path route with IPv6 gateway [ OK ] # 108.73 [+0.27] TEST: Single path route with IPv6 gateway - ping [ OK ] # 108.83 [+0.11] TEST: Single path route delete [ OK ] # 109.05 [+0.22] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 109.27 [+0.22] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.38 [+0.10] TEST: Multipath route delete exact match [ OK ] # 109.49 [+0.11] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 109.69 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.79 [+0.11] TEST: Multipath route delete exact match [ OK ] # 111.74 [+1.94] # 111.74 [+0.00] IPv4 rp_filter tests # 117.95 [+6.21] TEST: rp_filter passes local packets [ OK ] # 118.11 [+0.16] TEST: rp_filter passes loopback packets [ OK ] # 118.97 [+0.86] # 118.97 [+0.00] IPv4 delete address route tests # 121.81 [+2.84] Regular FIB info # 121.97 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 122.05 [+0.08] TEST: Route in default VRF not removed [ OK ] # 122.39 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.50 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 122.50 [+0.00] Identical FIB info with different table ID # 122.67 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 122.74 [+0.07] TEST: Route in default VRF not removed [ OK ] # 123.06 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.17 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 123.17 [+0.01] Table ID 0 # 123.34 [+0.17] TEST: Route removed in default VRF when source address deleted [ OK ] # 124.46 [+1.12] # 124.46 [+0.00] IPv6 delete address route tests # 129.87 [+5.41] Single device using src address # 130.04 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.05 [+0.00] Two devices with the same source address # 130.21 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 130.38 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 130.38 [+0.00] VRF with single device using src address # 130.54 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.54 [+0.00] VRF with two devices using src address # 130.72 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 130.90 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 130.90 [+0.00] src address and nexthop dev in same VRF # 131.08 [+0.18] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 131.15 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 131.48 [+0.33] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 131.56 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 131.56 [+0.00] src address and nexthop device in different VRF # 131.72 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 131.81 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 132.06 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 132.15 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 132.15 [+0.00] Table ID 0 # 132.30 [+0.14] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 132.30 [+0.00] Link local source route # 132.47 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 132.62 [+0.15] TEST: Prefsrc removed when delete ll addr [ OK ] # 132.70 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 132.95 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 134.39 [+1.44] # 134.39 [+0.00] IPv4 mangling tests # 142.31 [+7.92] TEST: Connection with correct parameters [ OK ] # 142.52 [+0.21] TEST: Connection with incorrect parameters [ OK ] # 143.57 [+1.05] TEST: Connection with correct parameters - mangling [ OK ] # 144.58 [+1.00] TEST: Connection with correct parameters - no mangling [ OK ] # 144.66 [+0.08] TEST: Connection check - server side [ OK ] # 147.02 [+2.36] # 147.02 [+0.00] IPv6 mangling tests # 155.07 [+8.06] TEST: Connection with correct parameters [ OK ] # 155.27 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 156.13 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 157.00 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 157.07 [+0.06] TEST: Connection check - server side [ OK ] # 159.38 [+2.32] # 159.38 [+0.00] IPv4 broadcast neighbour tests # 162.25 [+2.86] TEST: Resolved neighbour for broadcast address [ OK ] # 162.39 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 162.52 [+0.13] TEST: Unresolved neighbour for broadcast address [ OK ] # 162.65 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 165.29 [+2.64] # 165.29 [+0.00] Fib6 garbage collection test # 178.94 [+13.65] TEST: ipv6 route garbage collection [ OK ] # 192.31 [+13.37] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 205.76 [+13.45] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 219.37 [+13.61] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 233.79 [+14.42] TEST: ipv6 route garbage collection (RA message) [ OK ] # 234.54 [+0.76] # 234.55 [+0.00] IPv4 multipath list receive tests # 249.96 [+15.42] TEST: Multipath route hit ratio (1.00) [ OK ] # 251.94 [+1.98] # 251.94 [+0.00] IPv6 multipath list receive tests # 265.80 [+13.86] TEST: Multipath route hit ratio (1.00) [ OK ] # 268.20 [+2.41] # 268.21 [+0.00] Tests passed: 229 # 268.21 [+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__->