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.51 [+0.51] # 0.51 [+0.00] Single path route test # 1.74 [+1.23] Start point # 1.85 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.97 [+0.12] TEST: IPv6 fibmatch [ OK ] # 2.10 [+0.13] Nexthop device deleted # 2.20 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.31 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 3.02 [+0.72] # 3.02 [+0.00] Multipath route test # 5.18 [+2.16] Start point # 5.29 [+0.11] TEST: IPv4 fibmatch [ OK ] # 5.39 [+0.10] TEST: IPv6 fibmatch [ OK ] # 5.56 [+0.17] One nexthop device deleted # 5.67 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.78 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 5.93 [+0.15] Second nexthop device deleted # 6.03 [+0.10] TEST: IPv6 - no route [ OK ] # 6.74 [+0.71] # 6.74 [+0.00] Single path, admin down # 8.22 [+1.49] Start point # 8.34 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.45 [+0.11] TEST: IPv6 fibmatch [ OK ] # 8.55 [+0.11] Route deleted on down # 8.67 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.79 [+0.12] TEST: IPv6 fibmatch [ OK ] # 9.33 [+0.55] # 9.33 [+0.00] Admin down multipath # 11.50 [+2.17] Verify start point # 11.62 [+0.12] TEST: IPv4 fibmatch [ OK ] # 11.74 [+0.11] TEST: IPv6 fibmatch [ OK ] # 11.85 [+0.11] One device down, one up # 11.96 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 12.08 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 12.18 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 12.30 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 12.41 [+0.12] TEST: IPv4 flags on down device [ OK ] # 12.54 [+0.12] TEST: IPv6 flags on down device [ OK ] # 12.67 [+0.13] TEST: IPv4 flags on up device [ OK ] # 12.80 [+0.13] TEST: IPv6 flags on up device [ OK ] # 13.02 [+0.22] Other device down and up # 13.14 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 13.25 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 13.38 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 13.48 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 13.60 [+0.13] TEST: IPv4 flags on down device [ OK ] # 13.75 [+0.14] TEST: IPv6 flags on down device [ OK ] # 13.88 [+0.13] TEST: IPv4 flags on up device [ OK ] # 14.00 [+0.12] TEST: IPv6 flags on up device [ OK ] # 14.11 [+0.12] Both devices down # 14.21 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.32 [+0.11] TEST: IPv6 fibmatch [ OK ] # 15.05 [+0.72] # 15.05 [+0.00] Local carrier tests - single path # 16.68 [+1.63] Start point # 16.78 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.90 [+0.12] TEST: IPv6 fibmatch [ OK ] # 17.01 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 17.15 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 18.33 [+1.18] Carrier off on nexthop # 18.44 [+0.11] TEST: IPv4 fibmatch [ OK ] # 18.55 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.69 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 18.80 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 19.01 [+0.22] Route to local address with carrier down # 19.12 [+0.11] TEST: IPv4 fibmatch [ OK ] # 19.23 [+0.11] TEST: IPv6 fibmatch [ OK ] # 19.33 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 19.47 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 20.05 [+0.58] # 20.05 [+0.00] Single path route carrier test # 21.68 [+1.63] Start point # 21.79 [+0.11] TEST: IPv4 fibmatch [ OK ] # 21.89 [+0.10] TEST: IPv6 fibmatch [ OK ] # 22.01 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 22.11 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 23.27 [+1.16] Carrier down # 23.39 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.50 [+0.11] TEST: IPv6 fibmatch [ OK ] # 23.61 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 23.74 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 23.95 [+0.22] Second address added with carrier down # 24.06 [+0.11] TEST: IPv4 fibmatch [ OK ] # 24.16 [+0.10] TEST: IPv6 fibmatch [ OK ] # 24.25 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 24.39 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 29.57 [+5.18] # 29.57 [+0.00] IPv4 nexthop tests # 29.57 [+0.00] <<< write me >>> # 29.87 [+0.31] # 29.87 [+0.00] IPv6 nexthop tests # 29.99 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 30.11 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 30.23 [+0.12] TEST: Gateway is linklocal address [ OK ] # 30.37 [+0.14] TEST: Gateway is linklocal address, no device [ OK ] # 30.49 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 30.63 [+0.14] TEST: Gateway can not be local unicast address, with device [ OK ] # 30.76 [+0.13] TEST: Gateway can not be a local linklocal address [ OK ] # 30.89 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 31.02 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 31.14 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 31.27 [+0.12] TEST: Redirect to VRF lookup [ OK ] # 31.40 [+0.13] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 31.52 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 31.65 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 32.86 [+1.21] # 32.86 [+0.00] FIB rule with suppress_prefixlength # 35.17 [+2.31] TEST: FIB rule suppress test [ OK ] # 37.32 [+2.15] # 37.32 [+0.00] Fib6 info length calculation in route notify test # 41.94 [+4.62] TEST: ipv6 route add notify [ OK ] # 44.02 [+2.08] # 44.02 [+0.00] Fib4 info length calculation in route notify test # 48.58 [+4.57] TEST: ipv4 route add notify [ OK ] # 54.53 [+5.94] # 54.53 [+0.00] IPv6 route add / append tests # 55.03 [+0.50] TEST: Attempt to add duplicate route - gw [ OK ] # 55.51 [+0.48] TEST: Attempt to add duplicate route - dev only [ OK ] # 56.01 [+0.49] TEST: Attempt to add duplicate route - reject route [ OK ] # 56.61 [+0.61] TEST: Append nexthop to existing route - gw [ OK ] # 57.12 [+0.51] TEST: Add multipath route [ OK ] # 57.60 [+0.48] TEST: Attempt to add duplicate multipath route [ OK ] # 58.20 [+0.61] TEST: Route add with different metrics [ OK ] # 58.48 [+0.28] TEST: Route delete with metric [ OK ] # 58.49 [+0.00] # 58.49 [+0.00] IPv6 route replace tests # 59.10 [+0.62] TEST: Single path with single path [ OK ] # 59.75 [+0.65] TEST: Single path with multipath [ OK ] # 60.39 [+0.64] TEST: Single path with single path via multipath attribute [ OK ] # 61.00 [+0.62] TEST: Invalid nexthop [ OK ] # 61.48 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 62.12 [+0.64] TEST: Multipath with multipath [ OK ] # 62.68 [+0.56] TEST: Multipath with single path [ OK ] # 63.32 [+0.64] TEST: Multipath with single path via multipath attribute [ OK ] # 63.92 [+0.59] TEST: Multipath with dev-only [ OK ] # 64.58 [+0.66] TEST: Multipath - invalid first nexthop [ OK ] # 65.19 [+0.62] TEST: Multipath - invalid second nexthop [ OK ] # 65.66 [+0.47] TEST: Multipath - replace of non-existent route [ OK ] # 65.67 [+0.00] # 65.67 [+0.00] IPv6 route with dsfield tests # 65.92 [+0.25] TEST: Reject route with dsfield [ OK ] # 74.01 [+8.09] # 74.01 [+0.00] IPv4 route add / append tests # 74.47 [+0.47] TEST: Attempt to add duplicate route - gw [ OK ] # 74.95 [+0.48] TEST: Attempt to add duplicate route - dev only [ OK ] # 75.45 [+0.50] TEST: Attempt to add duplicate route - reject route [ OK ] # 76.06 [+0.61] TEST: Add new nexthop for existing prefix [ OK ] # 76.69 [+0.63] TEST: Append nexthop to existing route - gw [ OK ] # 77.30 [+0.61] TEST: Append nexthop to existing route - dev only [ OK ] # 77.91 [+0.61] TEST: Append nexthop to existing route - reject route [ OK ] # 78.42 [+0.51] TEST: Append nexthop to existing reject route - gw [ OK ] # 78.93 [+0.51] TEST: Append nexthop to existing reject route - dev only [ OK ] # 79.42 [+0.49] TEST: add multipath route [ OK ] # 79.88 [+0.46] TEST: Attempt to add duplicate multipath route [ OK ] # 80.46 [+0.58] TEST: Route add with different metrics [ OK ] # 80.70 [+0.23] TEST: Route delete with metric [ OK ] # 80.70 [+0.00] # 80.70 [+0.00] IPv4 route replace tests # 81.29 [+0.59] TEST: Single path with single path [ OK ] # 81.91 [+0.61] TEST: Single path with multipath [ OK ] # 82.51 [+0.61] TEST: Single path with reject route [ OK ] # 83.11 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 83.70 [+0.59] TEST: Invalid nexthop [ OK ] # 84.17 [+0.47] TEST: Single path - replace of non-existent route [ OK ] # 84.78 [+0.60] TEST: Multipath with multipath [ OK ] # 85.41 [+0.64] TEST: Multipath with single path [ OK ] # 86.01 [+0.59] TEST: Multipath with single path via multipath attribute [ OK ] # 86.61 [+0.60] TEST: Multipath with reject route [ OK ] # 87.22 [+0.61] TEST: Multipath - invalid first nexthop [ OK ] # 87.84 [+0.62] TEST: Multipath - invalid second nexthop [ OK ] # 88.32 [+0.48] TEST: Multipath - replace of non-existent route [ OK ] # 90.19 [+1.87] TEST: Cached route removed from VRF port device [ OK ] # 90.19 [+0.00] # 90.19 [+0.00] IPv4 route with dsfield tests # 90.45 [+0.26] TEST: Reject route with dsfield 0x01 [ OK ] # 90.56 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 90.70 [+0.14] TEST: Reject route with dsfield 0x03 [ OK ] # 91.08 [+0.39] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 91.19 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 91.32 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 91.44 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 91.55 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 91.68 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 91.80 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 91.90 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 92.01 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 92.13 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 92.26 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 92.35 [+0.10] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 94.57 [+2.21] # 94.57 [+0.00] IPv6 prefix route tests # 97.11 [+2.54] TEST: Default metric [ OK ] # 97.49 [+0.39] TEST: User specified metric on first device [ OK ] # 97.90 [+0.41] TEST: User specified metric on second device [ OK ] # 98.16 [+0.25] TEST: Delete of address on first device [ OK ] # 98.42 [+0.26] TEST: Modify metric of address [ OK ] # 98.82 [+0.41] TEST: Prefix route removed on link down [ OK ] # 99.08 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 99.47 [+0.40] TEST: Set metric with peer route on local side [ OK ] # 99.61 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 99.85 [+0.24] TEST: Modify metric and peer address on local side [ OK ] # 99.97 [+0.12] TEST: Modify metric and peer address on peer side [ OK ] # 101.22 [+1.25] # 101.22 [+0.00] IPv4 prefix route tests # 103.68 [+2.46] TEST: Default metric [ OK ] # 104.08 [+0.40] TEST: User specified metric on first device [ OK ] # 104.45 [+0.36] TEST: User specified metric on second device [ OK ] # 104.69 [+0.24] TEST: Delete of address on first device [ OK ] # 104.95 [+0.26] TEST: Modify metric of address [ OK ] # 105.17 [+0.22] TEST: Prefix route removed on link down [ OK ] # 105.42 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 105.95 [+0.53] TEST: Modify metric of .0/24 address [ OK ] # 106.34 [+0.40] TEST: Set metric of address with peer route [ OK ] # 106.58 [+0.24] TEST: Modify metric and peer address for peer route [ OK ] # 107.79 [+1.21] # 107.79 [+0.00] IPv6 routes with metrics # 113.93 [+6.14] TEST: Single path route with mtu metric [ OK ] # 114.32 [+0.39] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 114.70 [+0.38] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 114.93 [+0.23] TEST: MTU of second leg [ OK ] # 115.21 [+0.27] TEST: Multipath route with mtu metric [ OK ] # 115.54 [+0.33] TEST: Using route with mtu metric [ OK ] # 115.76 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 117.87 [+2.11] # 117.87 [+0.00] IPv4 route add / append tests # 123.87 [+6.00] TEST: Single path route with mtu metric [ OK ] # 124.10 [+0.23] TEST: Multipath route with mtu metric [ OK ] # 124.40 [+0.30] TEST: Using route with mtu metric [ OK ] # 124.64 [+0.23] TEST: Invalid metric (fails metric_convert) [ OK ] # 126.74 [+2.10] # 126.74 [+0.00] IPv4 route with IPv6 gateway tests # 134.76 [+8.02] TEST: Single path route with IPv6 gateway [ OK ] # 135.07 [+0.31] TEST: Single path route with IPv6 gateway - ping [ OK ] # 135.20 [+0.12] TEST: Single path route delete [ OK ] # 135.43 [+0.23] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 135.70 [+0.27] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 135.82 [+0.12] TEST: Multipath route delete exact match [ OK ] # 135.96 [+0.14] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 136.20 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 136.32 [+0.12] TEST: Multipath route delete exact match [ OK ] # 138.41 [+2.09] # 138.41 [+0.00] IPv4 rp_filter tests # 146.12 [+7.71] TEST: rp_filter passes local packets [ OK ] # 146.30 [+0.18] TEST: rp_filter passes loopback packets [ OK ] # 147.26 [+0.96] # 147.26 [+0.00] IPv4 delete address route tests # 150.96 [+3.71] Regular FIB info # 151.18 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 151.31 [+0.12] TEST: Route in default VRF not removed [ OK ] # 151.74 [+0.43] TEST: Route removed in default VRF when source address deleted [ OK ] # 151.85 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 151.85 [+0.00] Identical FIB info with different table ID # 152.09 [+0.24] TEST: Route removed from VRF when source address deleted [ OK ] # 152.19 [+0.10] TEST: Route in default VRF not removed [ OK ] # 152.63 [+0.43] TEST: Route removed in default VRF when source address deleted [ OK ] # 152.75 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 152.76 [+0.00] Table ID 0 # 152.98 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 154.22 [+1.23] # 154.22 [+0.00] IPv6 delete address route tests # 160.40 [+6.18] Single device using src address # 160.62 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 160.62 [+0.00] Two devices with the same source address # 160.82 [+0.20] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 161.06 [+0.24] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 161.06 [+0.00] VRF with single device using src address # 161.30 [+0.24] TEST: Prefsrc removed when src address removed on other device [ OK ] # 161.30 [+0.00] VRF with two devices using src address # 161.54 [+0.24] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 161.75 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 161.76 [+0.00] src address and nexthop dev in same VRF # 161.97 [+0.22] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 162.09 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 162.53 [+0.44] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 162.65 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 162.65 [+0.00] src address and nexthop device in different VRF # 162.86 [+0.20] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 162.99 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 163.31 [+0.32] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 163.45 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 163.45 [+0.00] Table ID 0 # 163.69 [+0.24] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 163.69 [+0.00] Link local source route # 163.92 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 164.15 [+0.23] TEST: Prefsrc removed when delete ll addr [ OK ] # 164.27 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 164.61 [+0.35] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 166.46 [+1.85] # 166.46 [+0.00] IPv4 mangling tests # 175.60 [+9.14] TEST: Connection with correct parameters [ OK ] # 175.82 [+0.22] TEST: Connection with incorrect parameters [ OK ] # 176.88 [+1.06] TEST: Connection with correct parameters - mangling [ OK ] # 177.86 [+0.98] TEST: Connection with correct parameters - no mangling [ OK ] # 177.94 [+0.08] TEST: Connection check - server side [ OK ] # 180.44 [+2.51] # 180.45 [+0.00] IPv6 mangling tests # 189.52 [+9.08] TEST: Connection with correct parameters [ OK ] # 189.79 [+0.26] TEST: Connection with incorrect parameters [ OK ] # 190.74 [+0.95] TEST: Connection with correct parameters - mangling [ OK ] # 191.73 [+0.99] TEST: Connection with correct parameters - no mangling [ OK ] # 191.82 [+0.09] TEST: Connection check - server side [ OK ] # 194.40 [+2.58] # 194.40 [+0.00] IPv4 broadcast neighbour tests # 197.39 [+2.99] TEST: Resolved neighbour for broadcast address [ OK ] # 197.51 [+0.12] TEST: Resolved neighbour for network broadcast address [ OK ] # 197.63 [+0.12] TEST: Unresolved neighbour for broadcast address [ OK ] # 197.75 [+0.11] TEST: Unresolved neighbour for network broadcast address [ OK ] # 200.18 [+2.43] # 200.18 [+0.00] Fib6 garbage collection test # 213.78 [+13.60] TEST: ipv6 route garbage collection [ OK ] # 227.67 [+13.89] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 241.58 [+13.92] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 255.62 [+14.04] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 270.31 [+14.69] TEST: ipv6 route garbage collection (RA message) [ OK ] # 271.24 [+0.93] # 271.24 [+0.00] IPv4 multipath list receive tests # 290.81 [+19.56] TEST: Multipath route hit ratio (1.00) [ OK ] # 292.93 [+2.13] # 292.93 [+0.00] IPv6 multipath list receive tests # 312.02 [+19.09] TEST: Multipath route hit ratio (1.00) [ OK ] # 314.31 [+2.28] # 314.31 [+0.00] Tests passed: 229 # 314.31 [+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__->