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.43 [+0.43] # 0.43 [+0.00] Single path route test # 1.31 [+0.88] Start point # 1.38 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.47 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.57 [+0.10] Nexthop device deleted # 1.66 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.74 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.26 [+0.52] # 2.26 [+0.00] Multipath route test # 3.87 [+1.61] Start point # 3.95 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.04 [+0.09] TEST: IPv6 fibmatch [ OK ] # 4.16 [+0.12] One nexthop device deleted # 4.25 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.32 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.45 [+0.13] Second nexthop device deleted # 4.53 [+0.08] TEST: IPv6 - no route [ OK ] # 5.05 [+0.52] # 5.05 [+0.00] Single path, admin down # 6.16 [+1.12] Start point # 6.24 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.32 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.41 [+0.09] Route deleted on down # 6.49 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.58 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.99 [+0.41] # 6.99 [+0.00] Admin down multipath # 8.59 [+1.60] Verify start point # 8.67 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.76 [+0.09] TEST: IPv6 fibmatch [ OK ] # 8.84 [+0.09] One device down, one up # 8.92 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.01 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 9.09 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.18 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.27 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.36 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.46 [+0.09] TEST: IPv4 flags on up device [ OK ] # 9.55 [+0.09] TEST: IPv6 flags on up device [ OK ] # 9.71 [+0.16] Other device down and up # 9.79 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.87 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.95 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 10.04 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 10.13 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.24 [+0.11] TEST: IPv6 flags on down device [ OK ] # 10.32 [+0.08] TEST: IPv4 flags on up device [ OK ] # 10.42 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.50 [+0.09] Both devices down # 10.58 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.67 [+0.09] TEST: IPv6 fibmatch [ OK ] # 11.22 [+0.56] # 11.22 [+0.00] Local carrier tests - single path # 12.43 [+1.21] Start point # 12.51 [+0.07] TEST: IPv4 fibmatch [ OK ] # 12.58 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.68 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 12.75 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 13.87 [+1.11] Carrier off on nexthop # 13.96 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.03 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.11 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 14.20 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 14.37 [+0.17] Route to local address with carrier down # 14.45 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.53 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.62 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 14.71 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 15.14 [+0.44] # 15.14 [+0.00] Single path route carrier test # 16.35 [+1.20] Start point # 16.44 [+0.09] TEST: IPv4 fibmatch [ OK ] # 16.51 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.60 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 16.68 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 17.81 [+1.13] Carrier down # 17.90 [+0.08] TEST: IPv4 fibmatch [ OK ] # 17.98 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.06 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.13 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 18.30 [+0.17] Second address added with carrier down # 18.38 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.46 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.55 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 18.62 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 22.77 [+4.15] # 22.77 [+0.00] IPv4 nexthop tests # 22.77 [+0.00] <<< write me >>> # 22.98 [+0.21] # 22.98 [+0.00] IPv6 nexthop tests # 23.08 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 23.17 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.26 [+0.09] TEST: Gateway is linklocal address [ OK ] # 23.35 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 23.44 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 23.53 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 23.63 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 23.71 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 23.82 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 23.91 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.00 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 24.09 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.19 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 24.28 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 25.22 [+0.94] # 25.22 [+0.00] FIB rule with suppress_prefixlength # 26.94 [+1.72] TEST: FIB rule suppress test [ OK ] # 28.48 [+1.54] # 28.48 [+0.00] Fib6 info length calculation in route notify test # 32.40 [+3.92] TEST: ipv6 route add notify [ OK ] # 33.99 [+1.59] # 33.99 [+0.00] Fib4 info length calculation in route notify test # 37.93 [+3.93] TEST: ipv4 route add notify [ OK ] # 42.17 [+4.25] # 42.17 [+0.00] IPv6 route add / append tests # 42.52 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 42.87 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 43.24 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 43.70 [+0.46] TEST: Append nexthop to existing route - gw [ OK ] # 44.07 [+0.37] TEST: Add multipath route [ OK ] # 44.44 [+0.37] TEST: Attempt to add duplicate multipath route [ OK ] # 44.87 [+0.44] TEST: Route add with different metrics [ OK ] # 45.06 [+0.19] TEST: Route delete with metric [ OK ] # 45.07 [+0.00] # 45.07 [+0.00] IPv6 route replace tests # 45.52 [+0.45] TEST: Single path with single path [ OK ] # 45.98 [+0.46] TEST: Single path with multipath [ OK ] # 46.44 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 46.88 [+0.44] TEST: Invalid nexthop [ OK ] # 47.23 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 47.70 [+0.47] TEST: Multipath with multipath [ OK ] # 48.15 [+0.45] TEST: Multipath with single path [ OK ] # 48.59 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 49.04 [+0.44] TEST: Multipath with dev-only [ OK ] # 49.50 [+0.46] TEST: Multipath - invalid first nexthop [ OK ] # 49.95 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 50.32 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 50.32 [+0.00] # 50.32 [+0.00] IPv6 route with dsfield tests # 50.50 [+0.18] TEST: Reject route with dsfield [ OK ] # 56.52 [+6.02] # 56.52 [+0.00] IPv4 route add / append tests # 56.88 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 57.23 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 57.59 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 58.04 [+0.45] TEST: Add new nexthop for existing prefix [ OK ] # 58.49 [+0.44] TEST: Append nexthop to existing route - gw [ OK ] # 58.93 [+0.45] TEST: Append nexthop to existing route - dev only [ OK ] # 59.38 [+0.45] TEST: Append nexthop to existing route - reject route [ OK ] # 59.74 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 60.11 [+0.36] TEST: Append nexthop to existing reject route - dev only [ OK ] # 60.46 [+0.35] TEST: add multipath route [ OK ] # 60.81 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 61.25 [+0.44] TEST: Route add with different metrics [ OK ] # 61.43 [+0.18] TEST: Route delete with metric [ OK ] # 61.43 [+0.00] # 61.43 [+0.00] IPv4 route replace tests # 61.87 [+0.44] TEST: Single path with single path [ OK ] # 62.33 [+0.46] TEST: Single path with multipath [ OK ] # 62.75 [+0.42] TEST: Single path with reject route [ OK ] # 63.21 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 63.66 [+0.45] TEST: Invalid nexthop [ OK ] # 64.01 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 64.46 [+0.46] TEST: Multipath with multipath [ OK ] # 64.91 [+0.44] TEST: Multipath with single path [ OK ] # 65.35 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 65.79 [+0.44] TEST: Multipath with reject route [ OK ] # 66.24 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 66.69 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 67.04 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 68.51 [+1.47] TEST: Cached route removed from VRF port device [ OK ] # 68.51 [+0.00] # 68.51 [+0.00] IPv4 route with dsfield tests # 68.70 [+0.19] TEST: Reject route with dsfield 0x01 [ OK ] # 68.79 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 68.88 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 69.15 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 69.24 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 69.32 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 69.41 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 69.47 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 69.56 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 69.65 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 69.72 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 69.82 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 69.91 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 69.98 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 70.05 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 71.79 [+1.73] # 71.79 [+0.00] IPv6 prefix route tests # 73.77 [+1.98] TEST: Default metric [ OK ] # 74.07 [+0.30] TEST: User specified metric on first device [ OK ] # 74.35 [+0.28] TEST: User specified metric on second device [ OK ] # 74.53 [+0.17] TEST: Delete of address on first device [ OK ] # 74.70 [+0.17] TEST: Modify metric of address [ OK ] # 74.98 [+0.28] TEST: Prefix route removed on link down [ OK ] # 75.17 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 75.42 [+0.25] TEST: Set metric with peer route on local side [ OK ] # 75.52 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 75.70 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 75.80 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 76.77 [+0.97] # 76.77 [+0.00] IPv4 prefix route tests # 78.59 [+1.82] TEST: Default metric [ OK ] # 78.86 [+0.26] TEST: User specified metric on first device [ OK ] # 79.13 [+0.27] TEST: User specified metric on second device [ OK ] # 79.31 [+0.18] TEST: Delete of address on first device [ OK ] # 79.48 [+0.17] TEST: Modify metric of address [ OK ] # 79.65 [+0.17] TEST: Prefix route removed on link down [ OK ] # 79.90 [+0.24] TEST: Prefix route with metric on link up [ OK ] # 80.31 [+0.41] TEST: Modify metric of .0/24 address [ OK ] # 80.59 [+0.29] TEST: Set metric of address with peer route [ OK ] # 80.81 [+0.22] TEST: Modify metric and peer address for peer route [ OK ] # 81.76 [+0.95] # 81.76 [+0.00] IPv6 routes with metrics # 86.43 [+4.67] TEST: Single path route with mtu metric [ OK ] # 86.75 [+0.32] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 87.07 [+0.32] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 87.30 [+0.23] TEST: MTU of second leg [ OK ] # 87.53 [+0.23] TEST: Multipath route with mtu metric [ OK ] # 87.80 [+0.26] TEST: Using route with mtu metric [ OK ] # 87.99 [+0.19] TEST: Invalid metric (fails metric_convert) [ OK ] # 89.95 [+1.96] # 89.95 [+0.00] IPv4 route add / append tests # 95.50 [+5.54] TEST: Single path route with mtu metric [ OK ] # 95.73 [+0.23] TEST: Multipath route with mtu metric [ OK ] # 96.02 [+0.29] TEST: Using route with mtu metric [ OK ] # 96.23 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 98.35 [+2.12] # 98.35 [+0.00] IPv4 route with IPv6 gateway tests # 106.50 [+8.15] TEST: Single path route with IPv6 gateway [ OK ] # 106.82 [+0.32] TEST: Single path route with IPv6 gateway - ping [ OK ] # 106.94 [+0.12] TEST: Single path route delete [ OK ] # 107.20 [+0.26] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 107.46 [+0.25] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 107.62 [+0.17] TEST: Multipath route delete exact match [ OK ] # 107.75 [+0.13] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 107.99 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 108.12 [+0.13] TEST: Multipath route delete exact match [ OK ] # 110.31 [+2.19] # 110.31 [+0.00] IPv4 rp_filter tests # 118.54 [+8.24] TEST: rp_filter passes local packets [ OK ] # 118.74 [+0.19] TEST: rp_filter passes loopback packets [ OK ] # 119.80 [+1.06] # 119.80 [+0.00] IPv4 delete address route tests # 123.18 [+3.38] Regular FIB info # 123.38 [+0.20] TEST: Route removed from VRF when source address deleted [ OK ] # 123.49 [+0.10] TEST: Route in default VRF not removed [ OK ] # 123.85 [+0.37] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.95 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 123.95 [+0.00] Identical FIB info with different table ID # 124.12 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 124.21 [+0.09] TEST: Route in default VRF not removed [ OK ] # 124.54 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 124.63 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 124.64 [+0.00] Table ID 0 # 124.83 [+0.19] TEST: Route removed in default VRF when source address deleted [ OK ] # 125.89 [+1.06] # 125.89 [+0.00] IPv6 delete address route tests # 130.82 [+4.93] Single device using src address # 130.99 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.99 [+0.00] Two devices with the same source address # 131.17 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 131.32 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 131.32 [+0.00] VRF with single device using src address # 131.49 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 131.49 [+0.00] VRF with two devices using src address # 131.67 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 131.82 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 131.82 [+0.00] src address and nexthop dev in same VRF # 131.98 [+0.15] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 132.06 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 132.39 [+0.33] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 132.48 [+0.10] TEST: Prefsrc in default VRF removed [ OK ] # 132.49 [+0.00] src address and nexthop device in different VRF # 132.63 [+0.15] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 132.72 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 132.98 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 133.06 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 133.06 [+0.00] Table ID 0 # 133.22 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 133.23 [+0.00] Link local source route # 133.40 [+0.18] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 133.56 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 133.65 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 133.89 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 135.43 [+1.53] # 135.43 [+0.00] IPv4 mangling tests # 142.82 [+7.39] TEST: Connection with correct parameters [ OK ] # 142.99 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 143.90 [+0.91] TEST: Connection with correct parameters - mangling [ OK ] # 144.75 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 144.80 [+0.05] TEST: Connection check - server side [ OK ] # 146.77 [+1.97] # 146.77 [+0.00] IPv6 mangling tests # 154.21 [+7.43] TEST: Connection with correct parameters [ OK ] # 154.38 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 155.24 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 156.10 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 156.15 [+0.05] TEST: Connection check - server side [ OK ] # 158.11 [+1.96] # 158.11 [+0.00] IPv4 broadcast neighbour tests # 160.21 [+2.11] TEST: Resolved neighbour for broadcast address [ OK ] # 160.30 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 160.39 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 160.48 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 162.26 [+1.78] # 162.26 [+0.00] Fib6 garbage collection test # 175.38 [+13.12] TEST: ipv6 route garbage collection [ OK ] # 188.76 [+13.38] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 202.17 [+13.41] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 215.70 [+13.53] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 230.08 [+14.38] TEST: ipv6 route garbage collection (RA message) [ OK ] # 230.82 [+0.74] # 230.82 [+0.00] IPv4 multipath list receive tests # 247.95 [+17.12] TEST: Multipath route hit ratio (1.00) [ OK ] # 249.97 [+2.03] # 249.97 [+0.00] IPv6 multipath list receive tests # 266.81 [+16.84] TEST: Multipath route hit ratio (1.00) [ OK ] # 268.60 [+1.79] # 268.60 [+0.00] Tests passed: 229 # 268.60 [+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__->