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.68 [+0.68] # 0.68 [+0.00] Single path route test # 1.94 [+1.26] Start point # 2.04 [+0.10] TEST: IPv4 fibmatch [ OK ] # 2.16 [+0.12] TEST: IPv6 fibmatch [ OK ] # 2.32 [+0.16] Nexthop device deleted # 2.42 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.53 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 3.22 [+0.70] # 3.23 [+0.00] Multipath route test # 5.42 [+2.20] Start point # 5.53 [+0.10] TEST: IPv4 fibmatch [ OK ] # 5.61 [+0.09] TEST: IPv6 fibmatch [ OK ] # 5.76 [+0.14] One nexthop device deleted # 5.85 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.94 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 6.07 [+0.13] Second nexthop device deleted # 6.16 [+0.09] TEST: IPv6 - no route [ OK ] # 6.74 [+0.58] # 6.74 [+0.00] Single path, admin down # 8.01 [+1.27] Start point # 8.11 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.23 [+0.12] TEST: IPv6 fibmatch [ OK ] # 8.32 [+0.09] Route deleted on down # 8.41 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.50 [+0.09] TEST: IPv6 fibmatch [ OK ] # 9.06 [+0.56] # 9.06 [+0.00] Admin down multipath # 11.20 [+2.14] Verify start point # 11.31 [+0.11] TEST: IPv4 fibmatch [ OK ] # 11.40 [+0.09] TEST: IPv6 fibmatch [ OK ] # 11.50 [+0.10] One device down, one up # 11.58 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 11.66 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 11.80 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 11.89 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 11.99 [+0.10] TEST: IPv4 flags on down device [ OK ] # 12.09 [+0.10] TEST: IPv6 flags on down device [ OK ] # 12.18 [+0.10] TEST: IPv4 flags on up device [ OK ] # 12.29 [+0.10] TEST: IPv6 flags on up device [ OK ] # 12.46 [+0.18] Other device down and up # 12.55 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 12.63 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 12.76 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 12.86 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 12.97 [+0.11] TEST: IPv4 flags on down device [ OK ] # 13.09 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.17 [+0.08] TEST: IPv4 flags on up device [ OK ] # 13.28 [+0.11] TEST: IPv6 flags on up device [ OK ] # 13.37 [+0.09] Both devices down # 13.46 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.54 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.13 [+0.59] # 14.13 [+0.00] Local carrier tests - single path # 15.43 [+1.30] Start point # 15.52 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.61 [+0.09] TEST: IPv6 fibmatch [ OK ] # 15.70 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 15.80 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 16.95 [+1.15] Carrier off on nexthop # 17.05 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.14 [+0.09] TEST: IPv6 fibmatch [ OK ] # 17.23 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 17.32 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 17.50 [+0.18] Route to local address with carrier down # 17.59 [+0.09] TEST: IPv4 fibmatch [ OK ] # 17.70 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.78 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 17.86 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 18.34 [+0.48] # 18.35 [+0.00] Single path route carrier test # 19.83 [+1.48] Start point # 19.90 [+0.08] TEST: IPv4 fibmatch [ OK ] # 20.02 [+0.12] TEST: IPv6 fibmatch [ OK ] # 20.12 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 20.21 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 21.34 [+1.13] Carrier down # 21.43 [+0.08] TEST: IPv4 fibmatch [ OK ] # 21.53 [+0.11] TEST: IPv6 fibmatch [ OK ] # 21.62 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 21.71 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 21.90 [+0.19] Second address added with carrier down # 21.98 [+0.08] TEST: IPv4 fibmatch [ OK ] # 22.09 [+0.11] TEST: IPv6 fibmatch [ OK ] # 22.17 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 22.26 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 26.67 [+4.41] # 26.67 [+0.00] IPv4 nexthop tests # 26.68 [+0.00] <<< write me >>> # 26.94 [+0.26] # 26.94 [+0.00] IPv6 nexthop tests # 27.03 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 27.13 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 27.22 [+0.10] TEST: Gateway is linklocal address [ OK ] # 27.31 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 27.41 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 27.51 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 27.61 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 27.71 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 27.81 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 27.90 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 28.00 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 28.08 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 28.18 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 28.31 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 29.33 [+1.02] # 29.33 [+0.00] FIB rule with suppress_prefixlength # 31.33 [+2.00] TEST: FIB rule suppress test [ OK ] # 33.08 [+1.75] # 33.08 [+0.00] Fib6 info length calculation in route notify test # 37.28 [+4.20] TEST: ipv6 route add notify [ OK ] # 38.97 [+1.69] # 38.97 [+0.00] Fib4 info length calculation in route notify test # 43.20 [+4.23] TEST: ipv4 route add notify [ OK ] # 47.51 [+4.32] # 47.51 [+0.00] IPv6 route add / append tests # 47.87 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 48.23 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.60 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 49.06 [+0.46] TEST: Append nexthop to existing route - gw [ OK ] # 49.44 [+0.39] TEST: Add multipath route [ OK ] # 49.80 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 50.26 [+0.46] TEST: Route add with different metrics [ OK ] # 50.47 [+0.21] TEST: Route delete with metric [ OK ] # 50.47 [+0.00] # 50.47 [+0.00] IPv6 route replace tests # 50.92 [+0.45] TEST: Single path with single path [ OK ] # 51.39 [+0.46] TEST: Single path with multipath [ OK ] # 51.83 [+0.45] TEST: Single path with single path via multipath attribute [ OK ] # 52.30 [+0.46] TEST: Invalid nexthop [ OK ] # 52.66 [+0.37] TEST: Single path - replace of non-existent route [ OK ] # 53.13 [+0.47] TEST: Multipath with multipath [ OK ] # 53.58 [+0.45] TEST: Multipath with single path [ OK ] # 54.04 [+0.45] TEST: Multipath with single path via multipath attribute [ OK ] # 54.50 [+0.46] TEST: Multipath with dev-only [ OK ] # 54.97 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 55.42 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 55.78 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 55.79 [+0.00] # 55.79 [+0.00] IPv6 route with dsfield tests # 55.98 [+0.19] TEST: Reject route with dsfield [ OK ] # 62.04 [+6.07] # 62.04 [+0.00] IPv4 route add / append tests # 62.41 [+0.37] TEST: Attempt to add duplicate route - gw [ OK ] # 62.80 [+0.38] TEST: Attempt to add duplicate route - dev only [ OK ] # 63.17 [+0.38] TEST: Attempt to add duplicate route - reject route [ OK ] # 63.62 [+0.45] TEST: Add new nexthop for existing prefix [ OK ] # 64.06 [+0.44] TEST: Append nexthop to existing route - gw [ OK ] # 64.55 [+0.49] TEST: Append nexthop to existing route - dev only [ OK ] # 65.00 [+0.45] TEST: Append nexthop to existing route - reject route [ OK ] # 65.35 [+0.35] TEST: Append nexthop to existing reject route - gw [ OK ] # 65.71 [+0.36] TEST: Append nexthop to existing reject route - dev only [ OK ] # 66.08 [+0.36] TEST: add multipath route [ OK ] # 66.42 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 66.87 [+0.45] TEST: Route add with different metrics [ OK ] # 67.06 [+0.19] TEST: Route delete with metric [ OK ] # 67.06 [+0.00] # 67.06 [+0.00] IPv4 route replace tests # 67.50 [+0.44] TEST: Single path with single path [ OK ] # 67.96 [+0.45] TEST: Single path with multipath [ OK ] # 68.40 [+0.44] TEST: Single path with reject route [ OK ] # 68.83 [+0.43] TEST: Single path with single path via multipath attribute [ OK ] # 69.28 [+0.45] TEST: Invalid nexthop [ OK ] # 69.63 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 70.08 [+0.45] TEST: Multipath with multipath [ OK ] # 70.54 [+0.46] TEST: Multipath with single path [ OK ] # 70.97 [+0.43] TEST: Multipath with single path via multipath attribute [ OK ] # 71.43 [+0.45] TEST: Multipath with reject route [ OK ] # 71.86 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 72.30 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 72.65 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 74.16 [+1.51] TEST: Cached route removed from VRF port device [ OK ] # 74.16 [+0.00] # 74.16 [+0.00] IPv4 route with dsfield tests # 74.34 [+0.17] TEST: Reject route with dsfield 0x01 [ OK ] # 74.43 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 74.52 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 74.77 [+0.25] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 74.86 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 74.95 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 75.03 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 75.12 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 75.21 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 75.28 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 75.37 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 75.47 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 75.55 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 75.63 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 75.72 [+0.10] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 77.47 [+1.75] # 77.47 [+0.00] IPv6 prefix route tests # 79.35 [+1.87] TEST: Default metric [ OK ] # 79.63 [+0.29] TEST: User specified metric on first device [ OK ] # 79.93 [+0.30] TEST: User specified metric on second device [ OK ] # 80.11 [+0.18] TEST: Delete of address on first device [ OK ] # 80.31 [+0.20] TEST: Modify metric of address [ OK ] # 80.61 [+0.30] TEST: Prefix route removed on link down [ OK ] # 80.81 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 81.09 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 81.19 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 81.37 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 81.48 [+0.11] TEST: Modify metric and peer address on peer side [ OK ] # 82.49 [+1.01] # 82.49 [+0.00] IPv4 prefix route tests # 84.27 [+1.78] TEST: Default metric [ OK ] # 84.55 [+0.27] TEST: User specified metric on first device [ OK ] # 84.81 [+0.27] TEST: User specified metric on second device [ OK ] # 84.99 [+0.18] TEST: Delete of address on first device [ OK ] # 85.18 [+0.19] TEST: Modify metric of address [ OK ] # 85.36 [+0.18] TEST: Prefix route removed on link down [ OK ] # 85.55 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 85.90 [+0.35] TEST: Modify metric of .0/24 address [ OK ] # 86.18 [+0.28] TEST: Set metric of address with peer route [ OK ] # 86.37 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 87.35 [+0.98] # 87.35 [+0.00] IPv6 routes with metrics # 91.89 [+4.55] TEST: Single path route with mtu metric [ OK ] # 92.19 [+0.30] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 92.47 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 92.67 [+0.20] TEST: MTU of second leg [ OK ] # 92.87 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 93.07 [+0.21] TEST: Using route with mtu metric [ OK ] # 93.24 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 94.91 [+1.67] # 94.91 [+0.00] IPv4 route add / append tests # 99.47 [+4.56] TEST: Single path route with mtu metric [ OK ] # 99.65 [+0.17] TEST: Multipath route with mtu metric [ OK ] # 99.88 [+0.23] TEST: Using route with mtu metric [ OK ] # 100.04 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 101.77 [+1.73] # 101.77 [+0.00] IPv4 route with IPv6 gateway tests # 108.43 [+6.66] TEST: Single path route with IPv6 gateway [ OK ] # 108.67 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 108.76 [+0.09] TEST: Single path route delete [ OK ] # 108.94 [+0.18] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 109.13 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.22 [+0.08] TEST: Multipath route delete exact match [ OK ] # 109.32 [+0.11] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 109.55 [+0.23] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.64 [+0.09] TEST: Multipath route delete exact match [ OK ] # 111.40 [+1.76] # 111.40 [+0.00] IPv4 rp_filter tests # 117.40 [+6.00] TEST: rp_filter passes local packets [ OK ] # 117.54 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 118.30 [+0.76] # 118.30 [+0.00] IPv4 delete address route tests # 121.03 [+2.73] Regular FIB info # 121.20 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 121.30 [+0.09] TEST: Route in default VRF not removed [ OK ] # 121.62 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.72 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 121.72 [+0.00] Identical FIB info with different table ID # 121.90 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 121.99 [+0.09] TEST: Route in default VRF not removed [ OK ] # 122.44 [+0.45] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.56 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 122.56 [+0.00] Table ID 0 # 122.73 [+0.17] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.82 [+1.10] # 123.82 [+0.00] IPv6 delete address route tests # 129.86 [+6.04] Single device using src address # 130.06 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.07 [+0.00] Two devices with the same source address # 130.24 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 130.42 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 130.42 [+0.00] VRF with single device using src address # 130.59 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.59 [+0.00] VRF with two devices using src address # 130.77 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 130.96 [+0.19] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 130.96 [+0.00] src address and nexthop dev in same VRF # 131.13 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 131.22 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 131.55 [+0.33] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 131.63 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 131.64 [+0.00] src address and nexthop device in different VRF # 131.79 [+0.15] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 131.88 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 132.12 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 132.20 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 132.20 [+0.00] Table ID 0 # 132.35 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 132.36 [+0.00] Link local source route # 132.53 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 132.69 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 132.77 [+0.07] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 133.00 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 134.47 [+1.47] # 134.47 [+0.00] IPv4 mangling tests # 142.65 [+8.18] TEST: Connection with correct parameters [ OK ] # 142.85 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 143.83 [+0.97] TEST: Connection with correct parameters - mangling [ OK ] # 144.75 [+0.92] TEST: Connection with correct parameters - no mangling [ OK ] # 144.83 [+0.08] TEST: Connection check - server side [ OK ] # 147.27 [+2.44] # 147.27 [+0.00] IPv6 mangling tests # 155.13 [+7.85] TEST: Connection with correct parameters [ OK ] # 155.39 [+0.26] TEST: Connection with incorrect parameters [ OK ] # 156.34 [+0.95] TEST: Connection with correct parameters - mangling [ OK ] # 157.27 [+0.93] TEST: Connection with correct parameters - no mangling [ OK ] # 157.37 [+0.10] TEST: Connection check - server side [ OK ] # 160.08 [+2.70] # 160.08 [+0.00] IPv4 broadcast neighbour tests # 163.26 [+3.18] TEST: Resolved neighbour for broadcast address [ OK ] # 163.39 [+0.13] TEST: Resolved neighbour for network broadcast address [ OK ] # 163.50 [+0.12] TEST: Unresolved neighbour for broadcast address [ OK ] # 163.63 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 166.37 [+2.74] # 166.37 [+0.00] Fib6 garbage collection test # 179.97 [+13.59] TEST: ipv6 route garbage collection [ OK ] # 193.48 [+13.51] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 207.30 [+13.83] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 220.85 [+13.54] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 235.09 [+14.25] TEST: ipv6 route garbage collection (RA message) [ OK ] # 235.91 [+0.81] # 235.91 [+0.00] IPv4 multipath list receive tests # 251.49 [+15.58] TEST: Multipath route hit ratio (1.00) [ OK ] # 253.23 [+1.75] # 253.23 [+0.00] IPv6 multipath list receive tests # 267.75 [+14.51] TEST: Multipath route hit ratio (1.00) [ OK ] # 269.70 [+1.96] # 269.70 [+0.00] Tests passed: 229 # 269.70 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->