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.39 [+0.98] Start point # 1.49 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.58 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.71 [+0.13] Nexthop device deleted # 1.80 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.88 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.39 [+0.51] # 2.39 [+0.00] Multipath route test # 3.95 [+1.56] Start point # 4.03 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.12 [+0.10] TEST: IPv6 fibmatch [ OK ] # 4.27 [+0.15] One nexthop device deleted # 4.37 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.45 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.58 [+0.13] Second nexthop device deleted # 4.65 [+0.07] TEST: IPv6 - no route [ OK ] # 5.17 [+0.51] # 5.17 [+0.00] Single path, admin down # 6.27 [+1.10] Start point # 6.36 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.43 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.52 [+0.09] Route deleted on down # 6.59 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.68 [+0.09] TEST: IPv6 fibmatch [ OK ] # 7.11 [+0.43] # 7.11 [+0.00] Admin down multipath # 8.65 [+1.55] Verify start point # 8.73 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.82 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.90 [+0.09] One device down, one up # 8.99 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.05 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 9.14 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.22 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.31 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.39 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.48 [+0.09] TEST: IPv4 flags on up device [ OK ] # 9.56 [+0.08] TEST: IPv6 flags on up device [ OK ] # 9.75 [+0.19] Other device down and up # 9.83 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.92 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.01 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.09 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.18 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.26 [+0.08] TEST: IPv6 flags on down device [ OK ] # 10.36 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.46 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.54 [+0.08] Both devices down # 10.62 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.70 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.25 [+0.56] # 11.25 [+0.00] Local carrier tests - single path # 12.43 [+1.17] Start point # 12.51 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.58 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.66 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 12.75 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 13.88 [+1.12] Carrier off on nexthop # 13.96 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.04 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.11 [+0.07] TEST: IPv4 - linkdown flag set [ OK ] # 14.21 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 14.37 [+0.16] Route to local address with carrier down # 14.47 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.54 [+0.07] TEST: IPv6 fibmatch [ OK ] # 14.63 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 14.71 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 15.12 [+0.41] # 15.12 [+0.00] Single path route carrier test # 16.34 [+1.22] Start point # 16.41 [+0.07] TEST: IPv4 fibmatch [ OK ] # 16.50 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.58 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 16.67 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 17.79 [+1.13] Carrier down # 17.88 [+0.08] TEST: IPv4 fibmatch [ OK ] # 17.95 [+0.07] TEST: IPv6 fibmatch [ OK ] # 18.03 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 18.10 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 18.29 [+0.18] Second address added with carrier down # 18.37 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.44 [+0.07] TEST: IPv6 fibmatch [ OK ] # 18.52 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.61 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 22.77 [+4.16] # 22.77 [+0.00] IPv4 nexthop tests # 22.77 [+0.00] <<< write me >>> # 22.99 [+0.22] # 22.99 [+0.00] IPv6 nexthop tests # 23.09 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 23.20 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.29 [+0.10] TEST: Gateway is linklocal address [ OK ] # 23.38 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 23.48 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 23.60 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 23.70 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 23.80 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 23.92 [+0.12] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.03 [+0.11] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.13 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 24.22 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.31 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 24.40 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 25.51 [+1.10] # 25.51 [+0.00] FIB rule with suppress_prefixlength # 27.24 [+1.73] TEST: FIB rule suppress test [ OK ] # 28.89 [+1.65] # 28.89 [+0.00] Fib6 info length calculation in route notify test # 33.43 [+4.53] TEST: ipv6 route add notify [ OK ] # 35.54 [+2.11] # 35.54 [+0.00] Fib4 info length calculation in route notify test # 40.02 [+4.48] TEST: ipv4 route add notify [ OK ] # 46.52 [+6.50] # 46.52 [+0.00] IPv6 route add / append tests # 47.11 [+0.59] TEST: Attempt to add duplicate route - gw [ OK ] # 47.65 [+0.55] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.25 [+0.60] TEST: Attempt to add duplicate route - reject route [ OK ] # 48.95 [+0.70] TEST: Append nexthop to existing route - gw [ OK ] # 49.46 [+0.51] TEST: Add multipath route [ OK ] # 49.90 [+0.44] TEST: Attempt to add duplicate multipath route [ OK ] # 50.40 [+0.50] TEST: Route add with different metrics [ OK ] # 50.62 [+0.23] TEST: Route delete with metric [ OK ] # 50.63 [+0.01] # 50.63 [+0.00] IPv6 route replace tests # 51.18 [+0.56] TEST: Single path with single path [ OK ] # 51.73 [+0.54] TEST: Single path with multipath [ OK ] # 52.25 [+0.53] TEST: Single path with single path via multipath attribute [ OK ] # 52.77 [+0.51] TEST: Invalid nexthop [ OK ] # 53.20 [+0.43] TEST: Single path - replace of non-existent route [ OK ] # 53.80 [+0.61] TEST: Multipath with multipath [ OK ] # 54.31 [+0.50] TEST: Multipath with single path [ OK ] # 54.80 [+0.50] TEST: Multipath with single path via multipath attribute [ OK ] # 55.29 [+0.49] TEST: Multipath with dev-only [ OK ] # 55.82 [+0.53] TEST: Multipath - invalid first nexthop [ OK ] # 56.33 [+0.51] TEST: Multipath - invalid second nexthop [ OK ] # 56.70 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 56.70 [+0.00] # 56.70 [+0.00] IPv6 route with dsfield tests # 56.90 [+0.20] TEST: Reject route with dsfield [ OK ] # 63.27 [+6.37] # 63.27 [+0.00] IPv4 route add / append tests # 63.65 [+0.37] TEST: Attempt to add duplicate route - gw [ OK ] # 63.99 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 64.34 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 64.84 [+0.50] TEST: Add new nexthop for existing prefix [ OK ] # 65.29 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 65.75 [+0.47] TEST: Append nexthop to existing route - dev only [ OK ] # 66.24 [+0.49] TEST: Append nexthop to existing route - reject route [ OK ] # 66.66 [+0.42] TEST: Append nexthop to existing reject route - gw [ OK ] # 67.05 [+0.39] TEST: Append nexthop to existing reject route - dev only [ OK ] # 67.43 [+0.39] TEST: add multipath route [ OK ] # 67.80 [+0.37] TEST: Attempt to add duplicate multipath route [ OK ] # 68.28 [+0.48] TEST: Route add with different metrics [ OK ] # 68.49 [+0.21] TEST: Route delete with metric [ OK ] # 68.49 [+0.00] # 68.49 [+0.00] IPv4 route replace tests # 68.95 [+0.46] TEST: Single path with single path [ OK ] # 69.44 [+0.49] TEST: Single path with multipath [ OK ] # 69.92 [+0.48] TEST: Single path with reject route [ OK ] # 70.38 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 70.86 [+0.48] TEST: Invalid nexthop [ OK ] # 71.22 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 71.71 [+0.50] TEST: Multipath with multipath [ OK ] # 72.15 [+0.44] TEST: Multipath with single path [ OK ] # 72.61 [+0.45] TEST: Multipath with single path via multipath attribute [ OK ] # 73.08 [+0.47] TEST: Multipath with reject route [ OK ] # 73.52 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 73.97 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 74.31 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 75.85 [+1.54] TEST: Cached route removed from VRF port device [ OK ] # 75.86 [+0.00] # 75.86 [+0.00] IPv4 route with dsfield tests # 76.04 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 76.15 [+0.10] TEST: Reject route with dsfield 0x02 [ OK ] # 76.24 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 76.51 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 76.58 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 76.68 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 76.76 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 76.85 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 76.95 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 77.07 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 77.15 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 77.26 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 77.37 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 77.47 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 77.55 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 79.34 [+1.79] # 79.34 [+0.00] IPv6 prefix route tests # 81.25 [+1.90] TEST: Default metric [ OK ] # 81.58 [+0.33] TEST: User specified metric on first device [ OK ] # 81.87 [+0.29] TEST: User specified metric on second device [ OK ] # 82.07 [+0.21] TEST: Delete of address on first device [ OK ] # 82.27 [+0.20] TEST: Modify metric of address [ OK ] # 82.57 [+0.30] TEST: Prefix route removed on link down [ OK ] # 82.76 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 83.07 [+0.31] TEST: Set metric with peer route on local side [ OK ] # 83.17 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 83.35 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 83.47 [+0.12] TEST: Modify metric and peer address on peer side [ OK ] # 84.44 [+0.97] # 84.44 [+0.00] IPv4 prefix route tests # 86.25 [+1.80] TEST: Default metric [ OK ] # 86.50 [+0.25] TEST: User specified metric on first device [ OK ] # 86.79 [+0.29] TEST: User specified metric on second device [ OK ] # 86.96 [+0.17] TEST: Delete of address on first device [ OK ] # 87.13 [+0.17] TEST: Modify metric of address [ OK ] # 87.30 [+0.17] TEST: Prefix route removed on link down [ OK ] # 87.49 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 87.84 [+0.35] TEST: Modify metric of .0/24 address [ OK ] # 88.10 [+0.26] TEST: Set metric of address with peer route [ OK ] # 88.29 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 89.24 [+0.95] # 89.24 [+0.00] IPv6 routes with metrics # 93.67 [+4.43] TEST: Single path route with mtu metric [ OK ] # 93.96 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 94.25 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 94.42 [+0.17] TEST: MTU of second leg [ OK ] # 94.62 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 94.84 [+0.22] TEST: Using route with mtu metric [ OK ] # 95.00 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.60 [+1.60] # 96.60 [+0.00] IPv4 route add / append tests # 100.99 [+4.39] TEST: Single path route with mtu metric [ OK ] # 101.17 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 101.40 [+0.23] TEST: Using route with mtu metric [ OK ] # 101.55 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 103.25 [+1.70] # 103.26 [+0.00] IPv4 route with IPv6 gateway tests # 109.59 [+6.33] TEST: Single path route with IPv6 gateway [ OK ] # 109.82 [+0.22] TEST: Single path route with IPv6 gateway - ping [ OK ] # 109.90 [+0.09] TEST: Single path route delete [ OK ] # 110.07 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 110.27 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 110.36 [+0.09] TEST: Multipath route delete exact match [ OK ] # 110.45 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 110.65 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 110.74 [+0.09] TEST: Multipath route delete exact match [ OK ] # 112.44 [+1.70] # 112.44 [+0.00] IPv4 rp_filter tests # 118.18 [+5.74] TEST: rp_filter passes local packets [ OK ] # 118.32 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 119.00 [+0.68] # 119.00 [+0.00] IPv4 delete address route tests # 121.75 [+2.75] Regular FIB info # 121.91 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 122.01 [+0.10] TEST: Route in default VRF not removed [ OK ] # 122.33 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.41 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 122.41 [+0.00] Identical FIB info with different table ID # 122.58 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 122.65 [+0.07] TEST: Route in default VRF not removed [ OK ] # 122.97 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.05 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 123.05 [+0.00] Table ID 0 # 123.23 [+0.18] TEST: Route removed in default VRF when source address deleted [ OK ] # 124.22 [+0.99] # 124.22 [+0.00] IPv6 delete address route tests # 128.87 [+4.64] Single device using src address # 129.05 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 129.05 [+0.00] Two devices with the same source address # 129.21 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 129.36 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 129.36 [+0.00] VRF with single device using src address # 129.51 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 129.52 [+0.00] VRF with two devices using src address # 129.67 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 129.83 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 129.84 [+0.00] src address and nexthop dev in same VRF # 130.01 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 130.09 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 130.42 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 130.51 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 130.51 [+0.00] src address and nexthop device in different VRF # 130.70 [+0.18] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 130.78 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 131.02 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 131.12 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 131.12 [+0.00] Table ID 0 # 131.27 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 131.27 [+0.00] Link local source route # 131.43 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 131.60 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 131.69 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 131.91 [+0.22] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 133.39 [+1.48] # 133.39 [+0.00] IPv4 mangling tests # 140.83 [+7.44] TEST: Connection with correct parameters [ OK ] # 141.01 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 141.90 [+0.90] TEST: Connection with correct parameters - mangling [ OK ] # 142.73 [+0.83] TEST: Connection with correct parameters - no mangling [ OK ] # 142.79 [+0.06] TEST: Connection check - server side [ OK ] # 144.72 [+1.93] # 144.72 [+0.00] IPv6 mangling tests # 152.21 [+7.49] TEST: Connection with correct parameters [ OK ] # 152.40 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 153.27 [+0.87] TEST: Connection with correct parameters - mangling [ OK ] # 154.16 [+0.89] TEST: Connection with correct parameters - no mangling [ OK ] # 154.22 [+0.06] TEST: Connection check - server side [ OK ] # 156.20 [+1.98] # 156.20 [+0.00] IPv4 broadcast neighbour tests # 158.40 [+2.19] TEST: Resolved neighbour for broadcast address [ OK ] # 158.49 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 158.58 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 158.68 [+0.10] TEST: Unresolved neighbour for network broadcast address [ OK ] # 160.58 [+1.90] # 160.58 [+0.00] Fib6 garbage collection test # 173.78 [+13.20] TEST: ipv6 route garbage collection [ OK ] # 187.22 [+13.45] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 200.77 [+13.54] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 214.36 [+13.60] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 228.68 [+14.32] TEST: ipv6 route garbage collection (RA message) [ OK ] # 229.45 [+0.77] # 229.45 [+0.00] IPv4 multipath list receive tests # 245.52 [+16.07] TEST: Multipath route hit ratio (1.00) [ OK ] # 247.35 [+1.82] # 247.35 [+0.00] IPv6 multipath list receive tests # 263.21 [+15.87] TEST: Multipath route hit ratio (1.00) [ OK ] # 264.98 [+1.77] # 264.98 [+0.00] Tests passed: 229 # 264.98 [+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__->