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.41 [+0.41] # 0.41 [+0.00] Single path route test # 1.30 [+0.89] Start point # 1.38 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.47 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.59 [+0.12] Nexthop device deleted # 1.68 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.77 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.32 [+0.55] # 2.32 [+0.00] Multipath route test # 3.91 [+1.60] Start point # 4.00 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.09 [+0.09] TEST: IPv6 fibmatch [ OK ] # 4.21 [+0.12] One nexthop device deleted # 4.30 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.38 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.52 [+0.14] Second nexthop device deleted # 4.59 [+0.07] TEST: IPv6 - no route [ OK ] # 5.12 [+0.53] # 5.12 [+0.00] Single path, admin down # 6.65 [+1.53] Start point # 6.75 [+0.10] TEST: IPv4 fibmatch [ OK ] # 6.89 [+0.14] TEST: IPv6 fibmatch [ OK ] # 7.01 [+0.12] Route deleted on down # 7.14 [+0.13] TEST: IPv4 fibmatch [ OK ] # 7.24 [+0.10] TEST: IPv6 fibmatch [ OK ] # 7.85 [+0.61] # 7.85 [+0.00] Admin down multipath # 10.26 [+2.41] Verify start point # 10.39 [+0.14] TEST: IPv4 fibmatch [ OK ] # 10.51 [+0.12] TEST: IPv6 fibmatch [ OK ] # 10.65 [+0.14] One device down, one up # 10.77 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 10.88 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 11.01 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 11.15 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 11.30 [+0.15] TEST: IPv4 flags on down device [ OK ] # 11.45 [+0.16] TEST: IPv6 flags on down device [ OK ] # 11.56 [+0.10] TEST: IPv4 flags on up device [ OK ] # 11.68 [+0.12] TEST: IPv6 flags on up device [ OK ] # 11.93 [+0.25] Other device down and up # 12.09 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 12.22 [+0.13] TEST: IPv6 fibmatch on down device [ OK ] # 12.37 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 12.50 [+0.13] TEST: IPv6 fibmatch on up device [ OK ] # 12.65 [+0.15] TEST: IPv4 flags on down device [ OK ] # 12.81 [+0.15] TEST: IPv6 flags on down device [ OK ] # 12.93 [+0.12] TEST: IPv4 flags on up device [ OK ] # 13.09 [+0.17] TEST: IPv6 flags on up device [ OK ] # 13.20 [+0.11] Both devices down # 13.33 [+0.13] TEST: IPv4 fibmatch [ OK ] # 13.47 [+0.14] TEST: IPv6 fibmatch [ OK ] # 14.29 [+0.82] # 14.29 [+0.00] Local carrier tests - single path # 16.15 [+1.86] Start point # 16.27 [+0.12] TEST: IPv4 fibmatch [ OK ] # 16.36 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.46 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 16.56 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 17.71 [+1.14] Carrier off on nexthop # 17.80 [+0.09] TEST: IPv4 fibmatch [ OK ] # 17.89 [+0.09] TEST: IPv6 fibmatch [ OK ] # 17.99 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 18.09 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 18.26 [+0.17] Route to local address with carrier down # 18.34 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.43 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.51 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.61 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 19.06 [+0.44] # 19.06 [+0.00] Single path route carrier test # 20.36 [+1.30] Start point # 20.45 [+0.09] TEST: IPv4 fibmatch [ OK ] # 20.53 [+0.08] TEST: IPv6 fibmatch [ OK ] # 20.62 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 20.71 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 21.85 [+1.14] Carrier down # 21.94 [+0.09] TEST: IPv4 fibmatch [ OK ] # 22.02 [+0.08] TEST: IPv6 fibmatch [ OK ] # 22.11 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 22.20 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 22.36 [+0.17] Second address added with carrier down # 22.44 [+0.08] TEST: IPv4 fibmatch [ OK ] # 22.53 [+0.09] TEST: IPv6 fibmatch [ OK ] # 22.62 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 22.71 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 26.97 [+4.25] # 26.97 [+0.00] IPv4 nexthop tests # 26.97 [+0.00] <<< write me >>> # 27.21 [+0.25] # 27.21 [+0.00] IPv6 nexthop tests # 27.30 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 27.40 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 27.50 [+0.10] TEST: Gateway is linklocal address [ OK ] # 27.58 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 27.69 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 27.78 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 27.88 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 27.97 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 28.09 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 28.18 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 28.28 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 28.37 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 28.46 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 28.56 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 29.52 [+0.97] # 29.52 [+0.00] FIB rule with suppress_prefixlength # 31.32 [+1.80] TEST: FIB rule suppress test [ OK ] # 32.84 [+1.52] # 32.84 [+0.00] Fib6 info length calculation in route notify test # 36.87 [+4.03] TEST: ipv6 route add notify [ OK ] # 38.46 [+1.59] # 38.46 [+0.00] Fib4 info length calculation in route notify test # 42.40 [+3.94] TEST: ipv4 route add notify [ OK ] # 46.76 [+4.36] # 46.76 [+0.00] IPv6 route add / append tests # 47.11 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 47.48 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 47.88 [+0.41] TEST: Attempt to add duplicate route - reject route [ OK ] # 48.36 [+0.48] TEST: Append nexthop to existing route - gw [ OK ] # 48.73 [+0.37] TEST: Add multipath route [ OK ] # 49.10 [+0.37] TEST: Attempt to add duplicate multipath route [ OK ] # 49.54 [+0.44] TEST: Route add with different metrics [ OK ] # 49.75 [+0.21] TEST: Route delete with metric [ OK ] # 49.75 [+0.00] # 49.75 [+0.00] IPv6 route replace tests # 50.19 [+0.44] TEST: Single path with single path [ OK ] # 50.66 [+0.47] TEST: Single path with multipath [ OK ] # 51.17 [+0.50] TEST: Single path with single path via multipath attribute [ OK ] # 51.68 [+0.51] TEST: Invalid nexthop [ OK ] # 52.07 [+0.39] TEST: Single path - replace of non-existent route [ OK ] # 52.53 [+0.45] TEST: Multipath with multipath [ OK ] # 53.00 [+0.48] TEST: Multipath with single path [ OK ] # 53.46 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 53.93 [+0.47] TEST: Multipath with dev-only [ OK ] # 54.43 [+0.50] TEST: Multipath - invalid first nexthop [ OK ] # 54.90 [+0.47] TEST: Multipath - invalid second nexthop [ OK ] # 55.26 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 55.26 [+0.00] # 55.26 [+0.00] IPv6 route with dsfield tests # 55.45 [+0.19] TEST: Reject route with dsfield [ OK ] # 61.56 [+6.11] # 61.56 [+0.00] IPv4 route add / append tests # 61.93 [+0.38] TEST: Attempt to add duplicate route - gw [ OK ] # 62.31 [+0.38] TEST: Attempt to add duplicate route - dev only [ OK ] # 62.71 [+0.39] TEST: Attempt to add duplicate route - reject route [ OK ] # 63.18 [+0.47] TEST: Add new nexthop for existing prefix [ OK ] # 63.65 [+0.47] TEST: Append nexthop to existing route - gw [ OK ] # 64.13 [+0.48] TEST: Append nexthop to existing route - dev only [ OK ] # 64.59 [+0.46] TEST: Append nexthop to existing route - reject route [ OK ] # 64.98 [+0.39] TEST: Append nexthop to existing reject route - gw [ OK ] # 65.37 [+0.39] TEST: Append nexthop to existing reject route - dev only [ OK ] # 65.75 [+0.38] TEST: add multipath route [ OK ] # 66.12 [+0.37] TEST: Attempt to add duplicate multipath route [ OK ] # 66.58 [+0.46] TEST: Route add with different metrics [ OK ] # 66.77 [+0.19] TEST: Route delete with metric [ OK ] # 66.77 [+0.00] # 66.77 [+0.00] IPv4 route replace tests # 67.25 [+0.48] TEST: Single path with single path [ OK ] # 67.73 [+0.48] TEST: Single path with multipath [ OK ] # 68.21 [+0.48] TEST: Single path with reject route [ OK ] # 68.66 [+0.45] TEST: Single path with single path via multipath attribute [ OK ] # 69.11 [+0.45] TEST: Invalid nexthop [ OK ] # 69.49 [+0.37] TEST: Single path - replace of non-existent route [ OK ] # 69.96 [+0.47] TEST: Multipath with multipath [ OK ] # 70.43 [+0.47] TEST: Multipath with single path [ OK ] # 70.89 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 71.37 [+0.48] TEST: Multipath with reject route [ OK ] # 71.84 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 72.33 [+0.48] TEST: Multipath - invalid second nexthop [ OK ] # 72.69 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 74.21 [+1.52] TEST: Cached route removed from VRF port device [ OK ] # 74.21 [+0.00] # 74.21 [+0.00] IPv4 route with dsfield tests # 74.40 [+0.19] TEST: Reject route with dsfield 0x01 [ OK ] # 74.51 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 74.60 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 74.89 [+0.29] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 74.99 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 75.07 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 75.17 [+0.10] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 75.25 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 75.35 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 75.44 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 75.53 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 75.62 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 75.73 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 75.82 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 75.96 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 77.87 [+1.91] # 77.87 [+0.00] IPv6 prefix route tests # 79.84 [+1.97] TEST: Default metric [ OK ] # 80.13 [+0.29] TEST: User specified metric on first device [ OK ] # 80.44 [+0.31] TEST: User specified metric on second device [ OK ] # 80.63 [+0.19] TEST: Delete of address on first device [ OK ] # 80.81 [+0.18] TEST: Modify metric of address [ OK ] # 81.10 [+0.29] TEST: Prefix route removed on link down [ OK ] # 81.30 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 81.58 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 81.69 [+0.11] TEST: Set metric with peer route on peer side [ OK ] # 81.89 [+0.20] TEST: Modify metric and peer address on local side [ OK ] # 81.99 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 83.00 [+1.01] # 83.00 [+0.00] IPv4 prefix route tests # 84.79 [+1.79] TEST: Default metric [ OK ] # 85.06 [+0.27] TEST: User specified metric on first device [ OK ] # 85.34 [+0.28] TEST: User specified metric on second device [ OK ] # 85.53 [+0.19] TEST: Delete of address on first device [ OK ] # 85.70 [+0.17] TEST: Modify metric of address [ OK ] # 85.89 [+0.19] TEST: Prefix route removed on link down [ OK ] # 86.07 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 86.43 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 86.72 [+0.28] TEST: Set metric of address with peer route [ OK ] # 86.90 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 87.86 [+0.95] # 87.86 [+0.00] IPv6 routes with metrics # 92.53 [+4.67] TEST: Single path route with mtu metric [ OK ] # 92.82 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 93.10 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 93.29 [+0.18] TEST: MTU of second leg [ OK ] # 93.49 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 93.72 [+0.23] TEST: Using route with mtu metric [ OK ] # 93.89 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 95.55 [+1.67] # 95.55 [+0.00] IPv4 route add / append tests # 100.14 [+4.59] TEST: Single path route with mtu metric [ OK ] # 100.33 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 100.56 [+0.23] TEST: Using route with mtu metric [ OK ] # 100.74 [+0.18] TEST: Invalid metric (fails metric_convert) [ OK ] # 102.43 [+1.69] # 102.43 [+0.00] IPv4 route with IPv6 gateway tests # 108.97 [+6.55] TEST: Single path route with IPv6 gateway [ OK ] # 109.21 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 109.31 [+0.10] TEST: Single path route delete [ OK ] # 109.48 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 109.66 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.75 [+0.09] TEST: Multipath route delete exact match [ OK ] # 109.85 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 110.05 [+0.21] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 110.14 [+0.09] TEST: Multipath route delete exact match [ OK ] # 111.86 [+1.72] # 111.86 [+0.00] IPv4 rp_filter tests # 117.75 [+5.89] TEST: rp_filter passes local packets [ OK ] # 117.88 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 118.69 [+0.81] # 118.69 [+0.00] IPv4 delete address route tests # 121.45 [+2.76] Regular FIB info # 121.62 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 121.70 [+0.08] TEST: Route in default VRF not removed [ OK ] # 122.02 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.10 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 122.11 [+0.00] Identical FIB info with different table ID # 122.25 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 122.33 [+0.08] TEST: Route in default VRF not removed [ OK ] # 122.67 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.75 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 122.75 [+0.00] Table ID 0 # 122.93 [+0.18] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.92 [+1.00] # 123.93 [+0.00] IPv6 delete address route tests # 128.63 [+4.70] Single device using src address # 128.80 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 128.81 [+0.00] Two devices with the same source address # 128.98 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 129.16 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 129.16 [+0.00] VRF with single device using src address # 129.31 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 129.32 [+0.00] VRF with two devices using src address # 129.47 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 129.64 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 129.64 [+0.00] src address and nexthop dev in same VRF # 129.81 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 129.89 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 130.23 [+0.34] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 130.31 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 130.31 [+0.00] src address and nexthop device in different VRF # 130.48 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 130.56 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 130.82 [+0.26] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 130.91 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 130.91 [+0.00] Table ID 0 # 131.08 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 131.08 [+0.00] Link local source route # 131.25 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 131.41 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 131.49 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 131.75 [+0.26] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 133.33 [+1.58] # 133.33 [+0.00] IPv4 mangling tests # 141.14 [+7.81] TEST: Connection with correct parameters [ OK ] # 141.36 [+0.22] TEST: Connection with incorrect parameters [ OK ] # 142.36 [+1.00] TEST: Connection with correct parameters - mangling [ OK ] # 143.21 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 143.29 [+0.07] TEST: Connection check - server side [ OK ] # 145.31 [+2.03] # 145.31 [+0.00] IPv6 mangling tests # 152.88 [+7.57] TEST: Connection with correct parameters [ OK ] # 153.08 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 153.93 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 154.80 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 154.87 [+0.07] TEST: Connection check - server side [ OK ] # 156.84 [+1.96] # 156.84 [+0.00] IPv4 broadcast neighbour tests # 159.06 [+2.22] TEST: Resolved neighbour for broadcast address [ OK ] # 159.15 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 159.24 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 159.33 [+0.10] TEST: Unresolved neighbour for network broadcast address [ OK ] # 161.18 [+1.85] # 161.18 [+0.00] Fib6 garbage collection test # 174.38 [+13.19] TEST: ipv6 route garbage collection [ OK ] # 187.87 [+13.49] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 201.39 [+13.51] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 215.02 [+13.64] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 229.34 [+14.31] TEST: ipv6 route garbage collection (RA message) [ OK ] # 230.12 [+0.78] # 230.12 [+0.00] IPv4 multipath list receive tests # 247.36 [+17.24] TEST: Multipath route hit ratio (1.00) [ OK ] # 249.17 [+1.81] # 249.17 [+0.00] IPv6 multipath list receive tests # 269.22 [+20.04] TEST: Multipath route hit ratio (1.00) [ OK ] # 271.66 [+2.44] # 271.66 [+0.00] Tests passed: 229 # 271.66 [+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__->