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.42 [+0.42] # 0.42 [+0.00] Single path route test # 1.30 [+0.88] Start point # 1.37 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.46 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.58 [+0.13] Nexthop device deleted # 1.67 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.75 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.28 [+0.54] # 2.28 [+0.00] Multipath route test # 3.91 [+1.63] Start point # 3.99 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.07 [+0.09] TEST: IPv6 fibmatch [ OK ] # 4.21 [+0.14] One nexthop device deleted # 4.28 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.37 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 4.48 [+0.11] Second nexthop device deleted # 4.56 [+0.09] TEST: IPv6 - no route [ OK ] # 5.07 [+0.51] # 5.07 [+0.00] Single path, admin down # 6.17 [+1.10] Start point # 6.25 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.34 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.41 [+0.07] Route deleted on down # 6.49 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.57 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.99 [+0.41] # 6.99 [+0.00] Admin down multipath # 8.56 [+1.57] Verify start point # 8.64 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.72 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.79 [+0.08] One device down, one up # 8.87 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 8.96 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 9.04 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.13 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 9.23 [+0.10] TEST: IPv4 flags on down device [ OK ] # 9.32 [+0.08] TEST: IPv6 flags on down device [ OK ] # 9.40 [+0.09] TEST: IPv4 flags on up device [ OK ] # 9.50 [+0.09] TEST: IPv6 flags on up device [ OK ] # 9.69 [+0.20] Other device down and up # 9.78 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 9.86 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 9.94 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.02 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.12 [+0.10] TEST: IPv4 flags on down device [ OK ] # 10.21 [+0.09] TEST: IPv6 flags on down device [ OK ] # 10.30 [+0.09] TEST: IPv4 flags on up device [ OK ] # 10.38 [+0.08] TEST: IPv6 flags on up device [ OK ] # 10.47 [+0.09] Both devices down # 10.55 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.63 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.17 [+0.54] # 11.17 [+0.00] Local carrier tests - single path # 12.37 [+1.20] Start point # 12.46 [+0.09] TEST: IPv4 fibmatch [ OK ] # 12.54 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.62 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 12.70 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 13.82 [+1.12] Carrier off on nexthop # 13.90 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.00 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.07 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 14.14 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 14.30 [+0.16] Route to local address with carrier down # 14.37 [+0.07] TEST: IPv4 fibmatch [ OK ] # 14.46 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.55 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 14.64 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 15.09 [+0.44] # 15.09 [+0.00] Single path route carrier test # 16.26 [+1.17] Start point # 16.33 [+0.08] TEST: IPv4 fibmatch [ OK ] # 16.42 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.50 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 16.58 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 17.72 [+1.13] Carrier down # 17.80 [+0.08] TEST: IPv4 fibmatch [ OK ] # 17.89 [+0.08] TEST: IPv6 fibmatch [ OK ] # 17.97 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.05 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 18.21 [+0.16] Second address added with carrier down # 18.28 [+0.07] TEST: IPv4 fibmatch [ OK ] # 18.37 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.46 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 18.55 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 22.62 [+4.08] # 22.62 [+0.00] IPv4 nexthop tests # 22.63 [+0.00] <<< write me >>> # 22.84 [+0.21] # 22.84 [+0.00] IPv6 nexthop tests # 22.93 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 23.02 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.11 [+0.10] TEST: Gateway is linklocal address [ OK ] # 23.21 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 23.31 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 23.40 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 23.49 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 23.59 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 23.68 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 23.78 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 23.87 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 23.96 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.05 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 24.14 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 25.12 [+0.98] # 25.12 [+0.00] FIB rule with suppress_prefixlength # 26.78 [+1.67] TEST: FIB rule suppress test [ OK ] # 28.35 [+1.57] # 28.35 [+0.00] Fib6 info length calculation in route notify test # 32.31 [+3.96] TEST: ipv6 route add notify [ OK ] # 33.99 [+1.68] # 33.99 [+0.00] Fib4 info length calculation in route notify test # 38.05 [+4.07] TEST: ipv4 route add notify [ OK ] # 42.57 [+4.52] # 42.57 [+0.00] IPv6 route add / append tests # 42.95 [+0.37] TEST: Attempt to add duplicate route - gw [ OK ] # 43.30 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 43.65 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 44.15 [+0.50] TEST: Append nexthop to existing route - gw [ OK ] # 44.53 [+0.38] TEST: Add multipath route [ OK ] # 44.87 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 45.36 [+0.49] TEST: Route add with different metrics [ OK ] # 45.59 [+0.22] TEST: Route delete with metric [ OK ] # 45.59 [+0.00] # 45.59 [+0.00] IPv6 route replace tests # 46.01 [+0.42] TEST: Single path with single path [ OK ] # 46.55 [+0.54] TEST: Single path with multipath [ OK ] # 47.05 [+0.50] TEST: Single path with single path via multipath attribute [ OK ] # 47.55 [+0.50] TEST: Invalid nexthop [ OK ] # 47.90 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 48.39 [+0.49] TEST: Multipath with multipath [ OK ] # 48.84 [+0.45] TEST: Multipath with single path [ OK ] # 49.28 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 49.74 [+0.45] TEST: Multipath with dev-only [ OK ] # 50.19 [+0.46] TEST: Multipath - invalid first nexthop [ OK ] # 50.65 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 50.99 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 50.99 [+0.00] # 50.99 [+0.00] IPv6 route with dsfield tests # 51.17 [+0.18] TEST: Reject route with dsfield [ OK ] # 57.25 [+6.08] # 57.25 [+0.00] IPv4 route add / append tests # 57.59 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 57.96 [+0.37] TEST: Attempt to add duplicate route - dev only [ OK ] # 58.30 [+0.34] TEST: Attempt to add duplicate route - reject route [ OK ] # 58.74 [+0.44] TEST: Add new nexthop for existing prefix [ OK ] # 59.17 [+0.43] TEST: Append nexthop to existing route - gw [ OK ] # 59.62 [+0.45] TEST: Append nexthop to existing route - dev only [ OK ] # 60.07 [+0.45] TEST: Append nexthop to existing route - reject route [ OK ] # 60.42 [+0.35] TEST: Append nexthop to existing reject route - gw [ OK ] # 60.80 [+0.38] TEST: Append nexthop to existing reject route - dev only [ OK ] # 61.15 [+0.35] TEST: add multipath route [ OK ] # 61.50 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 61.92 [+0.42] TEST: Route add with different metrics [ OK ] # 62.10 [+0.18] TEST: Route delete with metric [ OK ] # 62.11 [+0.00] # 62.11 [+0.00] IPv4 route replace tests # 62.60 [+0.49] TEST: Single path with single path [ OK ] # 63.07 [+0.47] TEST: Single path with multipath [ OK ] # 63.50 [+0.43] TEST: Single path with reject route [ OK ] # 63.96 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 64.39 [+0.43] TEST: Invalid nexthop [ OK ] # 64.73 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 65.26 [+0.53] TEST: Multipath with multipath [ OK ] # 65.70 [+0.45] TEST: Multipath with single path [ OK ] # 66.12 [+0.42] TEST: Multipath with single path via multipath attribute [ OK ] # 66.57 [+0.45] TEST: Multipath with reject route [ OK ] # 67.01 [+0.44] TEST: Multipath - invalid first nexthop [ OK ] # 67.44 [+0.43] TEST: Multipath - invalid second nexthop [ OK ] # 67.78 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 69.16 [+1.39] TEST: Cached route removed from VRF port device [ OK ] # 69.17 [+0.00] # 69.17 [+0.00] IPv4 route with dsfield tests # 69.35 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 69.44 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 69.53 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 69.79 [+0.26] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 69.88 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 69.97 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 70.05 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 70.14 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 70.22 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 70.31 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 70.41 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 70.49 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 70.59 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 70.68 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 70.77 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 72.41 [+1.65] # 72.41 [+0.00] IPv6 prefix route tests # 74.27 [+1.86] TEST: Default metric [ OK ] # 74.56 [+0.29] TEST: User specified metric on first device [ OK ] # 74.86 [+0.30] TEST: User specified metric on second device [ OK ] # 75.04 [+0.18] TEST: Delete of address on first device [ OK ] # 75.22 [+0.19] TEST: Modify metric of address [ OK ] # 75.52 [+0.30] TEST: Prefix route removed on link down [ OK ] # 75.69 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 75.98 [+0.29] TEST: Set metric with peer route on local side [ OK ] # 76.09 [+0.11] TEST: Set metric with peer route on peer side [ OK ] # 76.28 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 76.38 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 77.33 [+0.95] # 77.33 [+0.00] IPv4 prefix route tests # 79.09 [+1.76] TEST: Default metric [ OK ] # 79.36 [+0.27] TEST: User specified metric on first device [ OK ] # 79.63 [+0.27] TEST: User specified metric on second device [ OK ] # 79.82 [+0.19] TEST: Delete of address on first device [ OK ] # 80.00 [+0.18] TEST: Modify metric of address [ OK ] # 80.17 [+0.17] TEST: Prefix route removed on link down [ OK ] # 80.35 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 80.70 [+0.35] TEST: Modify metric of .0/24 address [ OK ] # 80.97 [+0.27] TEST: Set metric of address with peer route [ OK ] # 81.14 [+0.17] TEST: Modify metric and peer address for peer route [ OK ] # 82.12 [+0.98] # 82.12 [+0.00] IPv6 routes with metrics # 86.52 [+4.40] TEST: Single path route with mtu metric [ OK ] # 86.81 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 87.09 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 87.27 [+0.18] TEST: MTU of second leg [ OK ] # 87.47 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 87.69 [+0.22] TEST: Using route with mtu metric [ OK ] # 87.84 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 89.53 [+1.69] # 89.53 [+0.00] IPv4 route add / append tests # 93.98 [+4.45] TEST: Single path route with mtu metric [ OK ] # 94.16 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 94.39 [+0.23] TEST: Using route with mtu metric [ OK ] # 94.55 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.24 [+1.69] # 96.24 [+0.00] IPv4 route with IPv6 gateway tests # 102.75 [+6.51] TEST: Single path route with IPv6 gateway [ OK ] # 102.99 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 103.07 [+0.08] TEST: Single path route delete [ OK ] # 103.24 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 103.43 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 103.52 [+0.09] TEST: Multipath route delete exact match [ OK ] # 103.62 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 103.80 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 103.90 [+0.09] TEST: Multipath route delete exact match [ OK ] # 105.56 [+1.66] # 105.56 [+0.00] IPv4 rp_filter tests # 111.39 [+5.83] TEST: rp_filter passes local packets [ OK ] # 111.54 [+0.15] TEST: rp_filter passes loopback packets [ OK ] # 112.40 [+0.86] # 112.40 [+0.00] IPv4 delete address route tests # 115.35 [+2.95] Regular FIB info # 115.52 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 115.63 [+0.11] TEST: Route in default VRF not removed [ OK ] # 115.95 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 116.02 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 116.02 [+0.00] Identical FIB info with different table ID # 116.18 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 116.28 [+0.10] TEST: Route in default VRF not removed [ OK ] # 116.65 [+0.38] TEST: Route removed in default VRF when source address deleted [ OK ] # 116.73 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 116.73 [+0.00] Table ID 0 # 116.88 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 117.85 [+0.96] # 117.85 [+0.00] IPv6 delete address route tests # 122.97 [+5.12] Single device using src address # 123.14 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 123.14 [+0.00] Two devices with the same source address # 123.31 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 123.46 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 123.46 [+0.00] VRF with single device using src address # 123.64 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 123.64 [+0.00] VRF with two devices using src address # 123.81 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 123.98 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 123.98 [+0.00] src address and nexthop dev in same VRF # 124.16 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 124.25 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 124.56 [+0.31] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 124.64 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 124.64 [+0.00] src address and nexthop device in different VRF # 124.82 [+0.18] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 124.91 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 125.17 [+0.26] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 125.26 [+0.10] TEST: Prefsrc removed in default VRF [ OK ] # 125.27 [+0.00] Table ID 0 # 125.42 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 125.43 [+0.00] Link local source route # 125.59 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 125.77 [+0.18] TEST: Prefsrc removed when delete ll addr [ OK ] # 125.86 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 126.12 [+0.26] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 127.65 [+1.52] # 127.65 [+0.00] IPv4 mangling tests # 135.15 [+7.50] TEST: Connection with correct parameters [ OK ] # 135.33 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 136.25 [+0.92] TEST: Connection with correct parameters - mangling [ OK ] # 137.09 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 137.15 [+0.06] TEST: Connection check - server side [ OK ] # 139.16 [+2.00] # 139.16 [+0.00] IPv6 mangling tests # 146.55 [+7.40] TEST: Connection with correct parameters [ OK ] # 146.77 [+0.21] TEST: Connection with incorrect parameters [ OK ] # 147.62 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 148.49 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 148.55 [+0.06] TEST: Connection check - server side [ OK ] # 150.66 [+2.11] # 150.66 [+0.00] IPv4 broadcast neighbour tests # 152.98 [+2.32] TEST: Resolved neighbour for broadcast address [ OK ] # 153.08 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 153.18 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 153.26 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 155.16 [+1.90] # 155.16 [+0.00] Fib6 garbage collection test # 168.36 [+13.20] TEST: ipv6 route garbage collection [ OK ] # 181.80 [+13.44] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 195.21 [+13.41] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 208.75 [+13.54] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 222.99 [+14.24] TEST: ipv6 route garbage collection (RA message) [ OK ] # 223.72 [+0.73] # 223.72 [+0.00] IPv4 multipath list receive tests # 239.98 [+16.25] TEST: Multipath route hit ratio (1.00) [ OK ] # 241.77 [+1.79] # 241.77 [+0.00] IPv6 multipath list receive tests # 257.87 [+16.10] TEST: Multipath route hit ratio (1.00) [ OK ] # 259.68 [+1.81] # 259.68 [+0.00] Tests passed: 229 # 259.68 [+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__->