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.40 [+0.40] # 0.40 [+0.00] Single path route test # 1.25 [+0.86] Start point # 1.33 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.41 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.54 [+0.13] Nexthop device deleted # 1.62 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.70 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.22 [+0.53] # 2.22 [+0.00] Multipath route test # 3.82 [+1.60] Start point # 3.92 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.02 [+0.10] TEST: IPv6 fibmatch [ OK ] # 4.16 [+0.14] One nexthop device deleted # 4.24 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.33 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 4.47 [+0.14] Second nexthop device deleted # 4.56 [+0.09] TEST: IPv6 - no route [ OK ] # 5.13 [+0.58] # 5.13 [+0.00] Single path, admin down # 6.40 [+1.27] Start point # 6.49 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.58 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.67 [+0.09] Route deleted on down # 6.76 [+0.10] TEST: IPv4 fibmatch [ OK ] # 6.87 [+0.11] TEST: IPv6 fibmatch [ OK ] # 7.40 [+0.52] # 7.40 [+0.00] Admin down multipath # 9.21 [+1.81] Verify start point # 9.31 [+0.11] TEST: IPv4 fibmatch [ OK ] # 9.43 [+0.11] TEST: IPv6 fibmatch [ OK ] # 9.53 [+0.10] One device down, one up # 9.62 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 9.72 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 9.83 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 9.92 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 10.06 [+0.14] TEST: IPv4 flags on down device [ OK ] # 10.17 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.31 [+0.15] TEST: IPv4 flags on up device [ OK ] # 10.43 [+0.12] TEST: IPv6 flags on up device [ OK ] # 10.64 [+0.21] Other device down and up # 10.74 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 10.84 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 10.93 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 11.04 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 11.14 [+0.10] TEST: IPv4 flags on down device [ OK ] # 11.26 [+0.12] TEST: IPv6 flags on down device [ OK ] # 11.35 [+0.10] TEST: IPv4 flags on up device [ OK ] # 11.46 [+0.10] TEST: IPv6 flags on up device [ OK ] # 11.55 [+0.09] Both devices down # 11.64 [+0.09] TEST: IPv4 fibmatch [ OK ] # 11.74 [+0.10] TEST: IPv6 fibmatch [ OK ] # 12.39 [+0.66] # 12.39 [+0.00] Local carrier tests - single path # 13.91 [+1.52] Start point # 14.05 [+0.14] TEST: IPv4 fibmatch [ OK ] # 14.15 [+0.10] TEST: IPv6 fibmatch [ OK ] # 14.27 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 14.38 [+0.11] TEST: IPv6 - no linkdown flag [ OK ] # 15.58 [+1.19] Carrier off on nexthop # 15.76 [+0.18] TEST: IPv4 fibmatch [ OK ] # 15.85 [+0.10] TEST: IPv6 fibmatch [ OK ] # 15.94 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 16.06 [+0.11] TEST: IPv6 - linkdown flag set [ OK ] # 16.27 [+0.21] Route to local address with carrier down # 16.39 [+0.12] TEST: IPv4 fibmatch [ OK ] # 16.52 [+0.13] TEST: IPv6 fibmatch [ OK ] # 16.61 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 16.74 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 17.29 [+0.55] # 17.29 [+0.00] Single path route carrier test # 18.74 [+1.46] Start point # 18.85 [+0.11] TEST: IPv4 fibmatch [ OK ] # 18.95 [+0.10] TEST: IPv6 fibmatch [ OK ] # 19.07 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 19.18 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 20.37 [+1.19] Carrier down # 20.48 [+0.11] TEST: IPv4 fibmatch [ OK ] # 20.59 [+0.11] TEST: IPv6 fibmatch [ OK ] # 20.71 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 20.83 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 21.06 [+0.23] Second address added with carrier down # 21.18 [+0.12] TEST: IPv4 fibmatch [ OK ] # 21.28 [+0.10] TEST: IPv6 fibmatch [ OK ] # 21.42 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 21.53 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 26.70 [+5.16] # 26.70 [+0.00] IPv4 nexthop tests # 26.70 [+0.00] <<< write me >>> # 26.99 [+0.29] # 26.99 [+0.00] IPv6 nexthop tests # 27.11 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 27.23 [+0.11] TEST: Directly connected nexthop, unicast address with device [ OK ] # 27.34 [+0.11] TEST: Gateway is linklocal address [ OK ] # 27.44 [+0.11] TEST: Gateway is linklocal address, no device [ OK ] # 27.56 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 27.68 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 27.79 [+0.11] TEST: Gateway can not be a local linklocal address [ OK ] # 27.92 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 28.02 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 28.13 [+0.11] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 28.27 [+0.14] TEST: Redirect to VRF lookup [ OK ] # 28.39 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 28.49 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 28.61 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 29.74 [+1.13] # 29.74 [+0.00] FIB rule with suppress_prefixlength # 32.10 [+2.36] TEST: FIB rule suppress test [ OK ] # 34.43 [+2.33] # 34.43 [+0.00] Fib6 info length calculation in route notify test # 39.32 [+4.88] TEST: ipv6 route add notify [ OK ] # 41.39 [+2.08] # 41.39 [+0.00] Fib4 info length calculation in route notify test # 45.98 [+4.59] TEST: ipv4 route add notify [ OK ] # 52.09 [+6.11] # 52.09 [+0.00] IPv6 route add / append tests # 52.70 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 53.28 [+0.58] TEST: Attempt to add duplicate route - dev only [ OK ] # 53.87 [+0.58] TEST: Attempt to add duplicate route - reject route [ OK ] # 54.50 [+0.63] TEST: Append nexthop to existing route - gw [ OK ] # 55.02 [+0.53] TEST: Add multipath route [ OK ] # 55.47 [+0.44] TEST: Attempt to add duplicate multipath route [ OK ] # 56.01 [+0.54] TEST: Route add with different metrics [ OK ] # 56.25 [+0.25] TEST: Route delete with metric [ OK ] # 56.26 [+0.01] # 56.26 [+0.00] IPv6 route replace tests # 56.88 [+0.62] TEST: Single path with single path [ OK ] # 57.57 [+0.69] TEST: Single path with multipath [ OK ] # 58.18 [+0.61] TEST: Single path with single path via multipath attribute [ OK ] # 58.91 [+0.72] TEST: Invalid nexthop [ OK ] # 59.38 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 60.05 [+0.67] TEST: Multipath with multipath [ OK ] # 60.66 [+0.61] TEST: Multipath with single path [ OK ] # 61.27 [+0.61] TEST: Multipath with single path via multipath attribute [ OK ] # 61.83 [+0.56] TEST: Multipath with dev-only [ OK ] # 62.47 [+0.64] TEST: Multipath - invalid first nexthop [ OK ] # 63.10 [+0.63] TEST: Multipath - invalid second nexthop [ OK ] # 63.56 [+0.46] TEST: Multipath - replace of non-existent route [ OK ] # 63.56 [+0.00] # 63.56 [+0.00] IPv6 route with dsfield tests # 63.80 [+0.24] TEST: Reject route with dsfield [ OK ] # 72.19 [+8.39] # 72.19 [+0.00] IPv4 route add / append tests # 72.70 [+0.50] TEST: Attempt to add duplicate route - gw [ OK ] # 73.29 [+0.59] TEST: Attempt to add duplicate route - dev only [ OK ] # 73.80 [+0.51] TEST: Attempt to add duplicate route - reject route [ OK ] # 74.48 [+0.67] TEST: Add new nexthop for existing prefix [ OK ] # 75.10 [+0.63] TEST: Append nexthop to existing route - gw [ OK ] # 75.67 [+0.57] TEST: Append nexthop to existing route - dev only [ OK ] # 76.26 [+0.59] TEST: Append nexthop to existing route - reject route [ OK ] # 76.76 [+0.50] TEST: Append nexthop to existing reject route - gw [ OK ] # 77.25 [+0.49] TEST: Append nexthop to existing reject route - dev only [ OK ] # 77.78 [+0.53] TEST: add multipath route [ OK ] # 78.32 [+0.54] TEST: Attempt to add duplicate multipath route [ OK ] # 78.93 [+0.61] TEST: Route add with different metrics [ OK ] # 79.19 [+0.25] TEST: Route delete with metric [ OK ] # 79.19 [+0.00] # 79.19 [+0.00] IPv4 route replace tests # 79.72 [+0.54] TEST: Single path with single path [ OK ] # 80.26 [+0.54] TEST: Single path with multipath [ OK ] # 80.80 [+0.54] TEST: Single path with reject route [ OK ] # 81.39 [+0.59] TEST: Single path with single path via multipath attribute [ OK ] # 81.91 [+0.52] TEST: Invalid nexthop [ OK ] # 82.35 [+0.44] TEST: Single path - replace of non-existent route [ OK ] # 82.91 [+0.57] TEST: Multipath with multipath [ OK ] # 83.55 [+0.64] TEST: Multipath with single path [ OK ] # 84.23 [+0.68] TEST: Multipath with single path via multipath attribute [ OK ] # 84.87 [+0.63] TEST: Multipath with reject route [ OK ] # 85.43 [+0.57] TEST: Multipath - invalid first nexthop [ OK ] # 85.97 [+0.54] TEST: Multipath - invalid second nexthop [ OK ] # 86.40 [+0.43] TEST: Multipath - replace of non-existent route [ OK ] # 88.39 [+1.99] TEST: Cached route removed from VRF port device [ OK ] # 88.39 [+0.01] # 88.39 [+0.00] IPv4 route with dsfield tests # 88.67 [+0.27] TEST: Reject route with dsfield 0x01 [ OK ] # 88.80 [+0.14] TEST: Reject route with dsfield 0x02 [ OK ] # 88.94 [+0.14] TEST: Reject route with dsfield 0x03 [ OK ] # 89.35 [+0.41] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 89.49 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 89.60 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 89.71 [+0.11] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 89.83 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 89.95 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 90.04 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 90.16 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 90.27 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 90.39 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 90.49 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 90.60 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 93.01 [+2.41] # 93.01 [+0.00] IPv6 prefix route tests # 95.25 [+2.25] TEST: Default metric [ OK ] # 95.60 [+0.35] TEST: User specified metric on first device [ OK ] # 95.92 [+0.32] TEST: User specified metric on second device [ OK ] # 96.19 [+0.26] TEST: Delete of address on first device [ OK ] # 96.41 [+0.22] TEST: Modify metric of address [ OK ] # 96.80 [+0.39] TEST: Prefix route removed on link down [ OK ] # 97.01 [+0.21] TEST: Prefix route with metric on link up [ OK ] # 97.33 [+0.32] TEST: Set metric with peer route on local side [ OK ] # 97.49 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 97.71 [+0.22] TEST: Modify metric and peer address on local side [ OK ] # 97.83 [+0.12] TEST: Modify metric and peer address on peer side [ OK ] # 98.88 [+1.05] # 98.88 [+0.00] IPv4 prefix route tests # 100.87 [+1.99] TEST: Default metric [ OK ] # 101.17 [+0.30] TEST: User specified metric on first device [ OK ] # 101.45 [+0.29] TEST: User specified metric on second device [ OK ] # 101.66 [+0.21] TEST: Delete of address on first device [ OK ] # 101.85 [+0.19] TEST: Modify metric of address [ OK ] # 102.04 [+0.20] TEST: Prefix route removed on link down [ OK ] # 102.24 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 102.63 [+0.39] TEST: Modify metric of .0/24 address [ OK ] # 102.91 [+0.28] TEST: Set metric of address with peer route [ OK ] # 103.10 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 104.12 [+1.02] # 104.12 [+0.00] IPv6 routes with metrics # 108.88 [+4.75] TEST: Single path route with mtu metric [ OK ] # 109.18 [+0.31] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 109.48 [+0.30] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 109.66 [+0.18] TEST: MTU of second leg [ OK ] # 109.86 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 110.10 [+0.24] TEST: Using route with mtu metric [ OK ] # 110.26 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 112.15 [+1.89] # 112.15 [+0.00] IPv4 route add / append tests # 116.99 [+4.84] TEST: Single path route with mtu metric [ OK ] # 117.17 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 117.41 [+0.24] TEST: Using route with mtu metric [ OK ] # 117.57 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 119.31 [+1.74] # 119.31 [+0.00] IPv4 route with IPv6 gateway tests # 125.94 [+6.63] TEST: Single path route with IPv6 gateway [ OK ] # 126.19 [+0.25] TEST: Single path route with IPv6 gateway - ping [ OK ] # 126.27 [+0.09] TEST: Single path route delete [ OK ] # 126.46 [+0.18] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 126.65 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 126.74 [+0.10] TEST: Multipath route delete exact match [ OK ] # 126.84 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 127.03 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 127.14 [+0.10] TEST: Multipath route delete exact match [ OK ] # 128.84 [+1.70] # 128.84 [+0.00] IPv4 rp_filter tests # 135.08 [+6.24] TEST: rp_filter passes local packets [ OK ] # 135.22 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 136.02 [+0.80] # 136.02 [+0.00] IPv4 delete address route tests # 138.84 [+2.81] Regular FIB info # 139.01 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 139.09 [+0.08] TEST: Route in default VRF not removed [ OK ] # 139.43 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 139.51 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 139.52 [+0.00] Identical FIB info with different table ID # 139.68 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 139.76 [+0.08] TEST: Route in default VRF not removed [ OK ] # 140.10 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 140.19 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 140.20 [+0.00] Table ID 0 # 140.36 [+0.17] TEST: Route removed in default VRF when source address deleted [ OK ] # 141.36 [+1.00] # 141.36 [+0.00] IPv6 delete address route tests # 146.17 [+4.81] Single device using src address # 146.35 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 146.35 [+0.00] Two devices with the same source address # 146.52 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 146.72 [+0.20] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 146.72 [+0.00] VRF with single device using src address # 146.88 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 146.88 [+0.00] VRF with two devices using src address # 147.05 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 147.23 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 147.23 [+0.00] src address and nexthop dev in same VRF # 147.40 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 147.48 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 147.83 [+0.35] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 147.93 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 147.93 [+0.00] src address and nexthop device in different VRF # 148.10 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 148.19 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 148.45 [+0.26] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 148.55 [+0.10] TEST: Prefsrc removed in default VRF [ OK ] # 148.55 [+0.00] Table ID 0 # 148.72 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 148.73 [+0.00] Link local source route # 148.90 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 149.07 [+0.18] TEST: Prefsrc removed when delete ll addr [ OK ] # 149.17 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 149.42 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 151.00 [+1.58] # 151.00 [+0.00] IPv4 mangling tests # 158.48 [+7.48] TEST: Connection with correct parameters [ OK ] # 158.65 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 159.57 [+0.92] TEST: Connection with correct parameters - mangling [ OK ] # 160.41 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 160.46 [+0.06] TEST: Connection check - server side [ OK ] # 162.54 [+2.08] # 162.54 [+0.00] IPv6 mangling tests # 169.90 [+7.36] TEST: Connection with correct parameters [ OK ] # 170.09 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 170.95 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 171.83 [+0.88] TEST: Connection with correct parameters - no mangling [ OK ] # 171.91 [+0.08] TEST: Connection check - server side [ OK ] # 173.88 [+1.97] # 173.88 [+0.00] IPv4 broadcast neighbour tests # 176.08 [+2.20] TEST: Resolved neighbour for broadcast address [ OK ] # 176.17 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 176.27 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 176.36 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 178.19 [+1.83] # 178.19 [+0.00] Fib6 garbage collection test # 191.45 [+13.25] TEST: ipv6 route garbage collection [ OK ] # 204.87 [+13.42] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 218.29 [+13.42] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 231.87 [+13.58] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 246.30 [+14.43] TEST: ipv6 route garbage collection (RA message) [ OK ] # 247.00 [+0.70] # 247.00 [+0.00] IPv4 multipath list receive tests # 262.64 [+15.64] TEST: Multipath route hit ratio (1.00) [ OK ] # 264.62 [+1.98] # 264.62 [+0.00] IPv6 multipath list receive tests # 281.26 [+16.64] TEST: Multipath route hit ratio (1.00) [ OK ] # 283.13 [+1.87] # 283.13 [+0.00] Tests passed: 229 # 283.13 [+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__->