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.33 [+0.33] # 0.33 [+0.00] Single path route test # 1.20 [+0.87] Start point # 1.28 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.35 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.48 [+0.13] Nexthop device deleted # 1.57 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.65 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.17 [+0.53] # 2.18 [+0.00] Multipath route test # 3.70 [+1.53] Start point # 3.78 [+0.08] TEST: IPv4 fibmatch [ OK ] # 3.86 [+0.08] TEST: IPv6 fibmatch [ OK ] # 3.98 [+0.11] One nexthop device deleted # 4.05 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.13 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 4.24 [+0.11] Second nexthop device deleted # 4.32 [+0.08] TEST: IPv6 - no route [ OK ] DETECTED CRASH, lowering timeout # 4.78 [+0.47] # 4.78 [+0.00] Single path, admin down # 5.53 [+0.74] Start point # 5.59 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.64 [+0.05] TEST: IPv6 fibmatch [ OK ] # 5.69 [+0.05] Route deleted on down # 5.75 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.80 [+0.05] TEST: IPv6 fibmatch [ OK ] # 6.10 [+0.30] # 6.10 [+0.00] Admin down multipath # 7.18 [+1.08] Verify start point # 7.24 [+0.06] TEST: IPv4 fibmatch [ OK ] # 7.29 [+0.05] TEST: IPv6 fibmatch [ OK ] # 7.35 [+0.06] One device down, one up # 7.40 [+0.05] TEST: IPv4 fibmatch on down device [ OK ] # 7.46 [+0.05] TEST: IPv6 fibmatch on down device [ OK ] # 7.52 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 7.57 [+0.05] TEST: IPv6 fibmatch on up device [ OK ] # 7.64 [+0.07] TEST: IPv4 flags on down device [ OK ] # 7.71 [+0.07] TEST: IPv6 flags on down device [ OK ] # 7.78 [+0.07] TEST: IPv4 flags on up device [ OK ] # 7.84 [+0.06] TEST: IPv6 flags on up device [ OK ] # 7.96 [+0.12] Other device down and up # 8.01 [+0.05] TEST: IPv4 fibmatch on down device [ OK ] # 8.07 [+0.06] TEST: IPv6 fibmatch on down device [ OK ] # 8.12 [+0.05] TEST: IPv4 fibmatch on up device [ OK ] # 8.17 [+0.05] TEST: IPv6 fibmatch on up device [ OK ] # 8.24 [+0.06] TEST: IPv4 flags on down device [ OK ] # 8.30 [+0.06] TEST: IPv6 flags on down device [ OK ] # 8.36 [+0.06] TEST: IPv4 flags on up device [ OK ] # 8.41 [+0.05] TEST: IPv6 flags on up device [ OK ] # 8.46 [+0.06] Both devices down # 8.52 [+0.06] TEST: IPv4 fibmatch [ OK ] # 8.57 [+0.05] TEST: IPv6 fibmatch [ OK ] # 8.94 [+0.36] # 8.94 [+0.00] Local carrier tests - single path # 9.73 [+0.79] Start point # 9.78 [+0.05] TEST: IPv4 fibmatch [ OK ] # 9.84 [+0.06] TEST: IPv6 fibmatch [ OK ] # 9.90 [+0.06] TEST: IPv4 - no linkdown flag [ OK ] # 9.96 [+0.07] TEST: IPv6 - no linkdown flag [ OK ] # 11.05 [+1.08] Carrier off on nexthop # 11.10 [+0.05] TEST: IPv4 fibmatch [ OK ] # 11.15 [+0.05] TEST: IPv6 fibmatch [ OK ] # 11.20 [+0.05] TEST: IPv4 - linkdown flag set [ OK ] # 11.27 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 11.37 [+0.10] Route to local address with carrier down # 11.43 [+0.06] TEST: IPv4 fibmatch [ OK ] # 11.48 [+0.06] TEST: IPv6 fibmatch [ OK ] # 11.53 [+0.05] TEST: IPv4 linkdown flag set [ OK ] # 11.59 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 11.89 [+0.30] # 11.89 [+0.00] Single path route carrier test # 12.66 [+0.77] Start point # 12.71 [+0.05] TEST: IPv4 fibmatch [ OK ] # 12.76 [+0.05] TEST: IPv6 fibmatch [ OK ] # 12.81 [+0.05] TEST: IPv4 no linkdown flag [ OK ] # 12.87 [+0.06] TEST: IPv6 no linkdown flag [ OK ] # 13.95 [+1.08] Carrier down # 14.01 [+0.05] TEST: IPv4 fibmatch [ OK ] # 14.06 [+0.05] TEST: IPv6 fibmatch [ OK ] # 14.11 [+0.05] TEST: IPv4 linkdown flag set [ OK ] # 14.16 [+0.05] TEST: IPv6 linkdown flag set [ OK ] # 14.26 [+0.10] Second address added with carrier down # 14.32 [+0.05] TEST: IPv4 fibmatch [ OK ] # 14.37 [+0.05] TEST: IPv6 fibmatch [ OK ] # 14.43 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 14.49 [+0.05] TEST: IPv6 linkdown flag set [ OK ] # 17.54 [+3.05] # 17.54 [+0.00] IPv4 nexthop tests # 17.54 [+0.00] <<< write me >>> # 17.69 [+0.16] # 17.69 [+0.00] IPv6 nexthop tests # 17.75 [+0.06] TEST: Directly connected nexthop, unicast address [ OK ] # 17.82 [+0.06] TEST: Directly connected nexthop, unicast address with device [ OK ] # 17.88 [+0.06] TEST: Gateway is linklocal address [ OK ] # 17.93 [+0.05] TEST: Gateway is linklocal address, no device [ OK ] # 18.00 [+0.07] TEST: Gateway can not be local unicast address [ OK ] # 18.06 [+0.06] TEST: Gateway can not be local unicast address, with device [ OK ] # 18.12 [+0.06] TEST: Gateway can not be a local linklocal address [ OK ] # 18.18 [+0.06] TEST: Gateway can be local address in a VRF [ OK ] # 18.24 [+0.06] TEST: Gateway can be local address in a VRF, with device [ OK ] # 18.30 [+0.06] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 18.36 [+0.06] TEST: Redirect to VRF lookup [ OK ] # 18.42 [+0.06] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 18.48 [+0.06] TEST: VRF route, gateway can not be a local address [ OK ] # 18.54 [+0.06] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 19.24 [+0.70] # 19.24 [+0.00] FIB rule with suppress_prefixlength # 20.36 [+1.12] TEST: FIB rule suppress test [ OK ] # 21.38 [+1.03] # 21.39 [+0.00] Fib6 info length calculation in route notify test # 24.65 [+3.26] TEST: ipv6 route add notify [ OK ] # 25.71 [+1.07] # 25.71 [+0.00] Fib4 info length calculation in route notify test # 29.00 [+3.28] TEST: ipv4 route add notify [ OK ] # 31.85 [+2.86] # 31.85 [+0.00] IPv6 route add / append tests # 32.09 [+0.23] TEST: Attempt to add duplicate route - gw [ OK ] # 32.32 [+0.23] TEST: Attempt to add duplicate route - dev only [ OK ] # 32.55 [+0.23] TEST: Attempt to add duplicate route - reject route [ OK ] # 32.85 [+0.30] TEST: Append nexthop to existing route - gw [ OK ] # 33.10 [+0.25] TEST: Add multipath route [ OK ] # 33.33 [+0.24] TEST: Attempt to add duplicate multipath route [ OK ] # 33.64 [+0.30] TEST: Route add with different metrics [ OK ] # 33.77 [+0.13] TEST: Route delete with metric [ OK ] # 33.77 [+0.00] # 33.77 [+0.00] IPv6 route replace tests # 34.07 [+0.30] TEST: Single path with single path [ OK ] # 34.38 [+0.31] TEST: Single path with multipath [ OK ] # 34.67 [+0.29] TEST: Single path with single path via multipath attribute [ OK ] # 34.97 [+0.30] TEST: Invalid nexthop [ OK ] # 35.20 [+0.24] TEST: Single path - replace of non-existent route [ OK ] # 35.50 [+0.29] TEST: Multipath with multipath [ OK ] # 35.80 [+0.30] TEST: Multipath with single path [ OK ] # 36.10 [+0.30] TEST: Multipath with single path via multipath attribute [ OK ] # 36.40 [+0.30] TEST: Multipath with dev-only [ OK ] # 36.71 [+0.31] TEST: Multipath - invalid first nexthop [ OK ] # 37.01 [+0.30] TEST: Multipath - invalid second nexthop [ OK ] # 37.25 [+0.24] TEST: Multipath - replace of non-existent route [ OK ] # 37.25 [+0.00] # 37.25 [+0.00] IPv6 route with dsfield tests # 37.37 [+0.12] TEST: Reject route with dsfield [ OK ] # 41.38 [+4.01] # 41.38 [+0.00] IPv4 route add / append tests # 41.61 [+0.22] TEST: Attempt to add duplicate route - gw [ OK ] # 41.83 [+0.23] TEST: Attempt to add duplicate route - dev only [ OK ] # 42.06 [+0.23] TEST: Attempt to add duplicate route - reject route [ OK ] # 42.35 [+0.29] TEST: Add new nexthop for existing prefix [ OK ] # 42.64 [+0.29] TEST: Append nexthop to existing route - gw [ OK ] # 42.93 [+0.30] TEST: Append nexthop to existing route - dev only [ OK ] # 43.22 [+0.29] TEST: Append nexthop to existing route - reject route [ OK ] # 43.45 [+0.23] TEST: Append nexthop to existing reject route - gw [ OK ] # 43.70 [+0.25] TEST: Append nexthop to existing reject route - dev only [ OK ] # 43.93 [+0.22] TEST: add multipath route [ OK ] # 44.15 [+0.23] TEST: Attempt to add duplicate multipath route [ OK ] # 44.45 [+0.29] TEST: Route add with different metrics [ OK ] # 44.57 [+0.13] TEST: Route delete with metric [ OK ] # 44.58 [+0.00] # 44.58 [+0.00] IPv4 route replace tests # 44.85 [+0.28] TEST: Single path with single path [ OK ] # 45.15 [+0.30] TEST: Single path with multipath [ OK ] # 45.43 [+0.29] TEST: Single path with reject route [ OK ] # 45.72 [+0.29] TEST: Single path with single path via multipath attribute [ OK ] # 46.01 [+0.29] TEST: Invalid nexthop [ OK ] # 46.24 [+0.23] TEST: Single path - replace of non-existent route [ OK ] # 46.53 [+0.29] TEST: Multipath with multipath [ OK ] # 46.83 [+0.29] TEST: Multipath with single path [ OK ] # 47.11 [+0.28] TEST: Multipath with single path via multipath attribute [ OK ] # 47.41 [+0.30] TEST: Multipath with reject route [ OK ] # 47.70 [+0.29] TEST: Multipath - invalid first nexthop [ OK ] # 47.99 [+0.29] TEST: Multipath - invalid second nexthop [ OK ] # 48.22 [+0.23] TEST: Multipath - replace of non-existent route [ OK ] # 49.16 [+0.94] TEST: Cached route removed from VRF port device [ OK ] # 49.16 [+0.00] # 49.16 [+0.00] IPv4 route with dsfield tests # 49.28 [+0.12] TEST: Reject route with dsfield 0x01 [ OK ] # 49.34 [+0.06] TEST: Reject route with dsfield 0x02 [ OK ] # 49.40 [+0.06] TEST: Reject route with dsfield 0x03 [ OK ] # 49.58 [+0.18] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 49.65 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 49.71 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 49.77 [+0.06] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 49.82 [+0.05] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 49.88 [+0.05] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 49.94 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 50.00 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 50.05 [+0.06] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 50.10 [+0.05] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 50.16 [+0.06] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 50.22 [+0.06] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 51.39 [+1.17] # 51.39 [+0.00] IPv6 prefix route tests # 52.58 [+1.19] TEST: Default metric [ OK ] # 52.77 [+0.19] TEST: User specified metric on first device [ OK ] # 52.97 [+0.19] TEST: User specified metric on second device [ OK ] # 53.10 [+0.14] TEST: Delete of address on first device [ OK ] # 53.23 [+0.13] TEST: Modify metric of address [ OK ] # 53.53 [+0.29] TEST: Prefix route removed on link down [ OK ] # 53.68 [+0.16] TEST: Prefix route with metric on link up [ OK ] # 53.94 [+0.25] TEST: Set metric with peer route on local side [ OK ] # 54.04 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 54.18 [+0.14] TEST: Modify metric and peer address on local side [ OK ] # 54.25 [+0.07] TEST: Modify metric and peer address on peer side [ OK ] # 54.90 [+0.65] # 54.90 [+0.00] IPv4 prefix route tests # 56.08 [+1.18] TEST: Default metric [ OK ] # 56.26 [+0.18] TEST: User specified metric on first device [ OK ] # 56.44 [+0.18] TEST: User specified metric on second device [ OK ] # 56.57 [+0.12] TEST: Delete of address on first device [ OK ] # 56.68 [+0.11] TEST: Modify metric of address [ OK ] # 56.80 [+0.12] TEST: Prefix route removed on link down [ OK ] # 56.92 [+0.12] TEST: Prefix route with metric on link up [ OK ] # 57.16 [+0.24] TEST: Modify metric of .0/24 address [ OK ] # 57.35 [+0.18] TEST: Set metric of address with peer route [ OK ] # 57.46 [+0.12] TEST: Modify metric and peer address for peer route [ OK ] # 58.13 [+0.67] # 58.13 [+0.00] IPv6 routes with metrics # 61.09 [+2.96] TEST: Single path route with mtu metric [ OK ] # 61.28 [+0.19] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 61.48 [+0.20] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 61.59 [+0.11] TEST: MTU of second leg [ OK ] # 61.72 [+0.13] TEST: Multipath route with mtu metric [ OK ] # 61.87 [+0.15] TEST: Using route with mtu metric [ OK ] # 61.97 [+0.11] TEST: Invalid metric (fails metric_convert) [ OK ] # 63.15 [+1.18] # 63.15 [+0.00] IPv4 route add / append tests # 66.08 [+2.93] TEST: Single path route with mtu metric [ OK ] # 66.21 [+0.12] TEST: Multipath route with mtu metric [ OK ] # 66.35 [+0.15] TEST: Using route with mtu metric [ OK ] # 66.46 [+0.11] TEST: Invalid metric (fails metric_convert) [ OK ] # 67.60 [+1.14] # 67.61 [+0.00] IPv4 route with IPv6 gateway tests # 72.50 [+4.90] TEST: Single path route with IPv6 gateway [ OK ] # 72.66 [+0.16] TEST: Single path route with IPv6 gateway - ping [ OK ] # 72.72 [+0.06] TEST: Single path route delete [ OK ] # 72.83 [+0.11] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 72.96 [+0.13] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 73.02 [+0.06] TEST: Multipath route delete exact match [ OK ] # 73.07 [+0.05] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 73.19 [+0.12] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 73.26 [+0.06] TEST: Multipath route delete exact match [ OK ] # 74.38 [+1.12] # 74.38 [+0.00] IPv4 rp_filter tests # 78.22 [+3.84] TEST: rp_filter passes local packets [ OK ] # 78.31 [+0.10] TEST: rp_filter passes loopback packets [ OK ] # 78.82 [+0.51] # 78.82 [+0.00] IPv4 delete address route tests # 80.62 [+1.80] Regular FIB info # 80.74 [+0.12] TEST: Route removed from VRF when source address deleted [ OK ] # 80.80 [+0.06] TEST: Route in default VRF not removed [ OK ] # 81.02 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 81.08 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 81.09 [+0.00] Identical FIB info with different table ID # 81.20 [+0.11] TEST: Route removed from VRF when source address deleted [ OK ] # 81.25 [+0.05] TEST: Route in default VRF not removed [ OK ] # 81.46 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 81.51 [+0.05] TEST: Route in VRF is not removed by address delete [ OK ] # 81.52 [+0.00] Table ID 0 # 81.63 [+0.11] TEST: Route removed in default VRF when source address deleted [ OK ] # 82.27 [+0.64] # 82.27 [+0.00] IPv6 delete address route tests # 85.32 [+3.04] Single device using src address # 85.43 [+0.11] TEST: Prefsrc removed when src address removed on other device [ OK ] # 85.43 [+0.00] Two devices with the same source address # 85.54 [+0.12] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 85.65 [+0.11] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 85.65 [+0.00] VRF with single device using src address # 85.76 [+0.10] TEST: Prefsrc removed when src address removed on other device [ OK ] # 85.76 [+0.00] VRF with two devices using src address # 85.87 [+0.12] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 85.99 [+0.11] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 85.99 [+0.00] src address and nexthop dev in same VRF # 86.11 [+0.12] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 86.17 [+0.05] TEST: Prefsrc in default VRF not removed [ OK ] # 86.37 [+0.20] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 86.43 [+0.06] TEST: Prefsrc in default VRF removed [ OK ] # 86.43 [+0.00] src address and nexthop device in different VRF # 86.53 [+0.10] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 86.59 [+0.05] TEST: Prefsrc not removed in default VRF [ OK ] # 86.75 [+0.16] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 86.80 [+0.05] TEST: Prefsrc removed in default VRF [ OK ] # 86.80 [+0.00] Table ID 0 # 86.91 [+0.11] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 86.92 [+0.00] Link local source route # 87.04 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 87.15 [+0.12] TEST: Prefsrc removed when delete ll addr [ OK ] # 87.21 [+0.05] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 87.37 [+0.16] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 88.42 [+1.06] # 88.43 [+0.00] IPv4 mangling tests # 94.34 [+5.91] TEST: Connection with correct parameters [ OK ] # 94.47 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 95.32 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 96.06 [+0.74] TEST: Connection with correct parameters - no mangling [ OK ] # 96.10 [+0.04] TEST: Connection check - server side [ OK ] # 97.45 [+1.36] # 97.45 [+0.00] IPv6 mangling tests # 103.24 [+5.79] TEST: Connection with correct parameters [ OK ] # 103.37 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 104.12 [+0.75] TEST: Connection with correct parameters - mangling [ OK ] # 104.87 [+0.75] TEST: Connection with correct parameters - no mangling [ OK ] # 104.91 [+0.04] TEST: Connection check - server side [ OK ] # 106.33 [+1.41] # 106.33 [+0.00] IPv4 broadcast neighbour tests # 107.85 [+1.52] TEST: Resolved neighbour for broadcast address [ OK ] # 107.91 [+0.06] TEST: Resolved neighbour for network broadcast address [ OK ] # 107.97 [+0.06] TEST: Unresolved neighbour for broadcast address [ OK ] # 108.04 [+0.07] TEST: Unresolved neighbour for network broadcast address [ OK ] # 109.39 [+1.34] # 109.39 [+0.00] Fib6 garbage collection test # 122.23 [+12.84] TEST: ipv6 route garbage collection [ OK ] # 135.20 [+12.97] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 148.23 [+13.03] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 161.44 [+13.20] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 175.43 [+14.00] TEST: ipv6 route garbage collection (RA message) [ OK ] # 175.96 [+0.53] # 175.96 [+0.00] IPv4 multipath list receive tests # 188.41 [+12.45] TEST: Multipath route hit ratio (1.00) [ OK ] # 189.75 [+1.34] # 189.75 [+0.00] IPv6 multipath list receive tests # 201.89 [+12.14] TEST: Multipath route hit ratio (1.00) [ OK ] # 203.23 [+1.34] # 203.23 [+0.00] Tests passed: 229 # 203.23 [+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__->