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.54 [+1.11] Start point # 1.63 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.72 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.84 [+0.11] Nexthop device deleted # 1.94 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.02 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.64 [+0.61] # 2.64 [+0.00] Multipath route test # 4.47 [+1.83] Start point # 4.57 [+0.10] TEST: IPv4 fibmatch [ OK ] # 4.67 [+0.10] TEST: IPv6 fibmatch [ OK ] # 4.81 [+0.15] One nexthop device deleted # 4.92 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.00 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 5.16 [+0.15] Second nexthop device deleted # 5.25 [+0.09] TEST: IPv6 - no route [ OK ] # 5.92 [+0.68] # 5.93 [+0.00] Single path, admin down # 7.28 [+1.36] Start point # 7.39 [+0.10] TEST: IPv4 fibmatch [ OK ] # 7.49 [+0.10] TEST: IPv6 fibmatch [ OK ] # 7.60 [+0.11] Route deleted on down # 7.69 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.80 [+0.11] TEST: IPv6 fibmatch [ OK ] # 8.35 [+0.54] # 8.35 [+0.00] Admin down multipath # 10.55 [+2.21] Verify start point # 10.68 [+0.13] TEST: IPv4 fibmatch [ OK ] # 10.82 [+0.14] TEST: IPv6 fibmatch [ OK ] # 10.95 [+0.13] One device down, one up # 11.11 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 11.22 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 11.36 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 11.47 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 11.60 [+0.13] TEST: IPv4 flags on down device [ OK ] # 11.72 [+0.11] TEST: IPv6 flags on down device [ OK ] # 11.85 [+0.13] TEST: IPv4 flags on up device [ OK ] # 11.99 [+0.14] TEST: IPv6 flags on up device [ OK ] # 12.23 [+0.25] Other device down and up # 12.34 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 12.46 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 12.57 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 12.70 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 12.82 [+0.12] TEST: IPv4 flags on down device [ OK ] # 12.96 [+0.14] TEST: IPv6 flags on down device [ OK ] # 13.09 [+0.14] TEST: IPv4 flags on up device [ OK ] # 13.25 [+0.15] TEST: IPv6 flags on up device [ OK ] # 13.37 [+0.12] Both devices down # 13.48 [+0.11] TEST: IPv4 fibmatch [ OK ] # 13.61 [+0.13] TEST: IPv6 fibmatch [ OK ] # 14.31 [+0.70] # 14.32 [+0.00] Local carrier tests - single path # 15.93 [+1.61] Start point # 16.07 [+0.15] TEST: IPv4 fibmatch [ OK ] # 16.17 [+0.10] TEST: IPv6 fibmatch [ OK ] # 16.32 [+0.15] TEST: IPv4 - no linkdown flag [ OK ] # 16.43 [+0.11] TEST: IPv6 - no linkdown flag [ OK ] # 17.62 [+1.19] Carrier off on nexthop # 17.77 [+0.15] TEST: IPv4 fibmatch [ OK ] # 17.93 [+0.16] TEST: IPv6 fibmatch [ OK ] # 18.07 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 18.19 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 18.43 [+0.24] Route to local address with carrier down # 18.58 [+0.14] TEST: IPv4 fibmatch [ OK ] # 18.71 [+0.13] TEST: IPv6 fibmatch [ OK ] # 18.83 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 18.94 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 19.52 [+0.59] # 19.53 [+0.00] Single path route carrier test # 21.33 [+1.81] Start point # 21.43 [+0.10] TEST: IPv4 fibmatch [ OK ] # 21.57 [+0.14] TEST: IPv6 fibmatch [ OK ] # 21.68 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 21.79 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 22.96 [+1.17] Carrier down # 23.09 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.20 [+0.12] TEST: IPv6 fibmatch [ OK ] # 23.30 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 23.41 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 23.60 [+0.19] Second address added with carrier down # 23.70 [+0.10] TEST: IPv4 fibmatch [ OK ] # 23.79 [+0.09] TEST: IPv6 fibmatch [ OK ] # 23.89 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 23.97 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 28.59 [+4.62] # 28.59 [+0.00] IPv4 nexthop tests # 28.59 [+0.00] <<< write me >>> # 28.84 [+0.26] # 28.85 [+0.00] IPv6 nexthop tests # 28.95 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 29.05 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 29.16 [+0.11] TEST: Gateway is linklocal address [ OK ] # 29.26 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 29.38 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 29.48 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 29.58 [+0.11] TEST: Gateway can not be a local linklocal address [ OK ] # 29.69 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 29.80 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 29.90 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 30.00 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 30.12 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 30.22 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 30.32 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 31.34 [+1.03] # 31.34 [+0.00] FIB rule with suppress_prefixlength # 33.27 [+1.93] TEST: FIB rule suppress test [ OK ] # 34.87 [+1.60] # 34.87 [+0.00] Fib6 info length calculation in route notify test # 38.85 [+3.98] TEST: ipv6 route add notify [ OK ] # 40.46 [+1.60] # 40.46 [+0.00] Fib4 info length calculation in route notify test # 44.38 [+3.93] TEST: ipv4 route add notify [ OK ] # 48.64 [+4.26] # 48.64 [+0.00] IPv6 route add / append tests # 49.00 [+0.37] TEST: Attempt to add duplicate route - gw [ OK ] # 49.35 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 49.72 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 50.18 [+0.47] TEST: Append nexthop to existing route - gw [ OK ] # 50.57 [+0.38] TEST: Add multipath route [ OK ] # 50.93 [+0.37] TEST: Attempt to add duplicate multipath route [ OK ] # 51.35 [+0.42] TEST: Route add with different metrics [ OK ] # 51.57 [+0.22] TEST: Route delete with metric [ OK ] # 51.58 [+0.00] # 51.58 [+0.00] IPv6 route replace tests # 52.01 [+0.44] TEST: Single path with single path [ OK ] # 52.47 [+0.45] TEST: Single path with multipath [ OK ] # 52.89 [+0.43] TEST: Single path with single path via multipath attribute [ OK ] # 53.33 [+0.44] TEST: Invalid nexthop [ OK ] # 53.69 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 54.16 [+0.47] TEST: Multipath with multipath [ OK ] # 54.60 [+0.44] TEST: Multipath with single path [ OK ] # 55.05 [+0.45] TEST: Multipath with single path via multipath attribute [ OK ] # 55.47 [+0.42] TEST: Multipath with dev-only [ OK ] # 55.93 [+0.46] TEST: Multipath - invalid first nexthop [ OK ] # 56.36 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 56.71 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 56.71 [+0.00] # 56.71 [+0.00] IPv6 route with dsfield tests # 56.89 [+0.18] TEST: Reject route with dsfield [ OK ] # 62.88 [+5.99] # 62.88 [+0.00] IPv4 route add / append tests # 63.25 [+0.37] TEST: Attempt to add duplicate route - gw [ OK ] # 63.63 [+0.38] TEST: Attempt to add duplicate route - dev only [ OK ] # 63.99 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 64.46 [+0.47] TEST: Add new nexthop for existing prefix [ OK ] # 64.92 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 65.39 [+0.48] TEST: Append nexthop to existing route - dev only [ OK ] # 65.87 [+0.47] TEST: Append nexthop to existing route - reject route [ OK ] # 66.23 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 66.61 [+0.38] TEST: Append nexthop to existing reject route - dev only [ OK ] # 66.97 [+0.36] TEST: add multipath route [ OK ] # 67.37 [+0.40] TEST: Attempt to add duplicate multipath route [ OK ] # 67.85 [+0.49] TEST: Route add with different metrics [ OK ] # 68.05 [+0.19] TEST: Route delete with metric [ OK ] # 68.05 [+0.00] # 68.05 [+0.00] IPv4 route replace tests # 68.51 [+0.47] TEST: Single path with single path [ OK ] # 69.01 [+0.50] TEST: Single path with multipath [ OK ] # 69.50 [+0.48] TEST: Single path with reject route [ OK ] # 69.93 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 70.37 [+0.44] TEST: Invalid nexthop [ OK ] # 70.72 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 71.16 [+0.44] TEST: Multipath with multipath [ OK ] # 71.59 [+0.43] TEST: Multipath with single path [ OK ] # 72.02 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 72.45 [+0.43] TEST: Multipath with reject route [ OK ] # 72.88 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 73.32 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 73.67 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 75.05 [+1.38] TEST: Cached route removed from VRF port device [ OK ] # 75.05 [+0.00] # 75.05 [+0.00] IPv4 route with dsfield tests # 75.23 [+0.17] TEST: Reject route with dsfield 0x01 [ OK ] # 75.31 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 75.40 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 75.67 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 75.77 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 75.86 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 75.93 [+0.07] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 76.02 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 76.12 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 76.22 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 76.30 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 76.37 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 76.46 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 76.56 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 76.63 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 78.36 [+1.72] # 78.36 [+0.00] IPv6 prefix route tests # 80.20 [+1.85] TEST: Default metric [ OK ] # 80.48 [+0.28] TEST: User specified metric on first device [ OK ] # 80.78 [+0.29] TEST: User specified metric on second device [ OK ] # 80.97 [+0.19] TEST: Delete of address on first device [ OK ] # 81.17 [+0.20] TEST: Modify metric of address [ OK ] # 81.47 [+0.30] TEST: Prefix route removed on link down [ OK ] # 81.65 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 81.94 [+0.29] TEST: Set metric with peer route on local side [ OK ] # 82.02 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 82.22 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 82.31 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 83.24 [+0.93] # 83.24 [+0.00] IPv4 prefix route tests # 85.09 [+1.85] TEST: Default metric [ OK ] # 85.36 [+0.27] TEST: User specified metric on first device [ OK ] # 85.65 [+0.29] TEST: User specified metric on second device [ OK ] # 85.81 [+0.17] TEST: Delete of address on first device [ OK ] # 85.99 [+0.18] TEST: Modify metric of address [ OK ] # 86.17 [+0.17] TEST: Prefix route removed on link down [ OK ] # 86.35 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 86.72 [+0.37] TEST: Modify metric of .0/24 address [ OK ] # 86.99 [+0.27] TEST: Set metric of address with peer route [ OK ] # 87.18 [+0.20] TEST: Modify metric and peer address for peer route [ OK ] # 88.13 [+0.94] # 88.13 [+0.00] IPv6 routes with metrics # 92.55 [+4.42] TEST: Single path route with mtu metric [ OK ] # 92.83 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 93.10 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 93.28 [+0.18] TEST: MTU of second leg [ OK ] # 93.47 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 93.70 [+0.23] TEST: Using route with mtu metric [ OK ] # 93.86 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 95.44 [+1.58] # 95.44 [+0.00] IPv4 route add / append tests # 99.80 [+4.36] TEST: Single path route with mtu metric [ OK ] # 100.00 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 100.20 [+0.20] TEST: Using route with mtu metric [ OK ] # 100.36 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 102.04 [+1.68] # 102.04 [+0.00] IPv4 route with IPv6 gateway tests # 108.36 [+6.32] TEST: Single path route with IPv6 gateway [ OK ] # 108.59 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 108.68 [+0.09] TEST: Single path route delete [ OK ] # 108.85 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 109.03 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.12 [+0.09] TEST: Multipath route delete exact match [ OK ] # 109.21 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 109.40 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.49 [+0.09] TEST: Multipath route delete exact match [ OK ] # 111.13 [+1.63] # 111.13 [+0.00] IPv4 rp_filter tests # 116.92 [+5.80] TEST: rp_filter passes local packets [ OK ] # 117.06 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 117.81 [+0.75] # 117.81 [+0.00] IPv4 delete address route tests # 120.50 [+2.69] Regular FIB info # 120.65 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 120.73 [+0.08] TEST: Route in default VRF not removed [ OK ] # 121.05 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.13 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 121.13 [+0.00] Identical FIB info with different table ID # 121.28 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 121.35 [+0.07] TEST: Route in default VRF not removed [ OK ] # 121.68 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.77 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 121.77 [+0.00] Table ID 0 # 121.92 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.90 [+0.97] # 122.90 [+0.00] IPv6 delete address route tests # 127.47 [+4.58] Single device using src address # 127.66 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 127.66 [+0.00] Two devices with the same source address # 127.82 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 127.98 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 127.99 [+0.00] VRF with single device using src address # 128.14 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 128.14 [+0.00] VRF with two devices using src address # 128.30 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.46 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 128.46 [+0.00] src address and nexthop dev in same VRF # 128.61 [+0.15] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 128.70 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 129.02 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 129.10 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 129.11 [+0.00] src address and nexthop device in different VRF # 129.26 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 129.34 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 129.60 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 129.67 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 129.68 [+0.00] Table ID 0 # 129.85 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 129.85 [+0.00] Link local source route # 130.02 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.19 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 130.27 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.51 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 132.01 [+1.50] # 132.01 [+0.00] IPv4 mangling tests # 139.50 [+7.49] TEST: Connection with correct parameters [ OK ] # 139.68 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 140.66 [+0.99] TEST: Connection with correct parameters - mangling [ OK ] # 141.53 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 141.58 [+0.06] TEST: Connection check - server side [ OK ] # 143.55 [+1.97] # 143.55 [+0.00] IPv6 mangling tests # 150.93 [+7.38] TEST: Connection with correct parameters [ OK ] # 151.13 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 151.99 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 152.85 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 152.92 [+0.07] TEST: Connection check - server side [ OK ] # 154.91 [+1.99] # 154.91 [+0.00] IPv4 broadcast neighbour tests # 157.09 [+2.19] TEST: Resolved neighbour for broadcast address [ OK ] # 157.18 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 157.28 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 157.37 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 159.16 [+1.79] # 159.16 [+0.00] Fib6 garbage collection test # 172.36 [+13.20] TEST: ipv6 route garbage collection [ OK ] # 185.74 [+13.39] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 199.10 [+13.36] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 212.66 [+13.56] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 226.93 [+14.27] TEST: ipv6 route garbage collection (RA message) [ OK ] # 227.66 [+0.73] # 227.67 [+0.00] IPv4 multipath list receive tests # 244.12 [+16.45] TEST: Multipath route hit ratio (1.00) [ OK ] # 246.00 [+1.88] # 246.00 [+0.00] IPv6 multipath list receive tests # 262.69 [+16.69] TEST: Multipath route hit ratio (1.00) [ OK ] # 264.54 [+1.85] # 264.54 [+0.00] Tests passed: 229 # 264.54 [+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__->