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.53 [+0.53] # 0.53 [+0.00] Single path route test # 1.68 [+1.15] Start point # 1.77 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.88 [+0.11] TEST: IPv6 fibmatch [ OK ] # 2.03 [+0.16] Nexthop device deleted # 2.17 [+0.14] TEST: IPv4 fibmatch - no route [ OK ] # 2.30 [+0.13] TEST: IPv6 fibmatch - no route [ OK ] # 2.94 [+0.64] # 2.94 [+0.00] Multipath route test # 5.27 [+2.33] Start point # 5.37 [+0.10] TEST: IPv4 fibmatch [ OK ] # 5.50 [+0.13] TEST: IPv6 fibmatch [ OK ] # 5.65 [+0.15] One nexthop device deleted # 5.76 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.90 [+0.14] TEST: IPv6 - multipath down to single path [ OK ] # 6.05 [+0.15] Second nexthop device deleted # 6.16 [+0.12] TEST: IPv6 - no route [ OK ] # 6.85 [+0.68] # 6.85 [+0.00] Single path, admin down # 8.38 [+1.54] Start point # 8.51 [+0.12] TEST: IPv4 fibmatch [ OK ] # 8.64 [+0.14] TEST: IPv6 fibmatch [ OK ] # 8.77 [+0.13] Route deleted on down # 8.88 [+0.12] TEST: IPv4 fibmatch [ OK ] # 9.00 [+0.11] TEST: IPv6 fibmatch [ OK ] # 9.56 [+0.57] # 9.56 [+0.00] Admin down multipath # 11.70 [+2.13] Verify start point # 11.78 [+0.08] TEST: IPv4 fibmatch [ OK ] # 11.88 [+0.10] TEST: IPv6 fibmatch [ OK ] # 12.02 [+0.14] One device down, one up # 12.11 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 12.21 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.34 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 12.44 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 12.57 [+0.13] TEST: IPv4 flags on down device [ OK ] # 12.71 [+0.14] TEST: IPv6 flags on down device [ OK ] # 12.81 [+0.10] TEST: IPv4 flags on up device [ OK ] # 12.98 [+0.17] TEST: IPv6 flags on up device [ OK ] # 13.20 [+0.22] Other device down and up # 13.30 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 13.43 [+0.13] TEST: IPv6 fibmatch on down device [ OK ] # 13.52 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 13.62 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 13.71 [+0.09] TEST: IPv4 flags on down device [ OK ] # 13.83 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.93 [+0.10] TEST: IPv4 flags on up device [ OK ] # 14.06 [+0.13] TEST: IPv6 flags on up device [ OK ] # 14.18 [+0.12] Both devices down # 14.31 [+0.14] TEST: IPv4 fibmatch [ OK ] # 14.45 [+0.13] TEST: IPv6 fibmatch [ OK ] # 15.22 [+0.77] # 15.22 [+0.00] Local carrier tests - single path # 16.80 [+1.58] Start point # 16.90 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.01 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.11 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 17.23 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 18.39 [+1.16] Carrier off on nexthop # 18.52 [+0.12] TEST: IPv4 fibmatch [ OK ] # 18.63 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.73 [+0.11] TEST: IPv4 - linkdown flag set [ OK ] # 18.84 [+0.11] TEST: IPv6 - linkdown flag set [ OK ] # 19.06 [+0.22] Route to local address with carrier down # 19.17 [+0.11] TEST: IPv4 fibmatch [ OK ] # 19.32 [+0.15] TEST: IPv6 fibmatch [ OK ] # 19.43 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 19.56 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 20.12 [+0.56] # 20.12 [+0.00] Single path route carrier test # 21.64 [+1.52] Start point # 21.75 [+0.10] TEST: IPv4 fibmatch [ OK ] # 21.84 [+0.09] TEST: IPv6 fibmatch [ OK ] # 21.96 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 22.06 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 23.24 [+1.19] Carrier down # 23.37 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.46 [+0.09] TEST: IPv6 fibmatch [ OK ] # 23.56 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 23.66 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 23.84 [+0.18] Second address added with carrier down # 23.97 [+0.13] TEST: IPv4 fibmatch [ OK ] # 24.06 [+0.10] TEST: IPv6 fibmatch [ OK ] # 24.18 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 24.29 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 29.30 [+5.01] # 29.30 [+0.00] IPv4 nexthop tests # 29.30 [+0.00] <<< write me >>> # 29.58 [+0.28] # 29.58 [+0.00] IPv6 nexthop tests # 29.69 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 29.79 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 29.92 [+0.13] TEST: Gateway is linklocal address [ OK ] # 30.02 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 30.14 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 30.29 [+0.15] TEST: Gateway can not be local unicast address, with device [ OK ] # 30.41 [+0.12] TEST: Gateway can not be a local linklocal address [ OK ] # 30.56 [+0.15] TEST: Gateway can be local address in a VRF [ OK ] # 30.69 [+0.14] TEST: Gateway can be local address in a VRF, with device [ OK ] # 30.81 [+0.11] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 30.92 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 31.04 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 31.16 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 31.25 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 32.42 [+1.16] # 32.42 [+0.00] FIB rule with suppress_prefixlength # 34.71 [+2.29] TEST: FIB rule suppress test [ OK ] # 36.65 [+1.94] # 36.65 [+0.00] Fib6 info length calculation in route notify test # 41.20 [+4.55] TEST: ipv6 route add notify [ OK ] # 43.21 [+2.02] # 43.21 [+0.00] Fib4 info length calculation in route notify test # 47.65 [+4.44] TEST: ipv4 route add notify [ OK ] # 53.13 [+5.49] # 53.13 [+0.00] IPv6 route add / append tests # 53.55 [+0.42] TEST: Attempt to add duplicate route - gw [ OK ] # 54.01 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 54.52 [+0.51] TEST: Attempt to add duplicate route - reject route [ OK ] # 55.11 [+0.59] TEST: Append nexthop to existing route - gw [ OK ] # 55.61 [+0.50] TEST: Add multipath route [ OK ] # 56.09 [+0.48] TEST: Attempt to add duplicate multipath route [ OK ] # 56.63 [+0.53] TEST: Route add with different metrics [ OK ] # 56.90 [+0.27] TEST: Route delete with metric [ OK ] # 56.90 [+0.00] # 56.90 [+0.00] IPv6 route replace tests # 57.51 [+0.60] TEST: Single path with single path [ OK ] # 58.10 [+0.60] TEST: Single path with multipath [ OK ] # 58.70 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 59.32 [+0.62] TEST: Invalid nexthop [ OK ] # 59.80 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 60.35 [+0.56] TEST: Multipath with multipath [ OK ] # 60.92 [+0.56] TEST: Multipath with single path [ OK ] # 61.48 [+0.56] TEST: Multipath with single path via multipath attribute [ OK ] # 62.07 [+0.59] TEST: Multipath with dev-only [ OK ] # 62.65 [+0.58] TEST: Multipath - invalid first nexthop [ OK ] # 63.23 [+0.57] TEST: Multipath - invalid second nexthop [ OK ] # 63.70 [+0.47] TEST: Multipath - replace of non-existent route [ OK ] # 63.70 [+0.00] # 63.70 [+0.00] IPv6 route with dsfield tests # 63.91 [+0.21] TEST: Reject route with dsfield [ OK ] # 71.84 [+7.94] # 71.84 [+0.00] IPv4 route add / append tests # 72.32 [+0.47] TEST: Attempt to add duplicate route - gw [ OK ] # 72.81 [+0.49] TEST: Attempt to add duplicate route - dev only [ OK ] # 73.26 [+0.45] TEST: Attempt to add duplicate route - reject route [ OK ] # 73.80 [+0.54] TEST: Add new nexthop for existing prefix [ OK ] # 74.39 [+0.59] TEST: Append nexthop to existing route - gw [ OK ] # 74.92 [+0.53] TEST: Append nexthop to existing route - dev only [ OK ] # 75.51 [+0.59] TEST: Append nexthop to existing route - reject route [ OK ] # 75.97 [+0.46] TEST: Append nexthop to existing reject route - gw [ OK ] # 76.42 [+0.45] TEST: Append nexthop to existing reject route - dev only [ OK ] # 76.90 [+0.48] TEST: add multipath route [ OK ] # 77.34 [+0.44] TEST: Attempt to add duplicate multipath route [ OK ] # 77.92 [+0.58] TEST: Route add with different metrics [ OK ] # 78.17 [+0.24] TEST: Route delete with metric [ OK ] # 78.17 [+0.00] # 78.17 [+0.00] IPv4 route replace tests # 78.70 [+0.53] TEST: Single path with single path [ OK ] # 79.30 [+0.60] TEST: Single path with multipath [ OK ] # 79.88 [+0.59] TEST: Single path with reject route [ OK ] # 80.48 [+0.59] TEST: Single path with single path via multipath attribute [ OK ] # 81.01 [+0.53] TEST: Invalid nexthop [ OK ] # 81.49 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 82.07 [+0.58] TEST: Multipath with multipath [ OK ] # 82.68 [+0.61] TEST: Multipath with single path [ OK ] # 83.27 [+0.59] TEST: Multipath with single path via multipath attribute [ OK ] # 83.82 [+0.56] TEST: Multipath with reject route [ OK ] # 84.47 [+0.65] TEST: Multipath - invalid first nexthop [ OK ] # 85.10 [+0.63] TEST: Multipath - invalid second nexthop [ OK ] # 85.64 [+0.54] TEST: Multipath - replace of non-existent route [ OK ] # 87.71 [+2.07] TEST: Cached route removed from VRF port device [ OK ] # 87.72 [+0.00] # 87.72 [+0.00] IPv4 route with dsfield tests # 87.96 [+0.25] TEST: Reject route with dsfield 0x01 [ OK ] # 88.09 [+0.13] TEST: Reject route with dsfield 0x02 [ OK ] # 88.20 [+0.11] TEST: Reject route with dsfield 0x03 [ OK ] # 88.55 [+0.35] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 88.69 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 88.80 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 88.95 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 89.05 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 89.19 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 89.31 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 89.45 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 89.54 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 89.65 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 89.75 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 89.87 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 92.09 [+2.23] # 92.09 [+0.00] IPv6 prefix route tests # 94.57 [+2.47] TEST: Default metric [ OK ] # 94.89 [+0.32] TEST: User specified metric on first device [ OK ] # 95.26 [+0.36] TEST: User specified metric on second device [ OK ] # 95.51 [+0.25] TEST: Delete of address on first device [ OK ] # 95.72 [+0.21] TEST: Modify metric of address [ OK ] # 96.11 [+0.39] TEST: Prefix route removed on link down [ OK ] # 96.37 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 96.75 [+0.38] TEST: Set metric with peer route on local side [ OK ] # 96.88 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 97.11 [+0.24] TEST: Modify metric and peer address on local side [ OK ] # 97.24 [+0.12] TEST: Modify metric and peer address on peer side [ OK ] # 98.47 [+1.23] # 98.47 [+0.00] IPv4 prefix route tests # 100.67 [+2.21] TEST: Default metric [ OK ] # 101.00 [+0.33] TEST: User specified metric on first device [ OK ] # 101.36 [+0.36] TEST: User specified metric on second device [ OK ] # 101.56 [+0.19] TEST: Delete of address on first device [ OK ] # 101.77 [+0.21] TEST: Modify metric of address [ OK ] # 101.98 [+0.21] TEST: Prefix route removed on link down [ OK ] # 102.19 [+0.21] TEST: Prefix route with metric on link up [ OK ] # 102.70 [+0.51] TEST: Modify metric of .0/24 address [ OK ] # 103.02 [+0.32] TEST: Set metric of address with peer route [ OK ] # 103.24 [+0.22] TEST: Modify metric and peer address for peer route [ OK ] # 104.47 [+1.23] # 104.47 [+0.00] IPv6 routes with metrics # 110.19 [+5.72] TEST: Single path route with mtu metric [ OK ] # 110.55 [+0.36] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 110.91 [+0.35] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 111.18 [+0.27] TEST: MTU of second leg [ OK ] # 111.44 [+0.26] TEST: Multipath route with mtu metric [ OK ] # 111.74 [+0.30] TEST: Using route with mtu metric [ OK ] # 111.99 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 114.06 [+2.06] # 114.06 [+0.00] IPv4 route add / append tests # 120.26 [+6.20] TEST: Single path route with mtu metric [ OK ] # 120.51 [+0.24] TEST: Multipath route with mtu metric [ OK ] # 120.81 [+0.31] TEST: Using route with mtu metric [ OK ] # 121.04 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 123.19 [+2.15] # 123.19 [+0.00] IPv4 route with IPv6 gateway tests # 130.90 [+7.71] TEST: Single path route with IPv6 gateway [ OK ] # 131.22 [+0.32] TEST: Single path route with IPv6 gateway - ping [ OK ] # 131.35 [+0.13] TEST: Single path route delete [ OK ] # 131.57 [+0.22] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 131.78 [+0.21] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 131.89 [+0.11] TEST: Multipath route delete exact match [ OK ] # 132.04 [+0.15] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 132.28 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 132.40 [+0.12] TEST: Multipath route delete exact match [ OK ] # 134.45 [+2.05] # 134.45 [+0.00] IPv4 rp_filter tests # 141.63 [+7.18] TEST: rp_filter passes local packets [ OK ] # 141.78 [+0.15] TEST: rp_filter passes loopback packets [ OK ] # 142.67 [+0.89] # 142.67 [+0.00] IPv4 delete address route tests # 146.27 [+3.60] Regular FIB info # 146.51 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 146.63 [+0.12] TEST: Route in default VRF not removed [ OK ] # 147.03 [+0.40] TEST: Route removed in default VRF when source address deleted [ OK ] # 147.15 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 147.15 [+0.00] Identical FIB info with different table ID # 147.33 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 147.42 [+0.09] TEST: Route in default VRF not removed [ OK ] # 147.77 [+0.36] TEST: Route removed in default VRF when source address deleted [ OK ] # 147.86 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 147.86 [+0.00] Table ID 0 # 148.08 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 149.17 [+1.09] # 149.17 [+0.00] IPv6 delete address route tests # 154.75 [+5.58] Single device using src address # 154.95 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 154.96 [+0.00] Two devices with the same source address # 155.18 [+0.22] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 155.35 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 155.35 [+0.00] VRF with single device using src address # 155.56 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 155.56 [+0.00] VRF with two devices using src address # 155.78 [+0.22] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 155.96 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 155.96 [+0.00] src address and nexthop dev in same VRF # 156.20 [+0.24] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 156.30 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 156.71 [+0.41] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 156.83 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 156.83 [+0.00] src address and nexthop device in different VRF # 157.09 [+0.26] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 157.20 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 157.49 [+0.29] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 157.59 [+0.10] TEST: Prefsrc removed in default VRF [ OK ] # 157.59 [+0.00] Table ID 0 # 157.81 [+0.22] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 157.81 [+0.00] Link local source route # 158.04 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 158.26 [+0.22] TEST: Prefsrc removed when delete ll addr [ OK ] # 158.37 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 158.67 [+0.31] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 160.49 [+1.82] # 160.49 [+0.00] IPv4 mangling tests # 169.38 [+8.89] TEST: Connection with correct parameters [ OK ] # 169.63 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 170.76 [+1.13] TEST: Connection with correct parameters - mangling [ OK ] # 171.68 [+0.92] TEST: Connection with correct parameters - no mangling [ OK ] # 171.77 [+0.09] TEST: Connection check - server side [ OK ] # 174.26 [+2.49] # 174.26 [+0.00] IPv6 mangling tests # 182.90 [+8.64] TEST: Connection with correct parameters [ OK ] # 183.13 [+0.22] TEST: Connection with incorrect parameters [ OK ] # 184.00 [+0.87] TEST: Connection with correct parameters - mangling [ OK ] # 184.92 [+0.92] TEST: Connection with correct parameters - no mangling [ OK ] # 185.01 [+0.09] TEST: Connection check - server side [ OK ] # 187.41 [+2.40] # 187.41 [+0.00] IPv4 broadcast neighbour tests # 190.30 [+2.88] TEST: Resolved neighbour for broadcast address [ OK ] # 190.40 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 190.52 [+0.12] TEST: Unresolved neighbour for broadcast address [ OK ] # 190.63 [+0.11] TEST: Unresolved neighbour for network broadcast address [ OK ] # 192.88 [+2.25] # 192.88 [+0.00] Fib6 garbage collection test # 206.36 [+13.48] TEST: ipv6 route garbage collection [ OK ] # 220.02 [+13.65] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 233.75 [+13.73] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 247.69 [+13.94] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 262.27 [+14.58] TEST: ipv6 route garbage collection (RA message) [ OK ] # 263.14 [+0.87] # 263.14 [+0.00] IPv4 multipath list receive tests # 284.23 [+21.09] TEST: Multipath route hit ratio (1.00) [ OK ] # 286.51 [+2.28] # 286.51 [+0.00] IPv6 multipath list receive tests # 307.07 [+20.56] TEST: Multipath route hit ratio (1.00) [ OK ] # 309.35 [+2.27] # 309.35 [+0.00] Tests passed: 229 # 309.35 [+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__->