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.42 [+0.42] # 0.42 [+0.00] Single path route test # 1.27 [+0.85] Start point # 1.35 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.43 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.56 [+0.13] Nexthop device deleted # 1.64 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.72 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.25 [+0.53] # 2.25 [+0.00] Multipath route test # 4.08 [+1.83] Start point # 4.16 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.25 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.37 [+0.12] One nexthop device deleted # 4.45 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.52 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 4.65 [+0.13] Second nexthop device deleted # 4.72 [+0.07] TEST: IPv6 - no route [ OK ] # 5.54 [+0.82] # 5.54 [+0.00] Single path, admin down # 6.79 [+1.26] Start point # 6.88 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.96 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.05 [+0.09] Route deleted on down # 7.13 [+0.08] TEST: IPv4 fibmatch [ OK ] # 7.22 [+0.09] TEST: IPv6 fibmatch [ OK ] # 7.63 [+0.41] # 7.63 [+0.00] Admin down multipath # 9.28 [+1.65] Verify start point # 9.35 [+0.07] TEST: IPv4 fibmatch [ OK ] # 9.45 [+0.09] TEST: IPv6 fibmatch [ OK ] # 9.53 [+0.08] One device down, one up # 9.63 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 9.71 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.82 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 9.90 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.01 [+0.11] TEST: IPv4 flags on down device [ OK ] # 10.11 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.21 [+0.11] TEST: IPv4 flags on up device [ OK ] # 10.30 [+0.09] TEST: IPv6 flags on up device [ OK ] # 10.49 [+0.19] Other device down and up # 10.56 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 10.68 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 10.75 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.84 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.92 [+0.09] TEST: IPv4 flags on down device [ OK ] # 11.00 [+0.08] TEST: IPv6 flags on down device [ OK ] # 11.12 [+0.11] TEST: IPv4 flags on up device [ OK ] # 11.21 [+0.10] TEST: IPv6 flags on up device [ OK ] # 11.31 [+0.09] Both devices down # 11.40 [+0.09] TEST: IPv4 fibmatch [ OK ] # 11.46 [+0.07] TEST: IPv6 fibmatch [ OK ] # 12.03 [+0.57] # 12.03 [+0.00] Local carrier tests - single path # 13.39 [+1.36] Start point # 13.47 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.55 [+0.08] TEST: IPv6 fibmatch [ OK ] # 13.64 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 13.76 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 14.88 [+1.12] Carrier off on nexthop # 14.97 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.05 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.14 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 15.24 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 15.44 [+0.21] Route to local address with carrier down # 15.54 [+0.10] TEST: IPv4 fibmatch [ OK ] # 15.63 [+0.09] TEST: IPv6 fibmatch [ OK ] # 15.73 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 15.83 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 16.26 [+0.44] # 16.26 [+0.00] Single path route carrier test # 17.50 [+1.23] Start point # 17.57 [+0.08] TEST: IPv4 fibmatch [ OK ] # 17.66 [+0.08] TEST: IPv6 fibmatch [ OK ] # 17.73 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 17.81 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 18.93 [+1.12] Carrier down # 19.03 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.11 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.21 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 19.27 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 19.43 [+0.16] Second address added with carrier down # 19.52 [+0.08] TEST: IPv4 fibmatch [ OK ] # 19.59 [+0.07] TEST: IPv6 fibmatch [ OK ] # 19.67 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 19.76 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 24.06 [+4.30] # 24.06 [+0.00] IPv4 nexthop tests # 24.06 [+0.00] <<< write me >>> # 24.28 [+0.22] # 24.28 [+0.00] IPv6 nexthop tests # 24.38 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 24.47 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.57 [+0.10] TEST: Gateway is linklocal address [ OK ] # 24.65 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 24.75 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 24.84 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 24.93 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 25.02 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 25.11 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 25.21 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 25.30 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 25.39 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.48 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 25.57 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.52 [+0.96] # 26.52 [+0.00] FIB rule with suppress_prefixlength # 28.23 [+1.70] TEST: FIB rule suppress test [ OK ] # 29.73 [+1.50] # 29.73 [+0.00] Fib6 info length calculation in route notify test # 33.60 [+3.87] TEST: ipv6 route add notify [ OK ] # 35.14 [+1.55] # 35.14 [+0.00] Fib4 info length calculation in route notify test # 39.01 [+3.87] TEST: ipv4 route add notify [ OK ] # 43.15 [+4.14] # 43.15 [+0.00] IPv6 route add / append tests # 43.50 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 43.84 [+0.34] TEST: Attempt to add duplicate route - dev only [ OK ] # 44.19 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 44.64 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 45.02 [+0.37] TEST: Add multipath route [ OK ] # 45.36 [+0.34] TEST: Attempt to add duplicate multipath route [ OK ] # 45.79 [+0.43] TEST: Route add with different metrics [ OK ] # 45.97 [+0.19] TEST: Route delete with metric [ OK ] # 45.98 [+0.00] # 45.98 [+0.00] IPv6 route replace tests # 46.43 [+0.45] TEST: Single path with single path [ OK ] # 46.87 [+0.45] TEST: Single path with multipath [ OK ] # 47.30 [+0.43] TEST: Single path with single path via multipath attribute [ OK ] # 47.73 [+0.43] TEST: Invalid nexthop [ OK ] # 48.08 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 48.54 [+0.46] TEST: Multipath with multipath [ OK ] # 48.97 [+0.42] TEST: Multipath with single path [ OK ] # 49.41 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 49.84 [+0.43] TEST: Multipath with dev-only [ OK ] # 50.29 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 50.73 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 51.08 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 51.09 [+0.00] # 51.09 [+0.00] IPv6 route with dsfield tests # 51.26 [+0.17] TEST: Reject route with dsfield [ OK ] # 57.17 [+5.91] # 57.17 [+0.00] IPv4 route add / append tests # 57.52 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 57.86 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 58.21 [+0.34] TEST: Attempt to add duplicate route - reject route [ OK ] # 58.64 [+0.43] TEST: Add new nexthop for existing prefix [ OK ] # 59.07 [+0.44] TEST: Append nexthop to existing route - gw [ OK ] # 59.53 [+0.46] TEST: Append nexthop to existing route - dev only [ OK ] # 60.04 [+0.51] TEST: Append nexthop to existing route - reject route [ OK ] # 60.40 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 60.77 [+0.37] TEST: Append nexthop to existing reject route - dev only [ OK ] # 61.12 [+0.35] TEST: add multipath route [ OK ] # 61.45 [+0.34] TEST: Attempt to add duplicate multipath route [ OK ] # 61.95 [+0.49] TEST: Route add with different metrics [ OK ] # 62.18 [+0.23] TEST: Route delete with metric [ OK ] # 62.18 [+0.00] # 62.18 [+0.00] IPv4 route replace tests # 62.69 [+0.51] TEST: Single path with single path [ OK ] # 63.11 [+0.42] TEST: Single path with multipath [ OK ] # 63.54 [+0.43] TEST: Single path with reject route [ OK ] # 63.97 [+0.42] TEST: Single path with single path via multipath attribute [ OK ] # 64.41 [+0.44] TEST: Invalid nexthop [ OK ] # 64.75 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 65.19 [+0.44] TEST: Multipath with multipath [ OK ] # 65.61 [+0.42] TEST: Multipath with single path [ OK ] # 66.04 [+0.43] TEST: Multipath with single path via multipath attribute [ OK ] # 66.48 [+0.44] TEST: Multipath with reject route [ OK ] # 66.90 [+0.42] TEST: Multipath - invalid first nexthop [ OK ] # 67.34 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 67.69 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 69.10 [+1.41] TEST: Cached route removed from VRF port device [ OK ] # 69.10 [+0.00] # 69.10 [+0.00] IPv4 route with dsfield tests # 69.28 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 69.37 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 69.46 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 69.71 [+0.25] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 69.81 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 69.89 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 69.98 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 70.06 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 70.13 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 70.22 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 70.31 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 70.42 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 70.51 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 70.59 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 70.67 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 72.35 [+1.67] # 72.35 [+0.00] IPv6 prefix route tests # 74.18 [+1.84] TEST: Default metric [ OK ] # 74.45 [+0.27] TEST: User specified metric on first device [ OK ] # 74.72 [+0.27] TEST: User specified metric on second device [ OK ] # 74.94 [+0.21] TEST: Delete of address on first device [ OK ] # 75.11 [+0.17] TEST: Modify metric of address [ OK ] # 75.41 [+0.30] TEST: Prefix route removed on link down [ OK ] # 75.59 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 75.88 [+0.29] TEST: Set metric with peer route on local side [ OK ] # 75.97 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 76.15 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 76.25 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 77.21 [+0.96] # 77.21 [+0.00] IPv4 prefix route tests # 78.97 [+1.76] TEST: Default metric [ OK ] # 79.25 [+0.27] TEST: User specified metric on first device [ OK ] # 79.50 [+0.26] TEST: User specified metric on second device [ OK ] # 79.68 [+0.18] TEST: Delete of address on first device [ OK ] # 79.87 [+0.19] TEST: Modify metric of address [ OK ] # 80.03 [+0.17] TEST: Prefix route removed on link down [ OK ] # 80.21 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 80.56 [+0.35] TEST: Modify metric of .0/24 address [ OK ] # 80.83 [+0.26] TEST: Set metric of address with peer route [ OK ] # 81.01 [+0.18] TEST: Modify metric and peer address for peer route [ OK ] # 81.95 [+0.94] # 81.95 [+0.00] IPv6 routes with metrics # 86.37 [+4.42] TEST: Single path route with mtu metric [ OK ] # 86.67 [+0.30] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 86.97 [+0.30] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 87.18 [+0.21] TEST: MTU of second leg [ OK ] # 87.37 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 87.60 [+0.23] TEST: Using route with mtu metric [ OK ] # 87.75 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 89.40 [+1.65] # 89.40 [+0.00] IPv4 route add / append tests # 93.88 [+4.48] TEST: Single path route with mtu metric [ OK ] # 94.05 [+0.17] TEST: Multipath route with mtu metric [ OK ] # 94.27 [+0.22] TEST: Using route with mtu metric [ OK ] # 94.43 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.08 [+1.65] # 96.08 [+0.00] IPv4 route with IPv6 gateway tests # 102.60 [+6.53] TEST: Single path route with IPv6 gateway [ OK ] # 102.85 [+0.25] TEST: Single path route with IPv6 gateway - ping [ OK ] # 102.96 [+0.10] TEST: Single path route delete [ OK ] # 103.13 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 103.30 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 103.40 [+0.09] TEST: Multipath route delete exact match [ OK ] # 103.50 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 103.69 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 103.80 [+0.10] TEST: Multipath route delete exact match [ OK ] # 105.64 [+1.84] # 105.64 [+0.00] IPv4 rp_filter tests # 111.40 [+5.76] TEST: rp_filter passes local packets [ OK ] # 111.54 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 112.30 [+0.76] # 112.30 [+0.00] IPv4 delete address route tests # 115.01 [+2.71] Regular FIB info # 115.17 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 115.26 [+0.09] TEST: Route in default VRF not removed [ OK ] # 115.59 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 115.67 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 115.67 [+0.00] Identical FIB info with different table ID # 115.85 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 115.92 [+0.07] TEST: Route in default VRF not removed [ OK ] # 116.25 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 116.32 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 116.33 [+0.00] Table ID 0 # 116.50 [+0.17] TEST: Route removed in default VRF when source address deleted [ OK ] # 117.46 [+0.96] # 117.46 [+0.00] IPv6 delete address route tests # 122.04 [+4.58] Single device using src address # 122.21 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 122.22 [+0.00] Two devices with the same source address # 122.38 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 122.55 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 122.55 [+0.00] VRF with single device using src address # 122.71 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 122.71 [+0.00] VRF with two devices using src address # 122.89 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 123.05 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 123.05 [+0.00] src address and nexthop dev in same VRF # 123.22 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 123.30 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 123.62 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 123.72 [+0.10] TEST: Prefsrc in default VRF removed [ OK ] # 123.72 [+0.00] src address and nexthop device in different VRF # 123.89 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 123.98 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 124.23 [+0.26] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 124.31 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 124.32 [+0.00] Table ID 0 # 124.47 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 124.48 [+0.00] Link local source route # 124.63 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 124.79 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 124.89 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 125.14 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 126.58 [+1.44] # 126.58 [+0.00] IPv4 mangling tests # 134.01 [+7.43] TEST: Connection with correct parameters [ OK ] # 134.19 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 135.11 [+0.92] TEST: Connection with correct parameters - mangling [ OK ] # 135.96 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 136.02 [+0.06] TEST: Connection check - server side [ OK ] # 138.03 [+2.01] # 138.03 [+0.00] IPv6 mangling tests # 145.49 [+7.46] TEST: Connection with correct parameters [ OK ] # 145.68 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 146.55 [+0.87] TEST: Connection with correct parameters - mangling [ OK ] # 147.43 [+0.88] TEST: Connection with correct parameters - no mangling [ OK ] # 147.49 [+0.06] TEST: Connection check - server side [ OK ] # 149.54 [+2.06] # 149.54 [+0.00] IPv4 broadcast neighbour tests # 151.87 [+2.33] TEST: Resolved neighbour for broadcast address [ OK ] # 151.98 [+0.11] TEST: Resolved neighbour for network broadcast address [ OK ] # 152.07 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 152.16 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 154.04 [+1.88] # 154.04 [+0.00] Fib6 garbage collection test # 167.29 [+13.24] TEST: ipv6 route garbage collection [ OK ] # 180.67 [+13.38] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 194.05 [+13.39] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 207.56 [+13.51] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 221.94 [+14.38] TEST: ipv6 route garbage collection (RA message) [ OK ] # 222.68 [+0.73] # 222.68 [+0.00] IPv4 multipath list receive tests # 239.12 [+16.45] TEST: Multipath route hit ratio (1.00) [ OK ] # 240.93 [+1.80] # 240.93 [+0.00] IPv6 multipath list receive tests # 257.71 [+16.78] TEST: Multipath route hit ratio (1.00) [ OK ] # 259.51 [+1.80] # 259.51 [+0.00] Tests passed: 229 # 259.51 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->