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.46 [+0.46] # 0.46 [+0.00] Single path route test # 1.32 [+0.85] Start point # 1.40 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.49 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.61 [+0.12] Nexthop device deleted # 1.69 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.84 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 2.65 [+0.81] # 2.65 [+0.00] Multipath route test # 4.95 [+2.30] Start point # 5.08 [+0.13] TEST: IPv4 fibmatch [ OK ] # 5.18 [+0.10] TEST: IPv6 fibmatch [ OK ] # 5.35 [+0.17] One nexthop device deleted # 5.45 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.57 [+0.13] TEST: IPv6 - multipath down to single path [ OK ] # 5.76 [+0.18] Second nexthop device deleted # 5.85 [+0.09] TEST: IPv6 - no route [ OK ] # 6.58 [+0.74] # 6.58 [+0.00] Single path, admin down # 7.96 [+1.37] Start point # 8.06 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.16 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.25 [+0.09] Route deleted on down # 8.36 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.46 [+0.10] TEST: IPv6 fibmatch [ OK ] # 9.00 [+0.54] # 9.00 [+0.00] Admin down multipath # 11.00 [+2.00] Verify start point # 11.10 [+0.10] TEST: IPv4 fibmatch [ OK ] # 11.20 [+0.10] TEST: IPv6 fibmatch [ OK ] # 11.30 [+0.10] One device down, one up # 11.41 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 11.50 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 11.61 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 11.72 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 11.85 [+0.13] TEST: IPv4 flags on down device [ OK ] # 11.98 [+0.13] TEST: IPv6 flags on down device [ OK ] # 12.11 [+0.12] TEST: IPv4 flags on up device [ OK ] # 12.25 [+0.15] TEST: IPv6 flags on up device [ OK ] # 12.48 [+0.23] Other device down and up # 12.60 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 12.70 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.83 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 12.94 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 13.09 [+0.15] TEST: IPv4 flags on down device [ OK ] # 13.20 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.31 [+0.11] TEST: IPv4 flags on up device [ OK ] # 13.41 [+0.10] TEST: IPv6 flags on up device [ OK ] # 13.53 [+0.11] Both devices down # 13.62 [+0.10] TEST: IPv4 fibmatch [ OK ] # 13.72 [+0.10] TEST: IPv6 fibmatch [ OK ] # 14.37 [+0.66] # 14.38 [+0.00] Local carrier tests - single path # 15.85 [+1.47] Start point # 15.95 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.05 [+0.10] TEST: IPv6 fibmatch [ OK ] # 16.17 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 16.27 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 17.43 [+1.16] Carrier off on nexthop # 17.53 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.63 [+0.10] TEST: IPv6 fibmatch [ OK ] # 17.73 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 17.84 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 18.03 [+0.18] Route to local address with carrier down # 18.11 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.19 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.29 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 18.39 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 18.86 [+0.47] # 18.86 [+0.00] Single path route carrier test # 20.13 [+1.27] Start point # 20.21 [+0.08] TEST: IPv4 fibmatch [ OK ] # 20.30 [+0.09] TEST: IPv6 fibmatch [ OK ] # 20.38 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 20.47 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 21.62 [+1.15] Carrier down # 21.71 [+0.10] TEST: IPv4 fibmatch [ OK ] # 21.80 [+0.08] TEST: IPv6 fibmatch [ OK ] # 21.89 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 21.96 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 22.13 [+0.17] Second address added with carrier down # 22.22 [+0.09] TEST: IPv4 fibmatch [ OK ] # 22.31 [+0.09] TEST: IPv6 fibmatch [ OK ] # 22.42 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 22.51 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 26.70 [+4.19] # 26.70 [+0.00] IPv4 nexthop tests # 26.70 [+0.00] <<< write me >>> # 26.94 [+0.24] # 26.94 [+0.00] IPv6 nexthop tests # 27.03 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 27.12 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 27.21 [+0.09] TEST: Gateway is linklocal address [ OK ] # 27.30 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 27.40 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 27.49 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 27.59 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 27.67 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 27.77 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 27.88 [+0.11] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 27.97 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 28.06 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 28.15 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 28.25 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 29.23 [+0.99] # 29.23 [+0.00] FIB rule with suppress_prefixlength # 30.93 [+1.70] TEST: FIB rule suppress test [ OK ] # 32.46 [+1.53] # 32.46 [+0.00] Fib6 info length calculation in route notify test # 36.40 [+3.94] TEST: ipv6 route add notify [ OK ] # 38.53 [+2.13] # 38.53 [+0.00] Fib4 info length calculation in route notify test # 42.61 [+4.07] TEST: ipv4 route add notify [ OK ] # 47.48 [+4.88] # 47.48 [+0.00] IPv6 route add / append tests # 47.86 [+0.37] TEST: Attempt to add duplicate route - gw [ OK ] # 48.25 [+0.39] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.62 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 49.13 [+0.51] TEST: Append nexthop to existing route - gw [ OK ] # 49.50 [+0.37] TEST: Add multipath route [ OK ] # 49.85 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 50.32 [+0.47] TEST: Route add with different metrics [ OK ] # 50.51 [+0.19] TEST: Route delete with metric [ OK ] # 50.51 [+0.00] # 50.51 [+0.00] IPv6 route replace tests # 50.97 [+0.46] TEST: Single path with single path [ OK ] # 51.42 [+0.45] TEST: Single path with multipath [ OK ] # 51.86 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 52.32 [+0.46] TEST: Invalid nexthop [ OK ] # 52.68 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 53.15 [+0.47] TEST: Multipath with multipath [ OK ] # 53.65 [+0.50] TEST: Multipath with single path [ OK ] # 54.18 [+0.53] TEST: Multipath with single path via multipath attribute [ OK ] # 54.61 [+0.43] TEST: Multipath with dev-only [ OK ] # 55.09 [+0.49] TEST: Multipath - invalid first nexthop [ OK ] # 55.54 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 55.89 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 55.90 [+0.00] # 55.90 [+0.00] IPv6 route with dsfield tests # 56.08 [+0.19] TEST: Reject route with dsfield [ OK ] # 62.26 [+6.17] # 62.26 [+0.00] IPv4 route add / append tests # 62.62 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 62.97 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 63.32 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 63.77 [+0.45] TEST: Add new nexthop for existing prefix [ OK ] # 64.22 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 64.70 [+0.48] TEST: Append nexthop to existing route - dev only [ OK ] # 65.16 [+0.46] TEST: Append nexthop to existing route - reject route [ OK ] # 65.52 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 65.87 [+0.35] TEST: Append nexthop to existing reject route - dev only [ OK ] # 66.23 [+0.36] TEST: add multipath route [ OK ] # 66.62 [+0.39] TEST: Attempt to add duplicate multipath route [ OK ] # 67.07 [+0.44] TEST: Route add with different metrics [ OK ] # 67.26 [+0.19] TEST: Route delete with metric [ OK ] # 67.26 [+0.00] # 67.26 [+0.00] IPv4 route replace tests # 67.73 [+0.47] TEST: Single path with single path [ OK ] # 68.16 [+0.43] TEST: Single path with multipath [ OK ] # 68.60 [+0.44] TEST: Single path with reject route [ OK ] # 69.07 [+0.47] TEST: Single path with single path via multipath attribute [ OK ] # 69.50 [+0.43] TEST: Invalid nexthop [ OK ] # 69.86 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 70.31 [+0.45] TEST: Multipath with multipath [ OK ] # 70.76 [+0.44] TEST: Multipath with single path [ OK ] # 71.23 [+0.47] TEST: Multipath with single path via multipath attribute [ OK ] # 71.67 [+0.44] TEST: Multipath with reject route [ OK ] # 72.10 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 72.56 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 72.90 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 74.38 [+1.48] TEST: Cached route removed from VRF port device [ OK ] # 74.38 [+0.00] # 74.38 [+0.00] IPv4 route with dsfield tests # 74.56 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 74.66 [+0.10] TEST: Reject route with dsfield 0x02 [ OK ] # 74.76 [+0.11] TEST: Reject route with dsfield 0x03 [ OK ] # 75.03 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 75.10 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 75.18 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 75.26 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 75.36 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 75.46 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 75.55 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 75.64 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 75.74 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 75.83 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 75.92 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 76.01 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 77.76 [+1.75] # 77.76 [+0.00] IPv6 prefix route tests # 79.57 [+1.81] TEST: Default metric [ OK ] # 79.86 [+0.29] TEST: User specified metric on first device [ OK ] # 80.15 [+0.28] TEST: User specified metric on second device [ OK ] # 80.34 [+0.19] TEST: Delete of address on first device [ OK ] # 80.53 [+0.19] TEST: Modify metric of address [ OK ] # 80.85 [+0.32] TEST: Prefix route removed on link down [ OK ] # 81.05 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 81.32 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 81.42 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 81.61 [+0.20] TEST: Modify metric and peer address on local side [ OK ] # 81.70 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 82.68 [+0.98] # 82.68 [+0.00] IPv4 prefix route tests # 84.50 [+1.82] TEST: Default metric [ OK ] # 84.82 [+0.31] TEST: User specified metric on first device [ OK ] # 85.10 [+0.29] TEST: User specified metric on second device [ OK ] # 85.29 [+0.19] TEST: Delete of address on first device [ OK ] # 85.49 [+0.20] TEST: Modify metric of address [ OK ] # 85.66 [+0.17] TEST: Prefix route removed on link down [ OK ] # 85.87 [+0.21] TEST: Prefix route with metric on link up [ OK ] # 86.23 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 86.52 [+0.29] TEST: Set metric of address with peer route [ OK ] # 86.72 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 87.66 [+0.94] # 87.66 [+0.00] IPv6 routes with metrics # 92.17 [+4.52] TEST: Single path route with mtu metric [ OK ] # 92.45 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 92.76 [+0.31] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 92.95 [+0.19] TEST: MTU of second leg [ OK ] # 93.16 [+0.21] TEST: Multipath route with mtu metric [ OK ] # 93.40 [+0.24] TEST: Using route with mtu metric [ OK ] # 93.56 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 95.37 [+1.81] # 95.37 [+0.00] IPv4 route add / append tests # 100.24 [+4.86] TEST: Single path route with mtu metric [ OK ] # 100.44 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 100.66 [+0.22] TEST: Using route with mtu metric [ OK ] # 100.83 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 102.57 [+1.74] # 102.57 [+0.00] IPv4 route with IPv6 gateway tests # 109.24 [+6.68] TEST: Single path route with IPv6 gateway [ OK ] # 109.49 [+0.25] TEST: Single path route with IPv6 gateway - ping [ OK ] # 109.58 [+0.10] TEST: Single path route delete [ OK ] # 109.77 [+0.18] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 109.96 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 110.06 [+0.10] TEST: Multipath route delete exact match [ OK ] # 110.16 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 110.36 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 110.44 [+0.09] TEST: Multipath route delete exact match [ OK ] # 112.36 [+1.92] # 112.36 [+0.00] IPv4 rp_filter tests # 118.49 [+6.13] TEST: rp_filter passes local packets [ OK ] # 118.63 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 119.40 [+0.78] # 119.41 [+0.00] IPv4 delete address route tests # 122.31 [+2.91] Regular FIB info # 122.47 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 122.56 [+0.09] TEST: Route in default VRF not removed [ OK ] # 122.91 [+0.35] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.01 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 123.01 [+0.00] Identical FIB info with different table ID # 123.19 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 123.29 [+0.11] TEST: Route in default VRF not removed [ OK ] # 123.68 [+0.38] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.77 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 123.77 [+0.00] Table ID 0 # 123.95 [+0.18] TEST: Route removed in default VRF when source address deleted [ OK ] # 125.00 [+1.05] # 125.00 [+0.00] IPv6 delete address route tests # 129.84 [+4.84] Single device using src address # 130.01 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.01 [+0.00] Two devices with the same source address # 130.18 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 130.36 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 130.36 [+0.00] VRF with single device using src address # 130.55 [+0.19] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.55 [+0.00] VRF with two devices using src address # 130.71 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 130.89 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 130.89 [+0.00] src address and nexthop dev in same VRF # 131.09 [+0.19] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 131.17 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 131.54 [+0.37] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 131.64 [+0.11] TEST: Prefsrc in default VRF removed [ OK ] # 131.65 [+0.00] src address and nexthop device in different VRF # 131.83 [+0.18] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 131.92 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 132.21 [+0.29] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 132.29 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 132.29 [+0.00] Table ID 0 # 132.48 [+0.19] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 132.48 [+0.00] Link local source route # 132.70 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 132.88 [+0.18] TEST: Prefsrc removed when delete ll addr [ OK ] # 132.96 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 133.26 [+0.30] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 134.81 [+1.55] # 134.81 [+0.00] IPv4 mangling tests # 142.61 [+7.80] TEST: Connection with correct parameters [ OK ] # 142.80 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 143.83 [+1.03] TEST: Connection with correct parameters - mangling [ OK ] # 144.70 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 144.78 [+0.08] TEST: Connection check - server side [ OK ] # 146.86 [+2.08] # 146.86 [+0.00] IPv6 mangling tests # 154.65 [+7.79] TEST: Connection with correct parameters [ OK ] # 154.85 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 155.71 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 156.59 [+0.88] TEST: Connection with correct parameters - no mangling [ OK ] # 156.65 [+0.06] TEST: Connection check - server side [ OK ] # 158.68 [+2.02] # 158.68 [+0.00] IPv4 broadcast neighbour tests # 161.00 [+2.32] TEST: Resolved neighbour for broadcast address [ OK ] # 161.09 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 161.19 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 161.28 [+0.10] TEST: Unresolved neighbour for network broadcast address [ OK ] # 163.21 [+1.93] # 163.21 [+0.00] Fib6 garbage collection test # 176.43 [+13.23] TEST: ipv6 route garbage collection [ OK ] # 189.91 [+13.48] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 203.40 [+13.49] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 217.00 [+13.61] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] DETECTED CRASH, lowering timeout # 231.34 [+14.33] TEST: ipv6 route garbage collection (RA message) [ OK ] # 232.08 [+0.74] # 232.08 [+0.00] IPv4 multipath list receive tests # 247.01 [+14.93] TEST: Multipath route hit ratio (1.00) [ OK ] # 249.13 [+2.12] # 249.13 [+0.00] IPv6 multipath list receive tests # 263.77 [+14.64] TEST: Multipath route hit ratio (1.00) [ OK ] # 265.57 [+1.80] # 265.57 [+0.00] Tests passed: 229 # 265.57 [+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__->