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.57 [+0.57] # 0.57 [+0.00] Single path route test # 1.74 [+1.17] Start point # 1.86 [+0.12] TEST: IPv4 fibmatch [ OK ] # 1.99 [+0.13] TEST: IPv6 fibmatch [ OK ] # 2.14 [+0.16] Nexthop device deleted # 2.25 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.37 [+0.12] TEST: IPv6 fibmatch - no route [ OK ] # 3.05 [+0.68] # 3.05 [+0.00] Multipath route test # 5.18 [+2.14] Start point # 5.30 [+0.11] TEST: IPv4 fibmatch [ OK ] # 5.41 [+0.11] TEST: IPv6 fibmatch [ OK ] # 5.55 [+0.14] One nexthop device deleted # 5.66 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.77 [+0.12] TEST: IPv6 - multipath down to single path [ OK ] # 5.90 [+0.12] Second nexthop device deleted # 6.01 [+0.11] TEST: IPv6 - no route [ OK ] # 6.70 [+0.69] # 6.70 [+0.00] Single path, admin down # 8.17 [+1.47] Start point # 8.29 [+0.12] TEST: IPv4 fibmatch [ OK ] # 8.39 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.51 [+0.12] Route deleted on down # 8.62 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.73 [+0.11] TEST: IPv6 fibmatch [ OK ] # 9.25 [+0.52] # 9.25 [+0.00] Admin down multipath # 11.41 [+2.16] Verify start point # 11.53 [+0.11] TEST: IPv4 fibmatch [ OK ] # 11.64 [+0.11] TEST: IPv6 fibmatch [ OK ] # 11.74 [+0.11] One device down, one up # 11.85 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 11.96 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 12.07 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 12.18 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.30 [+0.11] TEST: IPv4 flags on down device [ OK ] # 12.45 [+0.15] TEST: IPv6 flags on down device [ OK ] # 12.56 [+0.11] TEST: IPv4 flags on up device [ OK ] # 12.69 [+0.13] TEST: IPv6 flags on up device [ OK ] # 12.91 [+0.22] Other device down and up # 13.02 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 13.12 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 13.24 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 13.36 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 13.49 [+0.14] TEST: IPv4 flags on down device [ OK ] # 13.62 [+0.13] TEST: IPv6 flags on down device [ OK ] # 13.74 [+0.12] TEST: IPv4 flags on up device [ OK ] # 13.88 [+0.13] TEST: IPv6 flags on up device [ OK ] # 14.04 [+0.17] Both devices down # 14.14 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.25 [+0.11] TEST: IPv6 fibmatch [ OK ] # 14.99 [+0.75] # 14.99 [+0.00] Local carrier tests - single path # 16.72 [+1.73] Start point # 16.84 [+0.12] TEST: IPv4 fibmatch [ OK ] # 16.97 [+0.13] TEST: IPv6 fibmatch [ OK ] # 17.10 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 17.21 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 18.37 [+1.16] Carrier off on nexthop # 18.49 [+0.12] TEST: IPv4 fibmatch [ OK ] # 18.64 [+0.15] TEST: IPv6 fibmatch [ OK ] # 18.80 [+0.16] TEST: IPv4 - linkdown flag set [ OK ] # 18.93 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 19.16 [+0.23] Route to local address with carrier down # 19.27 [+0.11] TEST: IPv4 fibmatch [ OK ] # 19.37 [+0.10] TEST: IPv6 fibmatch [ OK ] # 19.49 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 19.59 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 20.17 [+0.58] # 20.17 [+0.00] Single path route carrier test # 21.83 [+1.66] Start point # 21.93 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.04 [+0.11] TEST: IPv6 fibmatch [ OK ] # 22.16 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 22.30 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 23.46 [+1.17] Carrier down # 23.58 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.68 [+0.10] TEST: IPv6 fibmatch [ OK ] # 23.78 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 23.88 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 24.09 [+0.21] Second address added with carrier down # 24.21 [+0.11] TEST: IPv4 fibmatch [ OK ] # 24.32 [+0.11] TEST: IPv6 fibmatch [ OK ] # 24.43 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 24.54 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 29.83 [+5.29] # 29.83 [+0.00] IPv4 nexthop tests # 29.83 [+0.00] <<< write me >>> # 30.14 [+0.30] # 30.14 [+0.00] IPv6 nexthop tests # 30.26 [+0.13] TEST: Directly connected nexthop, unicast address [ OK ] # 30.38 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 30.53 [+0.14] TEST: Gateway is linklocal address [ OK ] # 30.64 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 30.77 [+0.13] TEST: Gateway can not be local unicast address [ OK ] # 30.89 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.02 [+0.13] TEST: Gateway can not be a local linklocal address [ OK ] # 31.15 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 31.28 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 31.40 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 31.53 [+0.13] TEST: Redirect to VRF lookup [ OK ] # 31.65 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 31.76 [+0.11] TEST: VRF route, gateway can not be a local address [ OK ] # 31.88 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 33.14 [+1.26] # 33.15 [+0.00] FIB rule with suppress_prefixlength # 35.45 [+2.30] TEST: FIB rule suppress test [ OK ] # 37.53 [+2.08] # 37.53 [+0.00] Fib6 info length calculation in route notify test # 42.27 [+4.75] TEST: ipv6 route add notify [ OK ] # 44.75 [+2.48] # 44.75 [+0.00] Fib4 info length calculation in route notify test # 50.15 [+5.40] TEST: ipv4 route add notify [ OK ] # 57.22 [+7.07] # 57.22 [+0.00] IPv6 route add / append tests # 57.78 [+0.56] TEST: Attempt to add duplicate route - gw [ OK ] # 58.33 [+0.55] TEST: Attempt to add duplicate route - dev only [ OK ] # 59.00 [+0.67] TEST: Attempt to add duplicate route - reject route [ OK ] # 59.70 [+0.70] TEST: Append nexthop to existing route - gw [ OK ] # 60.28 [+0.58] TEST: Add multipath route [ OK ] # 60.82 [+0.54] TEST: Attempt to add duplicate multipath route [ OK ] # 61.54 [+0.72] TEST: Route add with different metrics [ OK ] # 61.88 [+0.35] TEST: Route delete with metric [ OK ] # 61.89 [+0.00] # 61.89 [+0.00] IPv6 route replace tests # 62.55 [+0.66] TEST: Single path with single path [ OK ] # 63.26 [+0.72] TEST: Single path with multipath [ OK ] # 63.96 [+0.69] TEST: Single path with single path via multipath attribute [ OK ] # 64.63 [+0.67] TEST: Invalid nexthop [ OK ] # 65.15 [+0.52] TEST: Single path - replace of non-existent route [ OK ] # 65.82 [+0.67] TEST: Multipath with multipath [ OK ] # 66.50 [+0.67] TEST: Multipath with single path [ OK ] # 67.16 [+0.66] TEST: Multipath with single path via multipath attribute [ OK ] # 67.81 [+0.65] TEST: Multipath with dev-only [ OK ] # 68.44 [+0.63] TEST: Multipath - invalid first nexthop [ OK ] # 69.12 [+0.67] TEST: Multipath - invalid second nexthop [ OK ] # 69.62 [+0.51] TEST: Multipath - replace of non-existent route [ OK ] # 69.63 [+0.01] # 69.63 [+0.00] IPv6 route with dsfield tests # 69.89 [+0.26] TEST: Reject route with dsfield [ OK ] # 77.96 [+8.07] # 77.96 [+0.00] IPv4 route add / append tests # 78.44 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 78.92 [+0.48] TEST: Attempt to add duplicate route - dev only [ OK ] # 79.40 [+0.48] TEST: Attempt to add duplicate route - reject route [ OK ] # 80.03 [+0.63] TEST: Add new nexthop for existing prefix [ OK ] # 80.63 [+0.60] TEST: Append nexthop to existing route - gw [ OK ] # 81.21 [+0.59] TEST: Append nexthop to existing route - dev only [ OK ] # 81.80 [+0.59] TEST: Append nexthop to existing route - reject route [ OK ] # 82.32 [+0.52] TEST: Append nexthop to existing reject route - gw [ OK ] # 82.82 [+0.50] TEST: Append nexthop to existing reject route - dev only [ OK ] # 83.29 [+0.47] TEST: add multipath route [ OK ] # 83.79 [+0.50] TEST: Attempt to add duplicate multipath route [ OK ] # 84.44 [+0.65] TEST: Route add with different metrics [ OK ] # 84.70 [+0.27] TEST: Route delete with metric [ OK ] # 84.71 [+0.00] # 84.71 [+0.00] IPv4 route replace tests # 85.32 [+0.62] TEST: Single path with single path [ OK ] # 85.92 [+0.60] TEST: Single path with multipath [ OK ] # 86.54 [+0.62] TEST: Single path with reject route [ OK ] # 87.14 [+0.61] TEST: Single path with single path via multipath attribute [ OK ] # 87.75 [+0.61] TEST: Invalid nexthop [ OK ] # 88.22 [+0.47] TEST: Single path - replace of non-existent route [ OK ] # 88.83 [+0.61] TEST: Multipath with multipath [ OK ] # 89.43 [+0.60] TEST: Multipath with single path [ OK ] # 90.03 [+0.60] TEST: Multipath with single path via multipath attribute [ OK ] # 90.62 [+0.59] TEST: Multipath with reject route [ OK ] # 91.22 [+0.60] TEST: Multipath - invalid first nexthop [ OK ] # 91.80 [+0.58] TEST: Multipath - invalid second nexthop [ OK ] # 92.26 [+0.46] TEST: Multipath - replace of non-existent route [ OK ] # 94.08 [+1.82] TEST: Cached route removed from VRF port device [ OK ] # 94.09 [+0.00] # 94.09 [+0.00] IPv4 route with dsfield tests # 94.33 [+0.24] TEST: Reject route with dsfield 0x01 [ OK ] # 94.45 [+0.12] TEST: Reject route with dsfield 0x02 [ OK ] # 94.57 [+0.12] TEST: Reject route with dsfield 0x03 [ OK ] # 94.94 [+0.37] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 95.07 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 95.20 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 95.32 [+0.11] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 95.46 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 95.60 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 95.71 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 95.81 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 95.93 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 96.05 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 96.15 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 96.28 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 98.49 [+2.20] # 98.49 [+0.00] IPv6 prefix route tests # 101.16 [+2.67] TEST: Default metric [ OK ] # 101.56 [+0.40] TEST: User specified metric on first device [ OK ] # 101.97 [+0.41] TEST: User specified metric on second device [ OK ] # 102.23 [+0.26] TEST: Delete of address on first device [ OK ] # 102.48 [+0.26] TEST: Modify metric of address [ OK ] # 102.92 [+0.44] TEST: Prefix route removed on link down [ OK ] # 103.18 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 103.57 [+0.39] TEST: Set metric with peer route on local side [ OK ] # 103.70 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 103.98 [+0.28] TEST: Modify metric and peer address on local side [ OK ] # 104.12 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 105.39 [+1.27] # 105.39 [+0.00] IPv4 prefix route tests # 107.84 [+2.45] TEST: Default metric [ OK ] # 108.22 [+0.39] TEST: User specified metric on first device [ OK ] # 108.59 [+0.37] TEST: User specified metric on second device [ OK ] # 108.83 [+0.24] TEST: Delete of address on first device [ OK ] # 109.08 [+0.24] TEST: Modify metric of address [ OK ] # 109.31 [+0.23] TEST: Prefix route removed on link down [ OK ] # 109.56 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 110.05 [+0.49] TEST: Modify metric of .0/24 address [ OK ] # 110.43 [+0.37] TEST: Set metric of address with peer route [ OK ] # 110.67 [+0.24] TEST: Modify metric and peer address for peer route [ OK ] # 112.04 [+1.37] # 112.04 [+0.00] IPv6 routes with metrics # 118.24 [+6.20] TEST: Single path route with mtu metric [ OK ] # 118.65 [+0.41] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 119.06 [+0.41] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 119.34 [+0.28] TEST: MTU of second leg [ OK ] # 119.67 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 119.96 [+0.29] TEST: Using route with mtu metric [ OK ] # 120.18 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 122.47 [+2.29] # 122.47 [+0.00] IPv4 route add / append tests # 128.54 [+6.07] TEST: Single path route with mtu metric [ OK ] # 128.78 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 129.07 [+0.29] TEST: Using route with mtu metric [ OK ] # 129.28 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 131.27 [+2.00] # 131.27 [+0.00] IPv4 route with IPv6 gateway tests # 139.18 [+7.91] TEST: Single path route with IPv6 gateway [ OK ] # 139.48 [+0.30] TEST: Single path route with IPv6 gateway - ping [ OK ] # 139.59 [+0.11] TEST: Single path route delete [ OK ] # 139.82 [+0.23] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 140.08 [+0.26] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 140.22 [+0.14] TEST: Multipath route delete exact match [ OK ] # 140.33 [+0.11] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 140.57 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 140.70 [+0.12] TEST: Multipath route delete exact match [ OK ] # 142.83 [+2.14] # 142.83 [+0.00] IPv4 rp_filter tests # 150.52 [+7.69] TEST: rp_filter passes local packets [ OK ] # 150.70 [+0.18] TEST: rp_filter passes loopback packets [ OK ] # 151.66 [+0.96] # 151.66 [+0.00] IPv4 delete address route tests # 155.35 [+3.69] Regular FIB info # 155.58 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 155.71 [+0.13] TEST: Route in default VRF not removed [ OK ] # 156.13 [+0.42] TEST: Route removed in default VRF when source address deleted [ OK ] # 156.24 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 156.24 [+0.00] Identical FIB info with different table ID # 156.46 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 156.58 [+0.12] TEST: Route in default VRF not removed [ OK ] # 157.01 [+0.43] TEST: Route removed in default VRF when source address deleted [ OK ] # 157.11 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 157.11 [+0.00] Table ID 0 # 157.34 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 158.57 [+1.23] # 158.57 [+0.00] IPv6 delete address route tests # 164.78 [+6.21] Single device using src address # 165.00 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 165.00 [+0.00] Two devices with the same source address # 165.24 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 165.46 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 165.46 [+0.00] VRF with single device using src address # 165.66 [+0.21] TEST: Prefsrc removed when src address removed on other device [ OK ] # 165.67 [+0.00] VRF with two devices using src address # 165.90 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 166.13 [+0.23] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 166.13 [+0.00] src address and nexthop dev in same VRF # 166.34 [+0.21] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 166.44 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 166.88 [+0.44] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 167.01 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 167.01 [+0.00] src address and nexthop device in different VRF # 167.24 [+0.23] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 167.35 [+0.11] TEST: Prefsrc not removed in default VRF [ OK ] # 167.67 [+0.33] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 167.81 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 167.81 [+0.00] Table ID 0 # 168.03 [+0.22] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 168.03 [+0.00] Link local source route # 168.27 [+0.24] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 168.48 [+0.20] TEST: Prefsrc removed when delete ll addr [ OK ] # 168.58 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 168.91 [+0.33] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 170.78 [+1.88] # 170.78 [+0.00] IPv4 mangling tests # 180.02 [+9.24] TEST: Connection with correct parameters [ OK ] # 180.28 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 181.33 [+1.06] TEST: Connection with correct parameters - mangling [ OK ] # 182.34 [+1.01] TEST: Connection with correct parameters - no mangling [ OK ] # 182.42 [+0.08] TEST: Connection check - server side [ OK ] # 184.97 [+2.55] # 184.98 [+0.00] IPv6 mangling tests # 194.11 [+9.13] TEST: Connection with correct parameters [ OK ] # 194.37 [+0.26] TEST: Connection with incorrect parameters [ OK ] # 195.36 [+0.99] TEST: Connection with correct parameters - mangling [ OK ] # 196.33 [+0.97] TEST: Connection with correct parameters - no mangling [ OK ] # 196.41 [+0.08] TEST: Connection check - server side [ OK ] # 199.08 [+2.67] # 199.08 [+0.00] IPv4 broadcast neighbour tests # 202.17 [+3.09] TEST: Resolved neighbour for broadcast address [ OK ] # 202.32 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 202.45 [+0.13] TEST: Unresolved neighbour for broadcast address [ OK ] # 202.60 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 205.03 [+2.43] # 205.04 [+0.01] Fib6 garbage collection test # 218.68 [+13.65] TEST: ipv6 route garbage collection [ OK ] # 232.63 [+13.94] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 246.55 [+13.93] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 260.59 [+14.03] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 275.27 [+14.68] TEST: ipv6 route garbage collection (RA message) [ OK ] # 276.21 [+0.94] # 276.21 [+0.00] IPv4 multipath list receive tests # 295.58 [+19.38] TEST: Multipath route hit ratio (1.00) [ OK ] # 297.77 [+2.19] # 297.77 [+0.00] IPv6 multipath list receive tests # 316.99 [+19.22] TEST: Multipath route hit ratio (1.00) [ OK ] # 319.36 [+2.37] # 319.36 [+0.00] Tests passed: 229 # 319.36 [+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__->