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.73 [+1.22] Start point # 1.85 [+0.11] TEST: IPv4 fibmatch [ OK ] # 1.95 [+0.10] TEST: IPv6 fibmatch [ OK ] # 2.09 [+0.15] Nexthop device deleted # 2.20 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.31 [+0.11] TEST: IPv6 fibmatch - no route [ OK ] # 3.01 [+0.71] # 3.01 [+0.00] Multipath route test # 5.22 [+2.21] Start point # 5.33 [+0.11] TEST: IPv4 fibmatch [ OK ] # 5.44 [+0.11] TEST: IPv6 fibmatch [ OK ] # 5.62 [+0.17] One nexthop device deleted # 5.72 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.84 [+0.12] TEST: IPv6 - multipath down to single path [ OK ] # 5.98 [+0.14] Second nexthop device deleted # 6.10 [+0.12] TEST: IPv6 - no route [ OK ] # 6.90 [+0.81] # 6.90 [+0.00] Single path, admin down # 8.48 [+1.58] Start point # 8.59 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.70 [+0.11] TEST: IPv6 fibmatch [ OK ] # 8.82 [+0.12] Route deleted on down # 8.92 [+0.10] TEST: IPv4 fibmatch [ OK ] # 9.04 [+0.12] TEST: IPv6 fibmatch [ OK ] # 9.61 [+0.58] # 9.62 [+0.00] Admin down multipath # 11.90 [+2.29] Verify start point # 12.01 [+0.11] TEST: IPv4 fibmatch [ OK ] # 12.13 [+0.12] TEST: IPv6 fibmatch [ OK ] # 12.24 [+0.11] One device down, one up # 12.36 [+0.13] TEST: IPv4 fibmatch on down device [ OK ] # 12.46 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.58 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 12.68 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 12.81 [+0.13] TEST: IPv4 flags on down device [ OK ] # 12.91 [+0.10] TEST: IPv6 flags on down device [ OK ] # 13.03 [+0.12] TEST: IPv4 flags on up device [ OK ] # 13.18 [+0.14] TEST: IPv6 flags on up device [ OK ] # 13.41 [+0.23] Other device down and up # 13.52 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 13.62 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 13.74 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 13.85 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 13.99 [+0.13] TEST: IPv4 flags on down device [ OK ] # 14.10 [+0.11] TEST: IPv6 flags on down device [ OK ] # 14.21 [+0.11] TEST: IPv4 flags on up device [ OK ] # 14.34 [+0.13] TEST: IPv6 flags on up device [ OK ] # 14.47 [+0.12] Both devices down # 14.57 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.69 [+0.12] TEST: IPv6 fibmatch [ OK ] # 15.46 [+0.77] # 15.46 [+0.00] Local carrier tests - single path # 17.10 [+1.64] Start point # 17.21 [+0.11] TEST: IPv4 fibmatch [ OK ] # 17.32 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.43 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 17.57 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 18.77 [+1.20] Carrier off on nexthop # 18.89 [+0.12] TEST: IPv4 fibmatch [ OK ] # 19.00 [+0.11] TEST: IPv6 fibmatch [ OK ] # 19.11 [+0.11] TEST: IPv4 - linkdown flag set [ OK ] # 19.23 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 19.45 [+0.22] Route to local address with carrier down # 19.55 [+0.10] TEST: IPv4 fibmatch [ OK ] # 19.67 [+0.12] TEST: IPv6 fibmatch [ OK ] # 19.78 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 19.90 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 20.47 [+0.57] # 20.47 [+0.00] Single path route carrier test # 22.13 [+1.65] Start point # 22.23 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.35 [+0.12] TEST: IPv6 fibmatch [ OK ] # 22.49 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 22.59 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 23.78 [+1.19] Carrier down # 23.91 [+0.13] TEST: IPv4 fibmatch [ OK ] # 24.02 [+0.11] TEST: IPv6 fibmatch [ OK ] # 24.15 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 24.27 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 24.49 [+0.22] Second address added with carrier down # 24.59 [+0.11] TEST: IPv4 fibmatch [ OK ] # 24.71 [+0.12] TEST: IPv6 fibmatch [ OK ] # 24.83 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 24.96 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 30.24 [+5.28] # 30.24 [+0.00] IPv4 nexthop tests # 30.24 [+0.00] <<< write me >>> # 30.56 [+0.32] # 30.56 [+0.00] IPv6 nexthop tests # 30.69 [+0.13] TEST: Directly connected nexthop, unicast address [ OK ] # 30.81 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 30.94 [+0.13] TEST: Gateway is linklocal address [ OK ] # 31.07 [+0.13] TEST: Gateway is linklocal address, no device [ OK ] # 31.19 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 31.30 [+0.11] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.44 [+0.14] TEST: Gateway can not be a local linklocal address [ OK ] # 31.55 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 31.69 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 31.82 [+0.13] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 31.94 [+0.12] TEST: Redirect to VRF lookup [ OK ] # 32.05 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 32.18 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 32.30 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 33.50 [+1.19] # 33.50 [+0.00] FIB rule with suppress_prefixlength # 35.86 [+2.36] TEST: FIB rule suppress test [ OK ] # 38.04 [+2.17] # 38.04 [+0.00] Fib6 info length calculation in route notify test # 42.62 [+4.59] TEST: ipv6 route add notify [ OK ] # 44.74 [+2.12] # 44.74 [+0.00] Fib4 info length calculation in route notify test # 49.32 [+4.58] TEST: ipv4 route add notify [ OK ] # 55.47 [+6.15] # 55.47 [+0.00] IPv6 route add / append tests # 55.95 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 56.43 [+0.47] TEST: Attempt to add duplicate route - dev only [ OK ] # 56.91 [+0.48] TEST: Attempt to add duplicate route - reject route [ OK ] # 57.61 [+0.70] TEST: Append nexthop to existing route - gw [ OK ] # 58.13 [+0.52] TEST: Add multipath route [ OK ] # 58.60 [+0.47] TEST: Attempt to add duplicate multipath route [ OK ] # 59.22 [+0.62] TEST: Route add with different metrics [ OK ] # 59.50 [+0.28] TEST: Route delete with metric [ OK ] # 59.50 [+0.00] # 59.50 [+0.00] IPv6 route replace tests # 60.12 [+0.62] TEST: Single path with single path [ OK ] # 60.75 [+0.63] TEST: Single path with multipath [ OK ] # 61.35 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 61.94 [+0.59] TEST: Invalid nexthop [ OK ] # 62.43 [+0.49] TEST: Single path - replace of non-existent route [ OK ] # 63.06 [+0.64] TEST: Multipath with multipath [ OK ] # 63.66 [+0.60] TEST: Multipath with single path [ OK ] # 64.28 [+0.62] TEST: Multipath with single path via multipath attribute [ OK ] # 64.88 [+0.60] TEST: Multipath with dev-only [ OK ] # 65.49 [+0.61] TEST: Multipath - invalid first nexthop [ OK ] # 66.12 [+0.63] TEST: Multipath - invalid second nexthop [ OK ] # 66.60 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 66.61 [+0.01] # 66.61 [+0.00] IPv6 route with dsfield tests # 66.84 [+0.23] TEST: Reject route with dsfield [ OK ] # 74.82 [+7.98] # 74.83 [+0.00] IPv4 route add / append tests # 75.30 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 75.78 [+0.48] TEST: Attempt to add duplicate route - dev only [ OK ] # 76.25 [+0.48] TEST: Attempt to add duplicate route - reject route [ OK ] # 76.84 [+0.58] TEST: Add new nexthop for existing prefix [ OK ] # 77.42 [+0.59] TEST: Append nexthop to existing route - gw [ OK ] # 78.03 [+0.61] TEST: Append nexthop to existing route - dev only [ OK ] # 78.62 [+0.59] TEST: Append nexthop to existing route - reject route [ OK ] # 79.12 [+0.49] TEST: Append nexthop to existing reject route - gw [ OK ] # 79.61 [+0.50] TEST: Append nexthop to existing reject route - dev only [ OK ] # 80.10 [+0.48] TEST: add multipath route [ OK ] # 80.56 [+0.46] TEST: Attempt to add duplicate multipath route [ OK ] # 81.14 [+0.58] TEST: Route add with different metrics [ OK ] # 81.39 [+0.25] TEST: Route delete with metric [ OK ] # 81.39 [+0.00] # 81.39 [+0.00] IPv4 route replace tests # 82.01 [+0.62] TEST: Single path with single path [ OK ] # 82.62 [+0.61] TEST: Single path with multipath [ OK ] # 83.23 [+0.61] TEST: Single path with reject route [ OK ] # 83.83 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 84.43 [+0.60] TEST: Invalid nexthop [ OK ] # 84.91 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 85.52 [+0.60] TEST: Multipath with multipath [ OK ] # 86.12 [+0.60] TEST: Multipath with single path [ OK ] # 86.72 [+0.60] TEST: Multipath with single path via multipath attribute [ OK ] # 87.33 [+0.60] TEST: Multipath with reject route [ OK ] # 87.92 [+0.60] TEST: Multipath - invalid first nexthop [ OK ] # 88.55 [+0.62] TEST: Multipath - invalid second nexthop [ OK ] # 89.02 [+0.47] TEST: Multipath - replace of non-existent route [ OK ] # 90.90 [+1.88] TEST: Cached route removed from VRF port device [ OK ] # 90.90 [+0.00] # 90.90 [+0.00] IPv4 route with dsfield tests # 91.15 [+0.24] TEST: Reject route with dsfield 0x01 [ OK ] # 91.28 [+0.13] TEST: Reject route with dsfield 0x02 [ OK ] # 91.39 [+0.12] TEST: Reject route with dsfield 0x03 [ OK ] # 91.76 [+0.36] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 91.87 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 91.98 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 92.11 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 92.22 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 92.35 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 92.47 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 92.58 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 92.69 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 92.83 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 92.94 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 93.06 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 95.17 [+2.12] # 95.17 [+0.00] IPv6 prefix route tests # 97.69 [+2.51] TEST: Default metric [ OK ] # 98.07 [+0.39] TEST: User specified metric on first device [ OK ] # 98.45 [+0.37] TEST: User specified metric on second device [ OK ] # 98.71 [+0.26] TEST: Delete of address on first device [ OK ] # 98.95 [+0.24] TEST: Modify metric of address [ OK ] # 99.37 [+0.42] TEST: Prefix route removed on link down [ OK ] # 99.63 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 100.03 [+0.40] TEST: Set metric with peer route on local side [ OK ] # 100.17 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 100.42 [+0.25] TEST: Modify metric and peer address on local side [ OK ] # 100.54 [+0.12] TEST: Modify metric and peer address on peer side [ OK ] # 101.78 [+1.24] # 101.78 [+0.00] IPv4 prefix route tests # 104.23 [+2.45] TEST: Default metric [ OK ] # 104.61 [+0.38] TEST: User specified metric on first device [ OK ] # 104.97 [+0.36] TEST: User specified metric on second device [ OK ] # 105.22 [+0.25] TEST: Delete of address on first device [ OK ] # 105.46 [+0.24] TEST: Modify metric of address [ OK ] # 105.69 [+0.23] TEST: Prefix route removed on link down [ OK ] # 105.96 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 106.43 [+0.48] TEST: Modify metric of .0/24 address [ OK ] # 106.80 [+0.37] TEST: Set metric of address with peer route [ OK ] # 107.05 [+0.24] TEST: Modify metric and peer address for peer route [ OK ] # 108.32 [+1.27] # 108.32 [+0.00] IPv6 routes with metrics # 114.39 [+6.08] TEST: Single path route with mtu metric [ OK ] # 114.76 [+0.36] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 115.13 [+0.37] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 115.39 [+0.26] TEST: MTU of second leg [ OK ] # 115.62 [+0.24] TEST: Multipath route with mtu metric [ OK ] # 115.92 [+0.30] TEST: Using route with mtu metric [ OK ] # 116.12 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 118.33 [+2.20] # 118.33 [+0.00] IPv4 route add / append tests # 124.39 [+6.06] TEST: Single path route with mtu metric [ OK ] # 124.64 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 124.94 [+0.31] TEST: Using route with mtu metric [ OK ] # 125.17 [+0.23] TEST: Invalid metric (fails metric_convert) [ OK ] # 127.26 [+2.08] # 127.26 [+0.00] IPv4 route with IPv6 gateway tests # 135.16 [+7.90] TEST: Single path route with IPv6 gateway [ OK ] # 135.47 [+0.31] TEST: Single path route with IPv6 gateway - ping [ OK ] # 135.60 [+0.13] TEST: Single path route delete [ OK ] # 135.82 [+0.22] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 136.07 [+0.25] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 136.21 [+0.14] TEST: Multipath route delete exact match [ OK ] # 136.34 [+0.13] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 136.58 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 136.71 [+0.13] TEST: Multipath route delete exact match [ OK ] # 138.85 [+2.15] # 138.85 [+0.00] IPv4 rp_filter tests # 146.75 [+7.90] TEST: rp_filter passes local packets [ OK ] # 146.93 [+0.18] TEST: rp_filter passes loopback packets [ OK ] # 147.88 [+0.95] # 147.88 [+0.00] IPv4 delete address route tests # 151.59 [+3.71] Regular FIB info # 151.82 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 151.96 [+0.14] TEST: Route in default VRF not removed [ OK ] # 152.40 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 152.51 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 152.51 [+0.00] Identical FIB info with different table ID # 152.71 [+0.20] TEST: Route removed from VRF when source address deleted [ OK ] # 152.83 [+0.11] TEST: Route in default VRF not removed [ OK ] # 153.30 [+0.47] TEST: Route removed in default VRF when source address deleted [ OK ] # 153.42 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 153.42 [+0.00] Table ID 0 # 153.65 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 154.94 [+1.29] # 154.94 [+0.00] IPv6 delete address route tests # 161.42 [+6.49] Single device using src address # 161.69 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 161.69 [+0.00] Two devices with the same source address # 161.95 [+0.26] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 162.17 [+0.21] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 162.17 [+0.00] VRF with single device using src address # 162.40 [+0.23] TEST: Prefsrc removed when src address removed on other device [ OK ] # 162.40 [+0.00] VRF with two devices using src address # 162.68 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 162.94 [+0.25] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 162.94 [+0.00] src address and nexthop dev in same VRF # 163.20 [+0.26] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 163.31 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 163.80 [+0.48] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 163.91 [+0.11] TEST: Prefsrc in default VRF removed [ OK ] # 163.91 [+0.00] src address and nexthop device in different VRF # 164.13 [+0.22] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 164.23 [+0.11] TEST: Prefsrc not removed in default VRF [ OK ] # 164.60 [+0.36] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 164.73 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 164.74 [+0.00] Table ID 0 # 164.95 [+0.21] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 164.95 [+0.00] Link local source route # 165.19 [+0.24] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 165.42 [+0.23] TEST: Prefsrc removed when delete ll addr [ OK ] # 165.55 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 165.92 [+0.37] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 168.00 [+2.08] # 168.00 [+0.00] IPv4 mangling tests # 177.13 [+9.13] TEST: Connection with correct parameters [ OK ] # 177.37 [+0.24] TEST: Connection with incorrect parameters [ OK ] # 178.43 [+1.05] TEST: Connection with correct parameters - mangling [ OK ] # 179.40 [+0.97] TEST: Connection with correct parameters - no mangling [ OK ] # 179.47 [+0.07] TEST: Connection check - server side [ OK ] # 182.01 [+2.54] # 182.01 [+0.00] IPv6 mangling tests # 191.26 [+9.24] TEST: Connection with correct parameters [ OK ] # 191.52 [+0.26] TEST: Connection with incorrect parameters [ OK ] # 192.49 [+0.97] TEST: Connection with correct parameters - mangling [ OK ] # 193.48 [+0.99] TEST: Connection with correct parameters - no mangling [ OK ] # 193.56 [+0.08] TEST: Connection check - server side [ OK ] # 196.12 [+2.56] # 196.12 [+0.00] IPv4 broadcast neighbour tests # 199.14 [+3.02] TEST: Resolved neighbour for broadcast address [ OK ] # 199.27 [+0.13] TEST: Resolved neighbour for network broadcast address [ OK ] # 199.40 [+0.13] TEST: Unresolved neighbour for broadcast address [ OK ] # 199.51 [+0.11] TEST: Unresolved neighbour for network broadcast address [ OK ] # 202.03 [+2.52] # 202.04 [+0.00] Fib6 garbage collection test # 215.66 [+13.62] TEST: ipv6 route garbage collection [ OK ] # 229.54 [+13.88] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 243.41 [+13.87] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 257.45 [+14.04] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 272.14 [+14.69] TEST: ipv6 route garbage collection (RA message) [ OK ] # 273.09 [+0.95] # 273.09 [+0.00] IPv4 multipath list receive tests # 292.60 [+19.51] TEST: Multipath route hit ratio (1.00) [ OK ] # 294.85 [+2.25] # 294.85 [+0.00] IPv6 multipath list receive tests # 314.47 [+19.63] TEST: Multipath route hit ratio (1.00) [ OK ] # 316.79 [+2.32] # 316.79 [+0.00] Tests passed: 229 # 316.79 [+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__->