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.66 [+1.15] Start point # 1.76 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.87 [+0.12] TEST: IPv6 fibmatch [ OK ] # 2.02 [+0.15] Nexthop device deleted # 2.13 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.24 [+0.11] TEST: IPv6 fibmatch - no route [ OK ] # 2.93 [+0.69] # 2.93 [+0.00] Multipath route test # 5.07 [+2.14] Start point # 5.17 [+0.10] TEST: IPv4 fibmatch [ OK ] # 5.29 [+0.12] TEST: IPv6 fibmatch [ OK ] # 5.42 [+0.13] One nexthop device deleted # 5.53 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.63 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 5.77 [+0.14] Second nexthop device deleted # 5.87 [+0.10] TEST: IPv6 - no route [ OK ] # 6.57 [+0.69] # 6.57 [+0.00] Single path, admin down # 8.03 [+1.47] Start point # 8.16 [+0.12] TEST: IPv4 fibmatch [ OK ] # 8.26 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.37 [+0.11] Route deleted on down # 8.48 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.59 [+0.11] TEST: IPv6 fibmatch [ OK ] # 9.13 [+0.54] # 9.13 [+0.00] Admin down multipath # 11.27 [+2.14] Verify start point # 11.36 [+0.09] TEST: IPv4 fibmatch [ OK ] # 11.48 [+0.13] TEST: IPv6 fibmatch [ OK ] # 11.60 [+0.11] One device down, one up # 11.71 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 11.81 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 11.93 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 12.03 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 12.15 [+0.12] TEST: IPv4 flags on down device [ OK ] # 12.28 [+0.14] TEST: IPv6 flags on down device [ OK ] # 12.40 [+0.12] TEST: IPv4 flags on up device [ OK ] # 12.51 [+0.11] TEST: IPv6 flags on up device [ OK ] # 12.73 [+0.21] Other device down and up # 12.84 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 12.96 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 13.06 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 13.17 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 13.33 [+0.16] TEST: IPv4 flags on down device [ OK ] # 13.45 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.57 [+0.12] TEST: IPv4 flags on up device [ OK ] # 13.68 [+0.12] TEST: IPv6 flags on up device [ OK ] # 13.79 [+0.10] Both devices down # 13.89 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.00 [+0.11] TEST: IPv6 fibmatch [ OK ] # 14.72 [+0.72] # 14.72 [+0.00] Local carrier tests - single path # 16.32 [+1.60] Start point # 16.43 [+0.11] TEST: IPv4 fibmatch [ OK ] # 16.54 [+0.11] TEST: IPv6 fibmatch [ OK ] # 16.66 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 16.78 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 17.96 [+1.18] Carrier off on nexthop # 18.08 [+0.11] TEST: IPv4 fibmatch [ OK ] # 18.18 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.30 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 18.43 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 18.64 [+0.21] Route to local address with carrier down # 18.75 [+0.11] TEST: IPv4 fibmatch [ OK ] # 18.86 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.97 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 19.10 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 19.64 [+0.54] # 19.64 [+0.00] Single path route carrier test # 21.25 [+1.61] Start point # 21.35 [+0.10] TEST: IPv4 fibmatch [ OK ] # 21.47 [+0.12] TEST: IPv6 fibmatch [ OK ] # 21.56 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 21.66 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 22.82 [+1.16] Carrier down # 22.94 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.05 [+0.10] TEST: IPv6 fibmatch [ OK ] # 23.16 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 23.28 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 23.50 [+0.22] Second address added with carrier down # 23.59 [+0.10] TEST: IPv4 fibmatch [ OK ] # 23.69 [+0.10] TEST: IPv6 fibmatch [ OK ] # 23.82 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 23.94 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 29.14 [+5.19] # 29.14 [+0.00] IPv4 nexthop tests # 29.14 [+0.00] <<< write me >>> # 29.43 [+0.29] # 29.43 [+0.00] IPv6 nexthop tests # 29.55 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 29.67 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 29.80 [+0.13] TEST: Gateway is linklocal address [ OK ] # 29.93 [+0.13] TEST: Gateway is linklocal address, no device [ OK ] # 30.05 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 30.16 [+0.11] TEST: Gateway can not be local unicast address, with device [ OK ] # 30.29 [+0.14] TEST: Gateway can not be a local linklocal address [ OK ] # 30.42 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 30.54 [+0.12] TEST: Gateway can be local address in a VRF, with device [ OK ] # 30.66 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 30.79 [+0.12] TEST: Redirect to VRF lookup [ OK ] # 30.91 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 31.02 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 31.14 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 32.34 [+1.20] # 32.34 [+0.00] FIB rule with suppress_prefixlength # 34.78 [+2.44] TEST: FIB rule suppress test [ OK ] # 36.77 [+1.99] # 36.77 [+0.00] Fib6 info length calculation in route notify test # 41.31 [+4.54] TEST: ipv6 route add notify [ OK ] # 43.41 [+2.09] # 43.41 [+0.00] Fib4 info length calculation in route notify test # 47.98 [+4.57] TEST: ipv4 route add notify [ OK ] # 53.76 [+5.78] # 53.76 [+0.00] IPv6 route add / append tests # 54.23 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 54.68 [+0.45] TEST: Attempt to add duplicate route - dev only [ OK ] # 55.16 [+0.48] TEST: Attempt to add duplicate route - reject route [ OK ] # 55.76 [+0.60] TEST: Append nexthop to existing route - gw [ OK ] # 56.27 [+0.51] TEST: Add multipath route [ OK ] # 56.72 [+0.45] TEST: Attempt to add duplicate multipath route [ OK ] # 57.29 [+0.58] TEST: Route add with different metrics [ OK ] # 57.58 [+0.29] TEST: Route delete with metric [ OK ] # 57.58 [+0.00] # 57.58 [+0.00] IPv6 route replace tests # 58.17 [+0.59] TEST: Single path with single path [ OK ] # 58.77 [+0.59] TEST: Single path with multipath [ OK ] # 59.34 [+0.57] TEST: Single path with single path via multipath attribute [ OK ] # 59.93 [+0.59] TEST: Invalid nexthop [ OK ] # 60.40 [+0.47] TEST: Single path - replace of non-existent route [ OK ] # 60.99 [+0.59] TEST: Multipath with multipath [ OK ] # 61.59 [+0.60] TEST: Multipath with single path [ OK ] # 62.18 [+0.59] TEST: Multipath with single path via multipath attribute [ OK ] # 62.78 [+0.60] TEST: Multipath with dev-only [ OK ] # 63.39 [+0.62] TEST: Multipath - invalid first nexthop [ OK ] # 64.01 [+0.62] TEST: Multipath - invalid second nexthop [ OK ] # 64.49 [+0.47] TEST: Multipath - replace of non-existent route [ OK ] # 64.49 [+0.00] # 64.49 [+0.00] IPv6 route with dsfield tests # 64.72 [+0.23] TEST: Reject route with dsfield [ OK ] # 72.60 [+7.88] # 72.60 [+0.00] IPv4 route add / append tests # 73.12 [+0.52] TEST: Attempt to add duplicate route - gw [ OK ] # 73.57 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 74.03 [+0.45] TEST: Attempt to add duplicate route - reject route [ OK ] # 74.61 [+0.58] TEST: Add new nexthop for existing prefix [ OK ] # 75.19 [+0.58] TEST: Append nexthop to existing route - gw [ OK ] # 75.77 [+0.57] TEST: Append nexthop to existing route - dev only [ OK ] # 76.35 [+0.58] TEST: Append nexthop to existing route - reject route [ OK ] # 76.80 [+0.46] TEST: Append nexthop to existing reject route - gw [ OK ] # 77.29 [+0.49] TEST: Append nexthop to existing reject route - dev only [ OK ] # 77.77 [+0.47] TEST: add multipath route [ OK ] # 78.22 [+0.46] TEST: Attempt to add duplicate multipath route [ OK ] # 78.80 [+0.57] TEST: Route add with different metrics [ OK ] # 79.03 [+0.23] TEST: Route delete with metric [ OK ] # 79.03 [+0.00] # 79.03 [+0.00] IPv4 route replace tests # 79.61 [+0.58] TEST: Single path with single path [ OK ] # 80.17 [+0.57] TEST: Single path with multipath [ OK ] # 80.75 [+0.58] TEST: Single path with reject route [ OK ] # 81.32 [+0.57] TEST: Single path with single path via multipath attribute [ OK ] # 81.90 [+0.58] TEST: Invalid nexthop [ OK ] # 82.37 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 82.96 [+0.59] TEST: Multipath with multipath [ OK ] # 83.55 [+0.59] TEST: Multipath with single path [ OK ] # 84.15 [+0.60] TEST: Multipath with single path via multipath attribute [ OK ] # 84.77 [+0.62] TEST: Multipath with reject route [ OK ] # 85.40 [+0.63] TEST: Multipath - invalid first nexthop [ OK ] # 86.01 [+0.60] TEST: Multipath - invalid second nexthop [ OK ] # 86.46 [+0.46] TEST: Multipath - replace of non-existent route [ OK ] # 88.38 [+1.92] TEST: Cached route removed from VRF port device [ OK ] # 88.38 [+0.00] # 88.38 [+0.00] IPv4 route with dsfield tests # 88.61 [+0.23] TEST: Reject route with dsfield 0x01 [ OK ] # 88.74 [+0.12] TEST: Reject route with dsfield 0x02 [ OK ] # 88.85 [+0.11] TEST: Reject route with dsfield 0x03 [ OK ] # 89.22 [+0.37] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 89.34 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 89.45 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 89.58 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 89.69 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 89.82 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 89.94 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 90.07 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 90.19 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 90.30 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 90.41 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 90.52 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 92.64 [+2.13] # 92.65 [+0.00] IPv6 prefix route tests # 95.13 [+2.49] TEST: Default metric [ OK ] # 95.50 [+0.37] TEST: User specified metric on first device [ OK ] # 95.89 [+0.39] TEST: User specified metric on second device [ OK ] # 96.14 [+0.25] TEST: Delete of address on first device [ OK ] # 96.41 [+0.27] TEST: Modify metric of address [ OK ] # 96.82 [+0.41] TEST: Prefix route removed on link down [ OK ] # 97.06 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 97.44 [+0.38] TEST: Set metric with peer route on local side [ OK ] # 97.59 [+0.15] TEST: Set metric with peer route on peer side [ OK ] # 97.84 [+0.25] TEST: Modify metric and peer address on local side [ OK ] # 97.99 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 99.25 [+1.26] # 99.26 [+0.00] IPv4 prefix route tests # 101.69 [+2.43] TEST: Default metric [ OK ] # 102.06 [+0.38] TEST: User specified metric on first device [ OK ] # 102.43 [+0.37] TEST: User specified metric on second device [ OK ] # 102.69 [+0.25] TEST: Delete of address on first device [ OK ] # 102.93 [+0.24] TEST: Modify metric of address [ OK ] # 103.16 [+0.23] TEST: Prefix route removed on link down [ OK ] # 103.40 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 103.90 [+0.50] TEST: Modify metric of .0/24 address [ OK ] # 104.25 [+0.35] TEST: Set metric of address with peer route [ OK ] # 104.49 [+0.24] TEST: Modify metric and peer address for peer route [ OK ] # 105.74 [+1.25] # 105.74 [+0.00] IPv6 routes with metrics # 111.76 [+6.02] TEST: Single path route with mtu metric [ OK ] # 112.15 [+0.39] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 112.53 [+0.38] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 112.78 [+0.25] TEST: MTU of second leg [ OK ] # 113.05 [+0.27] TEST: Multipath route with mtu metric [ OK ] # 113.35 [+0.30] TEST: Using route with mtu metric [ OK ] # 113.56 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 115.70 [+2.14] # 115.70 [+0.00] IPv4 route add / append tests # 121.68 [+5.98] TEST: Single path route with mtu metric [ OK ] # 121.94 [+0.26] TEST: Multipath route with mtu metric [ OK ] # 122.24 [+0.30] TEST: Using route with mtu metric [ OK ] # 122.44 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 124.51 [+2.07] # 124.51 [+0.00] IPv4 route with IPv6 gateway tests # 132.60 [+8.08] TEST: Single path route with IPv6 gateway [ OK ] # 132.90 [+0.30] TEST: Single path route with IPv6 gateway - ping [ OK ] # 133.03 [+0.13] TEST: Single path route delete [ OK ] # 133.27 [+0.24] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 133.54 [+0.26] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 133.66 [+0.13] TEST: Multipath route delete exact match [ OK ] # 133.79 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 134.03 [+0.25] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 134.14 [+0.11] TEST: Multipath route delete exact match [ OK ] # 136.22 [+2.08] # 136.22 [+0.00] IPv4 rp_filter tests # 144.30 [+8.08] TEST: rp_filter passes local packets [ OK ] # 144.49 [+0.18] TEST: rp_filter passes loopback packets [ OK ] # 145.52 [+1.03] # 145.52 [+0.00] IPv4 delete address route tests # 149.30 [+3.77] Regular FIB info # 149.52 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 149.65 [+0.12] TEST: Route in default VRF not removed [ OK ] # 150.12 [+0.47] TEST: Route removed in default VRF when source address deleted [ OK ] # 150.25 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 150.25 [+0.00] Identical FIB info with different table ID # 150.49 [+0.24] TEST: Route removed from VRF when source address deleted [ OK ] # 150.60 [+0.11] TEST: Route in default VRF not removed [ OK ] # 151.05 [+0.45] TEST: Route removed in default VRF when source address deleted [ OK ] # 151.17 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 151.17 [+0.00] Table ID 0 # 151.39 [+0.21] TEST: Route removed in default VRF when source address deleted [ OK ] # 152.62 [+1.23] # 152.62 [+0.00] IPv6 delete address route tests # 159.02 [+6.40] Single device using src address # 159.24 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 159.24 [+0.00] Two devices with the same source address # 159.47 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 159.69 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 159.69 [+0.00] VRF with single device using src address # 159.92 [+0.23] TEST: Prefsrc removed when src address removed on other device [ OK ] # 159.92 [+0.00] VRF with two devices using src address # 160.14 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 160.37 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 160.37 [+0.00] src address and nexthop dev in same VRF # 160.60 [+0.23] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 160.70 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 161.15 [+0.46] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 161.27 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 161.27 [+0.00] src address and nexthop device in different VRF # 161.48 [+0.21] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 161.58 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 161.93 [+0.35] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 162.04 [+0.11] TEST: Prefsrc removed in default VRF [ OK ] # 162.04 [+0.00] Table ID 0 # 162.26 [+0.22] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 162.26 [+0.00] Link local source route # 162.48 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 162.70 [+0.22] TEST: Prefsrc removed when delete ll addr [ OK ] # 162.83 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 163.17 [+0.34] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 165.12 [+1.96] # 165.12 [+0.00] IPv4 mangling tests # 174.54 [+9.42] TEST: Connection with correct parameters [ OK ] # 174.80 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 175.93 [+1.14] TEST: Connection with correct parameters - mangling [ OK ] # 176.93 [+0.99] TEST: Connection with correct parameters - no mangling [ OK ] # 177.00 [+0.07] TEST: Connection check - server side [ OK ] # 179.54 [+2.55] # 179.54 [+0.00] IPv6 mangling tests # 188.73 [+9.18] TEST: Connection with correct parameters [ OK ] # 188.98 [+0.26] TEST: Connection with incorrect parameters [ OK ] # 189.98 [+0.99] TEST: Connection with correct parameters - mangling [ OK ] # 191.01 [+1.04] TEST: Connection with correct parameters - no mangling [ OK ] # 191.14 [+0.12] TEST: Connection check - server side [ OK ] # 193.69 [+2.56] # 193.69 [+0.00] IPv4 broadcast neighbour tests # 196.68 [+2.99] TEST: Resolved neighbour for broadcast address [ OK ] # 196.81 [+0.13] TEST: Resolved neighbour for network broadcast address [ OK ] # 196.92 [+0.12] TEST: Unresolved neighbour for broadcast address [ OK ] # 197.09 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 199.58 [+2.49] # 199.58 [+0.00] Fib6 garbage collection test # 213.24 [+13.66] TEST: ipv6 route garbage collection [ OK ] # 227.14 [+13.90] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 241.02 [+13.88] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 255.13 [+14.11] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 269.97 [+14.84] TEST: ipv6 route garbage collection (RA message) [ OK ] # 270.94 [+0.97] # 270.94 [+0.00] IPv4 multipath list receive tests # 291.03 [+20.09] TEST: Multipath route hit ratio (1.00) [ OK ] # 293.20 [+2.17] # 293.20 [+0.00] IPv6 multipath list receive tests # 312.78 [+19.58] TEST: Multipath route hit ratio (1.00) [ OK ] # 315.03 [+2.25] # 315.03 [+0.00] Tests passed: 229 # 315.03 [+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__->