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.36 [+0.36] # 0.37 [+0.00] Single path route test # 1.21 [+0.85] Start point # 1.29 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.38 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.51 [+0.13] Nexthop device deleted # 1.58 [+0.07] TEST: IPv4 fibmatch - no route [ OK ] # 1.67 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.19 [+0.51] # 2.19 [+0.00] Multipath route test # 3.90 [+1.71] Start point # 3.98 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.09 [+0.12] TEST: IPv6 fibmatch [ OK ] # 4.22 [+0.12] One nexthop device deleted # 4.31 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.39 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.52 [+0.13] Second nexthop device deleted # 4.62 [+0.10] TEST: IPv6 - no route [ OK ] # 5.19 [+0.57] # 5.19 [+0.00] Single path, admin down # 6.32 [+1.13] Start point # 6.39 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.48 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.55 [+0.08] Route deleted on down # 6.64 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.72 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.16 [+0.43] # 7.16 [+0.00] Admin down multipath # 8.77 [+1.62] Verify start point # 8.86 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.94 [+0.08] TEST: IPv6 fibmatch [ OK ] # 9.04 [+0.10] One device down, one up # 9.11 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 9.20 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 9.28 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.36 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.44 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.53 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.61 [+0.08] TEST: IPv4 flags on up device [ OK ] # 9.69 [+0.08] TEST: IPv6 flags on up device [ OK ] # 9.87 [+0.17] Other device down and up # 9.96 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 10.05 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.13 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.22 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 10.32 [+0.10] TEST: IPv4 flags on down device [ OK ] # 10.42 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.52 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.62 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.69 [+0.08] Both devices down # 10.77 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.90 [+0.12] TEST: IPv6 fibmatch [ OK ] # 11.50 [+0.61] # 11.50 [+0.00] Local carrier tests - single path # 12.79 [+1.28] Start point # 12.89 [+0.10] TEST: IPv4 fibmatch [ OK ] # 12.98 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.06 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 13.15 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 14.28 [+1.13] Carrier off on nexthop # 14.41 [+0.13] TEST: IPv4 fibmatch [ OK ] # 14.49 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.59 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 14.71 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 14.87 [+0.16] Route to local address with carrier down # 14.96 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.04 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.14 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 15.21 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 15.66 [+0.44] # 15.66 [+0.00] Single path route carrier test # 16.83 [+1.17] Start point # 16.90 [+0.07] TEST: IPv4 fibmatch [ OK ] # 16.99 [+0.09] TEST: IPv6 fibmatch [ OK ] # 17.08 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 17.17 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 18.29 [+1.12] Carrier down # 18.38 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.46 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.55 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 18.64 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 18.80 [+0.16] Second address added with carrier down # 18.89 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.97 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.04 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 19.12 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 23.50 [+4.38] # 23.50 [+0.00] IPv4 nexthop tests # 23.51 [+0.00] <<< write me >>> # 23.74 [+0.23] # 23.74 [+0.00] IPv6 nexthop tests # 23.83 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 23.92 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.01 [+0.09] TEST: Gateway is linklocal address [ OK ] # 24.10 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 24.19 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 24.29 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 24.37 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 24.46 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 24.56 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.66 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.74 [+0.08] TEST: Redirect to VRF lookup [ OK ] # 24.83 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.92 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 25.01 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.02 [+1.01] # 26.02 [+0.00] FIB rule with suppress_prefixlength # 27.74 [+1.71] TEST: FIB rule suppress test [ OK ] # 29.26 [+1.52] # 29.26 [+0.00] Fib6 info length calculation in route notify test # 33.18 [+3.92] TEST: ipv6 route add notify [ OK ] # 34.80 [+1.62] # 34.80 [+0.00] Fib4 info length calculation in route notify test # 38.80 [+4.00] TEST: ipv4 route add notify [ OK ] # 43.16 [+4.36] # 43.16 [+0.00] IPv6 route add / append tests # 43.55 [+0.40] TEST: Attempt to add duplicate route - gw [ OK ] # 43.93 [+0.38] TEST: Attempt to add duplicate route - dev only [ OK ] # 44.32 [+0.39] TEST: Attempt to add duplicate route - reject route [ OK ] # 44.90 [+0.58] TEST: Append nexthop to existing route - gw [ OK ] # 45.39 [+0.49] TEST: Add multipath route [ OK ] # 45.81 [+0.42] TEST: Attempt to add duplicate multipath route [ OK ] # 46.31 [+0.50] TEST: Route add with different metrics [ OK ] # 46.52 [+0.21] TEST: Route delete with metric [ OK ] # 46.52 [+0.00] # 46.52 [+0.00] IPv6 route replace tests # 46.96 [+0.44] TEST: Single path with single path [ OK ] # 47.41 [+0.45] TEST: Single path with multipath [ OK ] # 47.84 [+0.43] TEST: Single path with single path via multipath attribute [ OK ] # 48.32 [+0.48] TEST: Invalid nexthop [ OK ] # 48.77 [+0.45] TEST: Single path - replace of non-existent route [ OK ] # 49.21 [+0.45] TEST: Multipath with multipath [ OK ] # 49.69 [+0.47] TEST: Multipath with single path [ OK ] # 50.17 [+0.48] TEST: Multipath with single path via multipath attribute [ OK ] # 50.65 [+0.49] TEST: Multipath with dev-only [ OK ] # 51.12 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 51.56 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 51.91 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 51.91 [+0.00] # 51.91 [+0.00] IPv6 route with dsfield tests # 52.08 [+0.17] TEST: Reject route with dsfield [ OK ] # 59.08 [+7.00] # 59.08 [+0.00] IPv4 route add / append tests # 59.54 [+0.46] TEST: Attempt to add duplicate route - gw [ OK ] # 60.00 [+0.45] TEST: Attempt to add duplicate route - dev only [ OK ] # 60.48 [+0.48] TEST: Attempt to add duplicate route - reject route [ OK ] # 61.16 [+0.68] TEST: Add new nexthop for existing prefix [ OK ] # 61.78 [+0.62] TEST: Append nexthop to existing route - gw [ OK ] # 62.44 [+0.66] TEST: Append nexthop to existing route - dev only [ OK ] # 63.14 [+0.70] TEST: Append nexthop to existing route - reject route [ OK ] # 63.68 [+0.54] TEST: Append nexthop to existing reject route - gw [ OK ] # 64.26 [+0.58] TEST: Append nexthop to existing reject route - dev only [ OK ] # 64.79 [+0.53] TEST: add multipath route [ OK ] # 65.29 [+0.50] TEST: Attempt to add duplicate multipath route [ OK ] # 65.91 [+0.62] TEST: Route add with different metrics [ OK ] # 66.15 [+0.24] TEST: Route delete with metric [ OK ] # 66.16 [+0.00] # 66.16 [+0.00] IPv4 route replace tests # 66.77 [+0.61] TEST: Single path with single path [ OK ] # 67.39 [+0.62] TEST: Single path with multipath [ OK ] # 68.06 [+0.67] TEST: Single path with reject route [ OK ] # 68.66 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 69.26 [+0.59] TEST: Invalid nexthop [ OK ] # 69.81 [+0.55] TEST: Single path - replace of non-existent route [ OK ] # 70.45 [+0.64] TEST: Multipath with multipath [ OK ] # 71.10 [+0.65] TEST: Multipath with single path [ OK ] # 71.83 [+0.73] TEST: Multipath with single path via multipath attribute [ OK ] # 72.43 [+0.60] TEST: Multipath with reject route [ OK ] # 73.06 [+0.64] TEST: Multipath - invalid first nexthop [ OK ] # 73.72 [+0.66] TEST: Multipath - invalid second nexthop [ OK ] # 74.21 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 76.18 [+1.97] TEST: Cached route removed from VRF port device [ OK ] # 76.18 [+0.01] # 76.18 [+0.00] IPv4 route with dsfield tests # 76.44 [+0.26] TEST: Reject route with dsfield 0x01 [ OK ] # 76.56 [+0.12] TEST: Reject route with dsfield 0x02 [ OK ] # 76.70 [+0.14] TEST: Reject route with dsfield 0x03 [ OK ] # 77.06 [+0.36] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 77.21 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 77.33 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 77.45 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 77.59 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 77.69 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 77.85 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 77.99 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 78.10 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 78.22 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 78.34 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 78.46 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 80.83 [+2.37] # 80.83 [+0.00] IPv6 prefix route tests # 83.09 [+2.26] TEST: Default metric [ OK ] # 83.44 [+0.35] TEST: User specified metric on first device [ OK ] # 83.78 [+0.34] TEST: User specified metric on second device [ OK ] # 84.03 [+0.24] TEST: Delete of address on first device [ OK ] # 84.25 [+0.22] TEST: Modify metric of address [ OK ] # 84.63 [+0.39] TEST: Prefix route removed on link down [ OK ] # 84.89 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 85.24 [+0.35] TEST: Set metric with peer route on local side [ OK ] # 85.36 [+0.12] TEST: Set metric with peer route on peer side [ OK ] # 85.61 [+0.25] TEST: Modify metric and peer address on local side [ OK ] # 85.72 [+0.11] TEST: Modify metric and peer address on peer side [ OK ] # 86.84 [+1.12] # 86.84 [+0.00] IPv4 prefix route tests # 88.87 [+2.02] TEST: Default metric [ OK ] # 89.19 [+0.33] TEST: User specified metric on first device [ OK ] # 89.49 [+0.30] TEST: User specified metric on second device [ OK ] # 89.69 [+0.20] TEST: Delete of address on first device [ OK ] # 89.91 [+0.22] TEST: Modify metric of address [ OK ] # 90.12 [+0.21] TEST: Prefix route removed on link down [ OK ] # 90.32 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 90.75 [+0.43] TEST: Modify metric of .0/24 address [ OK ] # 91.04 [+0.29] TEST: Set metric of address with peer route [ OK ] # 91.24 [+0.20] TEST: Modify metric and peer address for peer route [ OK ] # 92.23 [+0.99] # 92.23 [+0.00] IPv6 routes with metrics # 97.13 [+4.90] TEST: Single path route with mtu metric [ OK ] # 97.46 [+0.33] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 97.75 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 97.93 [+0.18] TEST: MTU of second leg [ OK ] # 98.12 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 98.35 [+0.23] TEST: Using route with mtu metric [ OK ] # 98.51 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 100.23 [+1.71] # 100.23 [+0.00] IPv4 route add / append tests # 104.68 [+4.45] TEST: Single path route with mtu metric [ OK ] # 104.85 [+0.17] TEST: Multipath route with mtu metric [ OK ] # 105.08 [+0.23] TEST: Using route with mtu metric [ OK ] # 105.25 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 106.99 [+1.74] # 106.99 [+0.00] IPv4 route with IPv6 gateway tests # 113.45 [+6.46] TEST: Single path route with IPv6 gateway [ OK ] # 113.69 [+0.25] TEST: Single path route with IPv6 gateway - ping [ OK ] # 113.80 [+0.11] TEST: Single path route delete [ OK ] # 113.97 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 114.17 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 114.29 [+0.12] TEST: Multipath route delete exact match [ OK ] # 114.39 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 114.58 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 114.68 [+0.09] TEST: Multipath route delete exact match [ OK ] # 116.42 [+1.74] # 116.42 [+0.00] IPv4 rp_filter tests # 122.40 [+5.98] TEST: rp_filter passes local packets [ OK ] # 122.53 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 123.29 [+0.75] # 123.29 [+0.00] IPv4 delete address route tests # 126.03 [+2.74] Regular FIB info # 126.19 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 126.28 [+0.09] TEST: Route in default VRF not removed [ OK ] # 126.62 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 126.70 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 126.70 [+0.00] Identical FIB info with different table ID # 126.89 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 126.98 [+0.09] TEST: Route in default VRF not removed [ OK ] # 127.30 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 127.38 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 127.38 [+0.00] Table ID 0 # 127.53 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 128.46 [+0.94] # 128.47 [+0.00] IPv6 delete address route tests # 132.95 [+4.48] Single device using src address # 133.11 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 133.12 [+0.00] Two devices with the same source address # 133.28 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 133.43 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 133.44 [+0.00] VRF with single device using src address # 133.62 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 133.62 [+0.00] VRF with two devices using src address # 133.79 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 133.96 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 133.96 [+0.00] src address and nexthop dev in same VRF # 134.11 [+0.15] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 134.19 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 134.51 [+0.33] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 134.58 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 134.59 [+0.00] src address and nexthop device in different VRF # 134.77 [+0.18] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 134.85 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 135.08 [+0.24] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 135.16 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 135.17 [+0.00] Table ID 0 # 135.33 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 135.33 [+0.00] Link local source route # 135.50 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 135.66 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 135.76 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 136.00 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 137.46 [+1.47] # 137.46 [+0.00] IPv4 mangling tests # 144.98 [+7.51] TEST: Connection with correct parameters [ OK ] # 145.15 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 146.16 [+1.01] TEST: Connection with correct parameters - mangling [ OK ] # 146.99 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 147.05 [+0.06] TEST: Connection check - server side [ OK ] # 149.12 [+2.07] # 149.12 [+0.00] IPv6 mangling tests # 156.46 [+7.33] TEST: Connection with correct parameters [ OK ] # 156.66 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 157.51 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 158.37 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 158.44 [+0.07] TEST: Connection check - server side [ OK ] # 160.43 [+1.99] # 160.43 [+0.00] IPv4 broadcast neighbour tests # 162.58 [+2.15] TEST: Resolved neighbour for broadcast address [ OK ] # 162.67 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 162.75 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 162.85 [+0.10] TEST: Unresolved neighbour for network broadcast address [ OK ] # 164.64 [+1.79] # 164.64 [+0.00] Fib6 garbage collection test # 177.79 [+13.15] TEST: ipv6 route garbage collection [ OK ] # 191.18 [+13.40] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 204.58 [+13.40] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 218.07 [+13.49] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 232.27 [+14.21] TEST: ipv6 route garbage collection (RA message) [ OK ] # 233.04 [+0.76] # 233.04 [+0.00] IPv4 multipath list receive tests # 249.21 [+16.17] TEST: Multipath route hit ratio (1.00) [ OK ] # 250.97 [+1.77] # 250.97 [+0.00] IPv6 multipath list receive tests # 267.09 [+16.12] TEST: Multipath route hit ratio (1.00) [ OK ] # 268.89 [+1.79] # 268.89 [+0.00] Tests passed: 229 # 268.89 [+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__->