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.52 [+0.52] # 0.52 [+0.00] Single path route test # 1.58 [+1.06] Start point # 1.70 [+0.12] TEST: IPv4 fibmatch [ OK ] # 1.81 [+0.12] TEST: IPv6 fibmatch [ OK ] # 1.97 [+0.16] Nexthop device deleted # 2.09 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.20 [+0.12] TEST: IPv6 fibmatch - no route [ OK ] # 2.93 [+0.73] # 2.93 [+0.00] Multipath route test # 5.29 [+2.35] Start point # 5.41 [+0.12] TEST: IPv4 fibmatch [ OK ] # 5.53 [+0.12] TEST: IPv6 fibmatch [ OK ] # 5.66 [+0.14] One nexthop device deleted # 5.80 [+0.13] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.89 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 6.05 [+0.17] Second nexthop device deleted # 6.15 [+0.10] TEST: IPv6 - no route [ OK ] # 6.82 [+0.66] # 6.82 [+0.00] Single path, admin down # 8.16 [+1.34] Start point # 8.28 [+0.12] TEST: IPv4 fibmatch [ OK ] # 8.39 [+0.11] TEST: IPv6 fibmatch [ OK ] # 8.48 [+0.10] Route deleted on down # 8.59 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.68 [+0.09] TEST: IPv6 fibmatch [ OK ] # 9.25 [+0.57] # 9.25 [+0.00] Admin down multipath # 11.21 [+1.96] Verify start point # 11.30 [+0.09] TEST: IPv4 fibmatch [ OK ] # 11.40 [+0.09] TEST: IPv6 fibmatch [ OK ] # 11.50 [+0.10] One device down, one up # 11.58 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 11.68 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 11.78 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 11.88 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 11.98 [+0.10] TEST: IPv4 flags on down device [ OK ] # 12.09 [+0.11] TEST: IPv6 flags on down device [ OK ] # 12.21 [+0.12] TEST: IPv4 flags on up device [ OK ] # 12.29 [+0.08] TEST: IPv6 flags on up device [ OK ] # 12.47 [+0.18] Other device down and up # 12.58 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.68 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 12.77 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 12.88 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 13.00 [+0.12] TEST: IPv4 flags on down device [ OK ] # 13.11 [+0.11] TEST: IPv6 flags on down device [ OK ] # 13.23 [+0.12] TEST: IPv4 flags on up device [ OK ] # 13.34 [+0.12] TEST: IPv6 flags on up device [ OK ] # 13.44 [+0.09] Both devices down # 13.53 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.61 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.26 [+0.64] # 14.26 [+0.00] Local carrier tests - single path # 15.72 [+1.46] Start point # 15.82 [+0.10] TEST: IPv4 fibmatch [ OK ] # 15.92 [+0.10] TEST: IPv6 fibmatch [ OK ] # 16.06 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 16.18 [+0.11] TEST: IPv6 - no linkdown flag [ OK ] # 17.33 [+1.15] Carrier off on nexthop # 17.45 [+0.12] TEST: IPv4 fibmatch [ OK ] # 17.54 [+0.09] TEST: IPv6 fibmatch [ OK ] # 17.65 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 17.74 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 17.93 [+0.19] Route to local address with carrier down # 18.04 [+0.11] TEST: IPv4 fibmatch [ OK ] # 18.14 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.23 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 18.33 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 18.86 [+0.54] # 18.86 [+0.00] Single path route carrier test # 20.23 [+1.37] Start point # 20.33 [+0.09] TEST: IPv4 fibmatch [ OK ] # 20.42 [+0.09] TEST: IPv6 fibmatch [ OK ] # 20.52 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 20.61 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 21.75 [+1.13] Carrier down # 21.84 [+0.10] TEST: IPv4 fibmatch [ OK ] # 21.93 [+0.09] TEST: IPv6 fibmatch [ OK ] # 22.01 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 22.11 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 22.27 [+0.16] Second address added with carrier down # 22.37 [+0.10] TEST: IPv4 fibmatch [ OK ] # 22.45 [+0.08] TEST: IPv6 fibmatch [ OK ] # 22.57 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 22.66 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 27.17 [+4.52] # 27.18 [+0.00] IPv4 nexthop tests # 27.18 [+0.00] <<< write me >>> # 27.42 [+0.24] # 27.42 [+0.00] IPv6 nexthop tests # 27.51 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 27.60 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 27.70 [+0.09] TEST: Gateway is linklocal address [ OK ] # 27.79 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 27.90 [+0.11] TEST: Gateway can not be local unicast address [ OK ] # 27.99 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 28.09 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 28.17 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 28.27 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 28.36 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 28.47 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 28.56 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 28.66 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 28.77 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 29.74 [+0.98] # 29.74 [+0.00] FIB rule with suppress_prefixlength # 31.59 [+1.85] TEST: FIB rule suppress test [ OK ] # 33.27 [+1.68] # 33.28 [+0.00] Fib6 info length calculation in route notify test # 37.27 [+4.00] TEST: ipv6 route add notify [ OK ] # 38.88 [+1.61] # 38.89 [+0.00] Fib4 info length calculation in route notify test # 42.82 [+3.94] TEST: ipv4 route add notify [ OK ] # 47.39 [+4.57] # 47.39 [+0.00] IPv6 route add / append tests # 47.75 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 48.13 [+0.38] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.50 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 49.03 [+0.53] TEST: Append nexthop to existing route - gw [ OK ] # 49.40 [+0.37] TEST: Add multipath route [ OK ] # 49.76 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 50.19 [+0.43] TEST: Route add with different metrics [ OK ] # 50.39 [+0.20] TEST: Route delete with metric [ OK ] # 50.39 [+0.00] # 50.39 [+0.00] IPv6 route replace tests # 50.86 [+0.47] TEST: Single path with single path [ OK ] # 51.34 [+0.48] TEST: Single path with multipath [ OK ] # 51.79 [+0.45] TEST: Single path with single path via multipath attribute [ OK ] # 52.23 [+0.44] TEST: Invalid nexthop [ OK ] # 52.57 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 53.04 [+0.47] TEST: Multipath with multipath [ OK ] # 53.52 [+0.48] TEST: Multipath with single path [ OK ] # 53.99 [+0.47] TEST: Multipath with single path via multipath attribute [ OK ] # 54.43 [+0.44] TEST: Multipath with dev-only [ OK ] # 54.90 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 55.36 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 55.71 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 55.72 [+0.00] # 55.72 [+0.00] IPv6 route with dsfield tests # 55.90 [+0.18] TEST: Reject route with dsfield [ OK ] # 62.06 [+6.16] # 62.06 [+0.00] IPv4 route add / append tests # 62.41 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 62.77 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 63.12 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 63.57 [+0.45] TEST: Add new nexthop for existing prefix [ OK ] # 64.02 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 64.48 [+0.46] TEST: Append nexthop to existing route - dev only [ OK ] # 65.01 [+0.53] TEST: Append nexthop to existing route - reject route [ OK ] # 65.43 [+0.42] TEST: Append nexthop to existing reject route - gw [ OK ] # 65.80 [+0.38] TEST: Append nexthop to existing reject route - dev only [ OK ] # 66.14 [+0.33] TEST: add multipath route [ OK ] # 66.50 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 66.95 [+0.45] TEST: Route add with different metrics [ OK ] # 67.16 [+0.21] TEST: Route delete with metric [ OK ] # 67.16 [+0.00] # 67.16 [+0.00] IPv4 route replace tests # 67.59 [+0.43] TEST: Single path with single path [ OK ] # 68.05 [+0.46] TEST: Single path with multipath [ OK ] # 68.51 [+0.46] TEST: Single path with reject route [ OK ] # 69.02 [+0.51] TEST: Single path with single path via multipath attribute [ OK ] # 69.50 [+0.47] TEST: Invalid nexthop [ OK ] # 69.90 [+0.41] TEST: Single path - replace of non-existent route [ OK ] # 70.40 [+0.50] TEST: Multipath with multipath [ OK ] # 70.88 [+0.48] TEST: Multipath with single path [ OK ] # 71.35 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 71.81 [+0.46] TEST: Multipath with reject route [ OK ] # 72.27 [+0.46] TEST: Multipath - invalid first nexthop [ OK ] # 72.73 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 73.09 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 74.60 [+1.51] TEST: Cached route removed from VRF port device [ OK ] # 74.60 [+0.00] # 74.60 [+0.00] IPv4 route with dsfield tests # 74.79 [+0.19] TEST: Reject route with dsfield 0x01 [ OK ] # 74.88 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 74.97 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 75.24 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 75.33 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 75.42 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 75.51 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 75.59 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 75.68 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 75.77 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 75.85 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 75.93 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 76.02 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 76.12 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 76.23 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 77.96 [+1.73] # 77.96 [+0.00] IPv6 prefix route tests # 79.86 [+1.90] TEST: Default metric [ OK ] # 80.16 [+0.30] TEST: User specified metric on first device [ OK ] # 80.49 [+0.33] TEST: User specified metric on second device [ OK ] # 80.69 [+0.20] TEST: Delete of address on first device [ OK ] # 80.90 [+0.21] TEST: Modify metric of address [ OK ] # 81.23 [+0.33] TEST: Prefix route removed on link down [ OK ] # 81.42 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 81.70 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 81.81 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 81.99 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 82.08 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 83.12 [+1.04] # 83.12 [+0.00] IPv4 prefix route tests # 85.29 [+2.17] TEST: Default metric [ OK ] # 85.63 [+0.34] TEST: User specified metric on first device [ OK ] # 85.94 [+0.31] TEST: User specified metric on second device [ OK ] # 86.13 [+0.19] TEST: Delete of address on first device [ OK ] # 86.36 [+0.23] TEST: Modify metric of address [ OK ] # 86.57 [+0.21] TEST: Prefix route removed on link down [ OK ] # 86.78 [+0.22] TEST: Prefix route with metric on link up [ OK ] # 87.18 [+0.39] TEST: Modify metric of .0/24 address [ OK ] # 87.46 [+0.28] TEST: Set metric of address with peer route [ OK ] # 87.67 [+0.21] TEST: Modify metric and peer address for peer route [ OK ] # 88.76 [+1.09] # 88.76 [+0.00] IPv6 routes with metrics # 93.76 [+5.00] TEST: Single path route with mtu metric [ OK ] # 94.11 [+0.34] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 94.48 [+0.37] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 94.69 [+0.21] TEST: MTU of second leg [ OK ] # 94.95 [+0.26] TEST: Multipath route with mtu metric [ OK ] # 95.22 [+0.26] TEST: Using route with mtu metric [ OK ] # 95.42 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 97.38 [+1.96] # 97.38 [+0.00] IPv4 route add / append tests # 102.72 [+5.34] TEST: Single path route with mtu metric [ OK ] # 102.94 [+0.22] TEST: Multipath route with mtu metric [ OK ] # 103.21 [+0.27] TEST: Using route with mtu metric [ OK ] # 103.43 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 105.26 [+1.83] # 105.26 [+0.00] IPv4 route with IPv6 gateway tests # 112.47 [+7.21] TEST: Single path route with IPv6 gateway [ OK ] # 112.74 [+0.27] TEST: Single path route with IPv6 gateway - ping [ OK ] # 112.85 [+0.11] TEST: Single path route delete [ OK ] # 113.05 [+0.21] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 113.26 [+0.21] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 113.37 [+0.11] TEST: Multipath route delete exact match [ OK ] # 113.49 [+0.11] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 113.70 [+0.21] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 113.80 [+0.11] TEST: Multipath route delete exact match [ OK ] # 115.80 [+2.00] # 115.81 [+0.00] IPv4 rp_filter tests # 123.16 [+7.36] TEST: rp_filter passes local packets [ OK ] # 123.34 [+0.18] TEST: rp_filter passes loopback packets [ OK ] # 124.31 [+0.97] # 124.31 [+0.00] IPv4 delete address route tests # 127.75 [+3.44] Regular FIB info # 127.97 [+0.21] TEST: Route removed from VRF when source address deleted [ OK ] # 128.06 [+0.10] TEST: Route in default VRF not removed [ OK ] # 128.48 [+0.42] TEST: Route removed in default VRF when source address deleted [ OK ] # 128.62 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 128.62 [+0.00] Identical FIB info with different table ID # 128.82 [+0.20] TEST: Route removed from VRF when source address deleted [ OK ] # 128.92 [+0.11] TEST: Route in default VRF not removed [ OK ] # 129.31 [+0.39] TEST: Route removed in default VRF when source address deleted [ OK ] # 129.42 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 129.43 [+0.00] Table ID 0 # 129.62 [+0.20] TEST: Route removed in default VRF when source address deleted [ OK ] # 130.74 [+1.12] # 130.74 [+0.00] IPv6 delete address route tests # 136.12 [+5.37] Single device using src address # 136.31 [+0.19] TEST: Prefsrc removed when src address removed on other device [ OK ] # 136.31 [+0.00] Two devices with the same source address # 136.51 [+0.19] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 136.70 [+0.20] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 136.71 [+0.00] VRF with single device using src address # 136.91 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 136.91 [+0.00] VRF with two devices using src address # 137.10 [+0.19] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 137.28 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 137.28 [+0.00] src address and nexthop dev in same VRF # 137.51 [+0.23] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 137.61 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 137.99 [+0.38] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 138.09 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 138.09 [+0.00] src address and nexthop device in different VRF # 138.26 [+0.18] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 138.35 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 138.63 [+0.27] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 138.75 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 138.75 [+0.00] Table ID 0 # 138.97 [+0.22] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 138.97 [+0.00] Link local source route # 139.20 [+0.23] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 139.42 [+0.22] TEST: Prefsrc removed when delete ll addr [ OK ] # 139.51 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 139.78 [+0.27] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 141.48 [+1.70] # 141.48 [+0.00] IPv4 mangling tests # 149.80 [+8.32] TEST: Connection with correct parameters [ OK ] # 149.99 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 151.10 [+1.11] TEST: Connection with correct parameters - mangling [ OK ] # 152.07 [+0.96] TEST: Connection with correct parameters - no mangling [ OK ] # 152.14 [+0.07] TEST: Connection check - server side [ OK ] # 154.60 [+2.46] # 154.60 [+0.00] IPv6 mangling tests # 163.20 [+8.60] TEST: Connection with correct parameters [ OK ] # 163.44 [+0.24] TEST: Connection with incorrect parameters [ OK ] # 164.36 [+0.92] TEST: Connection with correct parameters - mangling [ OK ] # 165.31 [+0.94] TEST: Connection with correct parameters - no mangling [ OK ] # 165.38 [+0.07] TEST: Connection check - server side [ OK ] # 167.61 [+2.23] # 167.61 [+0.00] IPv4 broadcast neighbour tests # 170.39 [+2.78] TEST: Resolved neighbour for broadcast address [ OK ] # 170.50 [+0.11] TEST: Resolved neighbour for network broadcast address [ OK ] # 170.61 [+0.11] TEST: Unresolved neighbour for broadcast address [ OK ] # 170.74 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 173.12 [+2.38] # 173.12 [+0.00] Fib6 garbage collection test # 186.65 [+13.53] TEST: ipv6 route garbage collection [ OK ] # 200.36 [+13.71] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 214.17 [+13.81] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 227.98 [+13.82] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 242.53 [+14.55] TEST: ipv6 route garbage collection (RA message) [ OK ] # 243.40 [+0.87] # 243.40 [+0.00] IPv4 multipath list receive tests # 263.88 [+20.48] TEST: Multipath route hit ratio (1.00) [ OK ] # 266.02 [+2.14] # 266.02 [+0.00] IPv6 multipath list receive tests # 285.73 [+19.71] TEST: Multipath route hit ratio (1.00) [ OK ] # 287.98 [+2.25] # 287.98 [+0.00] Tests passed: 229 # 287.98 [+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__->