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.33 [+0.92] Start point # 1.42 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.51 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.63 [+0.12] Nexthop device deleted # 1.71 [+0.07] TEST: IPv4 fibmatch - no route [ OK ] # 1.80 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.31 [+0.51] # 2.31 [+0.00] Multipath route test # 4.12 [+1.81] Start point # 4.20 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.33 [+0.13] TEST: IPv6 fibmatch [ OK ] # 4.46 [+0.13] One nexthop device deleted # 4.55 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.63 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.75 [+0.12] Second nexthop device deleted # 4.83 [+0.08] TEST: IPv6 - no route [ OK ] # 5.34 [+0.51] # 5.34 [+0.00] Single path, admin down # 6.41 [+1.06] Start point # 6.48 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.56 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.65 [+0.08] Route deleted on down # 6.73 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.80 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.22 [+0.42] # 7.22 [+0.00] Admin down multipath # 8.79 [+1.57] Verify start point # 8.87 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.94 [+0.07] TEST: IPv6 fibmatch [ OK ] # 9.02 [+0.08] One device down, one up # 9.10 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 9.18 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.25 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 9.33 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.41 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.55 [+0.14] TEST: IPv6 flags on down device [ OK ] # 9.64 [+0.09] TEST: IPv4 flags on up device [ OK ] # 9.74 [+0.10] TEST: IPv6 flags on up device [ OK ] # 9.92 [+0.18] Other device down and up # 10.00 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 10.08 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 10.17 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.25 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.35 [+0.10] TEST: IPv4 flags on down device [ OK ] # 10.44 [+0.09] TEST: IPv6 flags on down device [ OK ] # 10.54 [+0.09] TEST: IPv4 flags on up device [ OK ] # 10.64 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.72 [+0.09] Both devices down # 10.85 [+0.12] TEST: IPv4 fibmatch [ OK ] # 10.94 [+0.09] TEST: IPv6 fibmatch [ OK ] # 11.57 [+0.64] # 11.57 [+0.00] Local carrier tests - single path # 12.99 [+1.41] Start point # 13.11 [+0.12] TEST: IPv4 fibmatch [ OK ] # 13.20 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.30 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 13.42 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 14.57 [+1.15] Carrier off on nexthop # 14.65 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.78 [+0.13] TEST: IPv6 fibmatch [ OK ] # 14.87 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 14.97 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 15.14 [+0.17] Route to local address with carrier down # 15.22 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.31 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.39 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 15.47 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 15.92 [+0.46] # 15.92 [+0.00] Single path route carrier test # 17.30 [+1.38] Start point # 17.43 [+0.13] TEST: IPv4 fibmatch [ OK ] # 17.55 [+0.12] TEST: IPv6 fibmatch [ OK ] # 17.65 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 17.77 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 18.92 [+1.15] Carrier down # 19.02 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.11 [+0.09] TEST: IPv6 fibmatch [ OK ] # 19.24 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 19.38 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 19.59 [+0.21] Second address added with carrier down # 19.68 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.76 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.85 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 19.98 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 25.08 [+5.09] # 25.08 [+0.00] IPv4 nexthop tests # 25.08 [+0.00] <<< write me >>> # 25.35 [+0.27] # 25.35 [+0.00] IPv6 nexthop tests # 25.46 [+0.11] TEST: Directly connected nexthop, unicast address [ OK ] # 25.56 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 25.66 [+0.09] TEST: Gateway is linklocal address [ OK ] # 25.75 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 25.84 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 25.94 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 26.03 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 26.13 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 26.23 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 26.33 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 26.42 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 26.52 [+0.10] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 26.61 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 26.70 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 27.64 [+0.94] # 27.64 [+0.00] FIB rule with suppress_prefixlength # 29.44 [+1.81] TEST: FIB rule suppress test [ OK ] # 31.07 [+1.62] # 31.07 [+0.00] Fib6 info length calculation in route notify test # 35.10 [+4.03] TEST: ipv6 route add notify [ OK ] # 36.82 [+1.72] # 36.82 [+0.00] Fib4 info length calculation in route notify test # 40.78 [+3.96] TEST: ipv4 route add notify [ OK ] # 45.09 [+4.31] # 45.09 [+0.00] IPv6 route add / append tests # 45.44 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 45.78 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 46.17 [+0.38] TEST: Attempt to add duplicate route - reject route [ OK ] # 46.63 [+0.46] TEST: Append nexthop to existing route - gw [ OK ] # 47.00 [+0.37] TEST: Add multipath route [ OK ] # 47.36 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 47.80 [+0.44] TEST: Route add with different metrics [ OK ] # 48.00 [+0.20] TEST: Route delete with metric [ OK ] # 48.00 [+0.00] # 48.00 [+0.00] IPv6 route replace tests # 48.45 [+0.45] TEST: Single path with single path [ OK ] # 48.90 [+0.45] TEST: Single path with multipath [ OK ] # 49.35 [+0.45] TEST: Single path with single path via multipath attribute [ OK ] # 49.81 [+0.46] TEST: Invalid nexthop [ OK ] # 50.16 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 50.64 [+0.48] TEST: Multipath with multipath [ OK ] # 51.12 [+0.48] TEST: Multipath with single path [ OK ] # 51.57 [+0.45] TEST: Multipath with single path via multipath attribute [ OK ] # 52.03 [+0.46] TEST: Multipath with dev-only [ OK ] # 52.49 [+0.46] TEST: Multipath - invalid first nexthop [ OK ] # 52.96 [+0.47] TEST: Multipath - invalid second nexthop [ OK ] # 53.32 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 53.32 [+0.00] # 53.32 [+0.00] IPv6 route with dsfield tests # 53.52 [+0.20] TEST: Reject route with dsfield [ OK ] # 60.00 [+6.49] # 60.00 [+0.00] IPv4 route add / append tests # 60.37 [+0.37] TEST: Attempt to add duplicate route - gw [ OK ] # 60.79 [+0.42] TEST: Attempt to add duplicate route - dev only [ OK ] # 61.22 [+0.43] TEST: Attempt to add duplicate route - reject route [ OK ] # 61.68 [+0.46] TEST: Add new nexthop for existing prefix [ OK ] # 62.16 [+0.48] TEST: Append nexthop to existing route - gw [ OK ] # 62.59 [+0.43] TEST: Append nexthop to existing route - dev only [ OK ] # 63.09 [+0.50] TEST: Append nexthop to existing route - reject route [ OK ] # 63.45 [+0.35] TEST: Append nexthop to existing reject route - gw [ OK ] # 63.83 [+0.39] TEST: Append nexthop to existing reject route - dev only [ OK ] # 64.22 [+0.39] TEST: add multipath route [ OK ] # 64.55 [+0.32] TEST: Attempt to add duplicate multipath route [ OK ] # 65.02 [+0.48] TEST: Route add with different metrics [ OK ] # 65.23 [+0.20] TEST: Route delete with metric [ OK ] # 65.23 [+0.00] # 65.23 [+0.00] IPv4 route replace tests # 65.66 [+0.43] TEST: Single path with single path [ OK ] # 66.16 [+0.50] TEST: Single path with multipath [ OK ] # 66.59 [+0.43] TEST: Single path with reject route [ OK ] # 67.00 [+0.41] TEST: Single path with single path via multipath attribute [ OK ] # 67.47 [+0.46] TEST: Invalid nexthop [ OK ] # 67.79 [+0.32] TEST: Single path - replace of non-existent route [ OK ] # 68.23 [+0.44] TEST: Multipath with multipath [ OK ] # 68.68 [+0.45] TEST: Multipath with single path [ OK ] # 69.10 [+0.41] TEST: Multipath with single path via multipath attribute [ OK ] # 69.51 [+0.41] TEST: Multipath with reject route [ OK ] # 69.92 [+0.42] TEST: Multipath - invalid first nexthop [ OK ] # 70.38 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 70.74 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 72.12 [+1.39] TEST: Cached route removed from VRF port device [ OK ] # 72.13 [+0.00] # 72.13 [+0.00] IPv4 route with dsfield tests # 72.33 [+0.20] TEST: Reject route with dsfield 0x01 [ OK ] # 72.42 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 72.51 [+0.08] TEST: Reject route with dsfield 0x03 [ OK ] # 72.78 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 72.86 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 72.94 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 73.01 [+0.07] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 73.08 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 73.17 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 73.26 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 73.34 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 73.43 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 73.52 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 73.60 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 73.70 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 75.39 [+1.69] # 75.39 [+0.00] IPv6 prefix route tests # 77.26 [+1.86] TEST: Default metric [ OK ] # 77.53 [+0.28] TEST: User specified metric on first device [ OK ] # 77.84 [+0.31] TEST: User specified metric on second device [ OK ] # 78.02 [+0.19] TEST: Delete of address on first device [ OK ] # 78.22 [+0.20] TEST: Modify metric of address [ OK ] # 78.52 [+0.30] TEST: Prefix route removed on link down [ OK ] # 78.71 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 78.98 [+0.27] TEST: Set metric with peer route on local side [ OK ] # 79.07 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 79.26 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 79.35 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 80.31 [+0.97] # 80.32 [+0.00] IPv4 prefix route tests # 82.08 [+1.76] TEST: Default metric [ OK ] # 82.33 [+0.25] TEST: User specified metric on first device [ OK ] # 82.59 [+0.26] TEST: User specified metric on second device [ OK ] # 82.76 [+0.17] TEST: Delete of address on first device [ OK ] # 82.94 [+0.18] TEST: Modify metric of address [ OK ] # 83.11 [+0.17] TEST: Prefix route removed on link down [ OK ] # 83.29 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 83.65 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 83.94 [+0.29] TEST: Set metric of address with peer route [ OK ] # 84.13 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 85.08 [+0.95] # 85.08 [+0.00] IPv6 routes with metrics # 89.57 [+4.49] TEST: Single path route with mtu metric [ OK ] # 89.84 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 90.12 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 90.33 [+0.21] TEST: MTU of second leg [ OK ] # 90.54 [+0.21] TEST: Multipath route with mtu metric [ OK ] # 90.75 [+0.21] TEST: Using route with mtu metric [ OK ] # 90.91 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 92.62 [+1.70] # 92.62 [+0.00] IPv4 route add / append tests # 96.95 [+4.33] TEST: Single path route with mtu metric [ OK ] # 97.12 [+0.17] TEST: Multipath route with mtu metric [ OK ] # 97.34 [+0.22] TEST: Using route with mtu metric [ OK ] # 97.50 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 99.23 [+1.73] # 99.23 [+0.00] IPv4 route with IPv6 gateway tests # 105.55 [+6.33] TEST: Single path route with IPv6 gateway [ OK ] # 105.79 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 105.89 [+0.09] TEST: Single path route delete [ OK ] # 106.06 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 106.24 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 106.34 [+0.10] TEST: Multipath route delete exact match [ OK ] # 106.42 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 106.61 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 106.71 [+0.10] TEST: Multipath route delete exact match [ OK ] # 108.39 [+1.69] # 108.39 [+0.00] IPv4 rp_filter tests # 114.30 [+5.90] TEST: rp_filter passes local packets [ OK ] # 114.44 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 115.16 [+0.73] # 115.16 [+0.00] IPv4 delete address route tests # 117.87 [+2.70] Regular FIB info # 118.03 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 118.11 [+0.09] TEST: Route in default VRF not removed [ OK ] # 118.44 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 118.53 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 118.53 [+0.00] Identical FIB info with different table ID # 118.69 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 118.77 [+0.07] TEST: Route in default VRF not removed [ OK ] # 119.11 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 119.19 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 119.19 [+0.00] Table ID 0 # 119.35 [+0.16] TEST: Route removed in default VRF when source address deleted [ OK ] # 120.30 [+0.95] # 120.30 [+0.00] IPv6 delete address route tests # 124.76 [+4.46] Single device using src address # 124.90 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 124.91 [+0.00] Two devices with the same source address # 125.08 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 125.25 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 125.25 [+0.00] VRF with single device using src address # 125.42 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 125.42 [+0.00] VRF with two devices using src address # 125.60 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 125.74 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 125.74 [+0.00] src address and nexthop dev in same VRF # 125.91 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 126.00 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 126.33 [+0.33] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 126.41 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 126.42 [+0.00] src address and nexthop device in different VRF # 126.56 [+0.14] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 126.64 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 126.90 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 126.98 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 126.99 [+0.00] Table ID 0 # 127.13 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 127.14 [+0.00] Link local source route # 127.31 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 127.48 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 127.56 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 127.82 [+0.26] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 129.38 [+1.56] # 129.38 [+0.00] IPv4 mangling tests # 136.92 [+7.54] TEST: Connection with correct parameters [ OK ] # 137.09 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 138.00 [+0.92] TEST: Connection with correct parameters - mangling [ OK ] # 138.87 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 138.92 [+0.05] TEST: Connection check - server side [ OK ] # 140.92 [+2.00] # 140.92 [+0.00] IPv6 mangling tests # 148.26 [+7.33] TEST: Connection with correct parameters [ OK ] # 148.44 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 149.27 [+0.83] TEST: Connection with correct parameters - mangling [ OK ] # 150.17 [+0.91] TEST: Connection with correct parameters - no mangling [ OK ] # 150.22 [+0.05] TEST: Connection check - server side [ OK ] # 152.20 [+1.98] # 152.20 [+0.00] IPv4 broadcast neighbour tests # 154.43 [+2.23] TEST: Resolved neighbour for broadcast address [ OK ] # 154.52 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 154.62 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 154.70 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 156.56 [+1.85] # 156.56 [+0.00] Fib6 garbage collection test # 169.73 [+13.18] TEST: ipv6 route garbage collection [ OK ] # 183.15 [+13.41] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 196.59 [+13.45] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 210.07 [+13.47] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 224.33 [+14.26] TEST: ipv6 route garbage collection (RA message) [ OK ] # 225.05 [+0.72] # 225.05 [+0.00] IPv4 multipath list receive tests # 241.26 [+16.21] TEST: Multipath route hit ratio (1.00) [ OK ] # 243.02 [+1.76] # 243.02 [+0.00] IPv6 multipath list receive tests # 258.92 [+15.91] TEST: Multipath route hit ratio (1.00) [ OK ] # 260.67 [+1.75] # 260.67 [+0.00] Tests passed: 229 # 260.67 [+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__->