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.55 [+0.55] # 0.55 [+0.00] Single path route test # 1.69 [+1.14] Start point # 1.79 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.93 [+0.14] TEST: IPv6 fibmatch [ OK ] # 2.07 [+0.14] Nexthop device deleted # 2.19 [+0.12] TEST: IPv4 fibmatch - no route [ OK ] # 2.31 [+0.12] TEST: IPv6 fibmatch - no route [ OK ] # 2.95 [+0.64] # 2.95 [+0.00] Multipath route test # 4.98 [+2.03] Start point # 5.09 [+0.10] TEST: IPv4 fibmatch [ OK ] # 5.20 [+0.11] TEST: IPv6 fibmatch [ OK ] # 5.35 [+0.15] One nexthop device deleted # 5.44 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.54 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 5.65 [+0.11] Second nexthop device deleted # 5.77 [+0.11] TEST: IPv6 - no route [ OK ] # 6.46 [+0.69] # 6.46 [+0.00] Single path, admin down # 7.84 [+1.38] Start point # 7.94 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.03 [+0.09] TEST: IPv6 fibmatch [ OK ] # 8.15 [+0.12] Route deleted on down # 8.26 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.38 [+0.12] TEST: IPv6 fibmatch [ OK ] # 8.93 [+0.55] # 8.93 [+0.00] Admin down multipath # 10.93 [+2.00] Verify start point # 11.07 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.17 [+0.10] TEST: IPv6 fibmatch [ OK ] # 11.31 [+0.13] One device down, one up # 11.43 [+0.13] TEST: IPv4 fibmatch on down device [ OK ] # 11.54 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 11.64 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 11.76 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 11.86 [+0.10] TEST: IPv4 flags on down device [ OK ] # 12.01 [+0.15] TEST: IPv6 flags on down device [ OK ] # 12.16 [+0.15] TEST: IPv4 flags on up device [ OK ] # 12.32 [+0.15] TEST: IPv6 flags on up device [ OK ] # 12.55 [+0.23] Other device down and up # 12.66 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 12.78 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 12.88 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 13.03 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 13.16 [+0.13] TEST: IPv4 flags on down device [ OK ] # 13.27 [+0.11] TEST: IPv6 flags on down device [ OK ] # 13.40 [+0.13] TEST: IPv4 flags on up device [ OK ] # 13.51 [+0.11] TEST: IPv6 flags on up device [ OK ] # 13.62 [+0.11] Both devices down # 13.72 [+0.10] TEST: IPv4 fibmatch [ OK ] # 13.80 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.49 [+0.69] # 14.49 [+0.00] Local carrier tests - single path # 15.86 [+1.38] Start point # 15.96 [+0.09] TEST: IPv4 fibmatch [ OK ] # 16.08 [+0.12] TEST: IPv6 fibmatch [ OK ] # 16.19 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 16.27 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 17.45 [+1.18] Carrier off on nexthop # 17.55 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.66 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.79 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 17.93 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 18.15 [+0.22] Route to local address with carrier down # 18.24 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.34 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.46 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 18.59 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 19.08 [+0.49] # 19.08 [+0.00] Single path route carrier test # 20.46 [+1.38] Start point # 20.56 [+0.10] TEST: IPv4 fibmatch [ OK ] # 20.68 [+0.12] TEST: IPv6 fibmatch [ OK ] # 20.80 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 20.92 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 22.07 [+1.15] Carrier down # 22.19 [+0.12] TEST: IPv4 fibmatch [ OK ] # 22.27 [+0.08] TEST: IPv6 fibmatch [ OK ] # 22.37 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 22.47 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 22.65 [+0.18] Second address added with carrier down # 22.76 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.85 [+0.09] TEST: IPv6 fibmatch [ OK ] # 22.96 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 23.07 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 27.86 [+4.79] # 27.86 [+0.00] IPv4 nexthop tests # 27.86 [+0.00] <<< write me >>> # 28.15 [+0.29] # 28.15 [+0.00] IPv6 nexthop tests # 28.28 [+0.13] TEST: Directly connected nexthop, unicast address [ OK ] # 28.41 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 28.53 [+0.13] TEST: Gateway is linklocal address [ OK ] # 28.67 [+0.13] TEST: Gateway is linklocal address, no device [ OK ] # 28.80 [+0.13] TEST: Gateway can not be local unicast address [ OK ] # 28.91 [+0.11] TEST: Gateway can not be local unicast address, with device [ OK ] # 29.06 [+0.15] TEST: Gateway can not be a local linklocal address [ OK ] # 29.19 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 29.29 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 29.42 [+0.13] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 29.54 [+0.12] TEST: Redirect to VRF lookup [ OK ] # 29.69 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 29.82 [+0.13] TEST: VRF route, gateway can not be a local address [ OK ] # 29.96 [+0.14] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 31.19 [+1.23] # 31.19 [+0.00] FIB rule with suppress_prefixlength # 33.31 [+2.12] TEST: FIB rule suppress test [ OK ] # 35.26 [+1.94] # 35.26 [+0.00] Fib6 info length calculation in route notify test # 39.73 [+4.47] TEST: ipv6 route add notify [ OK ] # 41.72 [+2.00] # 41.73 [+0.00] Fib4 info length calculation in route notify test # 46.11 [+4.38] TEST: ipv4 route add notify [ OK ] # 51.58 [+5.47] # 51.58 [+0.00] IPv6 route add / append tests # 52.04 [+0.46] TEST: Attempt to add duplicate route - gw [ OK ] # 52.47 [+0.43] TEST: Attempt to add duplicate route - dev only [ OK ] # 52.87 [+0.40] TEST: Attempt to add duplicate route - reject route [ OK ] # 53.50 [+0.62] TEST: Append nexthop to existing route - gw [ OK ] # 54.01 [+0.51] TEST: Add multipath route [ OK ] # 54.45 [+0.44] TEST: Attempt to add duplicate multipath route [ OK ] # 55.00 [+0.55] TEST: Route add with different metrics [ OK ] # 55.26 [+0.27] TEST: Route delete with metric [ OK ] # 55.26 [+0.00] # 55.26 [+0.00] IPv6 route replace tests # 55.80 [+0.54] TEST: Single path with single path [ OK ] # 56.36 [+0.55] TEST: Single path with multipath [ OK ] # 56.96 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 57.52 [+0.56] TEST: Invalid nexthop [ OK ] # 57.98 [+0.45] TEST: Single path - replace of non-existent route [ OK ] # 58.57 [+0.60] TEST: Multipath with multipath [ OK ] # 59.13 [+0.56] TEST: Multipath with single path [ OK ] # 59.67 [+0.54] TEST: Multipath with single path via multipath attribute [ OK ] # 60.21 [+0.54] TEST: Multipath with dev-only [ OK ] # 60.76 [+0.55] TEST: Multipath - invalid first nexthop [ OK ] # 61.37 [+0.60] TEST: Multipath - invalid second nexthop [ OK ] # 61.77 [+0.40] TEST: Multipath - replace of non-existent route [ OK ] # 61.77 [+0.00] # 61.77 [+0.00] IPv6 route with dsfield tests # 61.99 [+0.22] TEST: Reject route with dsfield [ OK ] # 69.24 [+7.24] # 69.24 [+0.00] IPv4 route add / append tests # 69.64 [+0.40] TEST: Attempt to add duplicate route - gw [ OK ] # 70.03 [+0.39] TEST: Attempt to add duplicate route - dev only [ OK ] # 70.43 [+0.40] TEST: Attempt to add duplicate route - reject route [ OK ] # 70.94 [+0.51] TEST: Add new nexthop for existing prefix [ OK ] # 71.49 [+0.55] TEST: Append nexthop to existing route - gw [ OK ] # 72.04 [+0.55] TEST: Append nexthop to existing route - dev only [ OK ] # 72.59 [+0.55] TEST: Append nexthop to existing route - reject route [ OK ] # 73.01 [+0.42] TEST: Append nexthop to existing reject route - gw [ OK ] # 73.46 [+0.45] TEST: Append nexthop to existing reject route - dev only [ OK ] # 73.90 [+0.44] TEST: add multipath route [ OK ] # 74.37 [+0.47] TEST: Attempt to add duplicate multipath route [ OK ] # 74.92 [+0.55] TEST: Route add with different metrics [ OK ] # 75.15 [+0.23] TEST: Route delete with metric [ OK ] # 75.15 [+0.00] # 75.15 [+0.00] IPv4 route replace tests # 75.70 [+0.55] TEST: Single path with single path [ OK ] # 76.25 [+0.55] TEST: Single path with multipath [ OK ] # 76.77 [+0.52] TEST: Single path with reject route [ OK ] # 77.31 [+0.53] TEST: Single path with single path via multipath attribute [ OK ] # 77.88 [+0.58] TEST: Invalid nexthop [ OK ] # 78.34 [+0.45] TEST: Single path - replace of non-existent route [ OK ] # 78.88 [+0.54] TEST: Multipath with multipath [ OK ] # 79.39 [+0.51] TEST: Multipath with single path [ OK ] # 79.96 [+0.57] TEST: Multipath with single path via multipath attribute [ OK ] # 80.54 [+0.58] TEST: Multipath with reject route [ OK ] # 81.11 [+0.57] TEST: Multipath - invalid first nexthop [ OK ] # 81.58 [+0.47] TEST: Multipath - invalid second nexthop [ OK ] # 81.97 [+0.39] TEST: Multipath - replace of non-existent route [ OK ] # 83.71 [+1.74] TEST: Cached route removed from VRF port device [ OK ] # 83.71 [+0.01] # 83.71 [+0.00] IPv4 route with dsfield tests # 83.96 [+0.25] TEST: Reject route with dsfield 0x01 [ OK ] # 84.07 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 84.19 [+0.12] TEST: Reject route with dsfield 0x03 [ OK ] # 84.52 [+0.33] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 84.63 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 84.76 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 84.85 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 84.97 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 85.07 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 85.17 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 85.30 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 85.40 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 85.53 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 85.64 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 85.73 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 87.80 [+2.06] # 87.80 [+0.00] IPv6 prefix route tests # 89.99 [+2.19] TEST: Default metric [ OK ] # 90.36 [+0.37] TEST: User specified metric on first device [ OK ] # 90.69 [+0.33] TEST: User specified metric on second device [ OK ] # 90.90 [+0.21] TEST: Delete of address on first device [ OK ] # 91.12 [+0.22] TEST: Modify metric of address [ OK ] # 91.48 [+0.36] TEST: Prefix route removed on link down [ OK ] # 91.70 [+0.23] TEST: Prefix route with metric on link up [ OK ] # 92.59 [+0.88] TEST: Set metric with peer route on local side [ OK ] # 92.95 [+0.36] TEST: Set metric with peer route on peer side [ OK ] # 93.70 [+0.75] TEST: Modify metric and peer address on local side [ OK ] # 93.96 [+0.26] TEST: Modify metric and peer address on peer side [ OK ] # 97.03 [+3.07] # 97.03 [+0.00] IPv4 prefix route tests # 100.33 [+3.30] TEST: Default metric [ OK ] # 100.77 [+0.44] TEST: User specified metric on first device [ OK ] # 101.20 [+0.43] TEST: User specified metric on second device [ OK ] # 101.50 [+0.30] TEST: Delete of address on first device [ OK ] # 101.84 [+0.34] TEST: Modify metric of address [ OK ] # 102.11 [+0.28] TEST: Prefix route removed on link down [ OK ] # 102.43 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 103.00 [+0.58] TEST: Modify metric of .0/24 address [ OK ] # 103.39 [+0.39] TEST: Set metric of address with peer route [ OK ] # 103.68 [+0.29] TEST: Modify metric and peer address for peer route [ OK ] # 105.00 [+1.32] # 105.00 [+0.00] IPv6 routes with metrics # 110.99 [+5.99] TEST: Single path route with mtu metric [ OK ] # 111.32 [+0.34] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 111.66 [+0.34] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 111.92 [+0.26] TEST: MTU of second leg [ OK ] # 112.17 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 112.45 [+0.28] TEST: Using route with mtu metric [ OK ] # 112.66 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 114.76 [+2.09] # 114.76 [+0.00] IPv4 route add / append tests # 120.49 [+5.74] TEST: Single path route with mtu metric [ OK ] # 120.71 [+0.21] TEST: Multipath route with mtu metric [ OK ] # 121.00 [+0.29] TEST: Using route with mtu metric [ OK ] # 121.21 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 123.25 [+2.03] # 123.25 [+0.00] IPv4 route with IPv6 gateway tests # 131.16 [+7.91] TEST: Single path route with IPv6 gateway [ OK ] # 131.47 [+0.31] TEST: Single path route with IPv6 gateway - ping [ OK ] # 131.59 [+0.12] TEST: Single path route delete [ OK ] # 131.83 [+0.24] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 132.09 [+0.27] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 132.21 [+0.11] TEST: Multipath route delete exact match [ OK ] # 132.35 [+0.14] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 132.65 [+0.30] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 132.77 [+0.12] TEST: Multipath route delete exact match [ OK ] # 134.80 [+2.04] # 134.80 [+0.00] IPv4 rp_filter tests # 142.31 [+7.51] TEST: rp_filter passes local packets [ OK ] # 142.47 [+0.16] TEST: rp_filter passes loopback packets [ OK ] # 143.50 [+1.03] # 143.50 [+0.00] IPv4 delete address route tests # 147.10 [+3.60] Regular FIB info # 147.36 [+0.25] TEST: Route removed from VRF when source address deleted [ OK ] # 147.46 [+0.11] TEST: Route in default VRF not removed [ OK ] # 147.84 [+0.38] TEST: Route removed in default VRF when source address deleted [ OK ] # 147.96 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 147.97 [+0.00] Identical FIB info with different table ID # 148.15 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 148.25 [+0.10] TEST: Route in default VRF not removed [ OK ] # 148.70 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 148.80 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 148.80 [+0.00] Table ID 0 # 149.01 [+0.21] TEST: Route removed in default VRF when source address deleted [ OK ] # 150.23 [+1.21] # 150.23 [+0.00] IPv6 delete address route tests # 156.19 [+5.96] Single device using src address # 156.41 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 156.41 [+0.00] Two devices with the same source address # 156.61 [+0.20] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 156.80 [+0.19] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 156.80 [+0.00] VRF with single device using src address # 157.00 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 157.00 [+0.00] VRF with two devices using src address # 157.23 [+0.24] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 157.45 [+0.21] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 157.45 [+0.01] src address and nexthop dev in same VRF # 157.66 [+0.21] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 157.77 [+0.11] TEST: Prefsrc in default VRF not removed [ OK ] # 158.16 [+0.39] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 158.26 [+0.11] TEST: Prefsrc in default VRF removed [ OK ] # 158.26 [+0.00] src address and nexthop device in different VRF # 158.45 [+0.19] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 158.54 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 158.86 [+0.31] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 158.97 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 158.98 [+0.00] Table ID 0 # 159.15 [+0.18] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 159.15 [+0.00] Link local source route # 159.38 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 159.61 [+0.23] TEST: Prefsrc removed when delete ll addr [ OK ] # 159.74 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 160.02 [+0.28] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 161.83 [+1.82] # 161.83 [+0.00] IPv4 mangling tests # 170.90 [+9.06] TEST: Connection with correct parameters [ OK ] # 171.11 [+0.22] TEST: Connection with incorrect parameters [ OK ] # 172.26 [+1.14] TEST: Connection with correct parameters - mangling [ OK ] # 173.17 [+0.92] TEST: Connection with correct parameters - no mangling [ OK ] # 173.27 [+0.09] TEST: Connection check - server side [ OK ] # 175.84 [+2.57] # 175.84 [+0.00] IPv6 mangling tests # 184.48 [+8.64] TEST: Connection with correct parameters [ OK ] # 184.71 [+0.23] TEST: Connection with incorrect parameters [ OK ] # 185.63 [+0.92] TEST: Connection with correct parameters - mangling [ OK ] # 186.60 [+0.96] TEST: Connection with correct parameters - no mangling [ OK ] # 186.68 [+0.09] TEST: Connection check - server side [ OK ] # 189.26 [+2.58] # 189.26 [+0.00] IPv4 broadcast neighbour tests # 192.03 [+2.77] TEST: Resolved neighbour for broadcast address [ OK ] # 192.16 [+0.13] TEST: Resolved neighbour for network broadcast address [ OK ] # 192.31 [+0.15] TEST: Unresolved neighbour for broadcast address [ OK ] # 192.44 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 194.69 [+2.25] # 194.69 [+0.00] Fib6 garbage collection test # 208.11 [+13.42] TEST: ipv6 route garbage collection [ OK ] # 221.81 [+13.69] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 235.47 [+13.67] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 249.35 [+13.87] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 263.86 [+14.52] TEST: ipv6 route garbage collection (RA message) [ OK ] # 264.75 [+0.88] # 264.75 [+0.00] IPv4 multipath list receive tests # 284.60 [+19.85] TEST: Multipath route hit ratio (1.00) [ OK ] # 286.74 [+2.15] # 286.75 [+0.00] IPv6 multipath list receive tests # 306.92 [+20.17] TEST: Multipath route hit ratio (1.00) [ OK ] # 309.06 [+2.14] # 309.06 [+0.00] Tests passed: 229 # 309.06 [+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__->