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.59 [+0.59] # 0.59 [+0.00] Single path route test # 1.80 [+1.21] Start point # 1.90 [+0.10] TEST: IPv4 fibmatch [ OK ] # 2.04 [+0.14] TEST: IPv6 fibmatch [ OK ] # 2.18 [+0.14] Nexthop device deleted # 2.30 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.40 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 3.24 [+0.85] # 3.25 [+0.00] Multipath route test # 5.78 [+2.54] Start point # 5.90 [+0.12] TEST: IPv4 fibmatch [ OK ] # 6.02 [+0.12] TEST: IPv6 fibmatch [ OK ] # 6.17 [+0.15] One nexthop device deleted # 6.26 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 6.37 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 6.54 [+0.18] Second nexthop device deleted # 6.64 [+0.10] TEST: IPv6 - no route [ OK ] # 7.36 [+0.72] # 7.36 [+0.00] Single path, admin down # 8.91 [+1.55] Start point # 9.02 [+0.10] TEST: IPv4 fibmatch [ OK ] # 9.15 [+0.14] TEST: IPv6 fibmatch [ OK ] # 9.26 [+0.11] Route deleted on down # 9.35 [+0.10] TEST: IPv4 fibmatch [ OK ] # 9.45 [+0.10] TEST: IPv6 fibmatch [ OK ] # 9.97 [+0.52] # 9.97 [+0.00] Admin down multipath # 12.04 [+2.06] Verify start point # 12.13 [+0.09] TEST: IPv4 fibmatch [ OK ] # 12.28 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.38 [+0.10] One device down, one up # 12.51 [+0.13] TEST: IPv4 fibmatch on down device [ OK ] # 12.61 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.73 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 12.88 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 13.02 [+0.14] TEST: IPv4 flags on down device [ OK ] # 13.16 [+0.14] TEST: IPv6 flags on down device [ OK ] # 13.35 [+0.19] TEST: IPv4 flags on up device [ OK ] # 13.48 [+0.13] TEST: IPv6 flags on up device [ OK ] # 13.74 [+0.25] Other device down and up # 13.86 [+0.13] TEST: IPv4 fibmatch on down device [ OK ] # 13.99 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 14.11 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 14.24 [+0.13] TEST: IPv6 fibmatch on up device [ OK ] # 14.38 [+0.13] TEST: IPv4 flags on down device [ OK ] # 14.51 [+0.13] TEST: IPv6 flags on down device [ OK ] # 14.63 [+0.12] TEST: IPv4 flags on up device [ OK ] # 14.74 [+0.11] TEST: IPv6 flags on up device [ OK ] # 14.89 [+0.14] Both devices down # 14.98 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.13 [+0.15] TEST: IPv6 fibmatch [ OK ] # 15.80 [+0.67] # 15.80 [+0.00] Local carrier tests - single path # 17.34 [+1.54] Start point # 17.44 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.53 [+0.10] TEST: IPv6 fibmatch [ OK ] # 17.64 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 17.73 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 18.87 [+1.15] Carrier off on nexthop # 18.98 [+0.10] TEST: IPv4 fibmatch [ OK ] # 19.08 [+0.11] TEST: IPv6 fibmatch [ OK ] # 19.19 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 19.31 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 19.52 [+0.21] Route to local address with carrier down # 19.64 [+0.12] TEST: IPv4 fibmatch [ OK ] # 19.75 [+0.11] TEST: IPv6 fibmatch [ OK ] # 19.86 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 19.95 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 20.57 [+0.62] # 20.57 [+0.00] Single path route carrier test # 22.03 [+1.46] Start point # 22.12 [+0.09] TEST: IPv4 fibmatch [ OK ] # 22.23 [+0.11] TEST: IPv6 fibmatch [ OK ] # 22.37 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 22.47 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 23.66 [+1.19] Carrier down # 23.80 [+0.14] TEST: IPv4 fibmatch [ OK ] # 23.94 [+0.14] TEST: IPv6 fibmatch [ OK ] # 24.08 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 24.21 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 24.46 [+0.25] Second address added with carrier down # 24.59 [+0.13] TEST: IPv4 fibmatch [ OK ] # 24.71 [+0.12] TEST: IPv6 fibmatch [ OK ] # 24.84 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 24.95 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 30.41 [+5.46] # 30.41 [+0.00] IPv4 nexthop tests # 30.41 [+0.00] <<< write me >>> # 30.73 [+0.32] # 30.74 [+0.00] IPv6 nexthop tests # 30.88 [+0.14] TEST: Directly connected nexthop, unicast address [ OK ] # 31.03 [+0.15] TEST: Directly connected nexthop, unicast address with device [ OK ] # 31.18 [+0.15] TEST: Gateway is linklocal address [ OK ] # 31.30 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 31.44 [+0.14] TEST: Gateway can not be local unicast address [ OK ] # 31.58 [+0.15] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.71 [+0.13] TEST: Gateway can not be a local linklocal address [ OK ] # 31.85 [+0.14] TEST: Gateway can be local address in a VRF [ OK ] # 32.00 [+0.15] TEST: Gateway can be local address in a VRF, with device [ OK ] # 32.13 [+0.13] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 32.24 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 32.36 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 32.51 [+0.15] TEST: VRF route, gateway can not be a local address [ OK ] # 32.67 [+0.16] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 33.96 [+1.29] # 33.96 [+0.00] FIB rule with suppress_prefixlength # 35.97 [+2.01] TEST: FIB rule suppress test [ OK ] # 37.59 [+1.62] # 37.59 [+0.00] Fib6 info length calculation in route notify test # 41.68 [+4.09] TEST: ipv6 route add notify [ OK ] # 43.29 [+1.61] # 43.29 [+0.00] Fib4 info length calculation in route notify test # 47.26 [+3.96] TEST: ipv4 route add notify [ OK ] # 51.51 [+4.26] # 51.51 [+0.00] IPv6 route add / append tests # 51.86 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 52.21 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 52.55 [+0.34] TEST: Attempt to add duplicate route - reject route [ OK ] # 53.01 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 53.39 [+0.38] TEST: Add multipath route [ OK ] # 53.74 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 54.17 [+0.43] TEST: Route add with different metrics [ OK ] # 54.37 [+0.20] TEST: Route delete with metric [ OK ] # 54.37 [+0.00] # 54.37 [+0.00] IPv6 route replace tests # 54.81 [+0.44] TEST: Single path with single path [ OK ] # 55.26 [+0.46] TEST: Single path with multipath [ OK ] # 55.70 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 56.16 [+0.45] TEST: Invalid nexthop [ OK ] # 56.49 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 56.98 [+0.49] TEST: Multipath with multipath [ OK ] # 57.42 [+0.44] TEST: Multipath with single path [ OK ] # 57.86 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 58.30 [+0.44] TEST: Multipath with dev-only [ OK ] # 58.76 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 59.22 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 59.57 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 59.58 [+0.00] # 59.58 [+0.00] IPv6 route with dsfield tests # 59.76 [+0.18] TEST: Reject route with dsfield [ OK ] # 65.63 [+5.88] # 65.63 [+0.00] IPv4 route add / append tests # 65.98 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 66.33 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 66.67 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 67.11 [+0.43] TEST: Add new nexthop for existing prefix [ OK ] # 67.54 [+0.44] TEST: Append nexthop to existing route - gw [ OK ] # 67.97 [+0.43] TEST: Append nexthop to existing route - dev only [ OK ] # 68.41 [+0.44] TEST: Append nexthop to existing route - reject route [ OK ] # 68.76 [+0.35] TEST: Append nexthop to existing reject route - gw [ OK ] # 69.13 [+0.37] TEST: Append nexthop to existing reject route - dev only [ OK ] # 69.48 [+0.35] TEST: add multipath route [ OK ] # 69.82 [+0.33] TEST: Attempt to add duplicate multipath route [ OK ] # 70.25 [+0.44] TEST: Route add with different metrics [ OK ] # 70.43 [+0.18] TEST: Route delete with metric [ OK ] # 70.43 [+0.00] # 70.44 [+0.00] IPv4 route replace tests # 70.84 [+0.41] TEST: Single path with single path [ OK ] # 71.27 [+0.43] TEST: Single path with multipath [ OK ] # 71.68 [+0.41] TEST: Single path with reject route [ OK ] # 72.10 [+0.42] TEST: Single path with single path via multipath attribute [ OK ] # 72.52 [+0.42] TEST: Invalid nexthop [ OK ] # 72.85 [+0.33] TEST: Single path - replace of non-existent route [ OK ] # 73.28 [+0.43] TEST: Multipath with multipath [ OK ] # 73.71 [+0.44] TEST: Multipath with single path [ OK ] # 74.15 [+0.43] TEST: Multipath with single path via multipath attribute [ OK ] # 74.59 [+0.44] TEST: Multipath with reject route [ OK ] # 75.02 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 75.47 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 75.80 [+0.33] TEST: Multipath - replace of non-existent route [ OK ] # 77.12 [+1.32] TEST: Cached route removed from VRF port device [ OK ] # 77.12 [+0.00] # 77.12 [+0.00] IPv4 route with dsfield tests # 77.30 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 77.38 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 77.48 [+0.10] TEST: Reject route with dsfield 0x03 [ OK ] # 77.74 [+0.26] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 77.81 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 77.89 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 77.97 [+0.07] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 78.06 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 78.13 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 78.20 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 78.29 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 78.37 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 78.45 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 78.52 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 78.61 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 80.26 [+1.65] # 80.26 [+0.00] IPv6 prefix route tests # 82.03 [+1.77] TEST: Default metric [ OK ] # 82.31 [+0.27] TEST: User specified metric on first device [ OK ] # 82.58 [+0.28] TEST: User specified metric on second device [ OK ] # 82.77 [+0.18] TEST: Delete of address on first device [ OK ] # 82.94 [+0.18] TEST: Modify metric of address [ OK ] # 83.23 [+0.29] TEST: Prefix route removed on link down [ OK ] # 83.40 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 83.68 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 83.78 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 83.95 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 84.04 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 84.96 [+0.92] # 84.96 [+0.00] IPv4 prefix route tests # 86.66 [+1.71] TEST: Default metric [ OK ] # 86.92 [+0.26] TEST: User specified metric on first device [ OK ] # 87.19 [+0.27] TEST: User specified metric on second device [ OK ] # 87.36 [+0.17] TEST: Delete of address on first device [ OK ] # 87.53 [+0.17] TEST: Modify metric of address [ OK ] # 87.70 [+0.16] TEST: Prefix route removed on link down [ OK ] # 87.86 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 88.22 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 88.49 [+0.27] TEST: Set metric of address with peer route [ OK ] # 88.66 [+0.17] TEST: Modify metric and peer address for peer route [ OK ] # 89.57 [+0.91] # 89.57 [+0.00] IPv6 routes with metrics # 93.77 [+4.21] TEST: Single path route with mtu metric [ OK ] # 94.04 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 94.30 [+0.26] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 94.48 [+0.18] TEST: MTU of second leg [ OK ] # 94.66 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 94.88 [+0.22] TEST: Using route with mtu metric [ OK ] # 95.03 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.66 [+1.63] # 96.66 [+0.00] IPv4 route add / append tests # 100.93 [+4.27] TEST: Single path route with mtu metric [ OK ] # 101.10 [+0.17] TEST: Multipath route with mtu metric [ OK ] # 101.31 [+0.21] TEST: Using route with mtu metric [ OK ] # 101.46 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 103.08 [+1.61] # 103.08 [+0.00] IPv4 route with IPv6 gateway tests # 109.28 [+6.20] TEST: Single path route with IPv6 gateway [ OK ] # 109.51 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 109.60 [+0.09] TEST: Single path route delete [ OK ] # 109.76 [+0.16] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 109.93 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 110.02 [+0.09] TEST: Multipath route delete exact match [ OK ] # 110.11 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 110.30 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 110.39 [+0.09] TEST: Multipath route delete exact match [ OK ] # 112.03 [+1.63] # 112.03 [+0.00] IPv4 rp_filter tests # 117.46 [+5.44] TEST: rp_filter passes local packets [ OK ] # 117.60 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 118.37 [+0.77] # 118.37 [+0.00] IPv4 delete address route tests # 120.96 [+2.59] Regular FIB info # 121.12 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 121.19 [+0.07] TEST: Route in default VRF not removed [ OK ] # 121.50 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.59 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 121.59 [+0.00] Identical FIB info with different table ID # 121.74 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 121.82 [+0.08] TEST: Route in default VRF not removed [ OK ] # 122.14 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.23 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 122.23 [+0.00] Table ID 0 # 122.39 [+0.16] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.32 [+0.94] # 123.32 [+0.00] IPv6 delete address route tests # 127.70 [+4.38] Single device using src address # 127.85 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 127.85 [+0.00] Two devices with the same source address # 128.01 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.18 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 128.18 [+0.00] VRF with single device using src address # 128.32 [+0.14] TEST: Prefsrc removed when src address removed on other device [ OK ] # 128.32 [+0.00] VRF with two devices using src address # 128.49 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.66 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 128.66 [+0.00] src address and nexthop dev in same VRF # 128.82 [+0.16] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 128.89 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 129.21 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 129.30 [+0.10] TEST: Prefsrc in default VRF removed [ OK ] # 129.31 [+0.00] src address and nexthop device in different VRF # 129.47 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 129.53 [+0.06] TEST: Prefsrc not removed in default VRF [ OK ] # 129.78 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 129.85 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 129.85 [+0.00] Table ID 0 # 130.01 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 130.01 [+0.00] Link local source route # 130.15 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.32 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 130.41 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.64 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 132.10 [+1.46] # 132.10 [+0.00] IPv4 mangling tests # 139.24 [+7.14] TEST: Connection with correct parameters [ OK ] # 139.40 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 140.32 [+0.91] TEST: Connection with correct parameters - mangling [ OK ] # 141.16 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 141.21 [+0.05] TEST: Connection check - server side [ OK ] # 143.11 [+1.90] # 143.11 [+0.00] IPv6 mangling tests # 150.34 [+7.22] TEST: Connection with correct parameters [ OK ] # 150.52 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 151.37 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 152.22 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 152.28 [+0.05] TEST: Connection check - server side [ OK ] # 154.15 [+1.87] # 154.15 [+0.00] IPv4 broadcast neighbour tests # 156.25 [+2.10] TEST: Resolved neighbour for broadcast address [ OK ] # 156.34 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 156.42 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 156.52 [+0.10] TEST: Unresolved neighbour for network broadcast address [ OK ] # 158.32 [+1.80] # 158.32 [+0.00] Fib6 garbage collection test # 172.20 [+13.88] TEST: ipv6 route garbage collection [ OK ] # 185.67 [+13.47] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 199.12 [+13.45] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 212.66 [+13.55] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 226.94 [+14.27] TEST: ipv6 route garbage collection (RA message) [ OK ] # 227.74 [+0.80] # 227.74 [+0.00] IPv4 multipath list receive tests # 241.90 [+14.16] TEST: Multipath route hit ratio (1.00) [ OK ] # 243.98 [+2.08] # 243.98 [+0.00] IPv6 multipath list receive tests # 258.63 [+14.65] TEST: Multipath route hit ratio (1.00) [ OK ] # 260.61 [+1.98] # 260.61 [+0.00] Tests passed: 229 # 260.61 [+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__->