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.53 [+0.53] # 0.54 [+0.00] Single path route test # 1.74 [+1.21] Start point # 1.87 [+0.13] TEST: IPv4 fibmatch [ OK ] # 1.99 [+0.12] TEST: IPv6 fibmatch [ OK ] # 2.16 [+0.17] Nexthop device deleted # 2.27 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.37 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 3.10 [+0.73] # 3.10 [+0.00] Multipath route test # 5.24 [+2.14] Start point # 5.37 [+0.13] TEST: IPv4 fibmatch [ OK ] # 5.47 [+0.11] TEST: IPv6 fibmatch [ OK ] # 5.64 [+0.17] One nexthop device deleted # 5.76 [+0.12] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.85 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 6.03 [+0.18] Second nexthop device deleted # 6.13 [+0.10] TEST: IPv6 - no route [ OK ] # 6.82 [+0.69] # 6.82 [+0.00] Single path, admin down # 8.33 [+1.51] Start point # 8.46 [+0.13] TEST: IPv4 fibmatch [ OK ] # 8.57 [+0.11] TEST: IPv6 fibmatch [ OK ] # 8.68 [+0.11] Route deleted on down # 8.78 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.89 [+0.11] TEST: IPv6 fibmatch [ OK ] # 9.42 [+0.53] # 9.42 [+0.00] Admin down multipath # 11.66 [+2.24] Verify start point # 11.77 [+0.11] TEST: IPv4 fibmatch [ OK ] # 11.89 [+0.12] TEST: IPv6 fibmatch [ OK ] # 12.00 [+0.11] One device down, one up # 12.11 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 12.20 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.32 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 12.43 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.55 [+0.12] TEST: IPv4 flags on down device [ OK ] # 12.68 [+0.13] TEST: IPv6 flags on down device [ OK ] # 12.80 [+0.13] TEST: IPv4 flags on up device [ OK ] # 12.91 [+0.11] TEST: IPv6 flags on up device [ OK ] # 13.14 [+0.23] Other device down and up # 13.24 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 13.36 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 13.46 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 13.57 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 13.68 [+0.11] TEST: IPv4 flags on down device [ OK ] # 13.80 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.94 [+0.14] TEST: IPv4 flags on up device [ OK ] # 14.09 [+0.15] TEST: IPv6 flags on up device [ OK ] # 14.20 [+0.11] Both devices down # 14.31 [+0.11] TEST: IPv4 fibmatch [ OK ] # 14.43 [+0.12] TEST: IPv6 fibmatch [ OK ] # 15.17 [+0.75] # 15.18 [+0.00] Local carrier tests - single path # 16.78 [+1.60] Start point # 16.89 [+0.11] TEST: IPv4 fibmatch [ OK ] # 17.01 [+0.12] TEST: IPv6 fibmatch [ OK ] # 17.13 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 17.24 [+0.11] TEST: IPv6 - no linkdown flag [ OK ] # 18.41 [+1.18] Carrier off on nexthop # 18.53 [+0.12] TEST: IPv4 fibmatch [ OK ] # 18.63 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.73 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 18.83 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 19.04 [+0.21] Route to local address with carrier down # 19.14 [+0.10] TEST: IPv4 fibmatch [ OK ] # 19.25 [+0.11] TEST: IPv6 fibmatch [ OK ] # 19.34 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 19.45 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 20.07 [+0.62] # 20.07 [+0.00] Single path route carrier test # 21.74 [+1.67] Start point # 21.85 [+0.12] TEST: IPv4 fibmatch [ OK ] # 21.96 [+0.11] TEST: IPv6 fibmatch [ OK ] # 22.07 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 22.18 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 23.35 [+1.17] Carrier down # 23.48 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.59 [+0.12] TEST: IPv6 fibmatch [ OK ] # 23.70 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 23.83 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 24.04 [+0.21] Second address added with carrier down # 24.17 [+0.12] TEST: IPv4 fibmatch [ OK ] # 24.29 [+0.12] TEST: IPv6 fibmatch [ OK ] # 24.40 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 24.52 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 29.83 [+5.31] # 29.83 [+0.00] IPv4 nexthop tests # 29.83 [+0.00] <<< write me >>> # 30.15 [+0.32] # 30.15 [+0.00] IPv6 nexthop tests # 30.27 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 30.39 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 30.53 [+0.15] TEST: Gateway is linklocal address [ OK ] # 30.71 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 30.85 [+0.14] TEST: Gateway can not be local unicast address [ OK ] # 30.96 [+0.11] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.09 [+0.13] TEST: Gateway can not be a local linklocal address [ OK ] # 31.22 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 31.34 [+0.12] TEST: Gateway can be local address in a VRF, with device [ OK ] # 31.46 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 31.58 [+0.12] TEST: Redirect to VRF lookup [ OK ] # 31.70 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 31.83 [+0.13] TEST: VRF route, gateway can not be a local address [ OK ] # 31.95 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 33.17 [+1.22] # 33.17 [+0.00] FIB rule with suppress_prefixlength # 35.54 [+2.37] TEST: FIB rule suppress test [ OK ] # 37.61 [+2.07] # 37.61 [+0.00] Fib6 info length calculation in route notify test # 42.30 [+4.69] TEST: ipv6 route add notify [ OK ] # 44.44 [+2.14] # 44.44 [+0.00] Fib4 info length calculation in route notify test # 49.08 [+4.63] TEST: ipv4 route add notify [ OK ] # 55.08 [+6.01] # 55.08 [+0.00] IPv6 route add / append tests # 55.55 [+0.47] TEST: Attempt to add duplicate route - gw [ OK ] # 56.02 [+0.47] TEST: Attempt to add duplicate route - dev only [ OK ] # 56.49 [+0.47] TEST: Attempt to add duplicate route - reject route [ OK ] # 57.09 [+0.60] TEST: Append nexthop to existing route - gw [ OK ] # 57.57 [+0.48] TEST: Add multipath route [ OK ] # 58.06 [+0.48] TEST: Attempt to add duplicate multipath route [ OK ] # 58.63 [+0.57] TEST: Route add with different metrics [ OK ] # 58.89 [+0.26] TEST: Route delete with metric [ OK ] # 58.89 [+0.00] # 58.89 [+0.00] IPv6 route replace tests # 59.48 [+0.59] TEST: Single path with single path [ OK ] # 60.11 [+0.63] TEST: Single path with multipath [ OK ] # 60.69 [+0.58] TEST: Single path with single path via multipath attribute [ OK ] # 61.31 [+0.62] TEST: Invalid nexthop [ OK ] # 61.79 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 62.43 [+0.65] TEST: Multipath with multipath [ OK ] # 63.07 [+0.64] TEST: Multipath with single path [ OK ] # 63.67 [+0.60] TEST: Multipath with single path via multipath attribute [ OK ] # 64.29 [+0.62] TEST: Multipath with dev-only [ OK ] # 64.96 [+0.67] TEST: Multipath - invalid first nexthop [ OK ] # 65.59 [+0.64] TEST: Multipath - invalid second nexthop [ OK ] # 66.09 [+0.50] TEST: Multipath - replace of non-existent route [ OK ] # 66.09 [+0.00] # 66.09 [+0.00] IPv6 route with dsfield tests # 66.34 [+0.24] TEST: Reject route with dsfield [ OK ] # 74.00 [+7.66] # 74.00 [+0.00] IPv4 route add / append tests # 74.44 [+0.44] TEST: Attempt to add duplicate route - gw [ OK ] # 74.90 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 75.36 [+0.46] TEST: Attempt to add duplicate route - reject route [ OK ] # 75.94 [+0.59] TEST: Add new nexthop for existing prefix [ OK ] # 76.51 [+0.57] TEST: Append nexthop to existing route - gw [ OK ] # 77.07 [+0.56] TEST: Append nexthop to existing route - dev only [ OK ] # 77.68 [+0.61] TEST: Append nexthop to existing route - reject route [ OK ] # 78.15 [+0.48] TEST: Append nexthop to existing reject route - gw [ OK ] # 78.64 [+0.49] TEST: Append nexthop to existing reject route - dev only [ OK ] # 79.11 [+0.47] TEST: add multipath route [ OK ] # 79.56 [+0.45] TEST: Attempt to add duplicate multipath route [ OK ] # 80.15 [+0.59] TEST: Route add with different metrics [ OK ] # 80.40 [+0.25] TEST: Route delete with metric [ OK ] # 80.40 [+0.00] # 80.40 [+0.00] IPv4 route replace tests # 80.99 [+0.59] TEST: Single path with single path [ OK ] # 81.59 [+0.60] TEST: Single path with multipath [ OK ] # 82.18 [+0.59] TEST: Single path with reject route [ OK ] # 82.75 [+0.57] TEST: Single path with single path via multipath attribute [ OK ] # 83.35 [+0.60] TEST: Invalid nexthop [ OK ] # 83.79 [+0.44] TEST: Single path - replace of non-existent route [ OK ] # 84.40 [+0.61] TEST: Multipath with multipath [ OK ] # 84.97 [+0.57] TEST: Multipath with single path [ OK ] # 85.55 [+0.58] TEST: Multipath with single path via multipath attribute [ OK ] # 86.12 [+0.57] TEST: Multipath with reject route [ OK ] # 86.74 [+0.62] TEST: Multipath - invalid first nexthop [ OK ] # 87.33 [+0.59] TEST: Multipath - invalid second nexthop [ OK ] # 87.85 [+0.52] TEST: Multipath - replace of non-existent route [ OK ] # 89.64 [+1.80] TEST: Cached route removed from VRF port device [ OK ] # 89.65 [+0.00] # 89.65 [+0.00] IPv4 route with dsfield tests # 89.89 [+0.25] TEST: Reject route with dsfield 0x01 [ OK ] # 90.01 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 90.13 [+0.12] TEST: Reject route with dsfield 0x03 [ OK ] # 90.47 [+0.34] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 90.58 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 90.67 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 90.79 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 90.88 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 90.99 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 91.10 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 91.20 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 91.31 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 91.41 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 91.52 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 91.62 [+0.10] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 93.75 [+2.12] # 93.75 [+0.00] IPv6 prefix route tests # 96.13 [+2.39] TEST: Default metric [ OK ] # 96.51 [+0.38] TEST: User specified metric on first device [ OK ] # 96.87 [+0.36] TEST: User specified metric on second device [ OK ] # 97.11 [+0.23] TEST: Delete of address on first device [ OK ] # 97.35 [+0.24] TEST: Modify metric of address [ OK ] # 97.72 [+0.37] TEST: Prefix route removed on link down [ OK ] # 97.95 [+0.22] TEST: Prefix route with metric on link up [ OK ] # 98.32 [+0.38] TEST: Set metric with peer route on local side [ OK ] # 98.44 [+0.12] TEST: Set metric with peer route on peer side [ OK ] # 98.67 [+0.22] TEST: Modify metric and peer address on local side [ OK ] # 98.80 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 100.03 [+1.23] # 100.03 [+0.00] IPv4 prefix route tests # 102.34 [+2.31] TEST: Default metric [ OK ] # 102.69 [+0.35] TEST: User specified metric on first device [ OK ] # 103.04 [+0.35] TEST: User specified metric on second device [ OK ] # 103.29 [+0.25] TEST: Delete of address on first device [ OK ] # 103.52 [+0.23] TEST: Modify metric of address [ OK ] # 103.74 [+0.22] TEST: Prefix route removed on link down [ OK ] # 104.00 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 104.47 [+0.47] TEST: Modify metric of .0/24 address [ OK ] # 104.81 [+0.34] TEST: Set metric of address with peer route [ OK ] # 105.04 [+0.24] TEST: Modify metric and peer address for peer route [ OK ] # 106.20 [+1.15] # 106.20 [+0.00] IPv6 routes with metrics # 111.93 [+5.74] TEST: Single path route with mtu metric [ OK ] # 112.32 [+0.39] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 112.67 [+0.35] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 112.90 [+0.24] TEST: MTU of second leg [ OK ] # 113.16 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 113.45 [+0.30] TEST: Using route with mtu metric [ OK ] # 113.65 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 115.91 [+2.26] # 115.91 [+0.00] IPv4 route add / append tests # 121.67 [+5.76] TEST: Single path route with mtu metric [ OK ] # 121.92 [+0.24] TEST: Multipath route with mtu metric [ OK ] # 122.22 [+0.30] TEST: Using route with mtu metric [ OK ] # 122.42 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 124.57 [+2.15] # 124.57 [+0.00] IPv4 route with IPv6 gateway tests # 132.55 [+7.98] TEST: Single path route with IPv6 gateway [ OK ] # 132.86 [+0.31] TEST: Single path route with IPv6 gateway - ping [ OK ] # 132.97 [+0.12] TEST: Single path route delete [ OK ] # 133.21 [+0.23] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 133.45 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 133.58 [+0.13] TEST: Multipath route delete exact match [ OK ] # 133.70 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 133.96 [+0.26] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 134.08 [+0.12] TEST: Multipath route delete exact match [ OK ] # 136.21 [+2.12] # 136.21 [+0.00] IPv4 rp_filter tests # 144.36 [+8.16] TEST: rp_filter passes local packets [ OK ] # 144.56 [+0.20] TEST: rp_filter passes loopback packets [ OK ] # 145.53 [+0.97] # 145.53 [+0.00] IPv4 delete address route tests # 149.45 [+3.92] Regular FIB info # 149.68 [+0.24] TEST: Route removed from VRF when source address deleted [ OK ] # 149.79 [+0.11] TEST: Route in default VRF not removed [ OK ] # 150.26 [+0.47] TEST: Route removed in default VRF when source address deleted [ OK ] # 150.37 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 150.37 [+0.00] Identical FIB info with different table ID # 150.62 [+0.25] TEST: Route removed from VRF when source address deleted [ OK ] # 150.74 [+0.11] TEST: Route in default VRF not removed [ OK ] # 151.19 [+0.45] TEST: Route removed in default VRF when source address deleted [ OK ] # 151.31 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 151.32 [+0.00] Table ID 0 # 151.58 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 152.91 [+1.32] # 152.91 [+0.00] IPv6 delete address route tests # 159.11 [+6.20] Single device using src address # 159.35 [+0.24] TEST: Prefsrc removed when src address removed on other device [ OK ] # 159.36 [+0.01] Two devices with the same source address # 159.58 [+0.22] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 159.82 [+0.24] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 159.82 [+0.00] VRF with single device using src address # 160.05 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 160.05 [+0.00] VRF with two devices using src address # 160.28 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 160.52 [+0.24] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 160.52 [+0.00] src address and nexthop dev in same VRF # 160.75 [+0.23] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 160.89 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 161.31 [+0.42] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 161.44 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 161.44 [+0.00] src address and nexthop device in different VRF # 161.67 [+0.23] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 161.79 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 162.10 [+0.31] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 162.23 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 162.23 [+0.00] Table ID 0 # 162.45 [+0.22] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 162.45 [+0.00] Link local source route # 162.67 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 162.89 [+0.22] TEST: Prefsrc removed when delete ll addr [ OK ] # 163.01 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 163.34 [+0.33] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 165.22 [+1.88] # 165.22 [+0.00] IPv4 mangling tests # 174.55 [+9.33] TEST: Connection with correct parameters [ OK ] # 174.82 [+0.26] TEST: Connection with incorrect parameters [ OK ] # 175.99 [+1.17] TEST: Connection with correct parameters - mangling [ OK ] # 176.95 [+0.96] TEST: Connection with correct parameters - no mangling [ OK ] # 177.03 [+0.08] TEST: Connection check - server side [ OK ] # 179.67 [+2.65] # 179.67 [+0.00] IPv6 mangling tests # 188.84 [+9.17] TEST: Connection with correct parameters [ OK ] # 189.09 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 190.04 [+0.95] TEST: Connection with correct parameters - mangling [ OK ] # 191.08 [+1.04] TEST: Connection with correct parameters - no mangling [ OK ] # 191.16 [+0.08] TEST: Connection check - server side [ OK ] # 193.68 [+2.51] # 193.68 [+0.00] IPv4 broadcast neighbour tests # 196.59 [+2.91] TEST: Resolved neighbour for broadcast address [ OK ] # 196.70 [+0.11] TEST: Resolved neighbour for network broadcast address [ OK ] # 196.82 [+0.12] TEST: Unresolved neighbour for broadcast address [ OK ] # 196.94 [+0.12] TEST: Unresolved neighbour for network broadcast address [ OK ] # 199.40 [+2.45] # 199.40 [+0.00] Fib6 garbage collection test # 212.94 [+13.55] TEST: ipv6 route garbage collection [ OK ] # 226.75 [+13.81] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 240.59 [+13.84] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 254.53 [+13.94] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 269.21 [+14.67] TEST: ipv6 route garbage collection (RA message) [ OK ] # 270.15 [+0.94] # 270.15 [+0.00] IPv4 multipath list receive tests DETECTED CRASH, lowering timeout # 289.29 [+19.14] TEST: Multipath route hit ratio (1.00) [ OK ] # 291.41 [+2.11] # 291.41 [+0.00] IPv6 multipath list receive tests # 309.74 [+18.33] TEST: Multipath route hit ratio (1.00) [ OK ] # 311.93 [+2.19] # 311.93 [+0.00] Tests passed: 229 # 311.93 [+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__->