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.38 [+0.38] # 0.38 [+0.00] Single path route test # 1.24 [+0.86] Start point # 1.33 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.41 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.54 [+0.12] Nexthop device deleted # 1.62 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.70 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.38 [+0.68] # 2.38 [+0.00] Multipath route test # 4.25 [+1.87] Start point # 4.36 [+0.11] TEST: IPv4 fibmatch [ OK ] # 4.50 [+0.14] TEST: IPv6 fibmatch [ OK ] # 4.63 [+0.13] One nexthop device deleted # 4.74 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.86 [+0.12] TEST: IPv6 - multipath down to single path [ OK ] # 4.98 [+0.13] Second nexthop device deleted # 5.09 [+0.11] TEST: IPv6 - no route [ OK ] # 5.65 [+0.56] # 5.65 [+0.00] Single path, admin down # 7.03 [+1.38] Start point # 7.13 [+0.10] TEST: IPv4 fibmatch [ OK ] # 7.23 [+0.09] TEST: IPv6 fibmatch [ OK ] # 7.33 [+0.10] Route deleted on down # 7.42 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.54 [+0.13] TEST: IPv6 fibmatch [ OK ] # 8.05 [+0.51] # 8.05 [+0.00] Admin down multipath # 9.97 [+1.91] Verify start point # 10.07 [+0.10] TEST: IPv4 fibmatch [ OK ] # 10.16 [+0.09] TEST: IPv6 fibmatch [ OK ] # 10.27 [+0.10] One device down, one up # 10.35 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 10.44 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.53 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.63 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 10.74 [+0.11] TEST: IPv4 flags on down device [ OK ] # 10.87 [+0.13] TEST: IPv6 flags on down device [ OK ] # 10.97 [+0.10] TEST: IPv4 flags on up device [ OK ] # 11.13 [+0.16] TEST: IPv6 flags on up device [ OK ] # 11.32 [+0.19] Other device down and up # 11.42 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 11.50 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 11.60 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 11.68 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 11.79 [+0.11] TEST: IPv4 flags on down device [ OK ] # 11.91 [+0.11] TEST: IPv6 flags on down device [ OK ] # 11.99 [+0.09] TEST: IPv4 flags on up device [ OK ] # 12.11 [+0.11] TEST: IPv6 flags on up device [ OK ] # 12.21 [+0.10] Both devices down # 12.28 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.37 [+0.09] TEST: IPv6 fibmatch [ OK ] # 12.98 [+0.60] # 12.98 [+0.00] Local carrier tests - single path # 14.27 [+1.29] Start point # 14.35 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.46 [+0.11] TEST: IPv6 fibmatch [ OK ] # 14.54 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 14.64 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 15.78 [+1.14] Carrier off on nexthop # 15.88 [+0.10] TEST: IPv4 fibmatch [ OK ] # 15.96 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.04 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 16.14 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 16.31 [+0.17] Route to local address with carrier down # 16.38 [+0.07] TEST: IPv4 fibmatch [ OK ] # 16.48 [+0.10] TEST: IPv6 fibmatch [ OK ] # 16.57 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 16.66 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 17.14 [+0.48] # 17.14 [+0.00] Single path route carrier test # 18.35 [+1.22] Start point # 18.44 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.53 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.62 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 18.69 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 19.83 [+1.14] Carrier down # 19.91 [+0.08] TEST: IPv4 fibmatch [ OK ] # 19.99 [+0.08] TEST: IPv6 fibmatch [ OK ] # 20.08 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 20.15 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 20.32 [+0.17] Second address added with carrier down # 20.40 [+0.09] TEST: IPv4 fibmatch [ OK ] # 20.48 [+0.08] TEST: IPv6 fibmatch [ OK ] # 20.56 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 20.64 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 24.85 [+4.22] # 24.86 [+0.00] IPv4 nexthop tests # 24.86 [+0.00] <<< write me >>> # 25.09 [+0.23] # 25.09 [+0.00] IPv6 nexthop tests # 25.17 [+0.08] TEST: Directly connected nexthop, unicast address [ OK ] # 25.27 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 25.37 [+0.09] TEST: Gateway is linklocal address [ OK ] # 25.47 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 25.56 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 25.66 [+0.11] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.75 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 25.83 [+0.08] TEST: Gateway can be local address in a VRF [ OK ] # 25.93 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 26.02 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 26.11 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 26.21 [+0.10] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 26.33 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 26.42 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 27.53 [+1.11] # 27.53 [+0.00] FIB rule with suppress_prefixlength # 29.19 [+1.65] TEST: FIB rule suppress test [ OK ] # 30.69 [+1.50] # 30.69 [+0.00] Fib6 info length calculation in route notify test # 34.61 [+3.92] TEST: ipv6 route add notify [ OK ] # 36.19 [+1.58] # 36.19 [+0.00] Fib4 info length calculation in route notify test # 40.11 [+3.92] TEST: ipv4 route add notify [ OK ] # 44.30 [+4.19] # 44.30 [+0.00] IPv6 route add / append tests # 44.65 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 44.99 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 45.34 [+0.34] TEST: Attempt to add duplicate route - reject route [ OK ] # 45.78 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 46.16 [+0.37] TEST: Add multipath route [ OK ] # 46.51 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 46.95 [+0.44] TEST: Route add with different metrics [ OK ] # 47.14 [+0.19] TEST: Route delete with metric [ OK ] # 47.14 [+0.00] # 47.14 [+0.00] IPv6 route replace tests # 47.58 [+0.44] TEST: Single path with single path [ OK ] # 48.03 [+0.45] TEST: Single path with multipath [ OK ] # 48.48 [+0.45] TEST: Single path with single path via multipath attribute [ OK ] # 48.92 [+0.43] TEST: Invalid nexthop [ OK ] # 49.27 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 49.73 [+0.46] TEST: Multipath with multipath [ OK ] # 50.16 [+0.44] TEST: Multipath with single path [ OK ] # 50.63 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 51.07 [+0.44] TEST: Multipath with dev-only [ OK ] # 51.51 [+0.44] TEST: Multipath - invalid first nexthop [ OK ] # 51.97 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 52.31 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 52.31 [+0.00] # 52.31 [+0.00] IPv6 route with dsfield tests # 52.48 [+0.17] TEST: Reject route with dsfield [ OK ] # 58.41 [+5.92] # 58.41 [+0.00] IPv4 route add / append tests # 58.76 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 59.11 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 59.46 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 59.91 [+0.46] TEST: Add new nexthop for existing prefix [ OK ] # 60.35 [+0.43] TEST: Append nexthop to existing route - gw [ OK ] # 60.78 [+0.43] TEST: Append nexthop to existing route - dev only [ OK ] # 61.23 [+0.45] TEST: Append nexthop to existing route - reject route [ OK ] # 61.59 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 61.95 [+0.36] TEST: Append nexthop to existing reject route - dev only [ OK ] # 62.30 [+0.35] TEST: add multipath route [ OK ] # 62.64 [+0.34] TEST: Attempt to add duplicate multipath route [ OK ] # 63.09 [+0.45] TEST: Route add with different metrics [ OK ] # 63.26 [+0.17] TEST: Route delete with metric [ OK ] # 63.26 [+0.00] # 63.26 [+0.00] IPv4 route replace tests # 63.73 [+0.47] TEST: Single path with single path [ OK ] # 64.16 [+0.42] TEST: Single path with multipath [ OK ] # 64.61 [+0.45] TEST: Single path with reject route [ OK ] # 65.04 [+0.43] TEST: Single path with single path via multipath attribute [ OK ] # 65.48 [+0.44] TEST: Invalid nexthop [ OK ] # 65.82 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 66.27 [+0.44] TEST: Multipath with multipath [ OK ] # 66.69 [+0.43] TEST: Multipath with single path [ OK ] # 67.16 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 67.60 [+0.44] TEST: Multipath with reject route [ OK ] # 68.05 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 68.49 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 68.86 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 70.28 [+1.42] TEST: Cached route removed from VRF port device [ OK ] # 70.28 [+0.00] # 70.28 [+0.00] IPv4 route with dsfield tests # 70.45 [+0.17] TEST: Reject route with dsfield 0x01 [ OK ] # 70.54 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 70.63 [+0.10] TEST: Reject route with dsfield 0x03 [ OK ] # 70.90 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 71.00 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 71.08 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 71.17 [+0.10] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 71.26 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 71.34 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 71.43 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 71.49 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 71.58 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 71.68 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 71.76 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 71.86 [+0.10] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 73.59 [+1.73] # 73.59 [+0.00] IPv6 prefix route tests # 75.60 [+2.01] TEST: Default metric [ OK ] # 75.94 [+0.34] TEST: User specified metric on first device [ OK ] # 76.25 [+0.31] TEST: User specified metric on second device [ OK ] # 76.44 [+0.18] TEST: Delete of address on first device [ OK ] # 76.64 [+0.20] TEST: Modify metric of address [ OK ] # 76.96 [+0.32] TEST: Prefix route removed on link down [ OK ] # 77.17 [+0.21] TEST: Prefix route with metric on link up [ OK ] # 77.48 [+0.30] TEST: Set metric with peer route on local side [ OK ] # 77.58 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 77.79 [+0.22] TEST: Modify metric and peer address on local side [ OK ] # 77.90 [+0.11] TEST: Modify metric and peer address on peer side [ OK ] # 78.86 [+0.95] # 78.86 [+0.00] IPv4 prefix route tests # 80.68 [+1.82] TEST: Default metric [ OK ] # 80.95 [+0.27] TEST: User specified metric on first device [ OK ] # 81.23 [+0.28] TEST: User specified metric on second device [ OK ] # 81.42 [+0.19] TEST: Delete of address on first device [ OK ] # 81.60 [+0.18] TEST: Modify metric of address [ OK ] # 81.77 [+0.17] TEST: Prefix route removed on link down [ OK ] # 81.95 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 82.32 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 82.59 [+0.27] TEST: Set metric of address with peer route [ OK ] # 82.77 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 83.72 [+0.94] # 83.72 [+0.00] IPv6 routes with metrics # 88.13 [+4.42] TEST: Single path route with mtu metric [ OK ] # 88.40 [+0.26] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 88.68 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 88.86 [+0.19] TEST: MTU of second leg [ OK ] # 89.05 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 89.28 [+0.23] TEST: Using route with mtu metric [ OK ] # 89.48 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 91.14 [+1.66] # 91.14 [+0.00] IPv4 route add / append tests # 95.58 [+4.44] TEST: Single path route with mtu metric [ OK ] # 95.76 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 95.98 [+0.22] TEST: Using route with mtu metric [ OK ] # 96.14 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 97.82 [+1.68] # 97.82 [+0.00] IPv4 route with IPv6 gateway tests # 104.22 [+6.39] TEST: Single path route with IPv6 gateway [ OK ] # 104.46 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 104.54 [+0.08] TEST: Single path route delete [ OK ] # 104.71 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 104.90 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 104.99 [+0.09] TEST: Multipath route delete exact match [ OK ] # 105.08 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 105.26 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 105.36 [+0.10] TEST: Multipath route delete exact match [ OK ] # 106.98 [+1.62] # 106.98 [+0.00] IPv4 rp_filter tests # 112.79 [+5.81] TEST: rp_filter passes local packets [ OK ] # 112.92 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 113.65 [+0.73] # 113.65 [+0.00] IPv4 delete address route tests # 116.38 [+2.73] Regular FIB info # 116.54 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 116.63 [+0.09] TEST: Route in default VRF not removed [ OK ] # 116.94 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 117.03 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 117.03 [+0.00] Identical FIB info with different table ID # 117.21 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 117.30 [+0.09] TEST: Route in default VRF not removed [ OK ] # 117.63 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 117.72 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 117.72 [+0.00] Table ID 0 # 117.88 [+0.16] TEST: Route removed in default VRF when source address deleted [ OK ] # 118.82 [+0.94] # 118.82 [+0.00] IPv6 delete address route tests # 123.37 [+4.54] Single device using src address # 123.54 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 123.54 [+0.00] Two devices with the same source address # 123.69 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 123.84 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 123.85 [+0.00] VRF with single device using src address # 124.03 [+0.19] TEST: Prefsrc removed when src address removed on other device [ OK ] # 124.04 [+0.00] VRF with two devices using src address # 124.20 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 124.38 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 124.38 [+0.00] src address and nexthop dev in same VRF # 124.54 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 124.64 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 124.96 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 125.04 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 125.04 [+0.00] src address and nexthop device in different VRF # 125.20 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 125.28 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 125.53 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 125.62 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 125.62 [+0.00] Table ID 0 # 125.79 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 125.79 [+0.00] Link local source route # 125.96 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 126.11 [+0.15] TEST: Prefsrc removed when delete ll addr [ OK ] # 126.19 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 126.45 [+0.26] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 127.94 [+1.49] # 127.94 [+0.00] IPv4 mangling tests # 135.51 [+7.57] TEST: Connection with correct parameters [ OK ] # 135.69 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 136.66 [+0.97] TEST: Connection with correct parameters - mangling [ OK ] # 137.51 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 137.57 [+0.06] TEST: Connection check - server side [ OK ] # 139.56 [+1.99] # 139.56 [+0.00] IPv6 mangling tests # 147.00 [+7.44] TEST: Connection with correct parameters [ OK ] # 147.20 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 148.07 [+0.87] TEST: Connection with correct parameters - mangling [ OK ] # 148.92 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 148.99 [+0.06] TEST: Connection check - server side [ OK ] # 150.99 [+2.00] # 150.99 [+0.00] IPv4 broadcast neighbour tests # 153.24 [+2.25] TEST: Resolved neighbour for broadcast address [ OK ] # 153.33 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 153.42 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 153.52 [+0.10] TEST: Unresolved neighbour for network broadcast address [ OK ] # 155.33 [+1.81] # 155.33 [+0.00] Fib6 garbage collection test # 168.52 [+13.19] TEST: ipv6 route garbage collection [ OK ] # 181.92 [+13.40] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 195.32 [+13.40] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 208.82 [+13.49] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 223.19 [+14.37] TEST: ipv6 route garbage collection (RA message) [ OK ] # 223.99 [+0.80] # 223.99 [+0.00] IPv4 multipath list receive tests # 240.38 [+16.39] TEST: Multipath route hit ratio (1.00) [ OK ] # 242.16 [+1.78] # 242.16 [+0.00] IPv6 multipath list receive tests # 260.13 [+17.97] TEST: Multipath route hit ratio (1.00) [ OK ] # 262.26 [+2.13] # 262.26 [+0.00] Tests passed: 229 # 262.26 [+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__->