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.47 [+0.47] # 0.47 [+0.00] Single path route test # 1.59 [+1.13] Start point # 1.70 [+0.11] TEST: IPv4 fibmatch [ OK ] # 1.81 [+0.11] TEST: IPv6 fibmatch [ OK ] # 1.97 [+0.17] Nexthop device deleted # 2.09 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.19 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 2.85 [+0.66] # 2.85 [+0.00] Multipath route test # 4.88 [+2.03] Start point # 4.98 [+0.11] TEST: IPv4 fibmatch [ OK ] # 5.10 [+0.12] TEST: IPv6 fibmatch [ OK ] # 5.24 [+0.14] One nexthop device deleted # 5.34 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.44 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 5.58 [+0.13] Second nexthop device deleted # 5.70 [+0.12] TEST: IPv6 - no route [ OK ] # 6.34 [+0.65] # 6.34 [+0.00] Single path, admin down # 7.75 [+1.41] Start point # 7.85 [+0.10] TEST: IPv4 fibmatch [ OK ] # 7.96 [+0.11] TEST: IPv6 fibmatch [ OK ] # 8.08 [+0.11] Route deleted on down # 8.17 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.28 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.78 [+0.51] # 8.79 [+0.00] Admin down multipath # 10.82 [+2.04] Verify start point # 10.93 [+0.11] TEST: IPv4 fibmatch [ OK ] # 11.05 [+0.12] TEST: IPv6 fibmatch [ OK ] # 11.15 [+0.10] One device down, one up # 11.25 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 11.35 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 11.45 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 11.56 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 11.68 [+0.12] TEST: IPv4 flags on down device [ OK ] # 11.80 [+0.12] TEST: IPv6 flags on down device [ OK ] # 11.93 [+0.13] TEST: IPv4 flags on up device [ OK ] # 12.03 [+0.10] TEST: IPv6 flags on up device [ OK ] # 12.25 [+0.22] Other device down and up # 12.36 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.45 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.57 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 12.66 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 12.77 [+0.10] TEST: IPv4 flags on down device [ OK ] # 12.90 [+0.13] TEST: IPv6 flags on down device [ OK ] # 13.02 [+0.13] TEST: IPv4 flags on up device [ OK ] # 13.13 [+0.11] TEST: IPv6 flags on up device [ OK ] # 13.24 [+0.11] Both devices down # 13.34 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.44 [+0.11] TEST: IPv6 fibmatch [ OK ] # 14.13 [+0.69] # 14.13 [+0.00] Local carrier tests - single path # 15.67 [+1.54] Start point # 15.78 [+0.11] TEST: IPv4 fibmatch [ OK ] # 15.89 [+0.11] TEST: IPv6 fibmatch [ OK ] # 15.99 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 16.10 [+0.11] TEST: IPv6 - no linkdown flag [ OK ] # 17.28 [+1.18] Carrier off on nexthop # 17.39 [+0.11] TEST: IPv4 fibmatch [ OK ] # 17.50 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.60 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 17.72 [+0.11] TEST: IPv6 - linkdown flag set [ OK ] # 17.94 [+0.22] Route to local address with carrier down # 18.04 [+0.11] TEST: IPv4 fibmatch [ OK ] # 18.14 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.23 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 18.34 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 18.89 [+0.55] # 18.89 [+0.00] Single path route carrier test # 20.42 [+1.52] Start point # 20.53 [+0.11] TEST: IPv4 fibmatch [ OK ] # 20.64 [+0.11] TEST: IPv6 fibmatch [ OK ] # 20.76 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 20.87 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 22.04 [+1.17] Carrier down # 22.15 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.27 [+0.12] TEST: IPv6 fibmatch [ OK ] # 22.37 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 22.49 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 22.70 [+0.21] Second address added with carrier down # 22.81 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.92 [+0.12] TEST: IPv6 fibmatch [ OK ] # 23.03 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 23.13 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 28.25 [+5.12] # 28.26 [+0.00] IPv4 nexthop tests # 28.26 [+0.00] <<< write me >>> # 28.56 [+0.30] # 28.56 [+0.00] IPv6 nexthop tests # 28.68 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 28.80 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 28.92 [+0.12] TEST: Gateway is linklocal address [ OK ] # 29.04 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 29.16 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 29.27 [+0.11] TEST: Gateway can not be local unicast address, with device [ OK ] # 29.41 [+0.14] TEST: Gateway can not be a local linklocal address [ OK ] # 29.52 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 29.65 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 29.77 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 29.89 [+0.12] TEST: Redirect to VRF lookup [ OK ] # 30.00 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 30.12 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 30.24 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 31.30 [+1.06] # 31.30 [+0.00] FIB rule with suppress_prefixlength # 33.52 [+2.21] TEST: FIB rule suppress test [ OK ] # 35.51 [+2.00] # 35.52 [+0.00] Fib6 info length calculation in route notify test # 40.01 [+4.50] TEST: ipv6 route add notify [ OK ] # 42.02 [+2.01] # 42.03 [+0.00] Fib4 info length calculation in route notify test # 46.52 [+4.50] TEST: ipv4 route add notify [ OK ] # 52.46 [+5.94] # 52.46 [+0.00] IPv6 route add / append tests # 52.93 [+0.46] TEST: Attempt to add duplicate route - gw [ OK ] # 53.38 [+0.45] TEST: Attempt to add duplicate route - dev only [ OK ] # 53.84 [+0.46] TEST: Attempt to add duplicate route - reject route [ OK ] # 54.41 [+0.57] TEST: Append nexthop to existing route - gw [ OK ] # 54.90 [+0.49] TEST: Add multipath route [ OK ] # 55.35 [+0.46] TEST: Attempt to add duplicate multipath route [ OK ] # 55.93 [+0.58] TEST: Route add with different metrics [ OK ] # 56.20 [+0.27] TEST: Route delete with metric [ OK ] # 56.20 [+0.00] # 56.20 [+0.00] IPv6 route replace tests # 56.78 [+0.58] TEST: Single path with single path [ OK ] # 57.37 [+0.59] TEST: Single path with multipath [ OK ] # 57.95 [+0.58] TEST: Single path with single path via multipath attribute [ OK ] # 58.54 [+0.58] TEST: Invalid nexthop [ OK ] # 59.00 [+0.46] TEST: Single path - replace of non-existent route [ OK ] # 59.59 [+0.59] TEST: Multipath with multipath [ OK ] # 60.16 [+0.57] TEST: Multipath with single path [ OK ] # 60.72 [+0.57] TEST: Multipath with single path via multipath attribute [ OK ] # 61.31 [+0.59] TEST: Multipath with dev-only [ OK ] # 61.89 [+0.58] TEST: Multipath - invalid first nexthop [ OK ] # 62.51 [+0.62] TEST: Multipath - invalid second nexthop [ OK ] # 62.95 [+0.44] TEST: Multipath - replace of non-existent route [ OK ] # 62.95 [+0.00] # 62.95 [+0.00] IPv6 route with dsfield tests # 63.20 [+0.25] TEST: Reject route with dsfield [ OK ] # 70.87 [+7.67] # 70.87 [+0.00] IPv4 route add / append tests # 71.33 [+0.46] TEST: Attempt to add duplicate route - gw [ OK ] # 71.80 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 72.26 [+0.47] TEST: Attempt to add duplicate route - reject route [ OK ] # 72.84 [+0.57] TEST: Add new nexthop for existing prefix [ OK ] # 73.42 [+0.59] TEST: Append nexthop to existing route - gw [ OK ] # 74.00 [+0.58] TEST: Append nexthop to existing route - dev only [ OK ] # 74.59 [+0.59] TEST: Append nexthop to existing route - reject route [ OK ] # 75.07 [+0.48] TEST: Append nexthop to existing reject route - gw [ OK ] # 75.53 [+0.47] TEST: Append nexthop to existing reject route - dev only [ OK ] # 76.00 [+0.46] TEST: add multipath route [ OK ] # 76.45 [+0.45] TEST: Attempt to add duplicate multipath route [ OK ] # 77.00 [+0.56] TEST: Route add with different metrics [ OK ] # 77.25 [+0.25] TEST: Route delete with metric [ OK ] # 77.25 [+0.00] # 77.25 [+0.00] IPv4 route replace tests # 77.80 [+0.55] TEST: Single path with single path [ OK ] # 78.40 [+0.59] TEST: Single path with multipath [ OK ] # 78.98 [+0.59] TEST: Single path with reject route [ OK ] # 79.56 [+0.58] TEST: Single path with single path via multipath attribute [ OK ] # 80.15 [+0.59] TEST: Invalid nexthop [ OK ] # 80.61 [+0.46] TEST: Single path - replace of non-existent route [ OK ] # 81.21 [+0.60] TEST: Multipath with multipath [ OK ] # 81.76 [+0.56] TEST: Multipath with single path [ OK ] # 82.33 [+0.56] TEST: Multipath with single path via multipath attribute [ OK ] # 82.90 [+0.57] TEST: Multipath with reject route [ OK ] # 83.47 [+0.57] TEST: Multipath - invalid first nexthop [ OK ] # 84.01 [+0.54] TEST: Multipath - invalid second nexthop [ OK ] # 84.48 [+0.46] TEST: Multipath - replace of non-existent route [ OK ] # 86.25 [+1.77] TEST: Cached route removed from VRF port device [ OK ] # 86.25 [+0.00] # 86.25 [+0.00] IPv4 route with dsfield tests # 86.48 [+0.23] TEST: Reject route with dsfield 0x01 [ OK ] # 86.59 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 86.70 [+0.11] TEST: Reject route with dsfield 0x03 [ OK ] # 87.05 [+0.35] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 87.16 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 87.29 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 87.41 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 87.51 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 87.64 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 87.75 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 87.85 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 87.94 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 88.07 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 88.17 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 88.29 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 90.29 [+2.00] # 90.29 [+0.00] IPv6 prefix route tests # 92.63 [+2.34] TEST: Default metric [ OK ] # 93.01 [+0.38] TEST: User specified metric on first device [ OK ] # 93.39 [+0.37] TEST: User specified metric on second device [ OK ] # 93.63 [+0.25] TEST: Delete of address on first device [ OK ] # 93.89 [+0.26] TEST: Modify metric of address [ OK ] # 94.28 [+0.39] TEST: Prefix route removed on link down [ OK ] # 94.52 [+0.24] TEST: Prefix route with metric on link up [ OK ] # 94.89 [+0.37] TEST: Set metric with peer route on local side [ OK ] # 95.01 [+0.12] TEST: Set metric with peer route on peer side [ OK ] # 95.27 [+0.26] TEST: Modify metric and peer address on local side [ OK ] # 95.45 [+0.18] TEST: Modify metric and peer address on peer side [ OK ] # 96.67 [+1.22] # 96.67 [+0.00] IPv4 prefix route tests # 99.02 [+2.35] TEST: Default metric [ OK ] # 99.37 [+0.36] TEST: User specified metric on first device [ OK ] # 99.73 [+0.36] TEST: User specified metric on second device [ OK ] # 99.96 [+0.23] TEST: Delete of address on first device [ OK ] # 100.19 [+0.23] TEST: Modify metric of address [ OK ] # 100.41 [+0.22] TEST: Prefix route removed on link down [ OK ] # 100.66 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 101.12 [+0.46] TEST: Modify metric of .0/24 address [ OK ] # 101.49 [+0.37] TEST: Set metric of address with peer route [ OK ] # 101.72 [+0.23] TEST: Modify metric and peer address for peer route [ OK ] # 102.92 [+1.19] # 102.92 [+0.00] IPv6 routes with metrics # 108.67 [+5.75] TEST: Single path route with mtu metric [ OK ] # 109.03 [+0.36] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 109.41 [+0.38] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 109.63 [+0.22] TEST: MTU of second leg [ OK ] # 109.89 [+0.27] TEST: Multipath route with mtu metric [ OK ] # 110.18 [+0.28] TEST: Using route with mtu metric [ OK ] # 110.39 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 112.28 [+1.89] # 112.28 [+0.00] IPv4 route add / append tests # 118.02 [+5.74] TEST: Single path route with mtu metric [ OK ] # 118.25 [+0.23] TEST: Multipath route with mtu metric [ OK ] # 118.53 [+0.28] TEST: Using route with mtu metric [ OK ] # 118.73 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 120.79 [+2.06] # 120.80 [+0.00] IPv4 route with IPv6 gateway tests # 128.50 [+7.70] TEST: Single path route with IPv6 gateway [ OK ] # 128.81 [+0.32] TEST: Single path route with IPv6 gateway - ping [ OK ] # 128.92 [+0.11] TEST: Single path route delete [ OK ] # 129.15 [+0.23] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 129.39 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 129.52 [+0.13] TEST: Multipath route delete exact match [ OK ] # 129.63 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 129.86 [+0.22] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 129.97 [+0.12] TEST: Multipath route delete exact match [ OK ] # 132.05 [+2.07] # 132.05 [+0.00] IPv4 rp_filter tests # 139.55 [+7.51] TEST: rp_filter passes local packets [ OK ] # 139.74 [+0.19] TEST: rp_filter passes loopback packets [ OK ] # 140.72 [+0.98] # 140.72 [+0.00] IPv4 delete address route tests # 144.30 [+3.58] Regular FIB info # 144.51 [+0.20] TEST: Route removed from VRF when source address deleted [ OK ] # 144.62 [+0.11] TEST: Route in default VRF not removed [ OK ] # 145.04 [+0.42] TEST: Route removed in default VRF when source address deleted [ OK ] # 145.16 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 145.16 [+0.00] Identical FIB info with different table ID # 145.39 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 145.50 [+0.11] TEST: Route in default VRF not removed [ OK ] # 145.94 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 146.05 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 146.06 [+0.00] Table ID 0 # 146.24 [+0.19] TEST: Route removed in default VRF when source address deleted [ OK ] # 147.47 [+1.22] # 147.47 [+0.00] IPv6 delete address route tests # 153.54 [+6.07] Single device using src address # 153.74 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 153.74 [+0.00] Two devices with the same source address # 153.96 [+0.22] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 154.17 [+0.21] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 154.18 [+0.00] VRF with single device using src address # 154.37 [+0.19] TEST: Prefsrc removed when src address removed on other device [ OK ] # 154.37 [+0.00] VRF with two devices using src address # 154.58 [+0.21] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 154.80 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 154.81 [+0.00] src address and nexthop dev in same VRF # 155.04 [+0.23] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 155.16 [+0.11] TEST: Prefsrc in default VRF not removed [ OK ] # 155.58 [+0.42] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 155.67 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 155.67 [+0.00] src address and nexthop device in different VRF # 155.89 [+0.22] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 156.02 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 156.35 [+0.33] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 156.46 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 156.47 [+0.00] Table ID 0 # 156.66 [+0.20] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 156.67 [+0.00] Link local source route # 156.88 [+0.21] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 157.11 [+0.23] TEST: Prefsrc removed when delete ll addr [ OK ] # 157.21 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 157.51 [+0.31] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 159.34 [+1.82] # 159.34 [+0.00] IPv4 mangling tests # 168.46 [+9.12] TEST: Connection with correct parameters [ OK ] # 168.69 [+0.24] TEST: Connection with incorrect parameters [ OK ] # 169.84 [+1.15] TEST: Connection with correct parameters - mangling [ OK ] # 170.81 [+0.96] TEST: Connection with correct parameters - no mangling [ OK ] # 170.88 [+0.07] TEST: Connection check - server side [ OK ] # 173.36 [+2.49] # 173.36 [+0.00] IPv6 mangling tests # 182.29 [+8.92] TEST: Connection with correct parameters [ OK ] # 182.54 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 183.49 [+0.95] TEST: Connection with correct parameters - mangling [ OK ] # 184.45 [+0.97] TEST: Connection with correct parameters - no mangling [ OK ] # 184.52 [+0.07] TEST: Connection check - server side [ OK ] # 187.02 [+2.50] # 187.02 [+0.00] IPv4 broadcast neighbour tests # 189.91 [+2.89] TEST: Resolved neighbour for broadcast address [ OK ] # 190.04 [+0.12] TEST: Resolved neighbour for network broadcast address [ OK ] # 190.15 [+0.11] TEST: Unresolved neighbour for broadcast address [ OK ] # 190.28 [+0.14] TEST: Unresolved neighbour for network broadcast address [ OK ] # 192.67 [+2.39] # 192.67 [+0.00] Fib6 garbage collection test # 206.22 [+13.55] TEST: ipv6 route garbage collection [ OK ] # 220.11 [+13.89] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 233.93 [+13.82] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 248.10 [+14.17] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 262.68 [+14.59] TEST: ipv6 route garbage collection (RA message) [ OK ] # 263.58 [+0.90] # 263.58 [+0.00] IPv4 multipath list receive tests # 282.77 [+19.18] TEST: Multipath route hit ratio (1.00) [ OK ] # 285.05 [+2.28] # 285.05 [+0.00] IPv6 multipath list receive tests # 304.05 [+19.00] TEST: Multipath route hit ratio (1.00) [ OK ] # 306.33 [+2.28] # 306.33 [+0.00] Tests passed: 229 # 306.33 [+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__->