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.57 [+0.57] # 0.57 [+0.00] Single path route test # 1.70 [+1.12] Start point # 1.82 [+0.13] TEST: IPv4 fibmatch [ OK ] # 1.92 [+0.10] TEST: IPv6 fibmatch [ OK ] # 2.08 [+0.16] Nexthop device deleted # 2.18 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.27 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.94 [+0.67] # 2.94 [+0.00] Multipath route test # 4.78 [+1.84] Start point # 4.87 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.97 [+0.10] TEST: IPv6 fibmatch [ OK ] # 5.09 [+0.12] One nexthop device deleted # 5.18 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.27 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 5.41 [+0.14] Second nexthop device deleted # 5.50 [+0.09] TEST: IPv6 - no route [ OK ] # 6.12 [+0.61] # 6.12 [+0.00] Single path, admin down # 7.45 [+1.33] Start point # 7.55 [+0.10] TEST: IPv4 fibmatch [ OK ] # 7.63 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.73 [+0.10] Route deleted on down # 7.83 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.92 [+0.09] TEST: IPv6 fibmatch [ OK ] # 8.37 [+0.45] # 8.37 [+0.00] Admin down multipath # 10.20 [+1.83] Verify start point # 10.29 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.37 [+0.09] TEST: IPv6 fibmatch [ OK ] # 10.46 [+0.08] One device down, one up # 10.55 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 10.62 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 10.71 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.79 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.88 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.98 [+0.10] TEST: IPv6 flags on down device [ OK ] # 11.10 [+0.12] TEST: IPv4 flags on up device [ OK ] # 11.20 [+0.10] TEST: IPv6 flags on up device [ OK ] # 11.39 [+0.19] Other device down and up # 11.47 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 11.56 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 11.64 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 11.74 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 11.86 [+0.12] TEST: IPv4 flags on down device [ OK ] # 11.96 [+0.11] TEST: IPv6 flags on down device [ OK ] # 12.07 [+0.11] TEST: IPv4 flags on up device [ OK ] # 12.16 [+0.09] TEST: IPv6 flags on up device [ OK ] # 12.27 [+0.10] Both devices down # 12.34 [+0.07] TEST: IPv4 fibmatch [ OK ] # 12.42 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.96 [+0.54] # 12.96 [+0.00] Local carrier tests - single path # 14.20 [+1.23] Start point # 14.29 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.37 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.47 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 14.55 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 15.69 [+1.15] Carrier off on nexthop # 15.78 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.87 [+0.09] TEST: IPv6 fibmatch [ OK ] # 15.96 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 16.04 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 16.20 [+0.17] Route to local address with carrier down # 16.30 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.39 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.47 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 16.56 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 17.03 [+0.47] # 17.03 [+0.00] Single path route carrier test # 18.26 [+1.24] Start point # 18.35 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.42 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.49 [+0.07] TEST: IPv4 no linkdown flag [ OK ] # 18.56 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 19.68 [+1.12] Carrier down # 19.77 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.85 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.93 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 20.01 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 20.17 [+0.16] Second address added with carrier down # 20.24 [+0.07] TEST: IPv4 fibmatch [ OK ] # 20.32 [+0.09] TEST: IPv6 fibmatch [ OK ] # 20.39 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 20.48 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 24.68 [+4.21] # 24.68 [+0.00] IPv4 nexthop tests # 24.69 [+0.00] <<< write me >>> # 24.91 [+0.23] # 24.92 [+0.00] IPv6 nexthop tests # 25.01 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 25.10 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 25.18 [+0.08] TEST: Gateway is linklocal address [ OK ] # 25.28 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 25.37 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 25.46 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.55 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 25.65 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 25.74 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 25.84 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 25.93 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 26.01 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 26.09 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 26.18 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 27.16 [+0.97] # 27.16 [+0.00] FIB rule with suppress_prefixlength # 28.85 [+1.69] TEST: FIB rule suppress test [ OK ] # 30.36 [+1.51] # 30.36 [+0.00] Fib6 info length calculation in route notify test # 34.27 [+3.90] TEST: ipv6 route add notify [ OK ] # 35.77 [+1.51] # 35.77 [+0.00] Fib4 info length calculation in route notify test # 39.66 [+3.89] TEST: ipv4 route add notify [ OK ] # 43.92 [+4.26] # 43.92 [+0.00] IPv6 route add / append tests # 44.27 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 44.60 [+0.33] TEST: Attempt to add duplicate route - dev only [ OK ] # 44.93 [+0.34] TEST: Attempt to add duplicate route - reject route [ OK ] # 45.39 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 45.74 [+0.35] TEST: Add multipath route [ OK ] # 46.09 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 46.51 [+0.42] TEST: Route add with different metrics [ OK ] # 46.70 [+0.19] TEST: Route delete with metric [ OK ] # 46.70 [+0.00] # 46.70 [+0.00] IPv6 route replace tests # 47.14 [+0.44] TEST: Single path with single path [ OK ] # 47.58 [+0.44] TEST: Single path with multipath [ OK ] # 48.02 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 48.46 [+0.44] TEST: Invalid nexthop [ OK ] # 48.83 [+0.37] TEST: Single path - replace of non-existent route [ OK ] # 49.27 [+0.44] TEST: Multipath with multipath [ OK ] # 49.70 [+0.43] TEST: Multipath with single path [ OK ] # 50.13 [+0.43] TEST: Multipath with single path via multipath attribute [ OK ] # 50.59 [+0.45] TEST: Multipath with dev-only [ OK ] # 51.03 [+0.44] TEST: Multipath - invalid first nexthop [ OK ] # 51.49 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 51.84 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 51.84 [+0.00] # 51.84 [+0.00] IPv6 route with dsfield tests # 52.01 [+0.17] TEST: Reject route with dsfield [ OK ] # 57.89 [+5.88] # 57.89 [+0.00] IPv4 route add / append tests # 58.23 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 58.59 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 58.94 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 59.45 [+0.51] TEST: Add new nexthop for existing prefix [ OK ] # 59.99 [+0.54] TEST: Append nexthop to existing route - gw [ OK ] # 60.44 [+0.45] TEST: Append nexthop to existing route - dev only [ OK ] # 60.87 [+0.43] TEST: Append nexthop to existing route - reject route [ OK ] # 61.23 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 61.58 [+0.36] TEST: Append nexthop to existing reject route - dev only [ OK ] # 61.93 [+0.35] TEST: add multipath route [ OK ] # 62.27 [+0.34] TEST: Attempt to add duplicate multipath route [ OK ] # 62.71 [+0.43] TEST: Route add with different metrics [ OK ] # 62.90 [+0.19] TEST: Route delete with metric [ OK ] # 62.90 [+0.00] # 62.90 [+0.00] IPv4 route replace tests # 63.32 [+0.42] TEST: Single path with single path [ OK ] # 63.77 [+0.45] TEST: Single path with multipath [ OK ] # 64.22 [+0.44] TEST: Single path with reject route [ OK ] # 64.66 [+0.45] TEST: Single path with single path via multipath attribute [ OK ] # 65.11 [+0.44] TEST: Invalid nexthop [ OK ] # 65.44 [+0.33] TEST: Single path - replace of non-existent route [ OK ] # 65.90 [+0.45] TEST: Multipath with multipath [ OK ] # 66.31 [+0.42] TEST: Multipath with single path [ OK ] # 66.74 [+0.42] TEST: Multipath with single path via multipath attribute [ OK ] # 67.17 [+0.44] TEST: Multipath with reject route [ OK ] # 67.60 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 68.03 [+0.43] TEST: Multipath - invalid second nexthop [ OK ] # 68.41 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 69.81 [+1.40] TEST: Cached route removed from VRF port device [ OK ] # 69.81 [+0.00] # 69.81 [+0.00] IPv4 route with dsfield tests # 70.01 [+0.20] TEST: Reject route with dsfield 0x01 [ OK ] # 70.10 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 70.19 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 70.46 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 70.55 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 70.65 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 70.73 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 70.82 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 70.90 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 70.98 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 71.06 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 71.16 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 71.26 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 71.34 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 71.43 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 73.17 [+1.74] # 73.17 [+0.00] IPv6 prefix route tests # 75.00 [+1.83] TEST: Default metric [ OK ] # 75.26 [+0.26] TEST: User specified metric on first device [ OK ] # 75.55 [+0.28] TEST: User specified metric on second device [ OK ] # 75.73 [+0.18] TEST: Delete of address on first device [ OK ] # 75.91 [+0.18] TEST: Modify metric of address [ OK ] # 76.21 [+0.30] TEST: Prefix route removed on link down [ OK ] # 76.40 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 76.66 [+0.27] TEST: Set metric with peer route on local side [ OK ] # 76.76 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 76.94 [+0.17] TEST: Modify metric and peer address on local side [ OK ] # 77.03 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 77.98 [+0.94] # 77.98 [+0.00] IPv4 prefix route tests # 79.69 [+1.71] TEST: Default metric [ OK ] # 79.94 [+0.25] TEST: User specified metric on first device [ OK ] # 80.21 [+0.27] TEST: User specified metric on second device [ OK ] # 80.38 [+0.17] TEST: Delete of address on first device [ OK ] # 80.56 [+0.18] TEST: Modify metric of address [ OK ] # 80.72 [+0.16] TEST: Prefix route removed on link down [ OK ] # 80.91 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 81.27 [+0.35] TEST: Modify metric of .0/24 address [ OK ] # 81.53 [+0.27] TEST: Set metric of address with peer route [ OK ] # 81.72 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 82.66 [+0.94] # 82.67 [+0.00] IPv6 routes with metrics # 86.92 [+4.26] TEST: Single path route with mtu metric [ OK ] # 87.21 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 87.48 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 87.66 [+0.18] TEST: MTU of second leg [ OK ] # 87.87 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 88.08 [+0.22] TEST: Using route with mtu metric [ OK ] # 88.23 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 89.90 [+1.67] # 89.90 [+0.00] IPv4 route add / append tests # 94.31 [+4.41] TEST: Single path route with mtu metric [ OK ] # 94.49 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 94.72 [+0.23] TEST: Using route with mtu metric [ OK ] # 94.88 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.56 [+1.68] # 96.56 [+0.00] IPv4 route with IPv6 gateway tests # 102.84 [+6.28] TEST: Single path route with IPv6 gateway [ OK ] # 103.07 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 103.15 [+0.08] TEST: Single path route delete [ OK ] # 103.32 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 103.49 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 103.58 [+0.08] TEST: Multipath route delete exact match [ OK ] # 103.67 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 103.87 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 103.95 [+0.08] TEST: Multipath route delete exact match [ OK ] # 105.54 [+1.59] # 105.54 [+0.00] IPv4 rp_filter tests # 110.98 [+5.43] TEST: rp_filter passes local packets [ OK ] # 111.11 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 111.79 [+0.69] # 111.80 [+0.00] IPv4 delete address route tests # 114.35 [+2.55] Regular FIB info # 114.50 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 114.58 [+0.08] TEST: Route in default VRF not removed [ OK ] # 114.90 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 114.99 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 115.00 [+0.00] Identical FIB info with different table ID # 115.14 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 115.22 [+0.08] TEST: Route in default VRF not removed [ OK ] # 115.52 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 115.60 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 115.60 [+0.00] Table ID 0 # 115.76 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 116.66 [+0.90] # 116.66 [+0.00] IPv6 delete address route tests # 121.02 [+4.36] Single device using src address # 121.17 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 121.17 [+0.00] Two devices with the same source address # 121.33 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 121.48 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 121.49 [+0.00] VRF with single device using src address # 121.65 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 121.65 [+0.00] VRF with two devices using src address # 121.82 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 121.97 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 121.97 [+0.00] src address and nexthop dev in same VRF # 122.12 [+0.15] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 122.22 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 122.52 [+0.30] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 122.60 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 122.60 [+0.00] src address and nexthop device in different VRF # 122.76 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 122.83 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 123.06 [+0.23] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 123.16 [+0.10] TEST: Prefsrc removed in default VRF [ OK ] # 123.16 [+0.00] Table ID 0 # 123.31 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 123.31 [+0.00] Link local source route # 123.46 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 123.63 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 123.71 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 123.95 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 125.39 [+1.44] # 125.39 [+0.00] IPv4 mangling tests # 132.57 [+7.18] TEST: Connection with correct parameters [ OK ] # 132.74 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 133.65 [+0.91] TEST: Connection with correct parameters - mangling [ OK ] # 134.48 [+0.83] TEST: Connection with correct parameters - no mangling [ OK ] # 134.54 [+0.06] TEST: Connection check - server side [ OK ] # 136.47 [+1.93] # 136.47 [+0.00] IPv6 mangling tests # 143.67 [+7.20] TEST: Connection with correct parameters [ OK ] # 143.87 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 144.72 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 145.57 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 145.64 [+0.07] TEST: Connection check - server side [ OK ] # 147.63 [+2.00] # 147.64 [+0.00] IPv4 broadcast neighbour tests # 149.87 [+2.24] TEST: Resolved neighbour for broadcast address [ OK ] # 149.98 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 150.06 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 150.14 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 151.87 [+1.72] # 151.87 [+0.00] Fib6 garbage collection test # 164.98 [+13.11] TEST: ipv6 route garbage collection [ OK ] # 178.34 [+13.36] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 191.67 [+13.33] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 205.10 [+13.43] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 219.48 [+14.38] TEST: ipv6 route garbage collection (RA message) [ OK ] # 220.19 [+0.71] # 220.19 [+0.00] IPv4 multipath list receive tests # 236.47 [+16.28] TEST: Multipath route hit ratio (1.00) [ OK ] # 238.20 [+1.73] # 238.20 [+0.00] IPv6 multipath list receive tests # 253.92 [+15.72] TEST: Multipath route hit ratio (1.00) [ OK ] # 255.69 [+1.77] # 255.69 [+0.00] Tests passed: 229 # 255.69 [+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__->