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.36 [+0.36] # 0.36 [+0.00] Single path route test # 1.28 [+0.92] Start point # 1.36 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.44 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.57 [+0.13] Nexthop device deleted # 1.66 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.75 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 2.32 [+0.56] # 2.32 [+0.00] Multipath route test # 3.92 [+1.61] Start point # 4.00 [+0.07] TEST: IPv4 fibmatch [ OK ] # 4.08 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.23 [+0.15] One nexthop device deleted # 4.31 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.38 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 4.51 [+0.13] Second nexthop device deleted # 4.59 [+0.07] TEST: IPv6 - no route [ OK ] # 5.13 [+0.54] # 5.13 [+0.00] Single path, admin down # 6.24 [+1.12] Start point # 6.32 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.40 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.49 [+0.09] Route deleted on down # 6.56 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.64 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.09 [+0.45] # 7.09 [+0.00] Admin down multipath # 8.83 [+1.74] Verify start point # 8.97 [+0.14] TEST: IPv4 fibmatch [ OK ] # 9.05 [+0.08] TEST: IPv6 fibmatch [ OK ] # 9.13 [+0.08] One device down, one up # 9.22 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 9.32 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 9.43 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 9.51 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.60 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.69 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.77 [+0.08] TEST: IPv4 flags on up device [ OK ] # 9.86 [+0.08] TEST: IPv6 flags on up device [ OK ] # 10.04 [+0.18] Other device down and up # 10.14 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 10.27 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 10.35 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.44 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 10.53 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.64 [+0.11] TEST: IPv6 flags on down device [ OK ] # 10.73 [+0.09] TEST: IPv4 flags on up device [ OK ] # 10.84 [+0.11] TEST: IPv6 flags on up device [ OK ] # 10.91 [+0.07] Both devices down # 11.00 [+0.08] TEST: IPv4 fibmatch [ OK ] # 11.07 [+0.07] TEST: IPv6 fibmatch [ OK ] # 11.60 [+0.54] # 11.60 [+0.00] Local carrier tests - single path # 12.81 [+1.20] Start point # 12.89 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.97 [+0.08] TEST: IPv6 fibmatch [ OK ] # 13.05 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 13.13 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 14.26 [+1.13] Carrier off on nexthop # 14.35 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.42 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.51 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 14.61 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 14.77 [+0.16] Route to local address with carrier down # 14.85 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.93 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.01 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 15.08 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 15.52 [+0.44] # 15.52 [+0.00] Single path route carrier test # 16.68 [+1.16] Start point # 16.76 [+0.08] TEST: IPv4 fibmatch [ OK ] # 16.84 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.92 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 17.01 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 18.14 [+1.12] Carrier down # 18.23 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.31 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.38 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 18.44 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 18.61 [+0.16] Second address added with carrier down # 18.69 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.77 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.85 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.94 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 23.06 [+4.11] # 23.06 [+0.00] IPv4 nexthop tests # 23.06 [+0.00] <<< write me >>> # 23.28 [+0.23] # 23.28 [+0.00] IPv6 nexthop tests # 23.37 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 23.47 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.56 [+0.09] TEST: Gateway is linklocal address [ OK ] # 23.64 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 23.73 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 23.83 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 23.93 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 24.02 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 24.13 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.23 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.32 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 24.41 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.49 [+0.08] TEST: VRF route, gateway can not be a local address [ OK ] # 24.58 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] DETECTED CRASH, lowering timeout # 25.37 [+0.79] # 25.37 [+0.00] FIB rule with suppress_prefixlength # 26.61 [+1.24] TEST: FIB rule suppress test [ OK ] # 27.77 [+1.16] # 27.77 [+0.00] Fib6 info length calculation in route notify test # 31.14 [+3.38] TEST: ipv6 route add notify [ OK ] # 32.29 [+1.15] # 32.29 [+0.00] Fib4 info length calculation in route notify test # 35.66 [+3.37] TEST: ipv4 route add notify [ OK ] # 38.77 [+3.11] # 38.77 [+0.00] IPv6 route add / append tests # 39.02 [+0.25] TEST: Attempt to add duplicate route - gw [ OK ] # 39.28 [+0.25] TEST: Attempt to add duplicate route - dev only [ OK ] # 39.53 [+0.25] TEST: Attempt to add duplicate route - reject route [ OK ] # 39.86 [+0.34] TEST: Append nexthop to existing route - gw [ OK ] # 40.11 [+0.25] TEST: Add multipath route [ OK ] # 40.37 [+0.25] TEST: Attempt to add duplicate multipath route [ OK ] # 40.68 [+0.31] TEST: Route add with different metrics [ OK ] # 40.83 [+0.15] TEST: Route delete with metric [ OK ] # 40.83 [+0.00] # 40.83 [+0.00] IPv6 route replace tests # 41.15 [+0.32] TEST: Single path with single path [ OK ] # 41.48 [+0.33] TEST: Single path with multipath [ OK ] # 41.80 [+0.32] TEST: Single path with single path via multipath attribute [ OK ] # 42.12 [+0.31] TEST: Invalid nexthop [ OK ] # 42.37 [+0.26] TEST: Single path - replace of non-existent route [ OK ] # 42.70 [+0.33] TEST: Multipath with multipath [ OK ] # 43.02 [+0.32] TEST: Multipath with single path [ OK ] # 43.34 [+0.32] TEST: Multipath with single path via multipath attribute [ OK ] # 43.65 [+0.31] TEST: Multipath with dev-only [ OK ] # 43.99 [+0.34] TEST: Multipath - invalid first nexthop [ OK ] # 44.32 [+0.33] TEST: Multipath - invalid second nexthop [ OK ] # 44.59 [+0.27] TEST: Multipath - replace of non-existent route [ OK ] # 44.59 [+0.00] # 44.59 [+0.00] IPv6 route with dsfield tests # 44.72 [+0.13] TEST: Reject route with dsfield [ OK ] # 49.15 [+4.43] # 49.16 [+0.00] IPv4 route add / append tests # 49.41 [+0.25] TEST: Attempt to add duplicate route - gw [ OK ] # 49.66 [+0.25] TEST: Attempt to add duplicate route - dev only [ OK ] # 49.92 [+0.26] TEST: Attempt to add duplicate route - reject route [ OK ] # 50.25 [+0.33] TEST: Add new nexthop for existing prefix [ OK ] # 50.57 [+0.32] TEST: Append nexthop to existing route - gw [ OK ] # 50.88 [+0.30] TEST: Append nexthop to existing route - dev only [ OK ] # 51.19 [+0.31] TEST: Append nexthop to existing route - reject route [ OK ] # 51.45 [+0.26] TEST: Append nexthop to existing reject route - gw [ OK ] # 51.70 [+0.24] TEST: Append nexthop to existing reject route - dev only [ OK ] # 51.95 [+0.25] TEST: add multipath route [ OK ] # 52.19 [+0.24] TEST: Attempt to add duplicate multipath route [ OK ] # 52.50 [+0.31] TEST: Route add with different metrics [ OK ] # 52.65 [+0.14] TEST: Route delete with metric [ OK ] # 52.65 [+0.00] # 52.65 [+0.00] IPv4 route replace tests # 52.96 [+0.31] TEST: Single path with single path [ OK ] # 53.34 [+0.38] TEST: Single path with multipath [ OK ] # 53.73 [+0.39] TEST: Single path with reject route [ OK ] # 54.08 [+0.34] TEST: Single path with single path via multipath attribute [ OK ] # 54.39 [+0.31] TEST: Invalid nexthop [ OK ] # 54.64 [+0.25] TEST: Single path - replace of non-existent route [ OK ] # 54.96 [+0.32] TEST: Multipath with multipath [ OK ] # 55.27 [+0.32] TEST: Multipath with single path [ OK ] # 55.58 [+0.30] TEST: Multipath with single path via multipath attribute [ OK ] # 55.89 [+0.31] TEST: Multipath with reject route [ OK ] # 56.20 [+0.31] TEST: Multipath - invalid first nexthop [ OK ] # 56.52 [+0.32] TEST: Multipath - invalid second nexthop [ OK ] # 56.76 [+0.24] TEST: Multipath - replace of non-existent route [ OK ] # 57.80 [+1.04] TEST: Cached route removed from VRF port device [ OK ] # 57.80 [+0.00] # 57.80 [+0.00] IPv4 route with dsfield tests # 57.93 [+0.13] TEST: Reject route with dsfield 0x01 [ OK ] # 58.00 [+0.07] TEST: Reject route with dsfield 0x02 [ OK ] # 58.06 [+0.06] TEST: Reject route with dsfield 0x03 [ OK ] # 58.24 [+0.18] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 58.31 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 58.36 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 58.43 [+0.06] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 58.49 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 58.56 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 58.63 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 58.68 [+0.05] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 58.75 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 58.81 [+0.05] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 58.86 [+0.06] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 58.92 [+0.06] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 60.18 [+1.25] # 60.18 [+0.00] IPv6 prefix route tests # 61.48 [+1.30] TEST: Default metric [ OK ] # 61.68 [+0.20] TEST: User specified metric on first device [ OK ] # 61.92 [+0.24] TEST: User specified metric on second device [ OK ] # 62.05 [+0.13] TEST: Delete of address on first device [ OK ] # 62.18 [+0.13] TEST: Modify metric of address [ OK ] # 62.40 [+0.22] TEST: Prefix route removed on link down [ OK ] # 62.53 [+0.13] TEST: Prefix route with metric on link up [ OK ] # 62.74 [+0.20] TEST: Set metric with peer route on local side [ OK ] # 62.80 [+0.07] TEST: Set metric with peer route on peer side [ OK ] # 62.93 [+0.13] TEST: Modify metric and peer address on local side [ OK ] # 63.01 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 63.74 [+0.73] # 63.74 [+0.00] IPv4 prefix route tests # 65.03 [+1.30] TEST: Default metric [ OK ] # 65.21 [+0.18] TEST: User specified metric on first device [ OK ] # 65.40 [+0.19] TEST: User specified metric on second device [ OK ] # 65.53 [+0.13] TEST: Delete of address on first device [ OK ] # 65.66 [+0.12] TEST: Modify metric of address [ OK ] # 65.78 [+0.12] TEST: Prefix route removed on link down [ OK ] # 65.91 [+0.13] TEST: Prefix route with metric on link up [ OK ] # 66.16 [+0.26] TEST: Modify metric of .0/24 address [ OK ] # 66.36 [+0.20] TEST: Set metric of address with peer route [ OK ] # 66.49 [+0.13] TEST: Modify metric and peer address for peer route [ OK ] # 67.18 [+0.69] # 67.19 [+0.00] IPv6 routes with metrics # 70.32 [+3.13] TEST: Single path route with mtu metric [ OK ] # 70.52 [+0.20] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 70.72 [+0.20] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 70.85 [+0.13] TEST: MTU of second leg [ OK ] # 70.99 [+0.14] TEST: Multipath route with mtu metric [ OK ] # 71.14 [+0.15] TEST: Using route with mtu metric [ OK ] # 71.26 [+0.11] TEST: Invalid metric (fails metric_convert) [ OK ] # 72.46 [+1.20] # 72.46 [+0.00] IPv4 route add / append tests # 75.61 [+3.15] TEST: Single path route with mtu metric [ OK ] # 75.74 [+0.13] TEST: Multipath route with mtu metric [ OK ] # 75.89 [+0.15] TEST: Using route with mtu metric [ OK ] # 76.00 [+0.11] TEST: Invalid metric (fails metric_convert) [ OK ] # 77.23 [+1.22] # 77.23 [+0.00] IPv4 route with IPv6 gateway tests # 82.37 [+5.15] TEST: Single path route with IPv6 gateway [ OK ] # 82.54 [+0.16] TEST: Single path route with IPv6 gateway - ping [ OK ] # 82.60 [+0.06] TEST: Single path route delete [ OK ] # 82.71 [+0.12] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 82.84 [+0.13] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 82.90 [+0.06] TEST: Multipath route delete exact match [ OK ] # 82.97 [+0.07] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 83.09 [+0.12] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 83.16 [+0.07] TEST: Multipath route delete exact match [ OK ] # 84.37 [+1.21] # 84.37 [+0.00] IPv4 rp_filter tests # 88.44 [+4.07] TEST: rp_filter passes local packets [ OK ] # 88.54 [+0.10] TEST: rp_filter passes loopback packets [ OK ] # 89.06 [+0.53] # 89.06 [+0.00] IPv4 delete address route tests # 90.98 [+1.91] Regular FIB info # 91.10 [+0.12] TEST: Route removed from VRF when source address deleted [ OK ] # 91.15 [+0.05] TEST: Route in default VRF not removed [ OK ] # 91.39 [+0.24] TEST: Route removed in default VRF when source address deleted [ OK ] # 91.45 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 91.45 [+0.00] Identical FIB info with different table ID # 91.57 [+0.13] TEST: Route removed from VRF when source address deleted [ OK ] # 91.64 [+0.07] TEST: Route in default VRF not removed [ OK ] # 91.87 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 91.93 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 91.93 [+0.00] Table ID 0 # 92.05 [+0.13] TEST: Route removed in default VRF when source address deleted [ OK ] # 92.80 [+0.74] # 92.80 [+0.00] IPv6 delete address route tests # 96.08 [+3.29] Single device using src address # 96.20 [+0.12] TEST: Prefsrc removed when src address removed on other device [ OK ] # 96.20 [+0.00] Two devices with the same source address # 96.33 [+0.13] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 96.45 [+0.12] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 96.45 [+0.00] VRF with single device using src address # 96.56 [+0.11] TEST: Prefsrc removed when src address removed on other device [ OK ] # 96.56 [+0.00] VRF with two devices using src address # 96.69 [+0.12] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 96.80 [+0.11] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 96.80 [+0.00] src address and nexthop dev in same VRF # 96.92 [+0.12] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 96.99 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 97.22 [+0.23] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 97.28 [+0.06] TEST: Prefsrc in default VRF removed [ OK ] # 97.28 [+0.00] src address and nexthop device in different VRF # 97.39 [+0.11] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 97.45 [+0.06] TEST: Prefsrc not removed in default VRF [ OK ] # 97.62 [+0.17] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 97.69 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 97.69 [+0.00] Table ID 0 # 97.81 [+0.12] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 97.81 [+0.00] Link local source route # 97.93 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 98.05 [+0.11] TEST: Prefsrc removed when delete ll addr [ OK ] # 98.11 [+0.06] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 98.27 [+0.17] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 99.42 [+1.15] # 99.42 [+0.00] IPv4 mangling tests # 105.57 [+6.14] TEST: Connection with correct parameters [ OK ] # 105.69 [+0.12] TEST: Connection with incorrect parameters [ OK ] # 106.54 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 107.30 [+0.75] TEST: Connection with correct parameters - no mangling [ OK ] # 107.35 [+0.05] TEST: Connection check - server side [ OK ] # 108.77 [+1.43] # 108.77 [+0.00] IPv6 mangling tests # 114.73 [+5.96] TEST: Connection with correct parameters [ OK ] # 114.88 [+0.14] TEST: Connection with incorrect parameters [ OK ] # 115.62 [+0.74] TEST: Connection with correct parameters - mangling [ OK ] # 116.38 [+0.76] TEST: Connection with correct parameters - no mangling [ OK ] # 116.43 [+0.05] TEST: Connection check - server side [ OK ] # 117.88 [+1.45] # 117.88 [+0.00] IPv4 broadcast neighbour tests # 119.40 [+1.52] TEST: Resolved neighbour for broadcast address [ OK ] # 119.46 [+0.06] TEST: Resolved neighbour for network broadcast address [ OK ] # 119.52 [+0.06] TEST: Unresolved neighbour for broadcast address [ OK ] # 119.59 [+0.07] TEST: Unresolved neighbour for network broadcast address [ OK ] # 120.87 [+1.28] # 120.87 [+0.00] Fib6 garbage collection test # 133.70 [+12.83] TEST: ipv6 route garbage collection [ OK ] # 146.70 [+13.00] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 159.71 [+13.01] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 172.78 [+13.07] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 186.70 [+13.92] TEST: ipv6 route garbage collection (RA message) [ OK ] # 187.21 [+0.51] # 187.21 [+0.00] IPv4 multipath list receive tests # 198.90 [+11.69] TEST: Multipath route hit ratio (1.00) [ OK ] # 200.26 [+1.35] # 200.26 [+0.00] IPv6 multipath list receive tests # 212.19 [+11.93] TEST: Multipath route hit ratio (1.00) [ OK ] # 213.53 [+1.34] # 213.53 [+0.00] Tests passed: 229 # 213.53 [+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__->