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.69 [+1.17] Start point # 1.80 [+0.11] TEST: IPv4 fibmatch [ OK ] # 1.91 [+0.11] TEST: IPv6 fibmatch [ OK ] # 2.06 [+0.15] Nexthop device deleted # 2.17 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.28 [+0.11] TEST: IPv6 fibmatch - no route [ OK ] # 2.94 [+0.66] # 2.94 [+0.00] Multipath route test # 5.06 [+2.12] Start point # 5.18 [+0.13] TEST: IPv4 fibmatch [ OK ] # 5.28 [+0.09] TEST: IPv6 fibmatch [ OK ] # 5.43 [+0.15] One nexthop device deleted # 5.53 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.65 [+0.12] TEST: IPv6 - multipath down to single path [ OK ] # 5.80 [+0.15] Second nexthop device deleted # 5.91 [+0.11] TEST: IPv6 - no route [ OK ] # 6.58 [+0.67] # 6.58 [+0.00] Single path, admin down # 8.05 [+1.47] Start point # 8.16 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.27 [+0.12] TEST: IPv6 fibmatch [ OK ] # 8.37 [+0.09] Route deleted on down # 8.48 [+0.12] TEST: IPv4 fibmatch [ OK ] # 8.59 [+0.11] TEST: IPv6 fibmatch [ OK ] # 9.13 [+0.54] # 9.13 [+0.00] Admin down multipath # 11.30 [+2.17] Verify start point # 11.41 [+0.11] TEST: IPv4 fibmatch [ OK ] # 11.53 [+0.12] TEST: IPv6 fibmatch [ OK ] # 11.63 [+0.11] One device down, one up # 11.75 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 11.85 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 11.96 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 12.07 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.19 [+0.12] TEST: IPv4 flags on down device [ OK ] # 12.33 [+0.14] TEST: IPv6 flags on down device [ OK ] # 12.46 [+0.13] TEST: IPv4 flags on up device [ OK ] # 12.60 [+0.13] TEST: IPv6 flags on up device [ OK ] # 12.82 [+0.22] Other device down and up # 12.92 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 13.02 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 13.13 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 13.24 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 13.36 [+0.12] TEST: IPv4 flags on down device [ OK ] # 13.48 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.60 [+0.12] TEST: IPv4 flags on up device [ OK ] # 13.71 [+0.11] TEST: IPv6 flags on up device [ OK ] # 13.81 [+0.10] Both devices down # 13.92 [+0.11] TEST: IPv4 fibmatch [ OK ] # 14.02 [+0.11] TEST: IPv6 fibmatch [ OK ] # 14.72 [+0.70] # 14.72 [+0.00] Local carrier tests - single path # 16.36 [+1.64] Start point # 16.46 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.58 [+0.12] TEST: IPv6 fibmatch [ OK ] # 16.70 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 16.83 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 18.00 [+1.17] Carrier off on nexthop # 18.13 [+0.12] TEST: IPv4 fibmatch [ OK ] # 18.24 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.34 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 18.44 [+0.11] TEST: IPv6 - linkdown flag set [ OK ] # 18.67 [+0.22] Route to local address with carrier down # 18.78 [+0.12] TEST: IPv4 fibmatch [ OK ] # 18.89 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.98 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 19.09 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 19.64 [+0.54] # 19.64 [+0.00] Single path route carrier test # 21.24 [+1.61] Start point # 21.35 [+0.11] TEST: IPv4 fibmatch [ OK ] # 21.47 [+0.12] TEST: IPv6 fibmatch [ OK ] # 21.59 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 21.69 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 22.86 [+1.17] Carrier down # 22.98 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.10 [+0.12] TEST: IPv6 fibmatch [ OK ] # 23.20 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 23.30 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 23.52 [+0.22] Second address added with carrier down # 23.63 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.75 [+0.12] TEST: IPv6 fibmatch [ OK ] # 23.85 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 23.97 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 29.21 [+5.25] # 29.21 [+0.00] IPv4 nexthop tests # 29.21 [+0.00] <<< write me >>> # 29.50 [+0.29] # 29.50 [+0.00] IPv6 nexthop tests # 29.64 [+0.13] TEST: Directly connected nexthop, unicast address [ OK ] # 29.75 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 29.87 [+0.11] TEST: Gateway is linklocal address [ OK ] # 29.99 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 30.11 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 30.24 [+0.13] TEST: Gateway can not be local unicast address, with device [ OK ] # 30.36 [+0.12] TEST: Gateway can not be a local linklocal address [ OK ] # 30.49 [+0.14] TEST: Gateway can be local address in a VRF [ OK ] # 30.60 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 30.74 [+0.13] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 30.87 [+0.14] TEST: Redirect to VRF lookup [ OK ] # 30.99 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 31.11 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 31.23 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 32.49 [+1.25] # 32.49 [+0.00] FIB rule with suppress_prefixlength # 34.73 [+2.25] TEST: FIB rule suppress test [ OK ] # 36.77 [+2.03] # 36.77 [+0.00] Fib6 info length calculation in route notify test # 41.48 [+4.71] TEST: ipv6 route add notify [ OK ] # 43.74 [+2.25] # 43.74 [+0.00] Fib4 info length calculation in route notify test # 48.56 [+4.82] TEST: ipv4 route add notify [ OK ] # 54.27 [+5.71] # 54.27 [+0.00] IPv6 route add / append tests # 54.78 [+0.50] TEST: Attempt to add duplicate route - gw [ OK ] # 55.29 [+0.51] TEST: Attempt to add duplicate route - dev only [ OK ] # 55.85 [+0.56] TEST: Attempt to add duplicate route - reject route [ OK ] # 56.46 [+0.61] TEST: Append nexthop to existing route - gw [ OK ] # 56.96 [+0.50] TEST: Add multipath route [ OK ] # 57.43 [+0.47] TEST: Attempt to add duplicate multipath route [ OK ] # 58.02 [+0.60] TEST: Route add with different metrics [ OK ] # 58.28 [+0.26] TEST: Route delete with metric [ OK ] # 58.28 [+0.00] # 58.28 [+0.00] IPv6 route replace tests # 58.94 [+0.66] TEST: Single path with single path [ OK ] # 59.63 [+0.69] TEST: Single path with multipath [ OK ] # 60.32 [+0.70] TEST: Single path with single path via multipath attribute [ OK ] # 60.99 [+0.67] TEST: Invalid nexthop [ OK ] # 61.48 [+0.49] TEST: Single path - replace of non-existent route [ OK ] # 62.12 [+0.63] TEST: Multipath with multipath [ OK ] # 62.75 [+0.63] TEST: Multipath with single path [ OK ] # 63.36 [+0.61] TEST: Multipath with single path via multipath attribute [ OK ] # 63.95 [+0.60] TEST: Multipath with dev-only [ OK ] # 64.57 [+0.62] TEST: Multipath - invalid first nexthop [ OK ] # 65.19 [+0.61] TEST: Multipath - invalid second nexthop [ OK ] # 65.68 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 65.68 [+0.00] # 65.68 [+0.00] IPv6 route with dsfield tests # 65.91 [+0.23] TEST: Reject route with dsfield [ OK ] # 73.73 [+7.82] # 73.73 [+0.00] IPv4 route add / append tests # 74.19 [+0.46] TEST: Attempt to add duplicate route - gw [ OK ] # 74.66 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 75.12 [+0.47] TEST: Attempt to add duplicate route - reject route [ OK ] # 75.70 [+0.58] TEST: Add new nexthop for existing prefix [ OK ] # 76.29 [+0.59] TEST: Append nexthop to existing route - gw [ OK ] # 76.88 [+0.59] TEST: Append nexthop to existing route - dev only [ OK ] # 77.48 [+0.61] TEST: Append nexthop to existing route - reject route [ OK ] # 77.96 [+0.48] TEST: Append nexthop to existing reject route - gw [ OK ] # 78.46 [+0.49] TEST: Append nexthop to existing reject route - dev only [ OK ] # 78.94 [+0.49] TEST: add multipath route [ OK ] # 79.39 [+0.45] TEST: Attempt to add duplicate multipath route [ OK ] # 79.98 [+0.59] TEST: Route add with different metrics [ OK ] # 80.23 [+0.26] TEST: Route delete with metric [ OK ] # 80.23 [+0.00] # 80.23 [+0.00] IPv4 route replace tests # 80.82 [+0.58] TEST: Single path with single path [ OK ] # 81.41 [+0.59] TEST: Single path with multipath [ OK ] # 82.03 [+0.62] TEST: Single path with reject route [ OK ] # 82.61 [+0.58] TEST: Single path with single path via multipath attribute [ OK ] # 83.20 [+0.59] TEST: Invalid nexthop [ OK ] # 83.68 [+0.49] TEST: Single path - replace of non-existent route [ OK ] # 84.27 [+0.59] TEST: Multipath with multipath [ OK ] # 84.89 [+0.62] TEST: Multipath with single path [ OK ] # 85.47 [+0.58] TEST: Multipath with single path via multipath attribute [ OK ] # 86.04 [+0.58] TEST: Multipath with reject route [ OK ] # 86.64 [+0.60] TEST: Multipath - invalid first nexthop [ OK ] # 87.24 [+0.59] TEST: Multipath - invalid second nexthop [ OK ] # 87.71 [+0.47] TEST: Multipath - replace of non-existent route [ OK ] # 89.57 [+1.86] TEST: Cached route removed from VRF port device [ OK ] # 89.58 [+0.00] # 89.58 [+0.00] IPv4 route with dsfield tests # 89.81 [+0.24] TEST: Reject route with dsfield 0x01 [ OK ] # 89.94 [+0.13] TEST: Reject route with dsfield 0x02 [ OK ] # 90.06 [+0.12] TEST: Reject route with dsfield 0x03 [ OK ] # 90.41 [+0.35] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 90.52 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 90.62 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 90.72 [+0.10] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 90.84 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 90.97 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 91.08 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 91.20 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 91.34 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 91.46 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 91.59 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 91.69 [+0.10] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 93.95 [+2.27] # 93.95 [+0.00] IPv6 prefix route tests # 96.38 [+2.43] TEST: Default metric [ OK ] # 96.75 [+0.37] TEST: User specified metric on first device [ OK ] # 97.15 [+0.40] TEST: User specified metric on second device [ OK ] # 97.40 [+0.25] TEST: Delete of address on first device [ OK ] # 97.63 [+0.23] TEST: Modify metric of address [ OK ] # 98.02 [+0.39] TEST: Prefix route removed on link down [ OK ] # 98.27 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 98.64 [+0.36] TEST: Set metric with peer route on local side [ OK ] # 98.77 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 99.02 [+0.25] TEST: Modify metric and peer address on local side [ OK ] # 99.15 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 100.39 [+1.24] # 100.39 [+0.00] IPv4 prefix route tests # 102.85 [+2.45] TEST: Default metric [ OK ] # 103.22 [+0.37] TEST: User specified metric on first device [ OK ] # 103.57 [+0.35] TEST: User specified metric on second device [ OK ] # 103.81 [+0.24] TEST: Delete of address on first device [ OK ] # 104.06 [+0.25] TEST: Modify metric of address [ OK ] # 104.29 [+0.23] TEST: Prefix route removed on link down [ OK ] # 104.54 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 105.05 [+0.50] TEST: Modify metric of .0/24 address [ OK ] # 105.42 [+0.38] TEST: Set metric of address with peer route [ OK ] # 105.67 [+0.25] TEST: Modify metric and peer address for peer route [ OK ] # 106.88 [+1.22] # 106.88 [+0.00] IPv6 routes with metrics # 112.87 [+5.99] TEST: Single path route with mtu metric [ OK ] # 113.25 [+0.38] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 113.62 [+0.37] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 113.87 [+0.25] TEST: MTU of second leg [ OK ] # 114.13 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 114.42 [+0.29] TEST: Using route with mtu metric [ OK ] # 114.62 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 116.76 [+2.14] # 116.76 [+0.00] IPv4 route add / append tests # 122.79 [+6.03] TEST: Single path route with mtu metric [ OK ] # 123.03 [+0.24] TEST: Multipath route with mtu metric [ OK ] # 123.33 [+0.30] TEST: Using route with mtu metric [ OK ] # 123.53 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 125.66 [+2.12] # 125.66 [+0.00] IPv4 route with IPv6 gateway tests # 133.63 [+7.97] TEST: Single path route with IPv6 gateway [ OK ] # 133.94 [+0.31] TEST: Single path route with IPv6 gateway - ping [ OK ] # 134.06 [+0.12] TEST: Single path route delete [ OK ] # 134.27 [+0.21] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 134.53 [+0.26] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 134.66 [+0.13] TEST: Multipath route delete exact match [ OK ] # 134.78 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 135.02 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 135.15 [+0.12] TEST: Multipath route delete exact match [ OK ] # 137.27 [+2.12] # 137.27 [+0.00] IPv4 rp_filter tests # 145.14 [+7.87] TEST: rp_filter passes local packets [ OK ] # 145.34 [+0.20] TEST: rp_filter passes loopback packets [ OK ] # 146.32 [+0.98] # 146.32 [+0.00] IPv4 delete address route tests # 149.99 [+3.67] Regular FIB info # 150.21 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 150.31 [+0.10] TEST: Route in default VRF not removed [ OK ] # 150.76 [+0.45] TEST: Route removed in default VRF when source address deleted [ OK ] # 150.88 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 150.88 [+0.00] Identical FIB info with different table ID # 151.10 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 151.20 [+0.11] TEST: Route in default VRF not removed [ OK ] # 151.64 [+0.43] TEST: Route removed in default VRF when source address deleted [ OK ] # 151.73 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 151.73 [+0.00] Table ID 0 # 151.96 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 153.24 [+1.28] # 153.24 [+0.00] IPv6 delete address route tests # 159.49 [+6.24] Single device using src address # 159.70 [+0.21] TEST: Prefsrc removed when src address removed on other device [ OK ] # 159.70 [+0.00] Two devices with the same source address # 159.95 [+0.25] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 160.17 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 160.17 [+0.00] VRF with single device using src address # 160.42 [+0.24] TEST: Prefsrc removed when src address removed on other device [ OK ] # 160.42 [+0.00] VRF with two devices using src address # 160.65 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 160.88 [+0.23] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 160.89 [+0.01] src address and nexthop dev in same VRF # 161.09 [+0.21] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 161.22 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 161.67 [+0.46] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 161.79 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 161.79 [+0.00] src address and nexthop device in different VRF # 162.01 [+0.22] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 162.11 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 162.45 [+0.33] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 162.57 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 162.57 [+0.00] Table ID 0 # 162.79 [+0.22] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 162.79 [+0.00] Link local source route # 163.02 [+0.23] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 163.26 [+0.24] TEST: Prefsrc removed when delete ll addr [ OK ] # 163.38 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 163.71 [+0.32] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 165.59 [+1.88] # 165.59 [+0.00] IPv4 mangling tests # 174.60 [+9.02] TEST: Connection with correct parameters [ OK ] # 174.85 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 175.90 [+1.05] TEST: Connection with correct parameters - mangling [ OK ] # 176.87 [+0.96] TEST: Connection with correct parameters - no mangling [ OK ] # 176.96 [+0.10] TEST: Connection check - server side [ OK ] # 179.54 [+2.58] # 179.54 [+0.00] IPv6 mangling tests # 188.68 [+9.14] TEST: Connection with correct parameters [ OK ] # 188.95 [+0.27] TEST: Connection with incorrect parameters [ OK ] # 189.91 [+0.96] TEST: Connection with correct parameters - mangling [ OK ] # 190.90 [+0.99] TEST: Connection with correct parameters - no mangling [ OK ] # 190.99 [+0.09] TEST: Connection check - server side [ OK ] # 193.47 [+2.48] # 193.47 [+0.00] IPv4 broadcast neighbour tests # 196.35 [+2.89] TEST: Resolved neighbour for broadcast address [ OK ] # 196.47 [+0.12] TEST: Resolved neighbour for network broadcast address [ OK ] # 196.59 [+0.12] TEST: Unresolved neighbour for broadcast address [ OK ] # 196.72 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 199.12 [+2.40] # 199.12 [+0.00] Fib6 garbage collection test # 212.71 [+13.59] TEST: ipv6 route garbage collection [ OK ] # 226.51 [+13.81] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 240.39 [+13.88] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 254.37 [+13.98] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 268.99 [+14.63] TEST: ipv6 route garbage collection (RA message) [ OK ] # 269.95 [+0.96] # 269.95 [+0.00] IPv4 multipath list receive tests # 289.32 [+19.37] TEST: Multipath route hit ratio (1.00) [ OK ] # 291.52 [+2.20] # 291.52 [+0.00] IPv6 multipath list receive tests # 310.41 [+18.89] TEST: Multipath route hit ratio (1.00) [ OK ] # 312.67 [+2.26] # 312.67 [+0.00] Tests passed: 229 # 312.68 [+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__->