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.46 [+0.46] # 0.46 [+0.00] Single path route test # 1.36 [+0.90] Start point # 1.43 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.52 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.63 [+0.12] Nexthop device deleted # 1.72 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.80 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.34 [+0.54] # 2.34 [+0.00] Multipath route test # 4.00 [+1.65] Start point # 4.08 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.16 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.29 [+0.13] One nexthop device deleted # 4.37 [+0.08] 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.66 [+0.08] TEST: IPv6 - no route [ OK ] # 5.18 [+0.52] # 5.18 [+0.00] Single path, admin down # 6.32 [+1.13] Start point # 6.39 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.48 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.55 [+0.07] Route deleted on down # 6.64 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.72 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.15 [+0.43] # 7.15 [+0.00] Admin down multipath # 8.74 [+1.60] Verify start point # 8.83 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.91 [+0.08] TEST: IPv6 fibmatch [ OK ] # 9.00 [+0.09] One device down, one up # 9.09 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.17 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.25 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.33 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 9.44 [+0.11] TEST: IPv4 flags on down device [ OK ] # 9.53 [+0.10] TEST: IPv6 flags on down device [ OK ] # 9.64 [+0.11] TEST: IPv4 flags on up device [ OK ] # 9.74 [+0.09] TEST: IPv6 flags on up device [ OK ] # 9.91 [+0.17] Other device down and up # 9.99 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.08 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.15 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.24 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.33 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.42 [+0.09] TEST: IPv6 flags on down device [ OK ] # 10.50 [+0.08] TEST: IPv4 flags on up device [ OK ] # 10.59 [+0.09] TEST: IPv6 flags on up device [ OK ] # 10.67 [+0.08] Both devices down # 10.76 [+0.09] TEST: IPv4 fibmatch [ OK ] # 10.84 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.37 [+0.53] # 11.37 [+0.00] Local carrier tests - single path # 12.55 [+1.18] Start point # 12.63 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.71 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.79 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 12.88 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 14.01 [+1.12] Carrier off on nexthop # 14.10 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.18 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.27 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 14.36 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 14.51 [+0.16] Route to local address with carrier down # 14.59 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.68 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.76 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 14.85 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 15.27 [+0.42] # 15.27 [+0.00] Single path route carrier test # 16.42 [+1.15] Start point # 16.50 [+0.08] TEST: IPv4 fibmatch [ OK ] # 16.57 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.66 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 16.75 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 17.87 [+1.12] Carrier down # 17.96 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.05 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.15 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 18.24 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 18.42 [+0.18] Second address added with carrier down # 18.51 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.59 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.68 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 18.77 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 23.12 [+4.35] # 23.12 [+0.00] IPv4 nexthop tests # 23.12 [+0.00] <<< write me >>> # 23.36 [+0.24] # 23.36 [+0.00] IPv6 nexthop tests # 23.46 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 23.55 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.63 [+0.09] TEST: Gateway is linklocal address [ OK ] # 23.72 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 23.81 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 23.90 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 23.99 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 24.08 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 24.18 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.28 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.37 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 24.46 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.55 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 24.63 [+0.08] TEST: VRF route, gateway can not be a local addr with device [ OK ] DETECTED CRASH, lowering timeout # 25.44 [+0.81] # 25.44 [+0.00] FIB rule with suppress_prefixlength # 26.71 [+1.27] TEST: FIB rule suppress test [ OK ] # 27.84 [+1.13] # 27.84 [+0.00] Fib6 info length calculation in route notify test # 31.25 [+3.41] TEST: ipv6 route add notify [ OK ] # 32.42 [+1.17] # 32.42 [+0.00] Fib4 info length calculation in route notify test # 35.83 [+3.41] TEST: ipv4 route add notify [ OK ] # 39.02 [+3.19] # 39.02 [+0.00] IPv6 route add / append tests # 39.28 [+0.26] TEST: Attempt to add duplicate route - gw [ OK ] # 39.55 [+0.27] TEST: Attempt to add duplicate route - dev only [ OK ] # 39.84 [+0.29] TEST: Attempt to add duplicate route - reject route [ OK ] # 40.20 [+0.36] TEST: Append nexthop to existing route - gw [ OK ] # 40.46 [+0.26] TEST: Add multipath route [ OK ] # 40.70 [+0.24] TEST: Attempt to add duplicate multipath route [ OK ] # 41.02 [+0.32] TEST: Route add with different metrics [ OK ] # 41.16 [+0.14] TEST: Route delete with metric [ OK ] # 41.16 [+0.00] # 41.16 [+0.00] IPv6 route replace tests # 41.48 [+0.32] TEST: Single path with single path [ OK ] # 41.81 [+0.33] TEST: Single path with multipath [ OK ] # 42.13 [+0.32] TEST: Single path with single path via multipath attribute [ OK ] # 42.44 [+0.31] TEST: Invalid nexthop [ OK ] # 42.70 [+0.27] TEST: Single path - replace of non-existent route [ OK ] # 43.05 [+0.34] TEST: Multipath with multipath [ OK ] # 43.41 [+0.36] TEST: Multipath with single path [ OK ] # 43.74 [+0.33] TEST: Multipath with single path via multipath attribute [ OK ] # 44.10 [+0.36] TEST: Multipath with dev-only [ OK ] # 44.43 [+0.34] TEST: Multipath - invalid first nexthop [ OK ] # 44.77 [+0.33] TEST: Multipath - invalid second nexthop [ OK ] # 45.02 [+0.25] TEST: Multipath - replace of non-existent route [ OK ] # 45.02 [+0.00] # 45.02 [+0.00] IPv6 route with dsfield tests # 45.16 [+0.14] TEST: Reject route with dsfield [ OK ] # 49.53 [+4.37] # 49.53 [+0.00] IPv4 route add / append tests # 49.77 [+0.24] TEST: Attempt to add duplicate route - gw [ OK ] # 50.02 [+0.25] TEST: Attempt to add duplicate route - dev only [ OK ] # 50.27 [+0.25] TEST: Attempt to add duplicate route - reject route [ OK ] # 50.61 [+0.33] TEST: Add new nexthop for existing prefix [ OK ] # 50.94 [+0.33] TEST: Append nexthop to existing route - gw [ OK ] # 51.26 [+0.32] TEST: Append nexthop to existing route - dev only [ OK ] # 51.59 [+0.33] TEST: Append nexthop to existing route - reject route [ OK ] # 51.86 [+0.27] TEST: Append nexthop to existing reject route - gw [ OK ] # 52.12 [+0.26] TEST: Append nexthop to existing reject route - dev only [ OK ] # 52.38 [+0.26] TEST: add multipath route [ OK ] # 52.61 [+0.24] TEST: Attempt to add duplicate multipath route [ OK ] # 53.00 [+0.39] TEST: Route add with different metrics [ OK ] # 53.15 [+0.15] TEST: Route delete with metric [ OK ] # 53.15 [+0.00] # 53.15 [+0.00] IPv4 route replace tests # 53.61 [+0.46] TEST: Single path with single path [ OK ] # 53.99 [+0.38] TEST: Single path with multipath [ OK ] # 54.34 [+0.35] TEST: Single path with reject route [ OK ] # 54.67 [+0.33] TEST: Single path with single path via multipath attribute [ OK ] # 55.00 [+0.34] TEST: Invalid nexthop [ OK ] # 55.27 [+0.27] TEST: Single path - replace of non-existent route [ OK ] # 55.60 [+0.33] TEST: Multipath with multipath [ OK ] # 55.93 [+0.34] TEST: Multipath with single path [ OK ] # 56.26 [+0.33] TEST: Multipath with single path via multipath attribute [ OK ] # 56.61 [+0.35] TEST: Multipath with reject route [ OK ] # 56.94 [+0.33] TEST: Multipath - invalid first nexthop [ OK ] # 57.27 [+0.33] TEST: Multipath - invalid second nexthop [ OK ] # 57.54 [+0.27] TEST: Multipath - replace of non-existent route [ OK ] # 58.59 [+1.05] TEST: Cached route removed from VRF port device [ OK ] # 58.59 [+0.00] # 58.59 [+0.00] IPv4 route with dsfield tests # 58.72 [+0.13] TEST: Reject route with dsfield 0x01 [ OK ] # 58.79 [+0.06] TEST: Reject route with dsfield 0x02 [ OK ] # 58.86 [+0.07] TEST: Reject route with dsfield 0x03 [ OK ] # 59.04 [+0.19] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 59.10 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 59.18 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 59.23 [+0.05] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 59.30 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 59.36 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 59.42 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 59.49 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 59.55 [+0.06] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 59.61 [+0.06] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 59.67 [+0.06] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 59.74 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 60.99 [+1.25] # 60.99 [+0.00] IPv6 prefix route tests # 62.33 [+1.34] TEST: Default metric [ OK ] # 62.54 [+0.21] TEST: User specified metric on first device [ OK ] # 62.75 [+0.21] TEST: User specified metric on second device [ OK ] # 62.88 [+0.13] TEST: Delete of address on first device [ OK ] # 63.01 [+0.13] TEST: Modify metric of address [ OK ] # 63.23 [+0.22] TEST: Prefix route removed on link down [ OK ] # 63.36 [+0.13] TEST: Prefix route with metric on link up [ OK ] # 63.58 [+0.22] TEST: Set metric with peer route on local side [ OK ] # 63.65 [+0.07] TEST: Set metric with peer route on peer side [ OK ] # 63.78 [+0.13] TEST: Modify metric and peer address on local side [ OK ] # 63.85 [+0.07] TEST: Modify metric and peer address on peer side [ OK ] # 64.57 [+0.72] # 64.57 [+0.00] IPv4 prefix route tests # 65.87 [+1.30] TEST: Default metric [ OK ] # 66.07 [+0.20] TEST: User specified metric on first device [ OK ] # 66.27 [+0.20] TEST: User specified metric on second device [ OK ] # 66.40 [+0.13] TEST: Delete of address on first device [ OK ] # 66.53 [+0.13] TEST: Modify metric of address [ OK ] # 66.65 [+0.12] TEST: Prefix route removed on link down [ OK ] # 66.79 [+0.14] TEST: Prefix route with metric on link up [ OK ] # 67.05 [+0.27] TEST: Modify metric of .0/24 address [ OK ] # 67.25 [+0.19] TEST: Set metric of address with peer route [ OK ] # 67.38 [+0.14] TEST: Modify metric and peer address for peer route [ OK ] # 68.09 [+0.71] # 68.09 [+0.00] IPv6 routes with metrics # 71.31 [+3.22] TEST: Single path route with mtu metric [ OK ] # 71.52 [+0.21] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 71.72 [+0.20] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 71.86 [+0.13] TEST: MTU of second leg [ OK ] # 72.00 [+0.14] TEST: Multipath route with mtu metric [ OK ] # 72.16 [+0.16] TEST: Using route with mtu metric [ OK ] # 72.28 [+0.12] TEST: Invalid metric (fails metric_convert) [ OK ] # 73.50 [+1.22] # 73.50 [+0.00] IPv4 route add / append tests # 76.70 [+3.20] TEST: Single path route with mtu metric [ OK ] # 76.83 [+0.13] TEST: Multipath route with mtu metric [ OK ] # 76.99 [+0.16] TEST: Using route with mtu metric [ OK ] # 77.10 [+0.11] TEST: Invalid metric (fails metric_convert) [ OK ] # 78.37 [+1.27] # 78.37 [+0.00] IPv4 route with IPv6 gateway tests # 83.57 [+5.20] TEST: Single path route with IPv6 gateway [ OK ] # 83.74 [+0.17] TEST: Single path route with IPv6 gateway - ping [ OK ] # 83.80 [+0.06] TEST: Single path route delete [ OK ] # 83.92 [+0.12] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 84.05 [+0.14] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 84.11 [+0.06] TEST: Multipath route delete exact match [ OK ] # 84.18 [+0.07] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 84.33 [+0.15] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 84.39 [+0.06] TEST: Multipath route delete exact match [ OK ] # 85.64 [+1.25] # 85.64 [+0.00] IPv4 rp_filter tests # 89.89 [+4.25] TEST: rp_filter passes local packets [ OK ] # 89.99 [+0.10] TEST: rp_filter passes loopback packets [ OK ] # 90.55 [+0.56] # 90.55 [+0.00] IPv4 delete address route tests # 92.52 [+1.97] Regular FIB info # 92.65 [+0.13] TEST: Route removed from VRF when source address deleted [ OK ] # 92.71 [+0.06] TEST: Route in default VRF not removed [ OK ] # 92.97 [+0.25] TEST: Route removed in default VRF when source address deleted [ OK ] # 93.02 [+0.05] TEST: Route in VRF is not removed by address delete [ OK ] # 93.02 [+0.00] Identical FIB info with different table ID # 93.15 [+0.13] TEST: Route removed from VRF when source address deleted [ OK ] # 93.21 [+0.06] TEST: Route in default VRF not removed [ OK ] # 93.45 [+0.24] TEST: Route removed in default VRF when source address deleted [ OK ] # 93.52 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 93.52 [+0.00] Table ID 0 # 93.62 [+0.10] TEST: Route removed in default VRF when source address deleted [ OK ] # 94.36 [+0.73] # 94.36 [+0.00] IPv6 delete address route tests # 97.74 [+3.39] Single device using src address # 97.86 [+0.12] TEST: Prefsrc removed when src address removed on other device [ OK ] # 97.86 [+0.00] Two devices with the same source address # 97.98 [+0.12] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 98.10 [+0.12] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 98.10 [+0.00] VRF with single device using src address # 98.23 [+0.13] TEST: Prefsrc removed when src address removed on other device [ OK ] # 98.24 [+0.00] VRF with two devices using src address # 98.35 [+0.12] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 98.47 [+0.12] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 98.47 [+0.00] src address and nexthop dev in same VRF # 98.58 [+0.11] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 98.65 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 98.87 [+0.22] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 98.93 [+0.06] TEST: Prefsrc in default VRF removed [ OK ] # 98.93 [+0.00] src address and nexthop device in different VRF # 99.06 [+0.12] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 99.13 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 99.30 [+0.17] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 99.37 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 99.37 [+0.00] Table ID 0 # 99.50 [+0.13] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 99.50 [+0.00] Link local source route # 99.61 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 99.74 [+0.14] TEST: Prefsrc removed when delete ll addr [ OK ] # 99.79 [+0.05] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 99.97 [+0.18] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 101.14 [+1.17] # 101.14 [+0.00] IPv4 mangling tests # 107.28 [+6.14] TEST: Connection with correct parameters [ OK ] # 107.41 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 108.29 [+0.87] TEST: Connection with correct parameters - mangling [ OK ] # 109.06 [+0.77] TEST: Connection with correct parameters - no mangling [ OK ] # 109.12 [+0.06] TEST: Connection check - server side [ OK ] # 110.65 [+1.53] # 110.65 [+0.00] IPv6 mangling tests # 116.76 [+6.11] TEST: Connection with correct parameters [ OK ] # 116.90 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 117.66 [+0.76] TEST: Connection with correct parameters - mangling [ OK ] # 118.44 [+0.78] TEST: Connection with correct parameters - no mangling [ OK ] # 118.48 [+0.04] TEST: Connection check - server side [ OK ] # 119.89 [+1.41] # 119.89 [+0.00] IPv4 broadcast neighbour tests # 121.42 [+1.53] TEST: Resolved neighbour for broadcast address [ OK ] # 121.48 [+0.06] TEST: Resolved neighbour for network broadcast address [ OK ] # 121.55 [+0.07] TEST: Unresolved neighbour for broadcast address [ OK ] # 121.61 [+0.06] TEST: Unresolved neighbour for network broadcast address [ OK ] # 122.92 [+1.31] # 122.92 [+0.00] Fib6 garbage collection test # 135.75 [+12.83] TEST: ipv6 route garbage collection [ OK ] # 148.75 [+13.01] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 161.74 [+12.99] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 174.81 [+13.07] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 188.68 [+13.87] TEST: ipv6 route garbage collection (RA message) [ OK ] # 189.20 [+0.52] # 189.20 [+0.00] IPv4 multipath list receive tests # 201.81 [+12.61] TEST: Multipath route hit ratio (1.00) [ OK ] # 203.17 [+1.36] # 203.17 [+0.00] IPv6 multipath list receive tests # 216.09 [+12.92] TEST: Multipath route hit ratio (1.00) [ OK ] # 217.63 [+1.54] # 217.63 [+0.00] Tests passed: 229 # 217.63 [+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__->