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.48 [+0.48] # 0.48 [+0.00] Single path route test # 1.63 [+1.15] Start point # 1.73 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.86 [+0.14] TEST: IPv6 fibmatch [ OK ] # 2.01 [+0.14] Nexthop device deleted # 2.11 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.21 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 2.82 [+0.62] # 2.82 [+0.00] Multipath route test # 4.73 [+1.90] Start point # 4.82 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.92 [+0.10] TEST: IPv6 fibmatch [ OK ] # 5.08 [+0.16] One nexthop device deleted # 5.18 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.28 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 5.41 [+0.14] Second nexthop device deleted # 5.52 [+0.10] TEST: IPv6 - no route [ OK ] # 6.18 [+0.66] # 6.18 [+0.00] Single path, admin down # 7.55 [+1.37] Start point # 7.63 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.73 [+0.10] TEST: IPv6 fibmatch [ OK ] # 7.81 [+0.08] Route deleted on down # 7.91 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.99 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.45 [+0.46] # 8.45 [+0.00] Admin down multipath # 10.36 [+1.91] Verify start point # 10.47 [+0.11] TEST: IPv4 fibmatch [ OK ] # 10.57 [+0.10] TEST: IPv6 fibmatch [ OK ] # 10.67 [+0.10] One device down, one up # 10.76 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.85 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.94 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 11.05 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 11.15 [+0.10] TEST: IPv4 flags on down device [ OK ] # 11.30 [+0.15] TEST: IPv6 flags on down device [ OK ] # 11.41 [+0.11] TEST: IPv4 flags on up device [ OK ] # 11.52 [+0.11] TEST: IPv6 flags on up device [ OK ] # 11.71 [+0.19] Other device down and up # 11.80 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 11.91 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 12.02 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 12.12 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 12.21 [+0.10] TEST: IPv4 flags on down device [ OK ] # 12.36 [+0.14] TEST: IPv6 flags on down device [ OK ] # 12.48 [+0.13] TEST: IPv4 flags on up device [ OK ] # 12.62 [+0.13] TEST: IPv6 flags on up device [ OK ] # 12.72 [+0.11] Both devices down # 12.86 [+0.14] TEST: IPv4 fibmatch [ OK ] # 12.98 [+0.11] TEST: IPv6 fibmatch [ OK ] # 13.64 [+0.66] # 13.64 [+0.00] Local carrier tests - single path # 15.13 [+1.49] Start point # 15.27 [+0.14] TEST: IPv4 fibmatch [ OK ] # 15.39 [+0.12] TEST: IPv6 fibmatch [ OK ] # 15.53 [+0.15] TEST: IPv4 - no linkdown flag [ OK ] # 15.67 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 16.87 [+1.20] Carrier off on nexthop # 16.98 [+0.11] TEST: IPv4 fibmatch [ OK ] # 17.09 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.21 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 17.33 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 17.57 [+0.24] Route to local address with carrier down # 17.69 [+0.12] TEST: IPv4 fibmatch [ OK ] # 17.79 [+0.10] TEST: IPv6 fibmatch [ OK ] # 17.91 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 18.04 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 18.64 [+0.59] # 18.64 [+0.00] Single path route carrier test # 20.42 [+1.78] Start point # 20.54 [+0.12] TEST: IPv4 fibmatch [ OK ] # 20.64 [+0.10] TEST: IPv6 fibmatch [ OK ] # 20.76 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 20.86 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 22.04 [+1.18] Carrier down # 22.16 [+0.12] TEST: IPv4 fibmatch [ OK ] # 22.25 [+0.09] TEST: IPv6 fibmatch [ OK ] # 22.40 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 22.53 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 22.72 [+0.19] Second address added with carrier down # 22.83 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.94 [+0.11] TEST: IPv6 fibmatch [ OK ] # 23.04 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 23.16 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 28.68 [+5.52] # 28.68 [+0.00] IPv4 nexthop tests # 28.68 [+0.00] <<< write me >>> # 29.01 [+0.33] # 29.01 [+0.00] IPv6 nexthop tests # 29.15 [+0.14] TEST: Directly connected nexthop, unicast address [ OK ] # 29.26 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 29.41 [+0.15] TEST: Gateway is linklocal address [ OK ] # 29.54 [+0.13] TEST: Gateway is linklocal address, no device [ OK ] # 29.69 [+0.15] TEST: Gateway can not be local unicast address [ OK ] # 29.81 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 29.95 [+0.14] TEST: Gateway can not be a local linklocal address [ OK ] # 30.08 [+0.12] TEST: Gateway can be local address in a VRF [ OK ] # 30.22 [+0.15] TEST: Gateway can be local address in a VRF, with device [ OK ] # 30.34 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 30.46 [+0.13] TEST: Redirect to VRF lookup [ OK ] # 30.57 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 30.70 [+0.13] TEST: VRF route, gateway can not be a local address [ OK ] # 30.84 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 32.02 [+1.18] # 32.02 [+0.00] FIB rule with suppress_prefixlength # 34.28 [+2.27] TEST: FIB rule suppress test [ OK ] # 36.31 [+2.03] # 36.31 [+0.00] Fib6 info length calculation in route notify test # 40.88 [+4.57] TEST: ipv6 route add notify [ OK ] # 42.75 [+1.87] # 42.75 [+0.00] Fib4 info length calculation in route notify test # 47.00 [+4.25] TEST: ipv4 route add notify [ OK ] # 52.08 [+5.08] # 52.08 [+0.00] IPv6 route add / append tests # 52.51 [+0.43] TEST: Attempt to add duplicate route - gw [ OK ] # 52.97 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 53.39 [+0.43] TEST: Attempt to add duplicate route - reject route [ OK ] # 53.92 [+0.53] TEST: Append nexthop to existing route - gw [ OK ] # 54.36 [+0.44] TEST: Add multipath route [ OK ] # 54.76 [+0.40] TEST: Attempt to add duplicate multipath route [ OK ] # 55.34 [+0.58] TEST: Route add with different metrics [ OK ] # 55.59 [+0.25] TEST: Route delete with metric [ OK ] # 55.59 [+0.00] # 55.59 [+0.00] IPv6 route replace tests # 56.19 [+0.59] TEST: Single path with single path [ OK ] # 56.80 [+0.62] TEST: Single path with multipath [ OK ] # 57.32 [+0.52] TEST: Single path with single path via multipath attribute [ OK ] # 57.84 [+0.52] TEST: Invalid nexthop [ OK ] # 58.24 [+0.40] TEST: Single path - replace of non-existent route [ OK ] # 58.77 [+0.53] TEST: Multipath with multipath [ OK ] # 59.30 [+0.52] TEST: Multipath with single path [ OK ] # 59.84 [+0.55] TEST: Multipath with single path via multipath attribute [ OK ] # 60.40 [+0.56] TEST: Multipath with dev-only [ OK ] # 61.01 [+0.61] TEST: Multipath - invalid first nexthop [ OK ] # 61.57 [+0.56] TEST: Multipath - invalid second nexthop [ OK ] # 62.01 [+0.44] TEST: Multipath - replace of non-existent route [ OK ] # 62.01 [+0.00] # 62.01 [+0.00] IPv6 route with dsfield tests # 62.22 [+0.21] TEST: Reject route with dsfield [ OK ] # 69.73 [+7.51] # 69.73 [+0.00] IPv4 route add / append tests # 70.17 [+0.44] TEST: Attempt to add duplicate route - gw [ OK ] # 70.62 [+0.44] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.08 [+0.46] TEST: Attempt to add duplicate route - reject route [ OK ] # 71.64 [+0.56] TEST: Add new nexthop for existing prefix [ OK ] # 72.23 [+0.60] TEST: Append nexthop to existing route - gw [ OK ] # 72.80 [+0.57] TEST: Append nexthop to existing route - dev only [ OK ] # 73.40 [+0.60] TEST: Append nexthop to existing route - reject route [ OK ] # 73.90 [+0.49] TEST: Append nexthop to existing reject route - gw [ OK ] # 74.32 [+0.42] TEST: Append nexthop to existing reject route - dev only [ OK ] # 74.76 [+0.45] TEST: add multipath route [ OK ] # 75.21 [+0.45] TEST: Attempt to add duplicate multipath route [ OK ] # 75.78 [+0.56] TEST: Route add with different metrics [ OK ] # 76.01 [+0.23] TEST: Route delete with metric [ OK ] # 76.01 [+0.01] # 76.01 [+0.00] IPv4 route replace tests # 76.64 [+0.63] TEST: Single path with single path [ OK ] # 77.19 [+0.55] TEST: Single path with multipath [ OK ] # 77.79 [+0.60] TEST: Single path with reject route [ OK ] # 78.47 [+0.69] TEST: Single path with single path via multipath attribute [ OK ] # 79.08 [+0.61] TEST: Invalid nexthop [ OK ] # 79.51 [+0.43] TEST: Single path - replace of non-existent route [ OK ] # 80.08 [+0.57] TEST: Multipath with multipath [ OK ] # 80.75 [+0.66] TEST: Multipath with single path [ OK ] # 81.38 [+0.63] TEST: Multipath with single path via multipath attribute [ OK ] # 81.93 [+0.56] TEST: Multipath with reject route [ OK ] # 82.55 [+0.62] TEST: Multipath - invalid first nexthop [ OK ] # 83.15 [+0.60] TEST: Multipath - invalid second nexthop [ OK ] # 83.64 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 85.42 [+1.78] TEST: Cached route removed from VRF port device [ OK ] # 85.42 [+0.00] # 85.42 [+0.00] IPv4 route with dsfield tests # 85.64 [+0.22] TEST: Reject route with dsfield 0x01 [ OK ] # 85.75 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 85.86 [+0.11] TEST: Reject route with dsfield 0x03 [ OK ] # 86.18 [+0.32] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 86.28 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 86.38 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 86.51 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 86.62 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 86.74 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 86.83 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 86.92 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 87.03 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 87.13 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 87.25 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 87.36 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 89.41 [+2.05] # 89.41 [+0.00] IPv6 prefix route tests # 91.67 [+2.26] TEST: Default metric [ OK ] # 92.05 [+0.38] TEST: User specified metric on first device [ OK ] # 92.41 [+0.37] TEST: User specified metric on second device [ OK ] # 92.67 [+0.26] TEST: Delete of address on first device [ OK ] # 92.92 [+0.24] TEST: Modify metric of address [ OK ] # 93.29 [+0.38] TEST: Prefix route removed on link down [ OK ] # 93.51 [+0.22] TEST: Prefix route with metric on link up [ OK ] # 93.90 [+0.40] TEST: Set metric with peer route on local side [ OK ] # 94.02 [+0.11] TEST: Set metric with peer route on peer side [ OK ] # 94.25 [+0.24] TEST: Modify metric and peer address on local side [ OK ] # 94.38 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 95.52 [+1.14] # 95.52 [+0.00] IPv4 prefix route tests # 97.93 [+2.41] TEST: Default metric [ OK ] # 98.29 [+0.36] TEST: User specified metric on first device [ OK ] # 98.67 [+0.38] TEST: User specified metric on second device [ OK ] # 98.91 [+0.24] TEST: Delete of address on first device [ OK ] # 99.17 [+0.26] TEST: Modify metric of address [ OK ] # 99.37 [+0.20] TEST: Prefix route removed on link down [ OK ] # 99.60 [+0.24] TEST: Prefix route with metric on link up [ OK ] # 100.06 [+0.46] TEST: Modify metric of .0/24 address [ OK ] # 100.41 [+0.35] TEST: Set metric of address with peer route [ OK ] # 100.60 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 101.71 [+1.11] # 101.72 [+0.00] IPv6 routes with metrics # 107.20 [+5.49] TEST: Single path route with mtu metric [ OK ] # 107.51 [+0.31] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 107.86 [+0.35] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 108.07 [+0.21] TEST: MTU of second leg [ OK ] # 108.33 [+0.26] TEST: Multipath route with mtu metric [ OK ] # 108.62 [+0.28] TEST: Using route with mtu metric [ OK ] # 108.83 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 110.83 [+2.00] # 110.83 [+0.00] IPv4 route add / append tests # 116.17 [+5.33] TEST: Single path route with mtu metric [ OK ] # 116.38 [+0.22] TEST: Multipath route with mtu metric [ OK ] # 116.63 [+0.25] TEST: Using route with mtu metric [ OK ] # 116.80 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 118.72 [+1.93] # 118.72 [+0.00] IPv4 route with IPv6 gateway tests # 126.44 [+7.72] TEST: Single path route with IPv6 gateway [ OK ] # 126.71 [+0.27] TEST: Single path route with IPv6 gateway - ping [ OK ] # 126.83 [+0.11] TEST: Single path route delete [ OK ] # 127.05 [+0.23] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 127.26 [+0.21] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 127.39 [+0.13] TEST: Multipath route delete exact match [ OK ] # 127.51 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 127.79 [+0.28] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 127.90 [+0.11] TEST: Multipath route delete exact match [ OK ] # 130.01 [+2.11] # 130.02 [+0.00] IPv4 rp_filter tests # 136.94 [+6.92] TEST: rp_filter passes local packets [ OK ] # 137.11 [+0.17] TEST: rp_filter passes loopback packets [ OK ] # 138.08 [+0.96] # 138.08 [+0.00] IPv4 delete address route tests # 141.43 [+3.35] Regular FIB info # 141.65 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 141.79 [+0.15] TEST: Route in default VRF not removed [ OK ] # 142.24 [+0.45] TEST: Route removed in default VRF when source address deleted [ OK ] # 142.33 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 142.33 [+0.00] Identical FIB info with different table ID # 142.55 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 142.64 [+0.09] TEST: Route in default VRF not removed [ OK ] # 143.05 [+0.41] TEST: Route removed in default VRF when source address deleted [ OK ] # 143.17 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 143.17 [+0.00] Table ID 0 # 143.40 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 144.67 [+1.26] # 144.67 [+0.00] IPv6 delete address route tests # 150.40 [+5.73] Single device using src address # 150.60 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 150.60 [+0.00] Two devices with the same source address # 150.83 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 151.05 [+0.21] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 151.05 [+0.00] VRF with single device using src address # 151.28 [+0.23] TEST: Prefsrc removed when src address removed on other device [ OK ] # 151.28 [+0.00] VRF with two devices using src address # 151.47 [+0.19] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 151.73 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 151.73 [+0.00] src address and nexthop dev in same VRF # 151.93 [+0.19] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 152.01 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 152.44 [+0.42] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 152.56 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 152.56 [+0.00] src address and nexthop device in different VRF # 152.77 [+0.20] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 152.87 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 153.16 [+0.29] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 153.26 [+0.11] TEST: Prefsrc removed in default VRF [ OK ] # 153.27 [+0.00] Table ID 0 # 153.47 [+0.20] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 153.47 [+0.00] Link local source route # 153.67 [+0.20] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 153.84 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 153.94 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 154.22 [+0.28] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 156.03 [+1.82] # 156.04 [+0.00] IPv4 mangling tests # 164.75 [+8.71] TEST: Connection with correct parameters [ OK ] # 164.97 [+0.23] TEST: Connection with incorrect parameters [ OK ] # 166.06 [+1.09] TEST: Connection with correct parameters - mangling [ OK ] # 166.98 [+0.92] TEST: Connection with correct parameters - no mangling [ OK ] # 167.06 [+0.07] TEST: Connection check - server side [ OK ] # 169.68 [+2.62] # 169.68 [+0.00] IPv6 mangling tests # 177.95 [+8.27] TEST: Connection with correct parameters [ OK ] # 178.17 [+0.22] TEST: Connection with incorrect parameters [ OK ] # 179.02 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 179.93 [+0.91] TEST: Connection with correct parameters - no mangling [ OK ] # 180.00 [+0.06] TEST: Connection check - server side [ OK ] # 182.36 [+2.37] # 182.37 [+0.00] IPv4 broadcast neighbour tests # 184.97 [+2.60] TEST: Resolved neighbour for broadcast address [ OK ] # 185.07 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 185.18 [+0.11] TEST: Unresolved neighbour for broadcast address [ OK ] # 185.30 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 187.60 [+2.30] # 187.60 [+0.00] Fib6 garbage collection test # 201.14 [+13.54] TEST: ipv6 route garbage collection [ OK ] # 214.84 [+13.70] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 228.59 [+13.75] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 242.59 [+14.00] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 257.08 [+14.49] TEST: ipv6 route garbage collection (RA message) [ OK ] # 257.87 [+0.79] # 257.87 [+0.00] IPv4 multipath list receive tests # 277.90 [+20.03] TEST: Multipath route hit ratio (1.00) [ OK ] # 280.17 [+2.27] # 280.17 [+0.00] IPv6 multipath list receive tests # 300.72 [+20.56] TEST: Multipath route hit ratio (1.00) [ OK ] # 302.91 [+2.18] # 302.91 [+0.00] Tests passed: 229 # 302.91 [+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__->