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.25 [+0.88] Start point # 1.33 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.42 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.54 [+0.12] Nexthop device deleted # 1.62 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.70 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.22 [+0.52] # 2.22 [+0.00] Multipath route test # 3.82 [+1.60] Start point # 3.90 [+0.07] TEST: IPv4 fibmatch [ OK ] # 3.98 [+0.09] TEST: IPv6 fibmatch [ OK ] # 4.11 [+0.13] One nexthop device deleted # 4.19 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.26 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 4.39 [+0.13] Second nexthop device deleted # 4.46 [+0.07] TEST: IPv6 - no route [ OK ] # 5.00 [+0.53] # 5.00 [+0.00] Single path, admin down # 6.13 [+1.14] Start point # 6.22 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.30 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.38 [+0.08] Route deleted on down # 6.46 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.54 [+0.07] TEST: IPv6 fibmatch [ OK ] # 6.95 [+0.42] # 6.95 [+0.00] Admin down multipath # 8.50 [+1.54] Verify start point # 8.57 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.65 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.73 [+0.08] One device down, one up # 8.81 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 8.89 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 8.96 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.05 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 9.13 [+0.08] TEST: IPv4 flags on down device [ OK ] # 9.21 [+0.08] TEST: IPv6 flags on down device [ OK ] # 9.30 [+0.09] TEST: IPv4 flags on up device [ OK ] # 9.38 [+0.08] TEST: IPv6 flags on up device [ OK ] # 9.55 [+0.17] Other device down and up # 9.63 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 9.70 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 9.79 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 9.87 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.97 [+0.10] TEST: IPv4 flags on down device [ OK ] # 10.05 [+0.08] TEST: IPv6 flags on down device [ OK ] # 10.14 [+0.09] TEST: IPv4 flags on up device [ OK ] # 10.23 [+0.08] TEST: IPv6 flags on up device [ OK ] # 10.31 [+0.09] Both devices down # 10.38 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.47 [+0.09] TEST: IPv6 fibmatch [ OK ] # 11.02 [+0.56] # 11.02 [+0.00] Local carrier tests - single path # 12.19 [+1.17] Start point # 12.27 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.35 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.45 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 12.53 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 13.65 [+1.12] Carrier off on nexthop # 13.74 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.82 [+0.08] TEST: IPv6 fibmatch [ OK ] # 13.89 [+0.07] TEST: IPv4 - linkdown flag set [ OK ] # 13.99 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 14.14 [+0.15] Route to local address with carrier down # 14.22 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.30 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.40 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 14.46 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 14.91 [+0.45] # 14.91 [+0.00] Single path route carrier test # 16.05 [+1.13] Start point # 16.12 [+0.07] TEST: IPv4 fibmatch [ OK ] # 16.20 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.27 [+0.07] TEST: IPv4 no linkdown flag [ OK ] # 16.35 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 17.48 [+1.13] Carrier down # 17.57 [+0.09] TEST: IPv4 fibmatch [ OK ] # 17.64 [+0.07] TEST: IPv6 fibmatch [ OK ] # 17.72 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 17.80 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 17.97 [+0.16] Second address added with carrier down # 18.05 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.13 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.20 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 18.29 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 22.37 [+4.08] # 22.37 [+0.00] IPv4 nexthop tests # 22.37 [+0.00] <<< write me >>> # 22.60 [+0.23] # 22.60 [+0.00] IPv6 nexthop tests # 22.69 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 22.78 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 22.87 [+0.09] TEST: Gateway is linklocal address [ OK ] # 22.95 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 23.04 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 23.13 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 23.22 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 23.31 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 23.40 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 23.50 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 23.59 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 23.68 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 23.76 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 23.85 [+0.08] TEST: VRF route, gateway can not be a local addr with device [ OK ] DETECTED CRASH, lowering timeout # 24.61 [+0.76] # 24.61 [+0.00] FIB rule with suppress_prefixlength # 25.82 [+1.21] TEST: FIB rule suppress test [ OK ] # 26.95 [+1.13] # 26.95 [+0.00] Fib6 info length calculation in route notify test # 30.32 [+3.37] TEST: ipv6 route add notify [ OK ] # 31.41 [+1.09] # 31.41 [+0.00] Fib4 info length calculation in route notify test # 34.72 [+3.31] TEST: ipv4 route add notify [ OK ] # 37.72 [+3.00] # 37.72 [+0.00] IPv6 route add / append tests # 37.96 [+0.24] TEST: Attempt to add duplicate route - gw [ OK ] # 38.20 [+0.24] TEST: Attempt to add duplicate route - dev only [ OK ] # 38.44 [+0.23] TEST: Attempt to add duplicate route - reject route [ OK ] # 38.76 [+0.32] TEST: Append nexthop to existing route - gw [ OK ] # 39.00 [+0.25] TEST: Add multipath route [ OK ] # 39.27 [+0.27] TEST: Attempt to add duplicate multipath route [ OK ] # 39.57 [+0.30] TEST: Route add with different metrics [ OK ] # 39.70 [+0.13] TEST: Route delete with metric [ OK ] # 39.70 [+0.00] # 39.70 [+0.00] IPv6 route replace tests # 40.02 [+0.32] TEST: Single path with single path [ OK ] # 40.34 [+0.31] TEST: Single path with multipath [ OK ] # 40.66 [+0.32] TEST: Single path with single path via multipath attribute [ OK ] # 40.98 [+0.32] TEST: Invalid nexthop [ OK ] # 41.22 [+0.24] TEST: Single path - replace of non-existent route [ OK ] # 41.54 [+0.33] TEST: Multipath with multipath [ OK ] # 41.85 [+0.31] TEST: Multipath with single path [ OK ] # 42.17 [+0.32] TEST: Multipath with single path via multipath attribute [ OK ] # 42.50 [+0.33] TEST: Multipath with dev-only [ OK ] # 42.81 [+0.31] TEST: Multipath - invalid first nexthop [ OK ] # 43.12 [+0.32] TEST: Multipath - invalid second nexthop [ OK ] # 43.36 [+0.24] TEST: Multipath - replace of non-existent route [ OK ] # 43.36 [+0.00] # 43.36 [+0.00] IPv6 route with dsfield tests # 43.48 [+0.12] TEST: Reject route with dsfield [ OK ] # 47.68 [+4.20] # 47.68 [+0.00] IPv4 route add / append tests # 47.92 [+0.24] TEST: Attempt to add duplicate route - gw [ OK ] # 48.17 [+0.25] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.41 [+0.24] TEST: Attempt to add duplicate route - reject route [ OK ] # 48.72 [+0.32] TEST: Add new nexthop for existing prefix [ OK ] # 49.02 [+0.30] TEST: Append nexthop to existing route - gw [ OK ] # 49.32 [+0.30] TEST: Append nexthop to existing route - dev only [ OK ] # 49.64 [+0.32] TEST: Append nexthop to existing route - reject route [ OK ] # 49.88 [+0.25] TEST: Append nexthop to existing reject route - gw [ OK ] # 50.15 [+0.26] TEST: Append nexthop to existing reject route - dev only [ OK ] # 50.39 [+0.24] TEST: add multipath route [ OK ] # 50.63 [+0.24] TEST: Attempt to add duplicate multipath route [ OK ] # 50.94 [+0.31] TEST: Route add with different metrics [ OK ] # 51.08 [+0.13] TEST: Route delete with metric [ OK ] # 51.08 [+0.00] # 51.08 [+0.00] IPv4 route replace tests # 51.39 [+0.31] TEST: Single path with single path [ OK ] # 51.69 [+0.31] TEST: Single path with multipath [ OK ] # 52.00 [+0.31] TEST: Single path with reject route [ OK ] # 52.33 [+0.32] TEST: Single path with single path via multipath attribute [ OK ] # 52.64 [+0.31] TEST: Invalid nexthop [ OK ] # 52.88 [+0.25] TEST: Single path - replace of non-existent route [ OK ] # 53.21 [+0.33] TEST: Multipath with multipath [ OK ] # 53.58 [+0.38] TEST: Multipath with single path [ OK ] # 53.99 [+0.40] TEST: Multipath with single path via multipath attribute [ OK ] # 54.34 [+0.35] TEST: Multipath with reject route [ OK ] # 54.65 [+0.31] TEST: Multipath - invalid first nexthop [ OK ] # 54.97 [+0.31] TEST: Multipath - invalid second nexthop [ OK ] # 55.22 [+0.25] TEST: Multipath - replace of non-existent route [ OK ] # 56.21 [+0.99] TEST: Cached route removed from VRF port device [ OK ] # 56.21 [+0.00] # 56.21 [+0.00] IPv4 route with dsfield tests # 56.34 [+0.12] TEST: Reject route with dsfield 0x01 [ OK ] # 56.40 [+0.06] TEST: Reject route with dsfield 0x02 [ OK ] # 56.46 [+0.06] TEST: Reject route with dsfield 0x03 [ OK ] # 56.65 [+0.18] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 56.72 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 56.78 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 56.85 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 56.91 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 56.97 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 57.03 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 57.09 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 57.15 [+0.06] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 57.20 [+0.06] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 57.27 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 57.33 [+0.06] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 58.55 [+1.21] # 58.55 [+0.00] IPv6 prefix route tests # 59.82 [+1.28] TEST: Default metric [ OK ] # 60.06 [+0.23] TEST: User specified metric on first device [ OK ] # 60.26 [+0.21] TEST: User specified metric on second device [ OK ] # 60.40 [+0.13] TEST: Delete of address on first device [ OK ] # 60.52 [+0.12] TEST: Modify metric of address [ OK ] # 60.74 [+0.22] TEST: Prefix route removed on link down [ OK ] # 60.87 [+0.13] TEST: Prefix route with metric on link up [ OK ] # 61.07 [+0.20] TEST: Set metric with peer route on local side [ OK ] # 61.13 [+0.06] TEST: Set metric with peer route on peer side [ OK ] # 61.26 [+0.13] TEST: Modify metric and peer address on local side [ OK ] # 61.34 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 62.08 [+0.74] # 62.08 [+0.00] IPv4 prefix route tests # 63.31 [+1.23] TEST: Default metric [ OK ] # 63.50 [+0.19] TEST: User specified metric on first device [ OK ] # 63.69 [+0.19] TEST: User specified metric on second device [ OK ] # 63.83 [+0.13] TEST: Delete of address on first device [ OK ] # 63.95 [+0.12] TEST: Modify metric of address [ OK ] # 64.07 [+0.12] TEST: Prefix route removed on link down [ OK ] # 64.20 [+0.13] TEST: Prefix route with metric on link up [ OK ] # 64.45 [+0.25] TEST: Modify metric of .0/24 address [ OK ] # 64.64 [+0.18] TEST: Set metric of address with peer route [ OK ] # 64.77 [+0.13] TEST: Modify metric and peer address for peer route [ OK ] # 65.43 [+0.67] # 65.44 [+0.00] IPv6 routes with metrics # 68.73 [+3.29] TEST: Single path route with mtu metric [ OK ] # 68.93 [+0.21] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 69.13 [+0.19] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 69.26 [+0.13] TEST: MTU of second leg [ OK ] # 69.39 [+0.14] TEST: Multipath route with mtu metric [ OK ] # 69.55 [+0.15] TEST: Using route with mtu metric [ OK ] # 69.66 [+0.12] TEST: Invalid metric (fails metric_convert) [ OK ] # 70.84 [+1.18] # 70.84 [+0.00] IPv4 route add / append tests # 73.89 [+3.05] TEST: Single path route with mtu metric [ OK ] # 74.03 [+0.14] TEST: Multipath route with mtu metric [ OK ] # 74.18 [+0.15] TEST: Using route with mtu metric [ OK ] # 74.29 [+0.12] TEST: Invalid metric (fails metric_convert) [ OK ] # 75.52 [+1.23] # 75.52 [+0.00] IPv4 route with IPv6 gateway tests # 80.65 [+5.13] TEST: Single path route with IPv6 gateway [ OK ] # 80.82 [+0.17] TEST: Single path route with IPv6 gateway - ping [ OK ] # 80.89 [+0.07] TEST: Single path route delete [ OK ] # 81.01 [+0.12] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 81.14 [+0.12] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 81.19 [+0.06] TEST: Multipath route delete exact match [ OK ] # 81.26 [+0.07] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 81.40 [+0.14] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 81.46 [+0.06] TEST: Multipath route delete exact match [ OK ] # 82.66 [+1.19] # 82.66 [+0.00] IPv4 rp_filter tests # 86.60 [+3.94] TEST: rp_filter passes local packets [ OK ] # 86.68 [+0.09] TEST: rp_filter passes loopback packets [ OK ] # 87.23 [+0.54] # 87.23 [+0.00] IPv4 delete address route tests # 89.10 [+1.87] Regular FIB info # 89.20 [+0.11] TEST: Route removed from VRF when source address deleted [ OK ] # 89.26 [+0.06] TEST: Route in default VRF not removed [ OK ] # 89.49 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 89.54 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 89.55 [+0.00] Identical FIB info with different table ID # 89.68 [+0.13] TEST: Route removed from VRF when source address deleted [ OK ] # 89.74 [+0.06] TEST: Route in default VRF not removed [ OK ] # 89.97 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 90.04 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 90.04 [+0.00] Table ID 0 # 90.14 [+0.10] TEST: Route removed in default VRF when source address deleted [ OK ] # 90.83 [+0.69] # 90.83 [+0.00] IPv6 delete address route tests # 94.06 [+3.23] Single device using src address # 94.19 [+0.13] TEST: Prefsrc removed when src address removed on other device [ OK ] # 94.19 [+0.00] Two devices with the same source address # 94.31 [+0.12] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 94.42 [+0.11] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 94.42 [+0.00] VRF with single device using src address # 94.54 [+0.12] TEST: Prefsrc removed when src address removed on other device [ OK ] # 94.55 [+0.00] VRF with two devices using src address # 94.66 [+0.11] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 94.77 [+0.11] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 94.77 [+0.00] src address and nexthop dev in same VRF # 94.89 [+0.11] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 94.94 [+0.06] TEST: Prefsrc in default VRF not removed [ OK ] # 95.18 [+0.24] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 95.24 [+0.06] TEST: Prefsrc in default VRF removed [ OK ] # 95.25 [+0.00] src address and nexthop device in different VRF # 95.35 [+0.10] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 95.41 [+0.06] TEST: Prefsrc not removed in default VRF [ OK ] # 95.58 [+0.18] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 95.65 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 95.66 [+0.00] Table ID 0 # 95.78 [+0.13] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 95.79 [+0.00] Link local source route # 95.90 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 96.02 [+0.12] TEST: Prefsrc removed when delete ll addr [ OK ] # 96.09 [+0.07] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 96.27 [+0.18] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 97.38 [+1.11] # 97.39 [+0.00] IPv4 mangling tests # 103.51 [+6.12] TEST: Connection with correct parameters [ OK ] # 103.62 [+0.12] TEST: Connection with incorrect parameters [ OK ] # 104.47 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 105.21 [+0.74] TEST: Connection with correct parameters - no mangling [ OK ] # 105.26 [+0.05] TEST: Connection check - server side [ OK ] # 106.66 [+1.40] # 106.66 [+0.00] IPv6 mangling tests # 112.53 [+5.86] TEST: Connection with correct parameters [ OK ] # 112.66 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 113.42 [+0.76] TEST: Connection with correct parameters - mangling [ OK ] # 114.18 [+0.76] TEST: Connection with correct parameters - no mangling [ OK ] # 114.22 [+0.04] TEST: Connection check - server side [ OK ] # 115.63 [+1.41] # 115.63 [+0.00] IPv4 broadcast neighbour tests # 117.16 [+1.53] TEST: Resolved neighbour for broadcast address [ OK ] # 117.23 [+0.06] TEST: Resolved neighbour for network broadcast address [ OK ] # 117.29 [+0.07] TEST: Unresolved neighbour for broadcast address [ OK ] # 117.35 [+0.06] TEST: Unresolved neighbour for network broadcast address [ OK ] # 118.66 [+1.31] # 118.66 [+0.00] Fib6 garbage collection test # 131.51 [+12.85] TEST: ipv6 route garbage collection [ OK ] # 144.49 [+12.98] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 157.45 [+12.96] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 170.50 [+13.05] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 184.38 [+13.88] TEST: ipv6 route garbage collection (RA message) [ OK ] # 184.89 [+0.51] # 184.89 [+0.00] IPv4 multipath list receive tests # 196.40 [+11.51] TEST: Multipath route hit ratio (1.00) [ OK ] # 197.68 [+1.28] # 197.68 [+0.00] IPv6 multipath list receive tests # 209.04 [+11.36] TEST: Multipath route hit ratio (1.00) [ OK ] # 210.31 [+1.27] # 210.31 [+0.00] Tests passed: 229 # 210.31 [+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__->