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.77 [+1.20] Start point # 1.91 [+0.13] TEST: IPv4 fibmatch [ OK ] # 2.02 [+0.11] TEST: IPv6 fibmatch [ OK ] # 2.16 [+0.15] Nexthop device deleted # 2.27 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.40 [+0.13] TEST: IPv6 fibmatch - no route [ OK ] # 3.14 [+0.74] # 3.14 [+0.00] Multipath route test # 5.50 [+2.37] Start point # 5.64 [+0.13] TEST: IPv4 fibmatch [ OK ] # 5.74 [+0.11] TEST: IPv6 fibmatch [ OK ] # 5.93 [+0.19] One nexthop device deleted # 6.04 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 6.15 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 6.31 [+0.16] Second nexthop device deleted # 6.43 [+0.12] TEST: IPv6 - no route [ OK ] # 7.13 [+0.70] # 7.13 [+0.00] Single path, admin down # 8.69 [+1.56] Start point # 8.82 [+0.12] TEST: IPv4 fibmatch [ OK ] # 8.91 [+0.10] TEST: IPv6 fibmatch [ OK ] # 9.04 [+0.13] Route deleted on down # 9.15 [+0.11] TEST: IPv4 fibmatch [ OK ] # 9.27 [+0.13] TEST: IPv6 fibmatch [ OK ] # 9.83 [+0.55] # 9.83 [+0.00] Admin down multipath # 12.04 [+2.21] Verify start point # 12.15 [+0.11] TEST: IPv4 fibmatch [ OK ] # 12.26 [+0.11] TEST: IPv6 fibmatch [ OK ] # 12.38 [+0.12] One device down, one up # 12.49 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 12.62 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 12.74 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 12.85 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.98 [+0.13] TEST: IPv4 flags on down device [ OK ] # 13.10 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.23 [+0.13] TEST: IPv4 flags on up device [ OK ] # 13.36 [+0.13] TEST: IPv6 flags on up device [ OK ] # 13.59 [+0.23] Other device down and up # 13.71 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 13.84 [+0.13] TEST: IPv6 fibmatch on down device [ OK ] # 13.94 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 14.04 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 14.17 [+0.13] TEST: IPv4 flags on down device [ OK ] # 14.32 [+0.15] TEST: IPv6 flags on down device [ OK ] # 14.45 [+0.13] TEST: IPv4 flags on up device [ OK ] # 14.58 [+0.13] TEST: IPv6 flags on up device [ OK ] # 14.70 [+0.12] Both devices down # 14.81 [+0.11] TEST: IPv4 fibmatch [ OK ] # 14.92 [+0.11] TEST: IPv6 fibmatch [ OK ] # 15.70 [+0.78] # 15.70 [+0.00] Local carrier tests - single path # 17.48 [+1.77] Start point # 17.63 [+0.15] TEST: IPv4 fibmatch [ OK ] # 17.74 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.87 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 18.00 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 19.18 [+1.18] Carrier off on nexthop # 19.29 [+0.12] TEST: IPv4 fibmatch [ OK ] # 19.42 [+0.12] TEST: IPv6 fibmatch [ OK ] # 19.52 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 19.62 [+0.11] TEST: IPv6 - linkdown flag set [ OK ] # 19.85 [+0.23] Route to local address with carrier down # 19.95 [+0.10] TEST: IPv4 fibmatch [ OK ] # 20.07 [+0.12] TEST: IPv6 fibmatch [ OK ] # 20.16 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 20.28 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 20.93 [+0.65] # 20.93 [+0.00] Single path route carrier test # 22.79 [+1.86] Start point # 22.91 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.03 [+0.12] TEST: IPv6 fibmatch [ OK ] # 23.16 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 23.28 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 24.44 [+1.16] Carrier down # 24.57 [+0.13] TEST: IPv4 fibmatch [ OK ] # 24.67 [+0.10] TEST: IPv6 fibmatch [ OK ] # 24.81 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 24.92 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 25.15 [+0.22] Second address added with carrier down # 25.25 [+0.11] TEST: IPv4 fibmatch [ OK ] # 25.37 [+0.12] TEST: IPv6 fibmatch [ OK ] # 25.49 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 25.63 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 31.09 [+5.45] # 31.09 [+0.00] IPv4 nexthop tests # 31.09 [+0.00] <<< write me >>> # 31.43 [+0.35] # 31.43 [+0.00] IPv6 nexthop tests # 31.58 [+0.15] TEST: Directly connected nexthop, unicast address [ OK ] # 31.73 [+0.15] TEST: Directly connected nexthop, unicast address with device [ OK ] # 31.86 [+0.13] TEST: Gateway is linklocal address [ OK ] # 32.01 [+0.15] TEST: Gateway is linklocal address, no device [ OK ] # 32.13 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 32.28 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 32.42 [+0.14] TEST: Gateway can not be a local linklocal address [ OK ] # 32.55 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 32.67 [+0.12] TEST: Gateway can be local address in a VRF, with device [ OK ] # 32.79 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 32.94 [+0.15] TEST: Redirect to VRF lookup [ OK ] # 33.06 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 33.19 [+0.13] TEST: VRF route, gateway can not be a local address [ OK ] # 33.32 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 34.55 [+1.23] # 34.55 [+0.00] FIB rule with suppress_prefixlength # 36.95 [+2.40] TEST: FIB rule suppress test [ OK ] # 39.07 [+2.12] # 39.07 [+0.00] Fib6 info length calculation in route notify test # 43.91 [+4.84] TEST: ipv6 route add notify [ OK ] # 46.08 [+2.16] # 46.08 [+0.00] Fib4 info length calculation in route notify test # 50.86 [+4.79] TEST: ipv4 route add notify [ OK ] # 56.90 [+6.04] # 56.90 [+0.00] IPv6 route add / append tests # 57.38 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 57.87 [+0.49] TEST: Attempt to add duplicate route - dev only [ OK ] # 58.36 [+0.49] TEST: Attempt to add duplicate route - reject route [ OK ] # 59.01 [+0.65] TEST: Append nexthop to existing route - gw [ OK ] # 59.55 [+0.54] TEST: Add multipath route [ OK ] # 60.03 [+0.49] TEST: Attempt to add duplicate multipath route [ OK ] # 60.64 [+0.61] TEST: Route add with different metrics [ OK ] # 60.92 [+0.28] TEST: Route delete with metric [ OK ] # 60.92 [+0.00] # 60.92 [+0.00] IPv6 route replace tests # 61.54 [+0.62] TEST: Single path with single path [ OK ] # 62.19 [+0.65] TEST: Single path with multipath [ OK ] # 62.80 [+0.61] TEST: Single path with single path via multipath attribute [ OK ] # 63.46 [+0.66] TEST: Invalid nexthop [ OK ] # 63.96 [+0.50] TEST: Single path - replace of non-existent route [ OK ] # 64.61 [+0.65] TEST: Multipath with multipath [ OK ] # 65.22 [+0.61] TEST: Multipath with single path [ OK ] # 65.86 [+0.65] TEST: Multipath with single path via multipath attribute [ OK ] # 66.48 [+0.62] TEST: Multipath with dev-only [ OK ] # 67.14 [+0.65] TEST: Multipath - invalid first nexthop [ OK ] # 67.78 [+0.64] TEST: Multipath - invalid second nexthop [ OK ] # 68.26 [+0.48] TEST: Multipath - replace of non-existent route [ OK ] # 68.26 [+0.00] # 68.26 [+0.00] IPv6 route with dsfield tests # 68.51 [+0.25] TEST: Reject route with dsfield [ OK ] # 76.64 [+8.13] # 76.64 [+0.00] IPv4 route add / append tests # 77.11 [+0.47] TEST: Attempt to add duplicate route - gw [ OK ] # 77.58 [+0.48] TEST: Attempt to add duplicate route - dev only [ OK ] # 78.06 [+0.48] TEST: Attempt to add duplicate route - reject route [ OK ] # 78.69 [+0.63] TEST: Add new nexthop for existing prefix [ OK ] # 79.30 [+0.61] TEST: Append nexthop to existing route - gw [ OK ] # 79.90 [+0.60] TEST: Append nexthop to existing route - dev only [ OK ] # 80.49 [+0.59] TEST: Append nexthop to existing route - reject route [ OK ] # 81.00 [+0.51] TEST: Append nexthop to existing reject route - gw [ OK ] # 81.50 [+0.50] TEST: Append nexthop to existing reject route - dev only [ OK ] # 82.05 [+0.55] TEST: add multipath route [ OK ] # 82.52 [+0.47] TEST: Attempt to add duplicate multipath route [ OK ] # 83.14 [+0.62] TEST: Route add with different metrics [ OK ] # 83.40 [+0.27] TEST: Route delete with metric [ OK ] # 83.41 [+0.00] # 83.41 [+0.00] IPv4 route replace tests # 84.02 [+0.61] TEST: Single path with single path [ OK ] # 84.63 [+0.61] TEST: Single path with multipath [ OK ] # 85.27 [+0.64] TEST: Single path with reject route [ OK ] # 85.89 [+0.62] TEST: Single path with single path via multipath attribute [ OK ] # 86.51 [+0.62] TEST: Invalid nexthop [ OK ] # 86.99 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 87.62 [+0.63] TEST: Multipath with multipath [ OK ] # 88.22 [+0.60] TEST: Multipath with single path [ OK ] # 88.85 [+0.62] TEST: Multipath with single path via multipath attribute [ OK ] # 89.49 [+0.64] TEST: Multipath with reject route [ OK ] # 90.10 [+0.61] TEST: Multipath - invalid first nexthop [ OK ] # 90.72 [+0.62] TEST: Multipath - invalid second nexthop [ OK ] # 91.21 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 93.14 [+1.93] TEST: Cached route removed from VRF port device [ OK ] # 93.14 [+0.00] # 93.14 [+0.00] IPv4 route with dsfield tests # 93.39 [+0.25] TEST: Reject route with dsfield 0x01 [ OK ] # 93.52 [+0.12] TEST: Reject route with dsfield 0x02 [ OK ] # 93.65 [+0.14] TEST: Reject route with dsfield 0x03 [ OK ] # 94.01 [+0.36] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 94.12 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 94.26 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 94.37 [+0.11] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 94.49 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 94.62 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 94.76 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 94.89 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 95.01 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 95.13 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 95.24 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 95.35 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 97.64 [+2.29] # 97.64 [+0.00] IPv6 prefix route tests # 100.19 [+2.55] TEST: Default metric [ OK ] # 100.60 [+0.41] TEST: User specified metric on first device [ OK ] # 101.00 [+0.40] TEST: User specified metric on second device [ OK ] # 101.25 [+0.26] TEST: Delete of address on first device [ OK ] # 101.52 [+0.27] TEST: Modify metric of address [ OK ] # 101.96 [+0.44] TEST: Prefix route removed on link down [ OK ] # 102.21 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 102.61 [+0.39] TEST: Set metric with peer route on local side [ OK ] # 102.73 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 103.00 [+0.27] TEST: Modify metric and peer address on local side [ OK ] # 103.12 [+0.12] TEST: Modify metric and peer address on peer side [ OK ] # 104.49 [+1.37] # 104.49 [+0.00] IPv4 prefix route tests # 107.04 [+2.55] TEST: Default metric [ OK ] # 107.42 [+0.38] TEST: User specified metric on first device [ OK ] # 107.83 [+0.41] TEST: User specified metric on second device [ OK ] # 108.07 [+0.25] TEST: Delete of address on first device [ OK ] # 108.34 [+0.27] TEST: Modify metric of address [ OK ] # 108.58 [+0.24] TEST: Prefix route removed on link down [ OK ] # 108.84 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 109.36 [+0.51] TEST: Modify metric of .0/24 address [ OK ] # 109.73 [+0.37] TEST: Set metric of address with peer route [ OK ] # 109.98 [+0.25] TEST: Modify metric and peer address for peer route [ OK ] # 111.30 [+1.32] # 111.30 [+0.00] IPv6 routes with metrics # 117.74 [+6.43] TEST: Single path route with mtu metric [ OK ] # 118.13 [+0.40] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 118.56 [+0.43] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 118.84 [+0.28] TEST: MTU of second leg [ OK ] # 119.12 [+0.28] TEST: Multipath route with mtu metric [ OK ] # 119.42 [+0.30] TEST: Using route with mtu metric [ OK ] # 119.64 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 121.85 [+2.21] # 121.85 [+0.00] IPv4 route add / append tests # 128.17 [+6.32] TEST: Single path route with mtu metric [ OK ] # 128.43 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 128.73 [+0.30] TEST: Using route with mtu metric [ OK ] # 128.95 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 131.05 [+2.10] # 131.05 [+0.00] IPv4 route with IPv6 gateway tests # 139.32 [+8.27] TEST: Single path route with IPv6 gateway [ OK ] # 139.63 [+0.32] TEST: Single path route with IPv6 gateway - ping [ OK ] # 139.75 [+0.11] TEST: Single path route delete [ OK ] # 139.99 [+0.25] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 140.25 [+0.25] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 140.37 [+0.13] TEST: Multipath route delete exact match [ OK ] # 140.51 [+0.14] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 140.77 [+0.26] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 140.89 [+0.12] TEST: Multipath route delete exact match [ OK ] # 143.10 [+2.21] # 143.10 [+0.00] IPv4 rp_filter tests # 151.44 [+8.34] TEST: rp_filter passes local packets [ OK ] # 151.63 [+0.20] TEST: rp_filter passes loopback packets [ OK ] # 152.67 [+1.04] # 152.67 [+0.00] IPv4 delete address route tests # 156.50 [+3.83] Regular FIB info # 156.71 [+0.21] TEST: Route removed from VRF when source address deleted [ OK ] # 156.81 [+0.10] TEST: Route in default VRF not removed [ OK ] # 157.26 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 157.39 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 157.39 [+0.00] Identical FIB info with different table ID # 157.64 [+0.25] TEST: Route removed from VRF when source address deleted [ OK ] # 157.75 [+0.11] TEST: Route in default VRF not removed [ OK ] # 158.19 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 158.29 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 158.30 [+0.00] Table ID 0 # 158.54 [+0.24] TEST: Route removed in default VRF when source address deleted [ OK ] # 159.83 [+1.29] # 159.83 [+0.00] IPv6 delete address route tests # 166.26 [+6.43] Single device using src address # 166.49 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 166.49 [+0.00] Two devices with the same source address # 166.73 [+0.24] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 166.96 [+0.23] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 166.96 [+0.00] VRF with single device using src address # 167.17 [+0.21] TEST: Prefsrc removed when src address removed on other device [ OK ] # 167.18 [+0.00] VRF with two devices using src address # 167.39 [+0.22] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 167.63 [+0.23] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 167.63 [+0.00] src address and nexthop dev in same VRF # 167.87 [+0.23] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 168.00 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 168.46 [+0.46] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 168.60 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 168.60 [+0.00] src address and nexthop device in different VRF # 168.85 [+0.24] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 168.97 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 169.34 [+0.37] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 169.46 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 169.46 [+0.00] Table ID 0 # 169.69 [+0.22] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 169.69 [+0.00] Link local source route # 169.91 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 170.11 [+0.20] TEST: Prefsrc removed when delete ll addr [ OK ] # 170.23 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 170.58 [+0.35] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 172.56 [+1.98] # 172.56 [+0.00] IPv4 mangling tests # 182.12 [+9.56] TEST: Connection with correct parameters [ OK ] # 182.35 [+0.24] TEST: Connection with incorrect parameters [ OK ] # 183.51 [+1.15] TEST: Connection with correct parameters - mangling [ OK ] # 184.47 [+0.97] TEST: Connection with correct parameters - no mangling [ OK ] # 184.55 [+0.08] TEST: Connection check - server side [ OK ] # 187.18 [+2.62] # 187.18 [+0.00] IPv6 mangling tests # 196.66 [+9.48] TEST: Connection with correct parameters [ OK ] # 196.94 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 197.92 [+0.98] TEST: Connection with correct parameters - mangling [ OK ] # 198.97 [+1.05] TEST: Connection with correct parameters - no mangling [ OK ] # 199.06 [+0.09] TEST: Connection check - server side [ OK ] # 201.57 [+2.51] # 201.57 [+0.00] IPv4 broadcast neighbour tests # 204.98 [+3.40] TEST: Resolved neighbour for broadcast address [ OK ] # 205.11 [+0.13] TEST: Resolved neighbour for network broadcast address [ OK ] # 205.25 [+0.14] TEST: Unresolved neighbour for broadcast address [ OK ] # 205.39 [+0.14] TEST: Unresolved neighbour for network broadcast address [ OK ] # 208.36 [+2.96] # 208.36 [+0.00] Fib6 garbage collection test # 222.37 [+14.01] TEST: ipv6 route garbage collection [ OK ] # 236.47 [+14.10] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 250.45 [+13.98] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 264.60 [+14.15] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 279.35 [+14.75] TEST: ipv6 route garbage collection (RA message) [ OK ] # 280.36 [+1.02] # 280.36 [+0.00] IPv4 multipath list receive tests # 300.58 [+20.21] TEST: Multipath route hit ratio (1.00) [ OK ] # 302.99 [+2.41] # 302.99 [+0.00] IPv6 multipath list receive tests # 322.40 [+19.41] TEST: Multipath route hit ratio (1.00) [ OK ] # 324.70 [+2.30] # 324.70 [+0.00] Tests passed: 229 # 324.71 [+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__->