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.40 [+0.40] # 0.40 [+0.00] Single path route test # 1.35 [+0.95] Start point # 1.44 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.52 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.67 [+0.16] Nexthop device deleted # 1.77 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.85 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.39 [+0.54] # 2.39 [+0.00] Multipath route test # 4.09 [+1.70] Start point # 4.17 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.25 [+0.09] TEST: IPv6 fibmatch [ OK ] # 4.38 [+0.12] One nexthop device deleted # 4.45 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.54 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 4.66 [+0.13] Second nexthop device deleted # 4.74 [+0.08] TEST: IPv6 - no route [ OK ] # 5.28 [+0.54] # 5.28 [+0.00] Single path, admin down # 6.44 [+1.16] Start point # 6.51 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.60 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.68 [+0.08] Route deleted on down # 6.76 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.84 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.29 [+0.45] # 7.29 [+0.00] Admin down multipath # 8.96 [+1.67] Verify start point # 9.03 [+0.08] TEST: IPv4 fibmatch [ OK ] # 9.12 [+0.08] TEST: IPv6 fibmatch [ OK ] # 9.21 [+0.09] One device down, one up # 9.27 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 9.36 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 9.44 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 9.52 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.62 [+0.10] TEST: IPv4 flags on down device [ OK ] # 9.74 [+0.12] TEST: IPv6 flags on down device [ OK ] # 9.86 [+0.12] TEST: IPv4 flags on up device [ OK ] # 9.95 [+0.09] TEST: IPv6 flags on up device [ OK ] # 10.11 [+0.16] Other device down and up # 10.20 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 10.28 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 10.38 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 10.48 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 10.57 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.68 [+0.11] TEST: IPv6 flags on down device [ OK ] # 10.77 [+0.09] TEST: IPv4 flags on up device [ OK ] # 10.88 [+0.11] TEST: IPv6 flags on up device [ OK ] # 10.97 [+0.10] Both devices down # 11.05 [+0.08] TEST: IPv4 fibmatch [ OK ] # 11.14 [+0.09] TEST: IPv6 fibmatch [ OK ] # 11.71 [+0.57] # 11.71 [+0.00] Local carrier tests - single path # 12.96 [+1.25] Start point # 13.04 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.14 [+0.10] TEST: IPv6 fibmatch [ OK ] # 13.21 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 13.31 [+0.11] TEST: IPv6 - no linkdown flag [ OK ] # 14.45 [+1.14] Carrier off on nexthop # 14.54 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.63 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.71 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 14.78 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 14.96 [+0.18] Route to local address with carrier down # 15.05 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.13 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.22 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 15.30 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 15.76 [+0.46] # 15.76 [+0.00] Single path route carrier test # 17.09 [+1.33] Start point # 17.21 [+0.12] TEST: IPv4 fibmatch [ OK ] # 17.29 [+0.09] TEST: IPv6 fibmatch [ OK ] # 17.40 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 17.51 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 18.66 [+1.15] Carrier down # 18.76 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.85 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.96 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 19.05 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 19.24 [+0.19] Second address added with carrier down # 19.33 [+0.08] TEST: IPv4 fibmatch [ OK ] # 19.41 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.49 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 19.57 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 23.74 [+4.17] # 23.74 [+0.00] IPv4 nexthop tests # 23.74 [+0.00] <<< write me >>> # 23.96 [+0.22] # 23.96 [+0.00] IPv6 nexthop tests # 24.05 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 24.15 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.25 [+0.10] TEST: Gateway is linklocal address [ OK ] # 24.35 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 24.43 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 24.53 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 24.62 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 24.72 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 24.82 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.92 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 25.01 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 25.11 [+0.10] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.20 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 25.29 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] DETECTED CRASH, lowering timeout # 26.06 [+0.77] # 26.06 [+0.00] FIB rule with suppress_prefixlength # 27.34 [+1.28] TEST: FIB rule suppress test [ OK ] # 28.48 [+1.14] # 28.48 [+0.00] Fib6 info length calculation in route notify test # 31.90 [+3.41] TEST: ipv6 route add notify [ OK ] # 33.08 [+1.19] # 33.08 [+0.00] Fib4 info length calculation in route notify test # 36.56 [+3.48] TEST: ipv4 route add notify [ OK ] # 39.78 [+3.22] # 39.78 [+0.00] IPv6 route add / append tests # 40.04 [+0.26] TEST: Attempt to add duplicate route - gw [ OK ] # 40.31 [+0.26] TEST: Attempt to add duplicate route - dev only [ OK ] # 40.55 [+0.25] TEST: Attempt to add duplicate route - reject route [ OK ] # 40.94 [+0.38] TEST: Append nexthop to existing route - gw [ OK ] # 41.23 [+0.29] TEST: Add multipath route [ OK ] # 41.49 [+0.26] TEST: Attempt to add duplicate multipath route [ OK ] # 41.86 [+0.38] TEST: Route add with different metrics [ OK ] # 42.02 [+0.16] TEST: Route delete with metric [ OK ] # 42.02 [+0.00] # 42.02 [+0.00] IPv6 route replace tests # 42.37 [+0.34] TEST: Single path with single path [ OK ] # 42.74 [+0.37] TEST: Single path with multipath [ OK ] # 43.06 [+0.33] TEST: Single path with single path via multipath attribute [ OK ] # 43.39 [+0.33] TEST: Invalid nexthop [ OK ] # 43.65 [+0.26] TEST: Single path - replace of non-existent route [ OK ] # 44.00 [+0.35] TEST: Multipath with multipath [ OK ] # 44.35 [+0.34] TEST: Multipath with single path [ OK ] # 44.69 [+0.34] TEST: Multipath with single path via multipath attribute [ OK ] # 45.01 [+0.33] TEST: Multipath with dev-only [ OK ] # 45.36 [+0.35] TEST: Multipath - invalid first nexthop [ OK ] # 45.69 [+0.34] TEST: Multipath - invalid second nexthop [ OK ] # 45.97 [+0.28] TEST: Multipath - replace of non-existent route [ OK ] # 45.97 [+0.00] # 45.97 [+0.00] IPv6 route with dsfield tests # 46.10 [+0.13] TEST: Reject route with dsfield [ OK ] # 50.63 [+4.52] # 50.63 [+0.00] IPv4 route add / append tests # 50.89 [+0.27] TEST: Attempt to add duplicate route - gw [ OK ] # 51.16 [+0.27] TEST: Attempt to add duplicate route - dev only [ OK ] # 51.42 [+0.26] TEST: Attempt to add duplicate route - reject route [ OK ] # 51.75 [+0.33] TEST: Add new nexthop for existing prefix [ OK ] # 52.08 [+0.33] TEST: Append nexthop to existing route - gw [ OK ] # 52.41 [+0.34] TEST: Append nexthop to existing route - dev only [ OK ] # 52.74 [+0.33] TEST: Append nexthop to existing route - reject route [ OK ] # 53.00 [+0.25] TEST: Append nexthop to existing reject route - gw [ OK ] # 53.27 [+0.27] TEST: Append nexthop to existing reject route - dev only [ OK ] # 53.53 [+0.26] TEST: add multipath route [ OK ] # 53.78 [+0.25] TEST: Attempt to add duplicate multipath route [ OK ] # 54.11 [+0.34] TEST: Route add with different metrics [ OK ] # 54.25 [+0.13] TEST: Route delete with metric [ OK ] # 54.25 [+0.00] # 54.25 [+0.00] IPv4 route replace tests # 54.57 [+0.32] TEST: Single path with single path [ OK ] # 54.88 [+0.31] TEST: Single path with multipath [ OK ] # 55.21 [+0.33] TEST: Single path with reject route [ OK ] # 55.54 [+0.32] TEST: Single path with single path via multipath attribute [ OK ] # 55.85 [+0.31] TEST: Invalid nexthop [ OK ] # 56.10 [+0.26] TEST: Single path - replace of non-existent route [ OK ] # 56.42 [+0.32] TEST: Multipath with multipath [ OK ] # 56.75 [+0.33] TEST: Multipath with single path [ OK ] # 57.07 [+0.32] TEST: Multipath with single path via multipath attribute [ OK ] # 57.39 [+0.32] TEST: Multipath with reject route [ OK ] # 57.71 [+0.32] TEST: Multipath - invalid first nexthop [ OK ] # 58.03 [+0.32] TEST: Multipath - invalid second nexthop [ OK ] # 58.28 [+0.25] TEST: Multipath - replace of non-existent route [ OK ] # 59.33 [+1.05] TEST: Cached route removed from VRF port device [ OK ] # 59.33 [+0.00] # 59.33 [+0.00] IPv4 route with dsfield tests # 59.46 [+0.13] TEST: Reject route with dsfield 0x01 [ OK ] # 59.53 [+0.07] TEST: Reject route with dsfield 0x02 [ OK ] # 59.60 [+0.07] TEST: Reject route with dsfield 0x03 [ OK ] # 59.79 [+0.19] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 59.86 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 59.92 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 59.99 [+0.07] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 60.03 [+0.05] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 60.09 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 60.16 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 60.23 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 60.29 [+0.06] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 60.34 [+0.05] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 60.41 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 60.46 [+0.05] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 61.73 [+1.26] # 61.73 [+0.00] IPv6 prefix route tests # 63.04 [+1.32] TEST: Default metric [ OK ] # 63.29 [+0.24] TEST: User specified metric on first device [ OK ] # 63.49 [+0.20] TEST: User specified metric on second device [ OK ] # 63.62 [+0.13] TEST: Delete of address on first device [ OK ] # 63.76 [+0.14] TEST: Modify metric of address [ OK ] # 63.98 [+0.23] TEST: Prefix route removed on link down [ OK ] # 64.11 [+0.13] TEST: Prefix route with metric on link up [ OK ] # 64.32 [+0.21] TEST: Set metric with peer route on local side [ OK ] # 64.38 [+0.06] TEST: Set metric with peer route on peer side [ OK ] # 64.53 [+0.14] TEST: Modify metric and peer address on local side [ OK ] # 64.60 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 65.34 [+0.74] # 65.34 [+0.00] IPv4 prefix route tests # 66.68 [+1.34] TEST: Default metric [ OK ] # 66.88 [+0.20] TEST: User specified metric on first device [ OK ] # 67.08 [+0.20] TEST: User specified metric on second device [ OK ] # 67.21 [+0.13] TEST: Delete of address on first device [ OK ] # 67.33 [+0.13] TEST: Modify metric of address [ OK ] # 67.46 [+0.13] TEST: Prefix route removed on link down [ OK ] # 67.59 [+0.13] TEST: Prefix route with metric on link up [ OK ] # 67.86 [+0.27] TEST: Modify metric of .0/24 address [ OK ] # 68.05 [+0.20] TEST: Set metric of address with peer route [ OK ] # 68.18 [+0.13] TEST: Modify metric and peer address for peer route [ OK ] # 68.88 [+0.69] # 68.88 [+0.00] IPv6 routes with metrics # 72.10 [+3.23] TEST: Single path route with mtu metric [ OK ] # 72.30 [+0.20] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 72.51 [+0.20] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 72.63 [+0.13] TEST: MTU of second leg [ OK ] # 72.79 [+0.15] TEST: Multipath route with mtu metric [ OK ] # 72.94 [+0.16] TEST: Using route with mtu metric [ OK ] # 73.06 [+0.11] TEST: Invalid metric (fails metric_convert) [ OK ] # 74.37 [+1.31] # 74.37 [+0.00] IPv4 route add / append tests # 77.62 [+3.25] TEST: Single path route with mtu metric [ OK ] # 77.75 [+0.12] TEST: Multipath route with mtu metric [ OK ] # 77.90 [+0.15] TEST: Using route with mtu metric [ OK ] # 78.02 [+0.12] TEST: Invalid metric (fails metric_convert) [ OK ] # 79.28 [+1.26] # 79.28 [+0.00] IPv4 route with IPv6 gateway tests # 84.61 [+5.33] TEST: Single path route with IPv6 gateway [ OK ] # 84.81 [+0.20] TEST: Single path route with IPv6 gateway - ping [ OK ] # 84.88 [+0.07] TEST: Single path route delete [ OK ] # 85.01 [+0.14] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 85.15 [+0.14] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 85.22 [+0.07] TEST: Multipath route delete exact match [ OK ] # 85.29 [+0.07] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 85.44 [+0.15] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 85.50 [+0.06] TEST: Multipath route delete exact match [ OK ] # 86.83 [+1.32] # 86.83 [+0.00] IPv4 rp_filter tests # 91.15 [+4.32] TEST: rp_filter passes local packets [ OK ] # 91.25 [+0.10] TEST: rp_filter passes loopback packets [ OK ] # 91.84 [+0.59] # 91.84 [+0.00] IPv4 delete address route tests # 93.77 [+1.93] Regular FIB info # 93.90 [+0.13] TEST: Route removed from VRF when source address deleted [ OK ] # 93.95 [+0.06] TEST: Route in default VRF not removed [ OK ] # 94.18 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 94.24 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 94.24 [+0.00] Identical FIB info with different table ID # 94.36 [+0.12] TEST: Route removed from VRF when source address deleted [ OK ] # 94.43 [+0.07] TEST: Route in default VRF not removed [ OK ] # 94.67 [+0.24] TEST: Route removed in default VRF when source address deleted [ OK ] # 94.72 [+0.05] TEST: Route in VRF is not removed by address delete [ OK ] # 94.72 [+0.00] Table ID 0 # 94.83 [+0.11] TEST: Route removed in default VRF when source address deleted [ OK ] # 95.63 [+0.80] # 95.63 [+0.00] IPv6 delete address route tests # 98.93 [+3.30] Single device using src address # 99.06 [+0.13] TEST: Prefsrc removed when src address removed on other device [ OK ] # 99.06 [+0.00] Two devices with the same source address # 99.19 [+0.13] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 99.30 [+0.11] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 99.30 [+0.00] VRF with single device using src address # 99.42 [+0.12] TEST: Prefsrc removed when src address removed on other device [ OK ] # 99.42 [+0.00] VRF with two devices using src address # 99.53 [+0.11] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 99.65 [+0.12] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 99.65 [+0.00] src address and nexthop dev in same VRF # 99.77 [+0.11] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 99.83 [+0.06] TEST: Prefsrc in default VRF not removed [ OK ] # 100.07 [+0.24] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 100.14 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 100.14 [+0.00] src address and nexthop device in different VRF # 100.26 [+0.12] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 100.32 [+0.05] TEST: Prefsrc not removed in default VRF [ OK ] # 100.51 [+0.19] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 100.57 [+0.06] TEST: Prefsrc removed in default VRF [ OK ] # 100.57 [+0.00] Table ID 0 # 100.69 [+0.12] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 100.69 [+0.00] Link local source route # 100.82 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 100.94 [+0.12] TEST: Prefsrc removed when delete ll addr [ OK ] # 101.00 [+0.06] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 101.18 [+0.17] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 102.29 [+1.11] # 102.29 [+0.00] IPv4 mangling tests # 108.70 [+6.41] TEST: Connection with correct parameters [ OK ] # 108.82 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 109.68 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 110.42 [+0.74] TEST: Connection with correct parameters - no mangling [ OK ] # 110.47 [+0.05] TEST: Connection check - server side [ OK ] # 111.93 [+1.46] # 111.93 [+0.00] IPv6 mangling tests # 118.00 [+6.07] TEST: Connection with correct parameters [ OK ] # 118.13 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 118.89 [+0.76] TEST: Connection with correct parameters - mangling [ OK ] # 119.65 [+0.76] TEST: Connection with correct parameters - no mangling [ OK ] # 119.69 [+0.04] TEST: Connection check - server side [ OK ] # 121.13 [+1.44] # 121.13 [+0.00] IPv4 broadcast neighbour tests # 122.69 [+1.56] TEST: Resolved neighbour for broadcast address [ OK ] # 122.75 [+0.06] TEST: Resolved neighbour for network broadcast address [ OK ] # 122.81 [+0.06] TEST: Unresolved neighbour for broadcast address [ OK ] # 122.88 [+0.07] TEST: Unresolved neighbour for network broadcast address [ OK ] # 124.21 [+1.33] # 124.21 [+0.00] Fib6 garbage collection test # 137.08 [+12.87] TEST: ipv6 route garbage collection [ OK ] # 150.07 [+12.99] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 163.08 [+13.01] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 176.14 [+13.06] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 190.05 [+13.91] TEST: ipv6 route garbage collection (RA message) [ OK ] # 190.56 [+0.51] # 190.56 [+0.00] IPv4 multipath list receive tests # 202.38 [+11.82] TEST: Multipath route hit ratio (1.00) [ OK ] # 203.66 [+1.28] # 203.66 [+0.00] IPv6 multipath list receive tests # 215.16 [+11.50] TEST: Multipath route hit ratio (1.00) [ OK ] # 216.46 [+1.30] # 216.46 [+0.00] Tests passed: 229 # 216.46 [+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__->