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.44 [+0.44] # 0.44 [+0.00] Single path route test # 1.33 [+0.89] Start point # 1.41 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.50 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.64 [+0.13] Nexthop device deleted # 1.72 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.80 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.35 [+0.55] # 2.35 [+0.00] Multipath route test # 3.97 [+1.61] Start point # 4.05 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.12 [+0.07] TEST: IPv6 fibmatch [ OK ] # 4.25 [+0.13] One nexthop device deleted # 4.32 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.41 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.54 [+0.13] Second nexthop device deleted # 4.61 [+0.08] TEST: IPv6 - no route [ OK ] # 5.13 [+0.51] # 5.13 [+0.00] Single path, admin down # 6.23 [+1.10] Start point # 6.32 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.40 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.48 [+0.08] Route deleted on down # 6.58 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.65 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.08 [+0.43] # 7.08 [+0.00] Admin down multipath # 8.69 [+1.61] Verify start point # 8.78 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.86 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.94 [+0.08] One device down, one up # 9.03 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 9.11 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.18 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.27 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 9.37 [+0.10] TEST: IPv4 flags on down device [ OK ] # 9.48 [+0.11] TEST: IPv6 flags on down device [ OK ] # 9.58 [+0.10] TEST: IPv4 flags on up device [ OK ] # 9.67 [+0.10] TEST: IPv6 flags on up device [ OK ] # 9.84 [+0.17] Other device down and up # 9.93 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.00 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 10.08 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.16 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.24 [+0.07] TEST: IPv4 flags on down device [ OK ] # 10.32 [+0.08] TEST: IPv6 flags on down device [ OK ] # 10.41 [+0.09] TEST: IPv4 flags on up device [ OK ] # 10.51 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.59 [+0.08] Both devices down # 10.67 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.74 [+0.07] TEST: IPv6 fibmatch [ OK ] # 11.30 [+0.56] # 11.30 [+0.00] Local carrier tests - single path # 12.49 [+1.20] Start point # 12.57 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.66 [+0.09] TEST: IPv6 fibmatch [ OK ] # 12.75 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 12.85 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 13.99 [+1.14] Carrier off on nexthop # 14.13 [+0.13] TEST: IPv4 fibmatch [ OK ] # 14.21 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.32 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 14.43 [+0.11] TEST: IPv6 - linkdown flag set [ OK ] # 14.59 [+0.16] Route to local address with carrier down # 14.72 [+0.13] TEST: IPv4 fibmatch [ OK ] # 14.80 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.88 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 15.00 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 15.44 [+0.44] # 15.44 [+0.00] Single path route carrier test # 16.78 [+1.35] Start point # 16.87 [+0.09] TEST: IPv4 fibmatch [ OK ] # 16.95 [+0.08] TEST: IPv6 fibmatch [ OK ] # 17.03 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 17.13 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 18.25 [+1.13] Carrier down # 18.35 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.44 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.51 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 18.60 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 18.78 [+0.18] Second address added with carrier down # 18.86 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.94 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.03 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 19.11 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 23.45 [+4.34] # 23.45 [+0.00] IPv4 nexthop tests # 23.45 [+0.00] <<< write me >>> # 23.68 [+0.23] # 23.68 [+0.00] IPv6 nexthop tests # 23.76 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 23.86 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.95 [+0.09] TEST: Gateway is linklocal address [ OK ] # 24.04 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 24.13 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 24.22 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 24.32 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 24.41 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 24.50 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.60 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.69 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 24.78 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.86 [+0.08] TEST: VRF route, gateway can not be a local address [ OK ] # 24.95 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 25.97 [+1.02] # 25.97 [+0.00] FIB rule with suppress_prefixlength # 27.75 [+1.77] TEST: FIB rule suppress test [ OK ] # 29.41 [+1.66] # 29.41 [+0.00] Fib6 info length calculation in route notify test # 33.51 [+4.10] TEST: ipv6 route add notify [ OK ] # 35.17 [+1.66] # 35.17 [+0.00] Fib4 info length calculation in route notify test # 39.15 [+3.98] TEST: ipv4 route add notify [ OK ] # 43.49 [+4.34] # 43.49 [+0.00] IPv6 route add / append tests # 43.82 [+0.33] TEST: Attempt to add duplicate route - gw [ OK ] # 44.18 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 44.54 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 44.99 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 45.37 [+0.38] TEST: Add multipath route [ OK ] # 45.71 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 46.17 [+0.45] TEST: Route add with different metrics [ OK ] # 46.36 [+0.19] TEST: Route delete with metric [ OK ] # 46.36 [+0.00] # 46.36 [+0.00] IPv6 route replace tests # 46.80 [+0.44] TEST: Single path with single path [ OK ] # 47.27 [+0.47] TEST: Single path with multipath [ OK ] # 47.71 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 48.18 [+0.46] TEST: Invalid nexthop [ OK ] # 48.53 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 48.99 [+0.46] TEST: Multipath with multipath [ OK ] # 49.44 [+0.45] TEST: Multipath with single path [ OK ] # 49.90 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 50.35 [+0.45] TEST: Multipath with dev-only [ OK ] # 50.82 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 51.32 [+0.50] TEST: Multipath - invalid second nexthop [ OK ] # 51.73 [+0.41] TEST: Multipath - replace of non-existent route [ OK ] # 51.73 [+0.00] # 51.73 [+0.00] IPv6 route with dsfield tests # 51.92 [+0.19] TEST: Reject route with dsfield [ OK ] # 58.03 [+6.11] # 58.03 [+0.00] IPv4 route add / append tests # 58.39 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 58.74 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 59.11 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 59.57 [+0.46] TEST: Add new nexthop for existing prefix [ OK ] # 60.04 [+0.46] TEST: Append nexthop to existing route - gw [ OK ] # 60.50 [+0.46] TEST: Append nexthop to existing route - dev only [ OK ] # 60.95 [+0.45] TEST: Append nexthop to existing route - reject route [ OK ] # 61.32 [+0.37] TEST: Append nexthop to existing reject route - gw [ OK ] # 61.72 [+0.40] TEST: Append nexthop to existing reject route - dev only [ OK ] # 62.11 [+0.39] TEST: add multipath route [ OK ] # 62.47 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 62.90 [+0.42] TEST: Route add with different metrics [ OK ] # 63.09 [+0.20] TEST: Route delete with metric [ OK ] # 63.10 [+0.00] # 63.10 [+0.00] IPv4 route replace tests # 63.56 [+0.46] TEST: Single path with single path [ OK ] # 64.04 [+0.48] TEST: Single path with multipath [ OK ] # 64.48 [+0.45] TEST: Single path with reject route [ OK ] # 64.92 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 65.40 [+0.47] TEST: Invalid nexthop [ OK ] # 65.75 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 66.19 [+0.44] TEST: Multipath with multipath [ OK ] # 66.65 [+0.46] TEST: Multipath with single path [ OK ] # 67.12 [+0.47] TEST: Multipath with single path via multipath attribute [ OK ] # 67.60 [+0.48] TEST: Multipath with reject route [ OK ] # 68.08 [+0.48] TEST: Multipath - invalid first nexthop [ OK ] # 68.54 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 68.91 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 70.34 [+1.43] TEST: Cached route removed from VRF port device [ OK ] # 70.34 [+0.00] # 70.34 [+0.00] IPv4 route with dsfield tests # 70.52 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 70.61 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 70.72 [+0.10] TEST: Reject route with dsfield 0x03 [ OK ] # 70.98 [+0.26] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 71.06 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 71.16 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 71.24 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 71.36 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 71.45 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 71.54 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 71.62 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 71.73 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 71.81 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 71.90 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 71.99 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 73.82 [+1.83] # 73.82 [+0.00] IPv6 prefix route tests # 75.83 [+2.01] TEST: Default metric [ OK ] # 76.11 [+0.28] TEST: User specified metric on first device [ OK ] # 76.38 [+0.27] TEST: User specified metric on second device [ OK ] # 76.56 [+0.17] TEST: Delete of address on first device [ OK ] # 76.74 [+0.18] TEST: Modify metric of address [ OK ] # 77.03 [+0.29] TEST: Prefix route removed on link down [ OK ] # 77.21 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 77.48 [+0.27] TEST: Set metric with peer route on local side [ OK ] # 77.58 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 77.77 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 77.86 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 78.82 [+0.96] # 78.82 [+0.00] IPv4 prefix route tests # 80.57 [+1.75] TEST: Default metric [ OK ] # 80.83 [+0.26] TEST: User specified metric on first device [ OK ] # 81.10 [+0.27] TEST: User specified metric on second device [ OK ] # 81.28 [+0.18] TEST: Delete of address on first device [ OK ] # 81.47 [+0.19] TEST: Modify metric of address [ OK ] # 81.63 [+0.16] TEST: Prefix route removed on link down [ OK ] # 81.81 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 82.16 [+0.35] TEST: Modify metric of .0/24 address [ OK ] # 82.44 [+0.28] TEST: Set metric of address with peer route [ OK ] # 82.63 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 83.64 [+1.01] # 83.64 [+0.00] IPv6 routes with metrics # 88.04 [+4.41] TEST: Single path route with mtu metric [ OK ] # 88.33 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 88.61 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 88.78 [+0.17] TEST: MTU of second leg [ OK ] # 89.00 [+0.22] TEST: Multipath route with mtu metric [ OK ] # 89.23 [+0.23] TEST: Using route with mtu metric [ OK ] # 89.39 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 91.10 [+1.71] # 91.10 [+0.00] IPv4 route add / append tests # 95.68 [+4.58] TEST: Single path route with mtu metric [ OK ] # 95.87 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 96.14 [+0.27] TEST: Using route with mtu metric [ OK ] # 96.30 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 98.03 [+1.72] # 98.03 [+0.00] IPv4 route with IPv6 gateway tests # 104.54 [+6.51] TEST: Single path route with IPv6 gateway [ OK ] # 104.78 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 104.86 [+0.08] TEST: Single path route delete [ OK ] # 105.04 [+0.18] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 105.23 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 105.32 [+0.10] TEST: Multipath route delete exact match [ OK ] # 105.41 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 105.60 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 105.69 [+0.09] TEST: Multipath route delete exact match [ OK ] # 107.40 [+1.71] # 107.40 [+0.00] IPv4 rp_filter tests DETECTED CRASH, lowering timeout # 112.66 [+5.26] TEST: rp_filter passes local packets [ OK ] # 112.76 [+0.10] TEST: rp_filter passes loopback packets [ OK ] # 113.31 [+0.55] # 113.31 [+0.00] IPv4 delete address route tests # 115.34 [+2.02] Regular FIB info # 115.47 [+0.13] TEST: Route removed from VRF when source address deleted [ OK ] # 115.53 [+0.06] TEST: Route in default VRF not removed [ OK ] # 115.76 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 115.81 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 115.81 [+0.00] Identical FIB info with different table ID # 115.93 [+0.11] TEST: Route removed from VRF when source address deleted [ OK ] # 115.99 [+0.06] TEST: Route in default VRF not removed [ OK ] # 116.24 [+0.25] TEST: Route removed in default VRF when source address deleted [ OK ] # 116.30 [+0.05] TEST: Route in VRF is not removed by address delete [ OK ] # 116.30 [+0.00] Table ID 0 # 116.41 [+0.11] TEST: Route removed in default VRF when source address deleted [ OK ] # 117.15 [+0.74] # 117.15 [+0.00] IPv6 delete address route tests # 120.75 [+3.60] Single device using src address # 120.87 [+0.12] TEST: Prefsrc removed when src address removed on other device [ OK ] # 120.88 [+0.00] Two devices with the same source address # 121.00 [+0.12] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 121.12 [+0.12] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 121.12 [+0.00] VRF with single device using src address # 121.23 [+0.12] TEST: Prefsrc removed when src address removed on other device [ OK ] # 121.24 [+0.00] VRF with two devices using src address # 121.37 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 121.50 [+0.12] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 121.50 [+0.00] src address and nexthop dev in same VRF # 121.61 [+0.10] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 121.67 [+0.06] TEST: Prefsrc in default VRF not removed [ OK ] # 121.92 [+0.25] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 121.98 [+0.06] TEST: Prefsrc in default VRF removed [ OK ] # 121.99 [+0.00] src address and nexthop device in different VRF # 122.10 [+0.11] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 122.16 [+0.06] TEST: Prefsrc not removed in default VRF [ OK ] # 122.35 [+0.18] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 122.40 [+0.06] TEST: Prefsrc removed in default VRF [ OK ] # 122.41 [+0.00] Table ID 0 # 122.52 [+0.11] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 122.52 [+0.00] Link local source route # 122.63 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 122.75 [+0.12] TEST: Prefsrc removed when delete ll addr [ OK ] # 122.81 [+0.06] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 122.99 [+0.18] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 124.16 [+1.17] # 124.16 [+0.00] IPv4 mangling tests # 130.32 [+6.16] TEST: Connection with correct parameters [ OK ] # 130.44 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 131.27 [+0.83] TEST: Connection with correct parameters - mangling [ OK ] # 132.02 [+0.75] TEST: Connection with correct parameters - no mangling [ OK ] # 132.07 [+0.05] TEST: Connection check - server side [ OK ] # 133.54 [+1.46] # 133.54 [+0.00] IPv6 mangling tests # 139.65 [+6.11] TEST: Connection with correct parameters [ OK ] # 139.79 [+0.14] TEST: Connection with incorrect parameters [ OK ] # 140.55 [+0.76] TEST: Connection with correct parameters - mangling [ OK ] # 141.35 [+0.80] TEST: Connection with correct parameters - no mangling [ OK ] # 141.39 [+0.04] TEST: Connection check - server side [ OK ] # 142.88 [+1.48] # 142.88 [+0.00] IPv4 broadcast neighbour tests # 144.46 [+1.59] TEST: Resolved neighbour for broadcast address [ OK ] # 144.55 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 144.61 [+0.06] TEST: Unresolved neighbour for broadcast address [ OK ] # 144.68 [+0.07] TEST: Unresolved neighbour for network broadcast address [ OK ] # 146.00 [+1.32] # 146.00 [+0.00] Fib6 garbage collection test # 158.85 [+12.85] TEST: ipv6 route garbage collection [ OK ] # 171.91 [+13.07] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 185.36 [+13.45] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 199.11 [+13.76] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 213.50 [+14.38] TEST: ipv6 route garbage collection (RA message) [ OK ] # 214.23 [+0.73] # 214.23 [+0.00] IPv4 multipath list receive tests # 229.52 [+15.29] TEST: Multipath route hit ratio (1.00) [ OK ] # 230.99 [+1.47] # 230.99 [+0.00] IPv6 multipath list receive tests # 243.02 [+12.03] TEST: Multipath route hit ratio (1.00) [ OK ] # 244.28 [+1.26] # 244.28 [+0.00] Tests passed: 229 # 244.28 [+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__->