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.35 [+0.35] # 0.35 [+0.00] Single path route test # 1.15 [+0.80] Start point # 1.23 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.30 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.42 [+0.12] Nexthop device deleted # 1.50 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.58 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.05 [+0.48] # 2.05 [+0.00] Multipath route test # 3.54 [+1.48] Start point # 3.61 [+0.07] TEST: IPv4 fibmatch [ OK ] # 3.69 [+0.08] TEST: IPv6 fibmatch [ OK ] # 3.82 [+0.13] One nexthop device deleted # 3.89 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 3.96 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 4.09 [+0.13] Second nexthop device deleted # 4.16 [+0.07] TEST: IPv6 - no route [ OK ] # 4.65 [+0.49] # 4.65 [+0.00] Single path, admin down # 5.68 [+1.03] Start point # 5.75 [+0.07] TEST: IPv4 fibmatch [ OK ] # 5.82 [+0.08] TEST: IPv6 fibmatch [ OK ] # 5.90 [+0.08] Route deleted on down # 5.97 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.05 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.43 [+0.38] # 6.43 [+0.00] Admin down multipath # 7.92 [+1.49] Verify start point # 7.99 [+0.07] TEST: IPv4 fibmatch [ OK ] # 8.07 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.14 [+0.07] One device down, one up # 8.22 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 8.29 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 8.37 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 8.45 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 8.54 [+0.09] TEST: IPv4 flags on down device [ OK ] # 8.61 [+0.07] TEST: IPv6 flags on down device [ OK ] # 8.69 [+0.08] TEST: IPv4 flags on up device [ OK ] # 8.79 [+0.10] TEST: IPv6 flags on up device [ OK ] # 8.95 [+0.16] Other device down and up # 9.02 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 9.10 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.17 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 9.25 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.33 [+0.08] TEST: IPv4 flags on down device [ OK ] # 9.41 [+0.08] TEST: IPv6 flags on down device [ OK ] # 9.50 [+0.09] TEST: IPv4 flags on up device [ OK ] # 9.58 [+0.08] TEST: IPv6 flags on up device [ OK ] # 9.66 [+0.08] Both devices down # 9.74 [+0.08] TEST: IPv4 fibmatch [ OK ] # 9.81 [+0.07] TEST: IPv6 fibmatch [ OK ] # 10.31 [+0.50] # 10.31 [+0.00] Local carrier tests - single path # 11.42 [+1.11] Start point # 11.49 [+0.07] TEST: IPv4 fibmatch [ OK ] # 11.57 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.66 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 11.74 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 12.86 [+1.12] Carrier off on nexthop # 12.93 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.02 [+0.08] TEST: IPv6 fibmatch [ OK ] # 13.09 [+0.07] TEST: IPv4 - linkdown flag set [ OK ] # 13.16 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 13.32 [+0.15] Route to local address with carrier down # 13.39 [+0.07] TEST: IPv4 fibmatch [ OK ] # 13.46 [+0.08] TEST: IPv6 fibmatch [ OK ] # 13.53 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 13.62 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 14.03 [+0.42] # 14.03 [+0.00] Single path route carrier test # 15.13 [+1.10] Start point # 15.20 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.28 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.35 [+0.07] TEST: IPv4 no linkdown flag [ OK ] # 15.45 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 16.57 [+1.12] Carrier down # 16.65 [+0.08] TEST: IPv4 fibmatch [ OK ] # 16.72 [+0.07] TEST: IPv6 fibmatch [ OK ] # 16.80 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 16.88 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 17.04 [+0.16] Second address added with carrier down # 17.11 [+0.07] TEST: IPv4 fibmatch [ OK ] # 17.19 [+0.08] TEST: IPv6 fibmatch [ OK ] # 17.27 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 17.35 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 21.29 [+3.94] # 21.29 [+0.00] IPv4 nexthop tests # 21.29 [+0.00] <<< write me >>> # 21.51 [+0.22] # 21.51 [+0.00] IPv6 nexthop tests # 21.60 [+0.08] TEST: Directly connected nexthop, unicast address [ OK ] # 21.68 [+0.08] TEST: Directly connected nexthop, unicast address with device [ OK ] # 21.76 [+0.09] TEST: Gateway is linklocal address [ OK ] # 21.85 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 21.94 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 22.03 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 22.11 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 22.19 [+0.08] TEST: Gateway can be local address in a VRF [ OK ] # 22.28 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 22.37 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 22.46 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 22.55 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 22.63 [+0.08] TEST: VRF route, gateway can not be a local address [ OK ] # 22.71 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 23.63 [+0.92] # 23.63 [+0.00] FIB rule with suppress_prefixlength # 25.22 [+1.59] TEST: FIB rule suppress test [ OK ] # 26.66 [+1.44] # 26.67 [+0.00] Fib6 info length calculation in route notify test # 30.43 [+3.77] TEST: ipv6 route add notify [ OK ] # 31.85 [+1.42] # 31.85 [+0.00] Fib4 info length calculation in route notify test # 35.63 [+3.78] TEST: ipv4 route add notify [ OK ] # 39.52 [+3.89] # 39.52 [+0.00] IPv6 route add / append tests # 39.85 [+0.33] TEST: Attempt to add duplicate route - gw [ OK ] # 40.18 [+0.33] TEST: Attempt to add duplicate route - dev only [ OK ] # 40.50 [+0.32] TEST: Attempt to add duplicate route - reject route [ OK ] # 40.92 [+0.42] TEST: Append nexthop to existing route - gw [ OK ] # 41.28 [+0.35] TEST: Add multipath route [ OK ] # 41.59 [+0.32] TEST: Attempt to add duplicate multipath route [ OK ] # 42.00 [+0.41] TEST: Route add with different metrics [ OK ] # 42.18 [+0.18] TEST: Route delete with metric [ OK ] # 42.19 [+0.00] # 42.19 [+0.00] IPv6 route replace tests # 42.59 [+0.40] TEST: Single path with single path [ OK ] # 43.03 [+0.44] TEST: Single path with multipath [ OK ] # 43.45 [+0.42] TEST: Single path with single path via multipath attribute [ OK ] # 43.87 [+0.42] TEST: Invalid nexthop [ OK ] # 44.20 [+0.33] TEST: Single path - replace of non-existent route [ OK ] # 44.63 [+0.44] TEST: Multipath with multipath [ OK ] # 45.04 [+0.41] TEST: Multipath with single path [ OK ] # 45.45 [+0.41] TEST: Multipath with single path via multipath attribute [ OK ] # 45.87 [+0.42] TEST: Multipath with dev-only [ OK ] # 46.29 [+0.42] TEST: Multipath - invalid first nexthop [ OK ] # 46.72 [+0.43] TEST: Multipath - invalid second nexthop [ OK ] # 47.06 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 47.06 [+0.00] # 47.06 [+0.00] IPv6 route with dsfield tests # 47.22 [+0.16] TEST: Reject route with dsfield [ OK ] # 52.77 [+5.55] # 52.77 [+0.00] IPv4 route add / append tests # 53.08 [+0.31] TEST: Attempt to add duplicate route - gw [ OK ] # 53.41 [+0.32] TEST: Attempt to add duplicate route - dev only [ OK ] # 53.72 [+0.32] TEST: Attempt to add duplicate route - reject route [ OK ] # 54.15 [+0.42] TEST: Add new nexthop for existing prefix [ OK ] # 54.56 [+0.41] TEST: Append nexthop to existing route - gw [ OK ] # 54.97 [+0.41] TEST: Append nexthop to existing route - dev only [ OK ] # 55.37 [+0.40] TEST: Append nexthop to existing route - reject route [ OK ] # 55.70 [+0.33] TEST: Append nexthop to existing reject route - gw [ OK ] # 56.03 [+0.34] TEST: Append nexthop to existing reject route - dev only [ OK ] # 56.36 [+0.32] TEST: add multipath route [ OK ] # 56.67 [+0.32] TEST: Attempt to add duplicate multipath route [ OK ] # 57.08 [+0.41] TEST: Route add with different metrics [ OK ] # 57.25 [+0.17] TEST: Route delete with metric [ OK ] # 57.25 [+0.00] # 57.25 [+0.00] IPv4 route replace tests # 57.65 [+0.40] TEST: Single path with single path [ OK ] # 58.06 [+0.40] TEST: Single path with multipath [ OK ] # 58.47 [+0.41] TEST: Single path with reject route [ OK ] # 58.88 [+0.42] TEST: Single path with single path via multipath attribute [ OK ] # 59.29 [+0.40] TEST: Invalid nexthop [ OK ] # 59.62 [+0.33] TEST: Single path - replace of non-existent route [ OK ] # 60.03 [+0.42] TEST: Multipath with multipath [ OK ] # 60.43 [+0.40] TEST: Multipath with single path [ OK ] # 60.83 [+0.40] TEST: Multipath with single path via multipath attribute [ OK ] # 61.25 [+0.42] TEST: Multipath with reject route [ OK ] # 61.64 [+0.40] TEST: Multipath - invalid first nexthop [ OK ] # 62.06 [+0.41] TEST: Multipath - invalid second nexthop [ OK ] # 62.37 [+0.32] TEST: Multipath - replace of non-existent route [ OK ] # 63.67 [+1.30] TEST: Cached route removed from VRF port device [ OK ] # 63.68 [+0.00] # 63.68 [+0.00] IPv4 route with dsfield tests # 63.85 [+0.17] TEST: Reject route with dsfield 0x01 [ OK ] # 63.95 [+0.10] TEST: Reject route with dsfield 0x02 [ OK ] # 64.03 [+0.08] TEST: Reject route with dsfield 0x03 [ OK ] # 64.28 [+0.25] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 64.36 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 64.43 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 64.51 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 64.60 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 64.66 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 64.73 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 64.81 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 64.90 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 64.99 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 65.09 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 65.16 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 66.66 [+1.50] # 66.66 [+0.00] IPv6 prefix route tests # 68.33 [+1.67] TEST: Default metric [ OK ] # 68.59 [+0.26] TEST: User specified metric on first device [ OK ] # 68.85 [+0.26] TEST: User specified metric on second device [ OK ] # 69.03 [+0.18] TEST: Delete of address on first device [ OK ] # 69.22 [+0.19] TEST: Modify metric of address [ OK ] # 69.49 [+0.27] TEST: Prefix route removed on link down [ OK ] # 69.66 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 69.90 [+0.24] TEST: Set metric with peer route on local side [ OK ] # 69.99 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 70.16 [+0.17] TEST: Modify metric and peer address on local side [ OK ] # 70.25 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 71.13 [+0.89] # 71.13 [+0.00] IPv4 prefix route tests # 72.80 [+1.66] TEST: Default metric [ OK ] # 73.05 [+0.25] TEST: User specified metric on first device [ OK ] # 73.30 [+0.25] TEST: User specified metric on second device [ OK ] # 73.48 [+0.18] TEST: Delete of address on first device [ OK ] # 73.64 [+0.16] TEST: Modify metric of address [ OK ] # 73.80 [+0.16] TEST: Prefix route removed on link down [ OK ] # 73.97 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 74.29 [+0.33] TEST: Modify metric of .0/24 address [ OK ] # 74.56 [+0.26] TEST: Set metric of address with peer route [ OK ] # 74.72 [+0.16] TEST: Modify metric and peer address for peer route [ OK ] # 75.60 [+0.88] # 75.60 [+0.00] IPv6 routes with metrics # 79.69 [+4.08] TEST: Single path route with mtu metric [ OK ] # 79.96 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 80.22 [+0.26] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 80.39 [+0.17] TEST: MTU of second leg [ OK ] # 80.57 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 80.78 [+0.22] TEST: Using route with mtu metric [ OK ] # 80.93 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 82.49 [+1.56] # 82.49 [+0.00] IPv4 route add / append tests # 86.58 [+4.10] TEST: Single path route with mtu metric [ OK ] # 86.75 [+0.16] TEST: Multipath route with mtu metric [ OK ] # 86.95 [+0.20] TEST: Using route with mtu metric [ OK ] # 87.10 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 88.66 [+1.56] # 88.66 [+0.00] IPv4 route with IPv6 gateway tests # 94.70 [+6.04] TEST: Single path route with IPv6 gateway [ OK ] # 94.91 [+0.21] TEST: Single path route with IPv6 gateway - ping [ OK ] # 94.99 [+0.08] TEST: Single path route delete [ OK ] # 95.17 [+0.18] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 95.34 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 95.43 [+0.09] TEST: Multipath route delete exact match [ OK ] # 95.51 [+0.08] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 95.69 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 95.78 [+0.10] TEST: Multipath route delete exact match [ OK ] # 97.40 [+1.62] # 97.40 [+0.00] IPv4 rp_filter tests # 102.81 [+5.41] TEST: rp_filter passes local packets [ OK ] # 102.93 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 103.66 [+0.72] # 103.66 [+0.00] IPv4 delete address route tests # 106.20 [+2.54] Regular FIB info # 106.37 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 106.46 [+0.09] TEST: Route in default VRF not removed [ OK ] # 106.74 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 106.81 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 106.82 [+0.00] Identical FIB info with different table ID # 106.96 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 107.04 [+0.08] TEST: Route in default VRF not removed [ OK ] # 107.33 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 107.40 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 107.40 [+0.00] Table ID 0 # 107.56 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 108.47 [+0.91] # 108.47 [+0.00] IPv6 delete address route tests # 112.79 [+4.32] Single device using src address # 112.93 [+0.14] TEST: Prefsrc removed when src address removed on other device [ OK ] # 112.93 [+0.00] Two devices with the same source address # 113.08 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 113.22 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 113.22 [+0.00] VRF with single device using src address # 113.39 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 113.39 [+0.00] VRF with two devices using src address # 113.53 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 113.71 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 113.71 [+0.00] src address and nexthop dev in same VRF # 113.88 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 113.97 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 114.27 [+0.31] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 114.35 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 114.35 [+0.00] src address and nexthop device in different VRF # 114.52 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 114.60 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 114.85 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 114.94 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 114.94 [+0.00] Table ID 0 # 115.09 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 115.10 [+0.00] Link local source route # 115.26 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 115.41 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 115.50 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 115.73 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 117.12 [+1.39] # 117.12 [+0.00] IPv4 mangling tests # 124.37 [+7.25] TEST: Connection with correct parameters [ OK ] # 124.55 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 125.51 [+0.97] TEST: Connection with correct parameters - mangling [ OK ] # 126.39 [+0.88] TEST: Connection with correct parameters - no mangling [ OK ] # 126.44 [+0.06] TEST: Connection check - server side [ OK ] # 128.46 [+2.01] # 128.46 [+0.00] IPv6 mangling tests # 135.79 [+7.33] TEST: Connection with correct parameters [ OK ] # 136.00 [+0.22] TEST: Connection with incorrect parameters [ OK ] # 136.82 [+0.82] TEST: Connection with correct parameters - mangling [ OK ] # 137.68 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 137.73 [+0.06] TEST: Connection check - server side [ OK ] # 139.83 [+2.10] # 139.83 [+0.00] IPv4 broadcast neighbour tests # 141.87 [+2.04] TEST: Resolved neighbour for broadcast address [ OK ] # 141.96 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 142.05 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 142.13 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 143.82 [+1.69] # 143.82 [+0.00] Fib6 garbage collection test # 156.94 [+13.12] TEST: ipv6 route garbage collection [ OK ] # 170.27 [+13.33] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 183.68 [+13.41] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 197.11 [+13.44] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 211.33 [+14.22] TEST: ipv6 route garbage collection (RA message) [ OK ] # 212.00 [+0.67] # 212.00 [+0.00] IPv4 multipath list receive tests # 227.66 [+15.66] TEST: Multipath route hit ratio (1.00) [ OK ] DETECTED CRASH, lowering timeout WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout WAIT TIMEOUT stdout