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.31 [+0.31] # 0.31 [+0.00] Single path route test # 1.05 [+0.75] Start point # 1.12 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.19 [+0.07] TEST: IPv6 fibmatch [ OK ] # 1.29 [+0.10] Nexthop device deleted # 1.36 [+0.07] TEST: IPv4 fibmatch - no route [ OK ] # 1.43 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 1.87 [+0.44] # 1.87 [+0.00] Multipath route test # 3.22 [+1.35] Start point # 3.29 [+0.07] TEST: IPv4 fibmatch [ OK ] # 3.36 [+0.07] TEST: IPv6 fibmatch [ OK ] # 3.48 [+0.12] One nexthop device deleted # 3.54 [+0.06] TEST: IPv4 - multipath route removed on delete [ OK ] # 3.62 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 3.70 [+0.08] Second nexthop device deleted # 3.77 [+0.07] TEST: IPv6 - no route [ OK ] # 4.21 [+0.43] # 4.21 [+0.00] Single path, admin down # 5.16 [+0.95] Start point # 5.23 [+0.07] TEST: IPv4 fibmatch [ OK ] # 5.31 [+0.08] TEST: IPv6 fibmatch [ OK ] # 5.38 [+0.07] Route deleted on down # 5.46 [+0.08] TEST: IPv4 fibmatch [ OK ] # 5.53 [+0.07] TEST: IPv6 fibmatch [ OK ] # 5.86 [+0.33] # 5.86 [+0.00] Admin down multipath # 7.17 [+1.30] Verify start point # 7.23 [+0.06] TEST: IPv4 fibmatch [ OK ] # 7.30 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.36 [+0.06] One device down, one up # 7.43 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 7.50 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 7.57 [+0.06] TEST: IPv4 fibmatch on up device [ OK ] # 7.64 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 7.71 [+0.07] TEST: IPv4 flags on down device [ OK ] # 7.78 [+0.07] TEST: IPv6 flags on down device [ OK ] # 7.86 [+0.08] TEST: IPv4 flags on up device [ OK ] # 7.93 [+0.06] TEST: IPv6 flags on up device [ OK ] # 8.05 [+0.13] Other device down and up # 8.12 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 8.18 [+0.06] TEST: IPv6 fibmatch on down device [ OK ] # 8.24 [+0.06] TEST: IPv4 fibmatch on up device [ OK ] # 8.31 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 8.39 [+0.08] TEST: IPv4 flags on down device [ OK ] # 8.47 [+0.08] TEST: IPv6 flags on down device [ OK ] # 8.56 [+0.09] TEST: IPv4 flags on up device [ OK ] # 8.64 [+0.08] TEST: IPv6 flags on up device [ OK ] # 8.71 [+0.07] Both devices down # 8.78 [+0.07] TEST: IPv4 fibmatch [ OK ] # 8.84 [+0.06] TEST: IPv6 fibmatch [ OK ] # 9.31 [+0.47] # 9.31 [+0.00] Local carrier tests - single path # 10.28 [+0.97] Start point # 10.35 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.42 [+0.07] TEST: IPv6 fibmatch [ OK ] # 10.51 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 10.61 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 11.71 [+1.10] Carrier off on nexthop # 11.79 [+0.08] TEST: IPv4 fibmatch [ OK ] # 11.86 [+0.07] TEST: IPv6 fibmatch [ OK ] # 11.93 [+0.07] TEST: IPv4 - linkdown flag set [ OK ] # 12.01 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 12.14 [+0.14] Route to local address with carrier down # 12.21 [+0.06] TEST: IPv4 fibmatch [ OK ] # 12.27 [+0.06] TEST: IPv6 fibmatch [ OK ] # 12.34 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 12.42 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 12.80 [+0.38] # 12.80 [+0.00] Single path route carrier test # 13.81 [+1.01] Start point # 13.87 [+0.07] TEST: IPv4 fibmatch [ OK ] # 13.95 [+0.07] TEST: IPv6 fibmatch [ OK ] # 14.03 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 14.11 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 15.21 [+1.10] Carrier down # 15.28 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.35 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.41 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 15.48 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 15.62 [+0.14] Second address added with carrier down # 15.69 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.77 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.84 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 15.90 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 19.59 [+3.68] # 19.59 [+0.00] IPv4 nexthop tests # 19.59 [+0.00] <<< write me >>> # 19.76 [+0.18] # 19.76 [+0.00] IPv6 nexthop tests # 19.85 [+0.08] TEST: Directly connected nexthop, unicast address [ OK ] # 19.92 [+0.08] TEST: Directly connected nexthop, unicast address with device [ OK ] # 19.99 [+0.07] TEST: Gateway is linklocal address [ OK ] # 20.07 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 20.14 [+0.07] TEST: Gateway can not be local unicast address [ OK ] # 20.23 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 20.31 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 20.39 [+0.08] TEST: Gateway can be local address in a VRF [ OK ] # 20.46 [+0.08] TEST: Gateway can be local address in a VRF, with device [ OK ] # 20.54 [+0.07] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 20.62 [+0.08] TEST: Redirect to VRF lookup [ OK ] # 20.69 [+0.07] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 20.77 [+0.07] TEST: VRF route, gateway can not be a local address [ OK ] # 20.84 [+0.07] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 21.71 [+0.87] # 21.71 [+0.00] FIB rule with suppress_prefixlength # 23.17 [+1.45] TEST: FIB rule suppress test [ OK ] # 24.43 [+1.27] # 24.43 [+0.00] Fib6 info length calculation in route notify test # 28.04 [+3.61] TEST: ipv6 route add notify [ OK ] # 29.34 [+1.30] # 29.34 [+0.00] Fib4 info length calculation in route notify test # 32.97 [+3.63] TEST: ipv4 route add notify [ OK ] # 36.57 [+3.61] # 36.57 [+0.00] IPv6 route add / append tests # 36.85 [+0.27] TEST: Attempt to add duplicate route - gw [ OK ] # 37.15 [+0.30] TEST: Attempt to add duplicate route - dev only [ OK ] # 37.43 [+0.28] TEST: Attempt to add duplicate route - reject route [ OK ] # 37.83 [+0.41] TEST: Append nexthop to existing route - gw [ OK ] # 38.16 [+0.32] TEST: Add multipath route [ OK ] # 38.45 [+0.30] TEST: Attempt to add duplicate multipath route [ OK ] # 38.82 [+0.37] TEST: Route add with different metrics [ OK ] # 38.99 [+0.17] TEST: Route delete with metric [ OK ] # 38.99 [+0.00] # 39.00 [+0.00] IPv6 route replace tests # 39.37 [+0.37] TEST: Single path with single path [ OK ] # 39.72 [+0.36] TEST: Single path with multipath [ OK ] # 40.09 [+0.37] TEST: Single path with single path via multipath attribute [ OK ] # 40.46 [+0.37] TEST: Invalid nexthop [ OK ] # 40.74 [+0.28] TEST: Single path - replace of non-existent route [ OK ] # 41.14 [+0.39] TEST: Multipath with multipath [ OK ] # 41.50 [+0.37] TEST: Multipath with single path [ OK ] # 41.86 [+0.35] TEST: Multipath with single path via multipath attribute [ OK ] # 42.23 [+0.37] TEST: Multipath with dev-only [ OK ] # 42.59 [+0.36] TEST: Multipath - invalid first nexthop [ OK ] # 42.95 [+0.36] TEST: Multipath - invalid second nexthop [ OK ] # 43.26 [+0.31] TEST: Multipath - replace of non-existent route [ OK ] # 43.26 [+0.00] # 43.26 [+0.00] IPv6 route with dsfield tests # 43.41 [+0.14] TEST: Reject route with dsfield [ OK ] # 48.27 [+4.87] # 48.27 [+0.00] IPv4 route add / append tests # 48.56 [+0.29] TEST: Attempt to add duplicate route - gw [ OK ] # 48.84 [+0.28] TEST: Attempt to add duplicate route - dev only [ OK ] # 49.13 [+0.28] TEST: Attempt to add duplicate route - reject route [ OK ] # 49.49 [+0.36] TEST: Add new nexthop for existing prefix [ OK ] # 49.83 [+0.35] TEST: Append nexthop to existing route - gw [ OK ] # 50.19 [+0.35] TEST: Append nexthop to existing route - dev only [ OK ] # 50.54 [+0.35] TEST: Append nexthop to existing route - reject route [ OK ] # 50.83 [+0.30] TEST: Append nexthop to existing reject route - gw [ OK ] # 51.14 [+0.30] TEST: Append nexthop to existing reject route - dev only [ OK ] # 51.42 [+0.28] TEST: add multipath route [ OK ] # 51.70 [+0.28] TEST: Attempt to add duplicate multipath route [ OK ] # 52.05 [+0.35] TEST: Route add with different metrics [ OK ] # 52.20 [+0.15] TEST: Route delete with metric [ OK ] # 52.20 [+0.00] # 52.21 [+0.00] IPv4 route replace tests # 52.59 [+0.38] TEST: Single path with single path [ OK ] # 52.97 [+0.39] TEST: Single path with multipath [ OK ] # 53.33 [+0.36] TEST: Single path with reject route [ OK ] # 53.70 [+0.36] TEST: Single path with single path via multipath attribute [ OK ] # 54.05 [+0.36] TEST: Invalid nexthop [ OK ] # 54.34 [+0.29] TEST: Single path - replace of non-existent route [ OK ] # 54.69 [+0.35] TEST: Multipath with multipath [ OK ] # 55.05 [+0.36] TEST: Multipath with single path [ OK ] # 55.42 [+0.37] TEST: Multipath with single path via multipath attribute [ OK ] # 55.78 [+0.36] TEST: Multipath with reject route [ OK ] # 56.14 [+0.36] TEST: Multipath - invalid first nexthop [ OK ] # 56.50 [+0.36] TEST: Multipath - invalid second nexthop [ OK ] # 56.79 [+0.29] TEST: Multipath - replace of non-existent route [ OK ] # 57.95 [+1.17] TEST: Cached route removed from VRF port device [ OK ] # 57.95 [+0.00] # 57.95 [+0.00] IPv4 route with dsfield tests # 58.09 [+0.14] TEST: Reject route with dsfield 0x01 [ OK ] # 58.17 [+0.07] TEST: Reject route with dsfield 0x02 [ OK ] # 58.25 [+0.08] TEST: Reject route with dsfield 0x03 [ OK ] # 58.46 [+0.22] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 58.53 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 58.60 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 58.67 [+0.07] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 58.74 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 58.82 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 58.90 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 58.98 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 59.06 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 59.12 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 59.19 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 59.26 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 60.73 [+1.47] # 60.73 [+0.00] IPv6 prefix route tests # 62.24 [+1.50] TEST: Default metric [ OK ] # 62.47 [+0.23] TEST: User specified metric on first device [ OK ] # 62.70 [+0.23] TEST: User specified metric on second device [ OK ] # 62.85 [+0.15] TEST: Delete of address on first device [ OK ] # 63.00 [+0.14] TEST: Modify metric of address [ OK ] # 63.25 [+0.26] TEST: Prefix route removed on link down [ OK ] # 63.40 [+0.15] TEST: Prefix route with metric on link up [ OK ] # 63.62 [+0.22] TEST: Set metric with peer route on local side [ OK ] # 63.71 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 63.86 [+0.15] TEST: Modify metric and peer address on local side [ OK ] # 63.93 [+0.07] TEST: Modify metric and peer address on peer side [ OK ] # 64.74 [+0.82] # 64.74 [+0.00] IPv4 prefix route tests # 66.21 [+1.46] TEST: Default metric [ OK ] # 66.42 [+0.22] TEST: User specified metric on first device [ OK ] # 66.64 [+0.22] TEST: User specified metric on second device [ OK ] # 66.79 [+0.15] TEST: Delete of address on first device [ OK ] # 66.93 [+0.14] TEST: Modify metric of address [ OK ] # 67.07 [+0.14] TEST: Prefix route removed on link down [ OK ] # 67.23 [+0.16] TEST: Prefix route with metric on link up [ OK ] # 67.52 [+0.29] TEST: Modify metric of .0/24 address [ OK ] # 67.74 [+0.22] TEST: Set metric of address with peer route [ OK ] # 67.88 [+0.15] TEST: Modify metric and peer address for peer route [ OK ] # 68.66 [+0.78] # 68.66 [+0.00] IPv6 routes with metrics # 72.24 [+3.58] TEST: Single path route with mtu metric [ OK ] # 72.47 [+0.24] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 72.71 [+0.23] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 72.85 [+0.15] TEST: MTU of second leg [ OK ] # 73.01 [+0.15] TEST: Multipath route with mtu metric [ OK ] # 73.18 [+0.17] TEST: Using route with mtu metric [ OK ] # 73.31 [+0.13] TEST: Invalid metric (fails metric_convert) [ OK ] # 74.66 [+1.35] # 74.66 [+0.00] IPv4 route add / append tests # 78.41 [+3.75] TEST: Single path route with mtu metric [ OK ] # 78.56 [+0.15] TEST: Multipath route with mtu metric [ OK ] # 78.80 [+0.24] TEST: Using route with mtu metric [ OK ] # 78.92 [+0.13] TEST: Invalid metric (fails metric_convert) [ OK ] # 80.32 [+1.40] # 80.32 [+0.00] IPv4 route with IPv6 gateway tests # 85.97 [+5.65] TEST: Single path route with IPv6 gateway [ OK ] # 86.17 [+0.19] TEST: Single path route with IPv6 gateway - ping [ OK ] # 86.23 [+0.07] TEST: Single path route delete [ OK ] # 86.38 [+0.14] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 86.52 [+0.14] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 86.60 [+0.08] TEST: Multipath route delete exact match [ OK ] # 86.67 [+0.08] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 86.83 [+0.15] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 86.90 [+0.07] TEST: Multipath route delete exact match [ OK ] # 88.33 [+1.43] # 88.33 [+0.00] IPv4 rp_filter tests # 92.95 [+4.62] TEST: rp_filter passes local packets [ OK ] # 93.06 [+0.11] TEST: rp_filter passes loopback packets [ OK ] # 93.67 [+0.60] # 93.67 [+0.00] IPv4 delete address route tests # 95.91 [+2.24] Regular FIB info # 96.04 [+0.13] TEST: Route removed from VRF when source address deleted [ OK ] # 96.10 [+0.06] TEST: Route in default VRF not removed [ OK ] # 96.36 [+0.26] TEST: Route removed in default VRF when source address deleted [ OK ] # 96.43 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 96.43 [+0.00] Identical FIB info with different table ID # 96.56 [+0.13] TEST: Route removed from VRF when source address deleted [ OK ] # 96.63 [+0.08] TEST: Route in default VRF not removed [ OK ] # 96.88 [+0.25] TEST: Route removed in default VRF when source address deleted [ OK ] # 96.95 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 96.95 [+0.00] Table ID 0 # 97.07 [+0.12] TEST: Route removed in default VRF when source address deleted [ OK ] # 97.89 [+0.81] # 97.89 [+0.00] IPv6 delete address route tests # 101.62 [+3.73] Single device using src address # 101.76 [+0.13] TEST: Prefsrc removed when src address removed on other device [ OK ] # 101.76 [+0.00] Two devices with the same source address # 101.90 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 102.05 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 102.05 [+0.00] VRF with single device using src address # 102.18 [+0.14] TEST: Prefsrc removed when src address removed on other device [ OK ] # 102.19 [+0.00] VRF with two devices using src address # 102.32 [+0.13] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 102.46 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 102.46 [+0.00] src address and nexthop dev in same VRF # 102.60 [+0.14] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 102.67 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 102.94 [+0.27] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 103.01 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 103.02 [+0.00] src address and nexthop device in different VRF # 103.15 [+0.13] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 103.22 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 103.42 [+0.20] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 103.50 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 103.50 [+0.00] Table ID 0 # 103.62 [+0.12] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 103.63 [+0.00] Link local source route # 103.75 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 103.90 [+0.15] TEST: Prefsrc removed when delete ll addr [ OK ] # 103.97 [+0.06] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 104.15 [+0.19] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 105.39 [+1.23] # 105.39 [+0.00] IPv4 mangling tests # 111.85 [+6.46] TEST: Connection with correct parameters [ OK ] # 111.98 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 112.82 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 113.60 [+0.78] TEST: Connection with correct parameters - no mangling [ OK ] # 113.66 [+0.05] TEST: Connection check - server side [ OK ] # 115.36 [+1.70] # 115.36 [+0.00] IPv6 mangling tests # 121.87 [+6.51] TEST: Connection with correct parameters [ OK ] # 122.02 [+0.15] TEST: Connection with incorrect parameters [ OK ] # 122.82 [+0.80] TEST: Connection with correct parameters - mangling [ OK ] # 123.62 [+0.80] TEST: Connection with correct parameters - no mangling [ OK ] # 123.67 [+0.05] TEST: Connection check - server side [ OK ] # 125.33 [+1.66] # 125.33 [+0.00] IPv4 broadcast neighbour tests # 127.07 [+1.74] TEST: Resolved neighbour for broadcast address [ OK ] # 127.14 [+0.07] TEST: Resolved neighbour for network broadcast address [ OK ] # 127.21 [+0.07] TEST: Unresolved neighbour for broadcast address [ OK ] # 127.29 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 128.76 [+1.47] # 128.76 [+0.00] Fib6 garbage collection test # 141.73 [+12.97] TEST: ipv6 route garbage collection [ OK ] # 154.87 [+13.14] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 168.03 [+13.15] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 181.25 [+13.22] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 195.31 [+14.07] TEST: ipv6 route garbage collection (RA message) [ OK ] # 195.91 [+0.60] # 195.91 [+0.00] IPv4 multipath list receive tests # 207.40 [+11.49] TEST: Multipath route hit ratio (1.00) [ OK ] # 208.99 [+1.59] # 208.99 [+0.00] IPv6 multipath list receive tests # 220.79 [+11.80] TEST: Multipath route hit ratio (1.00) [ OK ] # 222.33 [+1.54] # 222.33 [+0.00] Tests passed: 229 # 222.33 [+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__->