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.35 [+0.35] # 0.35 [+0.00] Single path route test # 1.06 [+0.71] Start point # 1.13 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.19 [+0.06] TEST: IPv6 fibmatch [ OK ] # 1.32 [+0.12] Nexthop device deleted # 1.38 [+0.07] TEST: IPv4 fibmatch - no route [ OK ] # 1.45 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 1.88 [+0.43] # 1.88 [+0.00] Multipath route test # 3.15 [+1.27] Start point # 3.21 [+0.05] TEST: IPv4 fibmatch [ OK ] # 3.28 [+0.07] TEST: IPv6 fibmatch [ OK ] # 3.39 [+0.10] One nexthop device deleted # 3.45 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 3.52 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 3.61 [+0.08] Second nexthop device deleted # 3.67 [+0.06] TEST: IPv6 - no route [ OK ] # 4.08 [+0.42] # 4.08 [+0.00] Single path, admin down # 4.99 [+0.90] Start point # 5.06 [+0.07] TEST: IPv4 fibmatch [ OK ] # 5.13 [+0.07] TEST: IPv6 fibmatch [ OK ] # 5.20 [+0.07] Route deleted on down # 5.26 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.31 [+0.06] TEST: IPv6 fibmatch [ OK ] # 5.67 [+0.36] # 5.67 [+0.00] Admin down multipath # 6.99 [+1.31] Verify start point # 7.05 [+0.06] TEST: IPv4 fibmatch [ OK ] # 7.12 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.19 [+0.07] One device down, one up # 7.25 [+0.05] TEST: IPv4 fibmatch on down device [ OK ] # 7.32 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 7.38 [+0.06] TEST: IPv4 fibmatch on up device [ OK ] # 7.45 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 7.54 [+0.09] TEST: IPv4 flags on down device [ OK ] # 7.60 [+0.07] TEST: IPv6 flags on down device [ OK ] # 7.68 [+0.08] TEST: IPv4 flags on up device [ OK ] # 7.76 [+0.08] TEST: IPv6 flags on up device [ OK ] # 7.89 [+0.13] Other device down and up # 7.95 [+0.06] TEST: IPv4 fibmatch on down device [ OK ] # 8.01 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 8.07 [+0.06] TEST: IPv4 fibmatch on up device [ OK ] # 8.13 [+0.06] TEST: IPv6 fibmatch on up device [ OK ] # 8.20 [+0.07] TEST: IPv4 flags on down device [ OK ] # 8.27 [+0.07] TEST: IPv6 flags on down device [ OK ] # 8.35 [+0.07] TEST: IPv4 flags on up device [ OK ] # 8.44 [+0.09] TEST: IPv6 flags on up device [ OK ] # 8.50 [+0.07] Both devices down # 8.59 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.67 [+0.08] TEST: IPv6 fibmatch [ OK ] # 9.15 [+0.48] # 9.15 [+0.00] Local carrier tests - single path # 10.13 [+0.98] Start point # 10.20 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.27 [+0.06] TEST: IPv6 fibmatch [ OK ] # 10.33 [+0.06] TEST: IPv4 - no linkdown flag [ OK ] # 10.40 [+0.07] TEST: IPv6 - no linkdown flag [ OK ] # 11.50 [+1.10] Carrier off on nexthop # 11.58 [+0.07] TEST: IPv4 fibmatch [ OK ] # 11.64 [+0.06] TEST: IPv6 fibmatch [ OK ] # 11.72 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 11.79 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 11.92 [+0.13] Route to local address with carrier down # 11.98 [+0.07] TEST: IPv4 fibmatch [ OK ] # 12.05 [+0.06] TEST: IPv6 fibmatch [ OK ] # 12.11 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 12.18 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 12.56 [+0.37] # 12.56 [+0.00] Single path route carrier test # 13.54 [+0.99] Start point # 13.60 [+0.06] TEST: IPv4 fibmatch [ OK ] # 13.68 [+0.07] TEST: IPv6 fibmatch [ OK ] # 13.74 [+0.07] TEST: IPv4 no linkdown flag [ OK ] # 13.80 [+0.06] TEST: IPv6 no linkdown flag [ OK ] # 14.91 [+1.11] Carrier down # 14.97 [+0.06] TEST: IPv4 fibmatch [ OK ] # 15.04 [+0.07] TEST: IPv6 fibmatch [ OK ] # 15.12 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 15.18 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 15.31 [+0.12] Second address added with carrier down # 15.37 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.43 [+0.06] TEST: IPv6 fibmatch [ OK ] # 15.50 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 15.57 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 19.17 [+3.60] # 19.17 [+0.00] IPv4 nexthop tests # 19.17 [+0.00] <<< write me >>> # 19.36 [+0.19] # 19.36 [+0.00] IPv6 nexthop tests # 19.44 [+0.08] TEST: Directly connected nexthop, unicast address [ OK ] # 19.51 [+0.07] TEST: Directly connected nexthop, unicast address with device [ OK ] # 19.59 [+0.08] TEST: Gateway is linklocal address [ OK ] # 19.67 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 19.74 [+0.07] TEST: Gateway can not be local unicast address [ OK ] # 19.81 [+0.07] TEST: Gateway can not be local unicast address, with device [ OK ] # 19.90 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 19.96 [+0.07] TEST: Gateway can be local address in a VRF [ OK ] # 20.05 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 20.12 [+0.07] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 20.20 [+0.08] TEST: Redirect to VRF lookup [ OK ] # 20.27 [+0.07] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 20.35 [+0.08] TEST: VRF route, gateway can not be a local address [ OK ] # 20.42 [+0.07] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 21.30 [+0.87] # 21.30 [+0.00] FIB rule with suppress_prefixlength # 22.71 [+1.41] TEST: FIB rule suppress test [ OK ] # 23.99 [+1.28] # 23.99 [+0.00] Fib6 info length calculation in route notify test # 27.56 [+3.57] TEST: ipv6 route add notify [ OK ] # 28.86 [+1.30] # 28.86 [+0.00] Fib4 info length calculation in route notify test # 32.43 [+3.57] TEST: ipv4 route add notify [ OK ] # 35.96 [+3.53] # 35.96 [+0.00] IPv6 route add / append tests # 36.25 [+0.28] TEST: Attempt to add duplicate route - gw [ OK ] # 36.53 [+0.29] TEST: Attempt to add duplicate route - dev only [ OK ] # 36.83 [+0.30] TEST: Attempt to add duplicate route - reject route [ OK ] # 37.20 [+0.37] TEST: Append nexthop to existing route - gw [ OK ] # 37.52 [+0.31] TEST: Add multipath route [ OK ] # 37.82 [+0.31] TEST: Attempt to add duplicate multipath route [ OK ] # 38.21 [+0.39] TEST: Route add with different metrics [ OK ] # 38.38 [+0.17] TEST: Route delete with metric [ OK ] # 38.38 [+0.00] # 38.38 [+0.00] IPv6 route replace tests # 38.76 [+0.38] TEST: Single path with single path [ OK ] # 39.13 [+0.37] TEST: Single path with multipath [ OK ] # 39.51 [+0.38] TEST: Single path with single path via multipath attribute [ OK ] # 39.88 [+0.37] TEST: Invalid nexthop [ OK ] # 40.18 [+0.30] TEST: Single path - replace of non-existent route [ OK ] # 40.56 [+0.38] TEST: Multipath with multipath [ OK ] # 40.93 [+0.37] TEST: Multipath with single path [ OK ] # 41.29 [+0.36] TEST: Multipath with single path via multipath attribute [ OK ] # 41.66 [+0.38] TEST: Multipath with dev-only [ OK ] # 42.04 [+0.38] TEST: Multipath - invalid first nexthop [ OK ] # 42.42 [+0.38] TEST: Multipath - invalid second nexthop [ OK ] # 42.71 [+0.29] TEST: Multipath - replace of non-existent route [ OK ] # 42.71 [+0.00] # 42.71 [+0.00] IPv6 route with dsfield tests # 42.87 [+0.16] TEST: Reject route with dsfield [ OK ] # 47.97 [+5.10] # 47.97 [+0.00] IPv4 route add / append tests # 48.28 [+0.31] TEST: Attempt to add duplicate route - gw [ OK ] # 48.55 [+0.27] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.84 [+0.28] TEST: Attempt to add duplicate route - reject route [ OK ] # 49.22 [+0.38] TEST: Add new nexthop for existing prefix [ OK ] # 49.57 [+0.35] TEST: Append nexthop to existing route - gw [ OK ] # 49.94 [+0.37] TEST: Append nexthop to existing route - dev only [ OK ] # 50.30 [+0.37] TEST: Append nexthop to existing route - reject route [ OK ] # 50.59 [+0.28] TEST: Append nexthop to existing reject route - gw [ OK ] # 50.88 [+0.30] TEST: Append nexthop to existing reject route - dev only [ OK ] # 51.17 [+0.29] TEST: add multipath route [ OK ] # 51.45 [+0.28] TEST: Attempt to add duplicate multipath route [ OK ] # 51.82 [+0.37] TEST: Route add with different metrics [ OK ] # 51.97 [+0.15] TEST: Route delete with metric [ OK ] # 51.98 [+0.00] # 51.98 [+0.00] IPv4 route replace tests # 52.33 [+0.36] TEST: Single path with single path [ OK ] # 52.69 [+0.35] TEST: Single path with multipath [ OK ] # 53.06 [+0.38] TEST: Single path with reject route [ OK ] # 53.42 [+0.36] TEST: Single path with single path via multipath attribute [ OK ] # 53.79 [+0.37] TEST: Invalid nexthop [ OK ] # 54.08 [+0.28] TEST: Single path - replace of non-existent route [ OK ] # 54.43 [+0.36] TEST: Multipath with multipath [ OK ] # 54.80 [+0.37] TEST: Multipath with single path [ OK ] # 55.17 [+0.37] TEST: Multipath with single path via multipath attribute [ OK ] # 55.54 [+0.37] TEST: Multipath with reject route [ OK ] # 55.91 [+0.36] TEST: Multipath - invalid first nexthop [ OK ] # 56.27 [+0.36] TEST: Multipath - invalid second nexthop [ OK ] # 56.56 [+0.29] TEST: Multipath - replace of non-existent route [ OK ] # 57.78 [+1.21] TEST: Cached route removed from VRF port device [ OK ] # 57.78 [+0.00] # 57.78 [+0.00] IPv4 route with dsfield tests # 57.95 [+0.17] TEST: Reject route with dsfield 0x01 [ OK ] # 58.02 [+0.07] TEST: Reject route with dsfield 0x02 [ OK ] # 58.11 [+0.08] TEST: Reject route with dsfield 0x03 [ OK ] # 58.32 [+0.22] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 58.40 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 58.46 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 58.54 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 58.60 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 58.68 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 58.74 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 58.80 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 58.88 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 58.95 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 59.02 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 59.08 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 60.58 [+1.50] # 60.58 [+0.00] IPv6 prefix route tests # 62.14 [+1.56] TEST: Default metric [ OK ] # 62.36 [+0.22] TEST: User specified metric on first device [ OK ] # 62.61 [+0.24] TEST: User specified metric on second device [ OK ] # 62.77 [+0.17] TEST: Delete of address on first device [ OK ] # 62.93 [+0.16] TEST: Modify metric of address [ OK ] # 63.17 [+0.24] TEST: Prefix route removed on link down [ OK ] # 63.31 [+0.14] TEST: Prefix route with metric on link up [ OK ] # 63.54 [+0.23] TEST: Set metric with peer route on local side [ OK ] # 63.62 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 63.77 [+0.15] TEST: Modify metric and peer address on local side [ OK ] # 63.85 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 64.67 [+0.83] # 64.67 [+0.00] IPv4 prefix route tests # 66.16 [+1.49] TEST: Default metric [ OK ] # 66.39 [+0.22] TEST: User specified metric on first device [ OK ] # 66.62 [+0.23] TEST: User specified metric on second device [ OK ] # 66.76 [+0.14] TEST: Delete of address on first device [ OK ] # 66.91 [+0.15] TEST: Modify metric of address [ OK ] # 67.05 [+0.14] TEST: Prefix route removed on link down [ OK ] # 67.19 [+0.15] TEST: Prefix route with metric on link up [ OK ] # 67.49 [+0.30] TEST: Modify metric of .0/24 address [ OK ] # 67.73 [+0.23] TEST: Set metric of address with peer route [ OK ] # 67.87 [+0.15] TEST: Modify metric and peer address for peer route [ OK ] # 68.66 [+0.79] # 68.66 [+0.00] IPv6 routes with metrics # 72.32 [+3.65] TEST: Single path route with mtu metric [ OK ] # 72.56 [+0.24] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 72.78 [+0.23] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 72.94 [+0.16] TEST: MTU of second leg [ OK ] # 73.10 [+0.15] TEST: Multipath route with mtu metric [ OK ] # 73.29 [+0.19] TEST: Using route with mtu metric [ OK ] # 73.42 [+0.13] TEST: Invalid metric (fails metric_convert) [ OK ] # 74.87 [+1.45] # 74.87 [+0.00] IPv4 route add / append tests # 78.58 [+3.71] TEST: Single path route with mtu metric [ OK ] # 78.74 [+0.16] TEST: Multipath route with mtu metric [ OK ] # 78.93 [+0.19] TEST: Using route with mtu metric [ OK ] # 79.06 [+0.13] TEST: Invalid metric (fails metric_convert) [ OK ] # 80.51 [+1.45] # 80.51 [+0.00] IPv4 route with IPv6 gateway tests # 86.13 [+5.62] TEST: Single path route with IPv6 gateway [ OK ] # 86.33 [+0.19] TEST: Single path route with IPv6 gateway - ping [ OK ] # 86.40 [+0.08] TEST: Single path route delete [ OK ] # 86.54 [+0.14] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 86.69 [+0.14] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 86.78 [+0.09] TEST: Multipath route delete exact match [ OK ] # 86.86 [+0.08] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 87.03 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 87.11 [+0.08] TEST: Multipath route delete exact match [ OK ] # 88.68 [+1.56] # 88.68 [+0.00] IPv4 rp_filter tests # 93.68 [+5.00] TEST: rp_filter passes local packets [ OK ] # 93.80 [+0.12] TEST: rp_filter passes loopback packets [ OK ] # 94.47 [+0.67] # 94.47 [+0.00] IPv4 delete address route tests # 96.83 [+2.37] Regular FIB info # 96.99 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 97.06 [+0.07] TEST: Route in default VRF not removed [ OK ] # 97.34 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 97.42 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 97.42 [+0.00] Identical FIB info with different table ID # 97.58 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 97.66 [+0.08] TEST: Route in default VRF not removed [ OK ] # 97.95 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 98.02 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 98.02 [+0.00] Table ID 0 # 98.15 [+0.13] TEST: Route removed in default VRF when source address deleted [ OK ] # 98.97 [+0.82] # 98.97 [+0.00] IPv6 delete address route tests # 102.99 [+4.02] Single device using src address # 103.13 [+0.14] TEST: Prefsrc removed when src address removed on other device [ OK ] # 103.13 [+0.00] Two devices with the same source address # 103.27 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 103.42 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 103.42 [+0.00] VRF with single device using src address # 103.55 [+0.13] TEST: Prefsrc removed when src address removed on other device [ OK ] # 103.56 [+0.00] VRF with two devices using src address # 103.71 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 103.84 [+0.13] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 103.84 [+0.00] src address and nexthop dev in same VRF # 103.97 [+0.13] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 104.04 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 104.31 [+0.27] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 104.39 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 104.39 [+0.00] src address and nexthop device in different VRF # 104.52 [+0.13] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 104.58 [+0.06] TEST: Prefsrc not removed in default VRF [ OK ] # 104.79 [+0.21] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 104.86 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 104.86 [+0.00] Table ID 0 # 105.00 [+0.14] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 105.01 [+0.00] Link local source route # 105.15 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 105.30 [+0.15] TEST: Prefsrc removed when delete ll addr [ OK ] # 105.37 [+0.07] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 105.57 [+0.20] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 106.86 [+1.29] # 106.86 [+0.00] IPv4 mangling tests # 113.39 [+6.53] TEST: Connection with correct parameters [ OK ] # 113.52 [+0.14] TEST: Connection with incorrect parameters [ OK ] # 114.40 [+0.87] TEST: Connection with correct parameters - mangling [ OK ] # 115.18 [+0.78] TEST: Connection with correct parameters - no mangling [ OK ] # 115.23 [+0.05] TEST: Connection check - server side [ OK ] # 117.01 [+1.78] # 117.01 [+0.00] IPv6 mangling tests # 123.76 [+6.75] TEST: Connection with correct parameters [ OK ] # 123.92 [+0.16] TEST: Connection with incorrect parameters [ OK ] # 124.74 [+0.82] TEST: Connection with correct parameters - mangling [ OK ] # 125.55 [+0.81] TEST: Connection with correct parameters - no mangling [ OK ] # 125.60 [+0.05] TEST: Connection check - server side [ OK ] # 127.34 [+1.74] # 127.34 [+0.00] IPv4 broadcast neighbour tests # 129.21 [+1.87] TEST: Resolved neighbour for broadcast address [ OK ] # 129.29 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 129.37 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 129.44 [+0.07] TEST: Unresolved neighbour for network broadcast address [ OK ] # 130.98 [+1.55] # 130.99 [+0.00] Fib6 garbage collection test # 144.02 [+13.04] TEST: ipv6 route garbage collection [ OK ] # 157.28 [+13.26] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 170.66 [+13.38] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 184.00 [+13.35] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 198.10 [+14.10] TEST: ipv6 route garbage collection (RA message) [ OK ] # 198.71 [+0.61] # 198.72 [+0.00] IPv4 multipath list receive tests # 210.56 [+11.85] TEST: Multipath route hit ratio (1.00) [ OK ] # 212.09 [+1.53] # 212.09 [+0.00] IPv6 multipath list receive tests # 223.40 [+11.31] TEST: Multipath route hit ratio (1.00) [ OK ] # 224.92 [+1.52] # 224.92 [+0.00] Tests passed: 229 # 224.92 [+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__->