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.37 [+0.37] # 0.37 [+0.00] Single path route test # 1.19 [+0.82] Start point # 1.27 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.35 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.48 [+0.13] Nexthop device deleted # 1.55 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.63 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.09 [+0.46] # 2.09 [+0.00] Multipath route test # 3.57 [+1.48] Start point # 3.64 [+0.07] TEST: IPv4 fibmatch [ OK ] # 3.72 [+0.08] TEST: IPv6 fibmatch [ OK ] # 3.84 [+0.12] One nexthop device deleted # 3.91 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 3.99 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.10 [+0.11] Second nexthop device deleted # 4.18 [+0.08] TEST: IPv6 - no route [ OK ] # 4.65 [+0.47] # 4.65 [+0.00] Single path, admin down # 5.68 [+1.03] Start point # 5.76 [+0.08] TEST: IPv4 fibmatch [ OK ] # 5.83 [+0.07] TEST: IPv6 fibmatch [ OK ] # 5.90 [+0.07] Route deleted on down # 5.97 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.05 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.45 [+0.41] # 6.45 [+0.00] Admin down multipath # 7.91 [+1.46] Verify start point # 7.99 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.06 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.14 [+0.07] One device down, one up # 8.22 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 8.30 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 8.37 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 8.45 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 8.52 [+0.07] TEST: IPv4 flags on down device [ OK ] # 8.61 [+0.10] TEST: IPv6 flags on down device [ OK ] # 8.70 [+0.09] TEST: IPv4 flags on up device [ OK ] # 8.78 [+0.08] TEST: IPv6 flags on up device [ OK ] # 8.93 [+0.15] Other device down and up # 9.01 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.09 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.15 [+0.06] TEST: IPv4 fibmatch on up device [ OK ] # 9.23 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.31 [+0.08] TEST: IPv4 flags on down device [ OK ] # 9.41 [+0.10] TEST: IPv6 flags on down device [ OK ] # 9.49 [+0.08] TEST: IPv4 flags on up device [ OK ] # 9.58 [+0.09] TEST: IPv6 flags on up device [ OK ] # 9.66 [+0.08] Both devices down # 9.73 [+0.07] TEST: IPv4 fibmatch [ OK ] # 9.81 [+0.08] TEST: IPv6 fibmatch [ OK ] # 10.32 [+0.51] # 10.32 [+0.00] Local carrier tests - single path # 11.40 [+1.08] Start point # 11.48 [+0.07] TEST: IPv4 fibmatch [ OK ] # 11.56 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.63 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 11.72 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 12.84 [+1.12] Carrier off on nexthop # 12.92 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.00 [+0.08] TEST: IPv6 fibmatch [ OK ] # 13.06 [+0.07] TEST: IPv4 - linkdown flag set [ OK ] # 13.14 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 13.29 [+0.15] Route to local address with carrier down # 13.36 [+0.07] TEST: IPv4 fibmatch [ OK ] # 13.44 [+0.08] TEST: IPv6 fibmatch [ OK ] # 13.51 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 13.59 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 14.00 [+0.42] # 14.00 [+0.00] Single path route carrier test # 15.09 [+1.09] Start point # 15.17 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.24 [+0.07] TEST: IPv6 fibmatch [ OK ] # 15.32 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 15.40 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 16.50 [+1.11] Carrier down # 16.59 [+0.08] TEST: IPv4 fibmatch [ OK ] # 16.67 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.74 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 16.82 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 16.96 [+0.15] Second address added with carrier down # 17.04 [+0.07] TEST: IPv4 fibmatch [ OK ] # 17.11 [+0.07] TEST: IPv6 fibmatch [ OK ] # 17.18 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 17.26 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 21.13 [+3.87] # 21.13 [+0.00] IPv4 nexthop tests # 21.13 [+0.00] <<< write me >>> # 21.32 [+0.20] # 21.32 [+0.00] IPv6 nexthop tests # 21.41 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 21.49 [+0.08] TEST: Directly connected nexthop, unicast address with device [ OK ] # 21.57 [+0.08] TEST: Gateway is linklocal address [ OK ] # 21.66 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 21.75 [+0.08] TEST: Gateway can not be local unicast address [ OK ] # 21.83 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 21.91 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 22.00 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 22.08 [+0.08] TEST: Gateway can be local address in a VRF, with device [ OK ] # 22.18 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 22.26 [+0.08] TEST: Redirect to VRF lookup [ OK ] # 22.35 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 22.43 [+0.08] TEST: VRF route, gateway can not be a local address [ OK ] # 22.51 [+0.08] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 23.36 [+0.85] # 23.36 [+0.00] FIB rule with suppress_prefixlength # 24.93 [+1.57] TEST: FIB rule suppress test [ OK ] # 26.35 [+1.43] # 26.36 [+0.00] Fib6 info length calculation in route notify test # 30.11 [+3.76] TEST: ipv6 route add notify [ OK ] # 31.55 [+1.44] # 31.56 [+0.00] Fib4 info length calculation in route notify test # 35.30 [+3.75] TEST: ipv4 route add notify [ OK ] # 39.20 [+3.90] # 39.20 [+0.00] IPv6 route add / append tests # 39.52 [+0.33] TEST: Attempt to add duplicate route - gw [ OK ] # 39.84 [+0.32] TEST: Attempt to add duplicate route - dev only [ OK ] # 40.16 [+0.32] TEST: Attempt to add duplicate route - reject route [ OK ] # 40.58 [+0.42] TEST: Append nexthop to existing route - gw [ OK ] # 40.91 [+0.33] TEST: Add multipath route [ OK ] # 41.24 [+0.33] TEST: Attempt to add duplicate multipath route [ OK ] # 41.64 [+0.40] TEST: Route add with different metrics [ OK ] # 41.83 [+0.19] TEST: Route delete with metric [ OK ] # 41.83 [+0.00] # 41.83 [+0.00] IPv6 route replace tests # 42.23 [+0.39] TEST: Single path with single path [ OK ] # 42.65 [+0.42] TEST: Single path with multipath [ OK ] # 43.06 [+0.41] TEST: Single path with single path via multipath attribute [ OK ] # 43.46 [+0.40] TEST: Invalid nexthop [ OK ] # 43.80 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 44.21 [+0.41] TEST: Multipath with multipath [ OK ] # 44.63 [+0.42] TEST: Multipath with single path [ OK ] # 45.04 [+0.41] TEST: Multipath with single path via multipath attribute [ OK ] # 45.46 [+0.42] TEST: Multipath with dev-only [ OK ] # 45.89 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 46.30 [+0.41] TEST: Multipath - invalid second nexthop [ OK ] # 46.63 [+0.33] TEST: Multipath - replace of non-existent route [ OK ] # 46.63 [+0.00] # 46.63 [+0.00] IPv6 route with dsfield tests # 46.80 [+0.17] TEST: Reject route with dsfield [ OK ] # 52.30 [+5.50] # 52.30 [+0.00] IPv4 route add / append tests # 52.62 [+0.32] TEST: Attempt to add duplicate route - gw [ OK ] # 52.94 [+0.32] TEST: Attempt to add duplicate route - dev only [ OK ] # 53.28 [+0.33] TEST: Attempt to add duplicate route - reject route [ OK ] # 53.69 [+0.41] TEST: Add new nexthop for existing prefix [ OK ] # 54.09 [+0.41] TEST: Append nexthop to existing route - gw [ OK ] # 54.52 [+0.43] TEST: Append nexthop to existing route - dev only [ OK ] # 54.92 [+0.40] TEST: Append nexthop to existing route - reject route [ OK ] # 55.25 [+0.33] TEST: Append nexthop to existing reject route - gw [ OK ] # 55.58 [+0.34] TEST: Append nexthop to existing reject route - dev only [ OK ] # 55.90 [+0.32] TEST: add multipath route [ OK ] # 56.23 [+0.33] TEST: Attempt to add duplicate multipath route [ OK ] # 56.63 [+0.40] TEST: Route add with different metrics [ OK ] # 56.80 [+0.17] TEST: Route delete with metric [ OK ] # 56.80 [+0.00] # 56.80 [+0.00] IPv4 route replace tests # 57.20 [+0.40] TEST: Single path with single path [ OK ] # 57.61 [+0.41] TEST: Single path with multipath [ OK ] # 58.01 [+0.40] TEST: Single path with reject route [ OK ] # 58.42 [+0.41] TEST: Single path with single path via multipath attribute [ OK ] # 58.82 [+0.40] TEST: Invalid nexthop [ OK ] # 59.15 [+0.33] TEST: Single path - replace of non-existent route [ OK ] # 59.55 [+0.40] TEST: Multipath with multipath [ OK ] # 59.96 [+0.41] TEST: Multipath with single path [ OK ] # 60.37 [+0.41] TEST: Multipath with single path via multipath attribute [ OK ] # 60.78 [+0.41] TEST: Multipath with reject route [ OK ] # 61.18 [+0.40] TEST: Multipath - invalid first nexthop [ OK ] # 61.59 [+0.41] TEST: Multipath - invalid second nexthop [ OK ] # 61.92 [+0.32] TEST: Multipath - replace of non-existent route [ OK ] # 63.26 [+1.34] TEST: Cached route removed from VRF port device [ OK ] # 63.26 [+0.00] # 63.26 [+0.00] IPv4 route with dsfield tests # 63.42 [+0.16] TEST: Reject route with dsfield 0x01 [ OK ] # 63.51 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 63.60 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 63.85 [+0.25] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 63.93 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 64.01 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 64.08 [+0.06] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 64.17 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 64.24 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 64.31 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 64.40 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 64.50 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 64.58 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 64.66 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 64.75 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 66.31 [+1.56] # 66.31 [+0.00] IPv6 prefix route tests # 68.01 [+1.70] TEST: Default metric [ OK ] # 68.28 [+0.27] TEST: User specified metric on first device [ OK ] # 68.54 [+0.26] TEST: User specified metric on second device [ OK ] # 68.70 [+0.16] TEST: Delete of address on first device [ OK ] # 68.87 [+0.17] TEST: Modify metric of address [ OK ] # 69.16 [+0.29] TEST: Prefix route removed on link down [ OK ] # 69.33 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 69.59 [+0.26] TEST: Set metric with peer route on local side [ OK ] # 69.67 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 69.85 [+0.17] TEST: Modify metric and peer address on local side [ OK ] # 69.94 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 70.86 [+0.92] # 70.86 [+0.00] IPv4 prefix route tests # 72.50 [+1.64] TEST: Default metric [ OK ] # 72.75 [+0.26] TEST: User specified metric on first device [ OK ] # 73.00 [+0.25] TEST: User specified metric on second device [ OK ] # 73.17 [+0.16] TEST: Delete of address on first device [ OK ] # 73.34 [+0.18] TEST: Modify metric of address [ OK ] # 73.50 [+0.16] TEST: Prefix route removed on link down [ OK ] # 73.66 [+0.16] TEST: Prefix route with metric on link up [ OK ] # 74.01 [+0.35] TEST: Modify metric of .0/24 address [ OK ] # 74.25 [+0.24] TEST: Set metric of address with peer route [ OK ] # 74.43 [+0.18] TEST: Modify metric and peer address for peer route [ OK ] # 75.33 [+0.90] # 75.33 [+0.00] IPv6 routes with metrics # 79.41 [+4.08] TEST: Single path route with mtu metric [ OK ] # 79.68 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 79.94 [+0.26] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 80.10 [+0.16] TEST: MTU of second leg [ OK ] # 80.28 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 80.51 [+0.23] TEST: Using route with mtu metric [ OK ] # 80.67 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 82.36 [+1.69] # 82.36 [+0.00] IPv4 route add / append tests # 86.42 [+4.06] TEST: Single path route with mtu metric [ OK ] # 86.59 [+0.17] TEST: Multipath route with mtu metric [ OK ] # 86.81 [+0.22] TEST: Using route with mtu metric [ OK ] # 86.95 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 88.50 [+1.55] # 88.50 [+0.00] IPv4 route with IPv6 gateway tests # 94.53 [+6.03] TEST: Single path route with IPv6 gateway [ OK ] # 94.75 [+0.22] TEST: Single path route with IPv6 gateway - ping [ OK ] # 94.83 [+0.08] TEST: Single path route delete [ OK ] # 94.99 [+0.15] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 95.15 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 95.24 [+0.09] TEST: Multipath route delete exact match [ OK ] # 95.32 [+0.08] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 95.49 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 95.59 [+0.09] TEST: Multipath route delete exact match [ OK ] # 97.15 [+1.57] # 97.15 [+0.00] IPv4 rp_filter tests # 102.47 [+5.32] TEST: rp_filter passes local packets [ OK ] # 102.61 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 103.32 [+0.72] # 103.32 [+0.00] IPv4 delete address route tests # 105.83 [+2.50] Regular FIB info # 105.99 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 106.05 [+0.06] TEST: Route in default VRF not removed [ OK ] # 106.35 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 106.42 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 106.42 [+0.00] Identical FIB info with different table ID # 106.56 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 106.64 [+0.08] TEST: Route in default VRF not removed [ OK ] # 106.93 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 107.00 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 107.01 [+0.00] Table ID 0 # 107.16 [+0.16] TEST: Route removed in default VRF when source address deleted [ OK ] # 108.05 [+0.89] # 108.05 [+0.00] IPv6 delete address route tests # 112.27 [+4.21] Single device using src address # 112.43 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 112.43 [+0.00] Two devices with the same source address # 112.59 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 112.73 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 112.73 [+0.00] VRF with single device using src address # 112.90 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 112.90 [+0.00] VRF with two devices using src address # 113.05 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 113.20 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 113.20 [+0.00] src address and nexthop dev in same VRF # 113.35 [+0.15] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 113.43 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 113.73 [+0.30] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 113.80 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 113.80 [+0.00] src address and nexthop device in different VRF # 113.94 [+0.14] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 114.02 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 114.24 [+0.22] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 114.33 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 114.34 [+0.00] Table ID 0 # 114.47 [+0.14] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 114.47 [+0.00] Link local source route # 114.64 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 114.79 [+0.15] TEST: Prefsrc removed when delete ll addr [ OK ] # 114.86 [+0.07] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 115.09 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 116.50 [+1.41] # 116.50 [+0.00] IPv4 mangling tests # 123.42 [+6.91] TEST: Connection with correct parameters [ OK ] # 123.58 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 124.47 [+0.89] TEST: Connection with correct parameters - mangling [ OK ] # 125.30 [+0.82] TEST: Connection with correct parameters - no mangling [ OK ] # 125.36 [+0.06] TEST: Connection check - server side [ OK ] # 127.21 [+1.86] # 127.21 [+0.00] IPv6 mangling tests # 134.25 [+7.04] TEST: Connection with correct parameters [ OK ] # 134.42 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 135.25 [+0.83] TEST: Connection with correct parameters - mangling [ OK ] # 136.09 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 136.15 [+0.05] TEST: Connection check - server side [ OK ] # 137.99 [+1.84] # 137.99 [+0.00] IPv4 broadcast neighbour tests # 139.97 [+1.98] TEST: Resolved neighbour for broadcast address [ OK ] # 140.05 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 140.12 [+0.07] TEST: Unresolved neighbour for broadcast address [ OK ] # 140.20 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 141.88 [+1.67] # 141.88 [+0.00] Fib6 garbage collection test # 154.96 [+13.08] TEST: ipv6 route garbage collection [ OK ] # 168.24 [+13.28] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 181.54 [+13.30] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 194.94 [+13.39] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 209.09 [+14.16] TEST: ipv6 route garbage collection (RA message) [ OK ] # 209.77 [+0.68] # 209.77 [+0.00] IPv4 multipath list receive tests # 225.21 [+15.44] TEST: Multipath route hit ratio (1.00) [ OK ] # 226.85 [+1.64] # 226.85 [+0.00] IPv6 multipath list receive tests # 242.30 [+15.45] TEST: Multipath route hit ratio (1.00) [ OK ] # 243.98 [+1.68] # 243.98 [+0.00] Tests passed: 229 # 243.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__->