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.37 [+0.37] # 0.38 [+0.00] Single path route test # 1.27 [+0.89] Start point # 1.36 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.44 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.54 [+0.10] Nexthop device deleted # 1.63 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.71 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.24 [+0.54] # 2.24 [+0.00] Multipath route test # 4.39 [+2.14] Start point # 4.49 [+0.10] TEST: IPv4 fibmatch [ OK ] # 4.59 [+0.11] TEST: IPv6 fibmatch [ OK ] # 4.74 [+0.15] One nexthop device deleted # 4.82 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.92 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 5.03 [+0.11] Second nexthop device deleted # 5.11 [+0.08] TEST: IPv6 - no route [ OK ] # 5.64 [+0.53] # 5.64 [+0.00] Single path, admin down # 6.77 [+1.13] Start point # 6.85 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.93 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.04 [+0.11] Route deleted on down # 7.14 [+0.10] TEST: IPv4 fibmatch [ OK ] # 7.28 [+0.15] TEST: IPv6 fibmatch [ OK ] # 7.81 [+0.53] # 7.82 [+0.00] Admin down multipath # 10.04 [+2.23] Verify start point # 10.16 [+0.12] TEST: IPv4 fibmatch [ OK ] # 10.30 [+0.14] TEST: IPv6 fibmatch [ OK ] # 10.42 [+0.12] One device down, one up # 10.57 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 10.66 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 10.81 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 10.93 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 11.08 [+0.16] TEST: IPv4 flags on down device [ OK ] # 11.21 [+0.13] TEST: IPv6 flags on down device [ OK ] # 11.33 [+0.11] TEST: IPv4 flags on up device [ OK ] # 11.48 [+0.15] TEST: IPv6 flags on up device [ OK ] # 11.71 [+0.23] Other device down and up # 11.82 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 11.95 [+0.13] TEST: IPv6 fibmatch on down device [ OK ] # 12.04 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 12.14 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 12.29 [+0.15] TEST: IPv4 flags on down device [ OK ] # 12.40 [+0.11] TEST: IPv6 flags on down device [ OK ] # 12.55 [+0.15] TEST: IPv4 flags on up device [ OK ] # 12.67 [+0.11] TEST: IPv6 flags on up device [ OK ] # 12.78 [+0.11] Both devices down # 12.91 [+0.14] TEST: IPv4 fibmatch [ OK ] # 13.02 [+0.11] TEST: IPv6 fibmatch [ OK ] # 13.74 [+0.71] # 13.74 [+0.00] Local carrier tests - single path # 15.07 [+1.33] Start point # 15.15 [+0.08] TEST: IPv4 fibmatch [ OK ] # 15.24 [+0.09] TEST: IPv6 fibmatch [ OK ] # 15.34 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 15.44 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 16.57 [+1.13] Carrier off on nexthop # 16.66 [+0.09] TEST: IPv4 fibmatch [ OK ] # 16.75 [+0.10] TEST: IPv6 fibmatch [ OK ] # 16.85 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 16.94 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 17.10 [+0.16] Route to local address with carrier down # 17.18 [+0.08] TEST: IPv4 fibmatch [ OK ] # 17.26 [+0.08] TEST: IPv6 fibmatch [ OK ] # 17.35 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 17.43 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 17.87 [+0.45] # 17.87 [+0.00] Single path route carrier test # 19.29 [+1.42] Start point # 19.39 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.51 [+0.13] TEST: IPv6 fibmatch [ OK ] # 19.63 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 19.73 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 20.87 [+1.14] Carrier down # 20.96 [+0.09] TEST: IPv4 fibmatch [ OK ] # 21.03 [+0.07] TEST: IPv6 fibmatch [ OK ] # 21.12 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 21.19 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 21.35 [+0.16] Second address added with carrier down # 21.43 [+0.08] TEST: IPv4 fibmatch [ OK ] # 21.51 [+0.08] TEST: IPv6 fibmatch [ OK ] # 21.61 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 21.70 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 26.47 [+4.77] # 26.47 [+0.00] IPv4 nexthop tests # 26.47 [+0.00] <<< write me >>> # 26.74 [+0.27] # 26.74 [+0.00] IPv6 nexthop tests # 26.84 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 26.95 [+0.11] TEST: Directly connected nexthop, unicast address with device [ OK ] # 27.06 [+0.11] TEST: Gateway is linklocal address [ OK ] # 27.17 [+0.11] TEST: Gateway is linklocal address, no device [ OK ] # 27.29 [+0.11] TEST: Gateway can not be local unicast address [ OK ] # 27.42 [+0.14] TEST: Gateway can not be local unicast address, with device [ OK ] # 27.54 [+0.12] TEST: Gateway can not be a local linklocal address [ OK ] # 27.65 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 27.74 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 27.85 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 27.94 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 28.02 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 28.14 [+0.11] TEST: VRF route, gateway can not be a local address [ OK ] # 28.23 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 29.27 [+1.04] # 29.27 [+0.00] FIB rule with suppress_prefixlength # 31.02 [+1.75] TEST: FIB rule suppress test [ OK ] # 32.53 [+1.51] # 32.53 [+0.00] Fib6 info length calculation in route notify test # 36.45 [+3.92] TEST: ipv6 route add notify [ OK ] # 38.12 [+1.68] # 38.13 [+0.00] Fib4 info length calculation in route notify test # 42.37 [+4.24] TEST: ipv4 route add notify [ OK ] # 47.14 [+4.77] # 47.14 [+0.00] IPv6 route add / append tests # 47.60 [+0.46] TEST: Attempt to add duplicate route - gw [ OK ] # 48.06 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.48 [+0.42] TEST: Attempt to add duplicate route - reject route [ OK ] # 48.98 [+0.50] TEST: Append nexthop to existing route - gw [ OK ] # 49.35 [+0.38] TEST: Add multipath route [ OK ] # 49.72 [+0.37] TEST: Attempt to add duplicate multipath route [ OK ] # 50.18 [+0.46] TEST: Route add with different metrics [ OK ] # 50.37 [+0.18] TEST: Route delete with metric [ OK ] # 50.37 [+0.00] # 50.37 [+0.00] IPv6 route replace tests # 50.83 [+0.46] TEST: Single path with single path [ OK ] # 51.32 [+0.49] TEST: Single path with multipath [ OK ] # 51.82 [+0.50] TEST: Single path with single path via multipath attribute [ OK ] # 52.38 [+0.56] TEST: Invalid nexthop [ OK ] # 52.81 [+0.43] TEST: Single path - replace of non-existent route [ OK ] # 53.36 [+0.55] TEST: Multipath with multipath [ OK ] # 53.92 [+0.55] TEST: Multipath with single path [ OK ] # 54.46 [+0.54] TEST: Multipath with single path via multipath attribute [ OK ] # 54.94 [+0.48] TEST: Multipath with dev-only [ OK ] # 55.45 [+0.50] TEST: Multipath - invalid first nexthop [ OK ] # 55.92 [+0.47] TEST: Multipath - invalid second nexthop [ OK ] # 56.31 [+0.39] TEST: Multipath - replace of non-existent route [ OK ] # 56.31 [+0.00] # 56.32 [+0.00] IPv6 route with dsfield tests # 56.49 [+0.18] TEST: Reject route with dsfield [ OK ] # 63.44 [+6.95] # 63.44 [+0.00] IPv4 route add / append tests # 63.81 [+0.37] TEST: Attempt to add duplicate route - gw [ OK ] # 64.19 [+0.38] TEST: Attempt to add duplicate route - dev only [ OK ] # 64.55 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 65.00 [+0.45] TEST: Add new nexthop for existing prefix [ OK ] # 65.44 [+0.44] TEST: Append nexthop to existing route - gw [ OK ] # 65.89 [+0.45] TEST: Append nexthop to existing route - dev only [ OK ] # 66.33 [+0.43] TEST: Append nexthop to existing route - reject route [ OK ] # 66.68 [+0.35] TEST: Append nexthop to existing reject route - gw [ OK ] # 67.03 [+0.35] TEST: Append nexthop to existing reject route - dev only [ OK ] # 67.46 [+0.43] TEST: add multipath route [ OK ] # 67.93 [+0.48] TEST: Attempt to add duplicate multipath route [ OK ] # 68.53 [+0.60] TEST: Route add with different metrics [ OK ] # 68.75 [+0.22] TEST: Route delete with metric [ OK ] # 68.76 [+0.00] # 68.76 [+0.00] IPv4 route replace tests # 69.32 [+0.56] TEST: Single path with single path [ OK ] # 69.77 [+0.45] TEST: Single path with multipath [ OK ] # 70.22 [+0.45] TEST: Single path with reject route [ OK ] # 70.67 [+0.45] TEST: Single path with single path via multipath attribute [ OK ] # 71.12 [+0.45] TEST: Invalid nexthop [ OK ] # 71.46 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 71.91 [+0.44] TEST: Multipath with multipath [ OK ] # 72.35 [+0.45] TEST: Multipath with single path [ OK ] # 72.93 [+0.57] TEST: Multipath with single path via multipath attribute [ OK ] # 73.57 [+0.65] TEST: Multipath with reject route [ OK ] # 74.11 [+0.54] TEST: Multipath - invalid first nexthop [ OK ] # 74.68 [+0.57] TEST: Multipath - invalid second nexthop [ OK ] # 75.06 [+0.38] TEST: Multipath - replace of non-existent route [ OK ] # 76.55 [+1.49] TEST: Cached route removed from VRF port device [ OK ] # 76.56 [+0.00] # 76.56 [+0.00] IPv4 route with dsfield tests # 76.75 [+0.19] TEST: Reject route with dsfield 0x01 [ OK ] # 76.85 [+0.10] TEST: Reject route with dsfield 0x02 [ OK ] # 76.94 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 77.22 [+0.28] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 77.31 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 77.41 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 77.51 [+0.10] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 77.60 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 77.69 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 77.79 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 77.93 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 78.02 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 78.15 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 78.27 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 78.38 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 80.65 [+2.27] # 80.65 [+0.00] IPv6 prefix route tests # 82.86 [+2.21] TEST: Default metric [ OK ] # 83.16 [+0.29] TEST: User specified metric on first device [ OK ] # 83.49 [+0.33] TEST: User specified metric on second device [ OK ] # 83.69 [+0.20] TEST: Delete of address on first device [ OK ] # 83.87 [+0.18] TEST: Modify metric of address [ OK ] # 84.19 [+0.32] TEST: Prefix route removed on link down [ OK ] # 84.39 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 84.71 [+0.32] TEST: Set metric with peer route on local side [ OK ] # 84.81 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 85.03 [+0.22] TEST: Modify metric and peer address on local side [ OK ] # 85.16 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 86.33 [+1.17] # 86.33 [+0.00] IPv4 prefix route tests # 88.69 [+2.36] TEST: Default metric [ OK ] # 89.09 [+0.40] TEST: User specified metric on first device [ OK ] # 89.46 [+0.36] TEST: User specified metric on second device [ OK ] # 89.68 [+0.22] TEST: Delete of address on first device [ OK ] # 89.92 [+0.24] TEST: Modify metric of address [ OK ] # 90.13 [+0.20] TEST: Prefix route removed on link down [ OK ] # 90.34 [+0.21] TEST: Prefix route with metric on link up [ OK ] # 90.74 [+0.40] TEST: Modify metric of .0/24 address [ OK ] # 91.05 [+0.31] TEST: Set metric of address with peer route [ OK ] # 91.27 [+0.22] TEST: Modify metric and peer address for peer route [ OK ] # 92.32 [+1.05] # 92.32 [+0.00] IPv6 routes with metrics # 96.95 [+4.64] TEST: Single path route with mtu metric [ OK ] # 97.25 [+0.30] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 97.53 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 97.72 [+0.19] TEST: MTU of second leg [ OK ] # 97.91 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 98.14 [+0.23] TEST: Using route with mtu metric [ OK ] # 98.33 [+0.19] TEST: Invalid metric (fails metric_convert) [ OK ] # 100.11 [+1.78] # 100.11 [+0.00] IPv4 route add / append tests # 105.10 [+5.00] TEST: Single path route with mtu metric [ OK ] # 105.32 [+0.22] TEST: Multipath route with mtu metric [ OK ] # 105.57 [+0.26] TEST: Using route with mtu metric [ OK ] # 105.76 [+0.18] TEST: Invalid metric (fails metric_convert) [ OK ] # 107.58 [+1.82] # 107.58 [+0.00] IPv4 route with IPv6 gateway tests # 114.31 [+6.73] TEST: Single path route with IPv6 gateway [ OK ] # 114.56 [+0.25] TEST: Single path route with IPv6 gateway - ping [ OK ] # 114.65 [+0.09] TEST: Single path route delete [ OK ] # 114.85 [+0.20] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 115.07 [+0.23] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 115.16 [+0.09] TEST: Multipath route delete exact match [ OK ] # 115.25 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 115.43 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 115.54 [+0.10] TEST: Multipath route delete exact match [ OK ] # 117.27 [+1.73] # 117.27 [+0.00] IPv4 rp_filter tests # 123.24 [+5.97] TEST: rp_filter passes local packets [ OK ] # 123.38 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 124.13 [+0.76] # 124.14 [+0.00] IPv4 delete address route tests # 126.83 [+2.70] Regular FIB info # 127.00 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 127.10 [+0.10] TEST: Route in default VRF not removed [ OK ] # 127.42 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 127.51 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 127.51 [+0.00] Identical FIB info with different table ID # 127.67 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 127.77 [+0.10] TEST: Route in default VRF not removed [ OK ] # 128.09 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 128.18 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 128.18 [+0.00] Table ID 0 # 128.36 [+0.18] TEST: Route removed in default VRF when source address deleted [ OK ] # 129.32 [+0.96] # 129.32 [+0.00] IPv6 delete address route tests # 133.99 [+4.67] Single device using src address # 134.17 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 134.18 [+0.00] Two devices with the same source address # 134.35 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 134.51 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 134.51 [+0.00] VRF with single device using src address # 134.70 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 134.70 [+0.00] VRF with two devices using src address # 134.88 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 135.03 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 135.03 [+0.00] src address and nexthop dev in same VRF # 135.20 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 135.28 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 135.63 [+0.35] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 135.71 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 135.72 [+0.00] src address and nexthop device in different VRF # 135.88 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 135.95 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 136.21 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 136.29 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 136.30 [+0.00] Table ID 0 # 136.45 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 136.46 [+0.00] Link local source route # 136.62 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 136.80 [+0.18] TEST: Prefsrc removed when delete ll addr [ OK ] # 136.89 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 137.12 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 138.63 [+1.51] # 138.63 [+0.00] IPv4 mangling tests # 146.25 [+7.62] TEST: Connection with correct parameters [ OK ] # 146.42 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 147.42 [+1.01] TEST: Connection with correct parameters - mangling [ OK ] # 148.26 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 148.33 [+0.07] TEST: Connection check - server side [ OK ] # 150.31 [+1.98] # 150.31 [+0.00] IPv6 mangling tests # 157.93 [+7.62] TEST: Connection with correct parameters [ OK ] # 158.14 [+0.21] TEST: Connection with incorrect parameters [ OK ] # 159.00 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 159.90 [+0.90] TEST: Connection with correct parameters - no mangling [ OK ] # 160.00 [+0.10] TEST: Connection check - server side [ OK ] # 162.41 [+2.41] # 162.41 [+0.00] IPv4 broadcast neighbour tests # 164.60 [+2.19] TEST: Resolved neighbour for broadcast address [ OK ] # 164.72 [+0.12] TEST: Resolved neighbour for network broadcast address [ OK ] # 164.82 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 164.97 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 167.17 [+2.21] # 167.17 [+0.00] Fib6 garbage collection test # 180.41 [+13.24] TEST: ipv6 route garbage collection [ OK ] # 194.05 [+13.64] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 207.54 [+13.49] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 221.19 [+13.65] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 235.57 [+14.38] TEST: ipv6 route garbage collection (RA message) [ OK ] # 236.35 [+0.78] # 236.35 [+0.00] IPv4 multipath list receive tests # 254.51 [+18.16] TEST: Multipath route hit ratio (1.00) [ OK ] # 256.37 [+1.85] # 256.37 [+0.00] IPv6 multipath list receive tests # 274.27 [+17.90] TEST: Multipath route hit ratio (1.00) [ OK ] # 276.44 [+2.17] # 276.44 [+0.00] Tests passed: 229 # 276.44 [+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__->