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.45 [+0.45] # 0.45 [+0.00] Single path route test # 1.57 [+1.12] Start point # 1.68 [+0.11] TEST: IPv4 fibmatch [ OK ] # 1.77 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.90 [+0.12] Nexthop device deleted # 1.98 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 2.07 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.57 [+0.51] # 2.57 [+0.00] Multipath route test # 4.37 [+1.79] Start point # 4.47 [+0.10] TEST: IPv4 fibmatch [ OK ] # 4.59 [+0.12] TEST: IPv6 fibmatch [ OK ] # 4.72 [+0.13] One nexthop device deleted # 4.82 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.91 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 5.05 [+0.14] Second nexthop device deleted # 5.13 [+0.08] TEST: IPv6 - no route [ OK ] # 5.65 [+0.52] # 5.65 [+0.00] Single path, admin down # 6.93 [+1.28] Start point # 7.02 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.13 [+0.11] TEST: IPv6 fibmatch [ OK ] # 7.22 [+0.09] Route deleted on down # 7.36 [+0.14] TEST: IPv4 fibmatch [ OK ] # 7.47 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.07 [+0.61] # 8.07 [+0.00] Admin down multipath # 9.89 [+1.82] Verify start point # 9.98 [+0.09] TEST: IPv4 fibmatch [ OK ] # 10.07 [+0.09] TEST: IPv6 fibmatch [ OK ] # 10.17 [+0.11] One device down, one up # 10.28 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 10.38 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 10.47 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.61 [+0.13] TEST: IPv6 fibmatch on up device [ OK ] # 10.69 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.79 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.88 [+0.09] TEST: IPv4 flags on up device [ OK ] # 10.98 [+0.10] TEST: IPv6 flags on up device [ OK ] # 11.17 [+0.19] Other device down and up # 11.27 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 11.36 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 11.46 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 11.57 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 11.69 [+0.12] TEST: IPv4 flags on down device [ OK ] # 11.80 [+0.11] TEST: IPv6 flags on down device [ OK ] # 11.90 [+0.10] TEST: IPv4 flags on up device [ OK ] # 12.00 [+0.10] TEST: IPv6 flags on up device [ OK ] # 12.11 [+0.11] Both devices down # 12.20 [+0.09] TEST: IPv4 fibmatch [ OK ] # 12.30 [+0.10] TEST: IPv6 fibmatch [ OK ] # 13.05 [+0.75] # 13.05 [+0.00] Local carrier tests - single path # 14.69 [+1.64] Start point # 14.80 [+0.11] TEST: IPv4 fibmatch [ OK ] # 14.94 [+0.14] TEST: IPv6 fibmatch [ OK ] # 15.07 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 15.18 [+0.11] TEST: IPv6 - no linkdown flag [ OK ] # 16.36 [+1.18] Carrier off on nexthop # 16.46 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.54 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.62 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 16.72 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 16.93 [+0.21] Route to local address with carrier down # 17.03 [+0.09] TEST: IPv4 fibmatch [ OK ] # 17.11 [+0.09] TEST: IPv6 fibmatch [ OK ] # 17.19 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 17.29 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 17.74 [+0.45] # 17.74 [+0.00] Single path route carrier test # 18.98 [+1.24] Start point # 19.07 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.16 [+0.10] TEST: IPv6 fibmatch [ OK ] # 19.25 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 19.33 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 20.46 [+1.13] Carrier down # 20.57 [+0.11] TEST: IPv4 fibmatch [ OK ] # 20.66 [+0.09] TEST: IPv6 fibmatch [ OK ] # 20.76 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 20.87 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 21.06 [+0.19] Second address added with carrier down # 21.15 [+0.09] TEST: IPv4 fibmatch [ OK ] # 21.25 [+0.10] TEST: IPv6 fibmatch [ OK ] # 21.33 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 21.41 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 25.92 [+4.51] # 25.92 [+0.00] IPv4 nexthop tests # 25.93 [+0.00] <<< write me >>> # 26.16 [+0.23] # 26.16 [+0.00] IPv6 nexthop tests # 26.25 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 26.35 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 26.44 [+0.09] TEST: Gateway is linklocal address [ OK ] # 26.54 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 26.63 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 26.72 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 26.82 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 26.92 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 27.01 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 27.11 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 27.19 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 27.28 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 27.40 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 27.50 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 28.51 [+1.01] # 28.51 [+0.00] FIB rule with suppress_prefixlength # 30.33 [+1.82] TEST: FIB rule suppress test [ OK ] # 31.85 [+1.52] # 31.85 [+0.00] Fib6 info length calculation in route notify test # 35.75 [+3.90] TEST: ipv6 route add notify [ OK ] # 37.29 [+1.54] # 37.29 [+0.00] Fib4 info length calculation in route notify test # 41.42 [+4.13] TEST: ipv4 route add notify [ OK ] # 46.46 [+5.04] # 46.46 [+0.00] IPv6 route add / append tests # 46.95 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 47.40 [+0.45] TEST: Attempt to add duplicate route - dev only [ OK ] # 47.92 [+0.52] TEST: Attempt to add duplicate route - reject route [ OK ] # 48.53 [+0.62] TEST: Append nexthop to existing route - gw [ OK ] # 49.03 [+0.50] TEST: Add multipath route [ OK ] # 49.51 [+0.48] TEST: Attempt to add duplicate multipath route [ OK ] # 50.10 [+0.60] TEST: Route add with different metrics [ OK ] # 50.32 [+0.22] TEST: Route delete with metric [ OK ] # 50.32 [+0.00] # 50.32 [+0.00] IPv6 route replace tests # 50.82 [+0.49] TEST: Single path with single path [ OK ] # 51.30 [+0.49] TEST: Single path with multipath [ OK ] # 51.86 [+0.55] TEST: Single path with single path via multipath attribute [ OK ] # 52.33 [+0.47] TEST: Invalid nexthop [ OK ] # 52.68 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 53.15 [+0.47] TEST: Multipath with multipath [ OK ] # 53.59 [+0.45] TEST: Multipath with single path [ OK ] # 54.06 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 54.49 [+0.44] TEST: Multipath with dev-only [ OK ] # 54.95 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 55.44 [+0.50] TEST: Multipath - invalid second nexthop [ OK ] # 55.82 [+0.38] TEST: Multipath - replace of non-existent route [ OK ] # 55.82 [+0.00] # 55.82 [+0.00] IPv6 route with dsfield tests # 56.02 [+0.20] TEST: Reject route with dsfield [ OK ] # 62.62 [+6.60] # 62.62 [+0.00] IPv4 route add / append tests # 63.06 [+0.44] TEST: Attempt to add duplicate route - gw [ OK ] # 63.52 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 63.98 [+0.46] TEST: Attempt to add duplicate route - reject route [ OK ] # 64.42 [+0.44] TEST: Add new nexthop for existing prefix [ OK ] # 64.87 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 65.34 [+0.47] TEST: Append nexthop to existing route - dev only [ OK ] # 65.82 [+0.48] TEST: Append nexthop to existing route - reject route [ OK ] # 66.24 [+0.42] TEST: Append nexthop to existing reject route - gw [ OK ] # 66.70 [+0.46] TEST: Append nexthop to existing reject route - dev only [ OK ] # 67.10 [+0.40] TEST: add multipath route [ OK ] # 67.48 [+0.38] TEST: Attempt to add duplicate multipath route [ OK ] # 67.90 [+0.42] TEST: Route add with different metrics [ OK ] # 68.08 [+0.18] TEST: Route delete with metric [ OK ] # 68.09 [+0.00] # 68.09 [+0.00] IPv4 route replace tests # 68.54 [+0.45] TEST: Single path with single path [ OK ] # 69.04 [+0.50] TEST: Single path with multipath [ OK ] # 69.63 [+0.60] TEST: Single path with reject route [ OK ] # 70.15 [+0.52] TEST: Single path with single path via multipath attribute [ OK ] # 70.71 [+0.55] TEST: Invalid nexthop [ OK ] # 71.17 [+0.46] TEST: Single path - replace of non-existent route [ OK ] # 71.77 [+0.60] TEST: Multipath with multipath [ OK ] # 72.39 [+0.62] TEST: Multipath with single path [ OK ] # 72.98 [+0.59] TEST: Multipath with single path via multipath attribute [ OK ] # 73.50 [+0.52] TEST: Multipath with reject route [ OK ] # 74.02 [+0.52] TEST: Multipath - invalid first nexthop [ OK ] # 74.49 [+0.47] TEST: Multipath - invalid second nexthop [ OK ] # 74.87 [+0.38] TEST: Multipath - replace of non-existent route [ OK ] # 76.27 [+1.40] TEST: Cached route removed from VRF port device [ OK ] # 76.27 [+0.00] # 76.27 [+0.00] IPv4 route with dsfield tests # 76.46 [+0.19] TEST: Reject route with dsfield 0x01 [ OK ] # 76.56 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 76.65 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 76.92 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 77.00 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 77.08 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 77.15 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 77.24 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 77.32 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 77.42 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 77.50 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 77.60 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 77.68 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 77.77 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 77.85 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 79.58 [+1.73] # 79.58 [+0.00] IPv6 prefix route tests # 81.42 [+1.84] TEST: Default metric [ OK ] # 81.72 [+0.30] TEST: User specified metric on first device [ OK ] # 82.00 [+0.28] TEST: User specified metric on second device [ OK ] # 82.20 [+0.20] TEST: Delete of address on first device [ OK ] # 82.38 [+0.18] TEST: Modify metric of address [ OK ] # 82.70 [+0.32] TEST: Prefix route removed on link down [ OK ] # 82.88 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 83.16 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 83.26 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 83.44 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 83.55 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 84.49 [+0.94] # 84.49 [+0.00] IPv4 prefix route tests # 86.29 [+1.80] TEST: Default metric [ OK ] # 86.56 [+0.27] TEST: User specified metric on first device [ OK ] # 86.84 [+0.27] TEST: User specified metric on second device [ OK ] # 87.02 [+0.18] TEST: Delete of address on first device [ OK ] # 87.21 [+0.19] TEST: Modify metric of address [ OK ] # 87.38 [+0.17] TEST: Prefix route removed on link down [ OK ] # 87.56 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 87.91 [+0.35] TEST: Modify metric of .0/24 address [ OK ] # 88.19 [+0.28] TEST: Set metric of address with peer route [ OK ] # 88.36 [+0.18] TEST: Modify metric and peer address for peer route [ OK ] # 89.30 [+0.93] # 89.30 [+0.00] IPv6 routes with metrics # 93.84 [+4.55] TEST: Single path route with mtu metric [ OK ] # 94.12 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 94.39 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 94.58 [+0.19] TEST: MTU of second leg [ OK ] # 94.78 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 95.00 [+0.22] TEST: Using route with mtu metric [ OK ] # 95.17 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.88 [+1.71] # 96.88 [+0.00] IPv4 route add / append tests # 101.28 [+4.40] TEST: Single path route with mtu metric [ OK ] # 101.46 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 101.68 [+0.22] TEST: Using route with mtu metric [ OK ] # 101.83 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 103.58 [+1.75] # 103.58 [+0.00] IPv4 route with IPv6 gateway tests # 110.09 [+6.51] TEST: Single path route with IPv6 gateway [ OK ] # 110.32 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 110.41 [+0.09] TEST: Single path route delete [ OK ] # 110.58 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 110.77 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 110.85 [+0.08] TEST: Multipath route delete exact match [ OK ] # 110.94 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 111.13 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 111.23 [+0.10] TEST: Multipath route delete exact match [ OK ] # 112.97 [+1.75] # 112.97 [+0.00] IPv4 rp_filter tests # 119.15 [+6.18] TEST: rp_filter passes local packets [ OK ] # 119.31 [+0.15] TEST: rp_filter passes loopback packets [ OK ] # 120.10 [+0.79] # 120.10 [+0.00] IPv4 delete address route tests # 123.04 [+2.94] Regular FIB info # 123.21 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 123.29 [+0.08] TEST: Route in default VRF not removed [ OK ] # 123.63 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.72 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 123.72 [+0.00] Identical FIB info with different table ID # 123.90 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 123.99 [+0.09] TEST: Route in default VRF not removed [ OK ] # 124.31 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 124.40 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 124.40 [+0.00] Table ID 0 # 124.56 [+0.16] TEST: Route removed in default VRF when source address deleted [ OK ] # 125.52 [+0.96] # 125.52 [+0.00] IPv6 delete address route tests # 130.07 [+4.54] Single device using src address # 130.24 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.24 [+0.00] Two devices with the same source address # 130.41 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 130.56 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 130.57 [+0.00] VRF with single device using src address # 130.74 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.74 [+0.00] VRF with two devices using src address # 130.91 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 131.10 [+0.19] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 131.11 [+0.00] src address and nexthop dev in same VRF # 131.26 [+0.15] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 131.34 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 131.66 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 131.73 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 131.74 [+0.00] src address and nexthop device in different VRF # 131.91 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 131.99 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 132.23 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 132.33 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 132.33 [+0.00] Table ID 0 # 132.51 [+0.18] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 132.51 [+0.00] Link local source route # 132.67 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 132.82 [+0.15] TEST: Prefsrc removed when delete ll addr [ OK ] # 132.89 [+0.07] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 133.14 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 134.68 [+1.54] # 134.68 [+0.00] IPv4 mangling tests # 142.13 [+7.45] TEST: Connection with correct parameters [ OK ] # 142.30 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 143.24 [+0.94] TEST: Connection with correct parameters - mangling [ OK ] # 144.10 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 144.16 [+0.06] TEST: Connection check - server side [ OK ] # 146.17 [+2.01] # 146.17 [+0.00] IPv6 mangling tests # 153.58 [+7.41] TEST: Connection with correct parameters [ OK ] # 153.77 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 154.61 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 155.48 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 155.54 [+0.06] TEST: Connection check - server side [ OK ] # 157.53 [+1.99] # 157.53 [+0.00] IPv4 broadcast neighbour tests # 159.74 [+2.22] TEST: Resolved neighbour for broadcast address [ OK ] # 159.83 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 159.92 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 160.02 [+0.10] TEST: Unresolved neighbour for network broadcast address [ OK ] # 161.86 [+1.84] # 161.86 [+0.00] Fib6 garbage collection test # 175.06 [+13.19] TEST: ipv6 route garbage collection [ OK ] # 188.46 [+13.40] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 201.84 [+13.38] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 215.34 [+13.49] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 229.64 [+14.30] TEST: ipv6 route garbage collection (RA message) [ OK ] # 230.35 [+0.72] # 230.35 [+0.00] IPv4 multipath list receive tests # 246.73 [+16.38] TEST: Multipath route hit ratio (1.00) [ OK ] # 248.54 [+1.81] # 248.54 [+0.00] IPv6 multipath list receive tests # 265.10 [+16.56] TEST: Multipath route hit ratio (1.00) [ OK ] # 266.96 [+1.85] # 266.96 [+0.00] Tests passed: 229 # 266.96 [+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__->