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.54 [+0.54] # 0.54 [+0.00] Single path route test # 1.72 [+1.17] Start point # 1.83 [+0.12] TEST: IPv4 fibmatch [ OK ] # 1.94 [+0.11] TEST: IPv6 fibmatch [ OK ] # 2.07 [+0.13] Nexthop device deleted # 2.19 [+0.12] TEST: IPv4 fibmatch - no route [ OK ] # 2.29 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 2.97 [+0.67] # 2.97 [+0.00] Multipath route test # 5.13 [+2.16] Start point # 5.23 [+0.11] TEST: IPv4 fibmatch [ OK ] # 5.35 [+0.11] TEST: IPv6 fibmatch [ OK ] # 5.51 [+0.16] One nexthop device deleted # 5.62 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.73 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 5.91 [+0.18] Second nexthop device deleted # 6.02 [+0.11] TEST: IPv6 - no route [ OK ] # 6.71 [+0.69] # 6.71 [+0.00] Single path, admin down # 8.21 [+1.49] Start point # 8.31 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.41 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.52 [+0.11] Route deleted on down # 8.63 [+0.12] TEST: IPv4 fibmatch [ OK ] # 8.74 [+0.10] TEST: IPv6 fibmatch [ OK ] # 9.31 [+0.57] # 9.31 [+0.00] Admin down multipath # 11.43 [+2.12] Verify start point # 11.53 [+0.10] TEST: IPv4 fibmatch [ OK ] # 11.65 [+0.12] TEST: IPv6 fibmatch [ OK ] # 11.75 [+0.10] One device down, one up # 11.86 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 11.98 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 12.08 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 12.18 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.32 [+0.14] TEST: IPv4 flags on down device [ OK ] # 12.44 [+0.12] TEST: IPv6 flags on down device [ OK ] # 12.56 [+0.12] TEST: IPv4 flags on up device [ OK ] # 12.69 [+0.13] TEST: IPv6 flags on up device [ OK ] # 12.92 [+0.22] Other device down and up # 13.02 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 13.13 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 13.24 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 13.37 [+0.13] TEST: IPv6 fibmatch on up device [ OK ] # 13.48 [+0.11] TEST: IPv4 flags on down device [ OK ] # 13.60 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.74 [+0.14] TEST: IPv4 flags on up device [ OK ] # 13.87 [+0.13] TEST: IPv6 flags on up device [ OK ] # 13.98 [+0.11] Both devices down # 14.09 [+0.11] TEST: IPv4 fibmatch [ OK ] # 14.18 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.89 [+0.71] # 14.89 [+0.00] Local carrier tests - single path # 16.48 [+1.59] Start point # 16.58 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.70 [+0.12] TEST: IPv6 fibmatch [ OK ] # 16.82 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 16.94 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 18.13 [+1.19] Carrier off on nexthop # 18.24 [+0.11] TEST: IPv4 fibmatch [ OK ] # 18.36 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.47 [+0.11] TEST: IPv4 - linkdown flag set [ OK ] # 18.57 [+0.11] TEST: IPv6 - linkdown flag set [ OK ] # 18.80 [+0.22] Route to local address with carrier down # 18.91 [+0.12] TEST: IPv4 fibmatch [ OK ] # 19.02 [+0.11] TEST: IPv6 fibmatch [ OK ] # 19.13 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 19.25 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 19.81 [+0.55] # 19.81 [+0.00] Single path route carrier test # 21.42 [+1.61] Start point # 21.52 [+0.11] TEST: IPv4 fibmatch [ OK ] # 21.63 [+0.10] TEST: IPv6 fibmatch [ OK ] # 21.73 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 21.84 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 23.01 [+1.17] Carrier down # 23.12 [+0.11] TEST: IPv4 fibmatch [ OK ] # 23.23 [+0.11] TEST: IPv6 fibmatch [ OK ] # 23.34 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 23.44 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 23.66 [+0.22] Second address added with carrier down # 23.77 [+0.11] TEST: IPv4 fibmatch [ OK ] # 23.88 [+0.11] TEST: IPv6 fibmatch [ OK ] # 23.98 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 24.10 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 29.45 [+5.34] # 29.45 [+0.00] IPv4 nexthop tests # 29.45 [+0.00] <<< write me >>> # 29.77 [+0.32] # 29.77 [+0.00] IPv6 nexthop tests # 29.90 [+0.13] TEST: Directly connected nexthop, unicast address [ OK ] # 30.02 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 30.14 [+0.12] TEST: Gateway is linklocal address [ OK ] # 30.25 [+0.11] TEST: Gateway is linklocal address, no device [ OK ] # 30.38 [+0.13] TEST: Gateway can not be local unicast address [ OK ] # 30.53 [+0.15] TEST: Gateway can not be local unicast address, with device [ OK ] # 30.71 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 30.84 [+0.12] TEST: Gateway can be local address in a VRF [ OK ] # 30.96 [+0.12] TEST: Gateway can be local address in a VRF, with device [ OK ] # 31.08 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 31.20 [+0.12] TEST: Redirect to VRF lookup [ OK ] # 31.32 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 31.45 [+0.13] TEST: VRF route, gateway can not be a local address [ OK ] # 31.57 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 32.66 [+1.09] # 32.66 [+0.00] FIB rule with suppress_prefixlength # 34.95 [+2.30] TEST: FIB rule suppress test [ OK ] # 37.03 [+2.07] # 37.03 [+0.00] Fib6 info length calculation in route notify test # 41.56 [+4.53] TEST: ipv6 route add notify [ OK ] # 43.74 [+2.18] # 43.75 [+0.00] Fib4 info length calculation in route notify test # 48.37 [+4.63] TEST: ipv4 route add notify [ OK ] # 54.25 [+5.88] # 54.25 [+0.00] IPv6 route add / append tests # 54.71 [+0.46] TEST: Attempt to add duplicate route - gw [ OK ] # 55.17 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 55.64 [+0.46] TEST: Attempt to add duplicate route - reject route [ OK ] # 56.26 [+0.63] TEST: Append nexthop to existing route - gw [ OK ] # 56.75 [+0.49] TEST: Add multipath route [ OK ] # 57.21 [+0.46] TEST: Attempt to add duplicate multipath route [ OK ] # 57.79 [+0.58] TEST: Route add with different metrics [ OK ] # 58.06 [+0.27] TEST: Route delete with metric [ OK ] # 58.07 [+0.00] # 58.07 [+0.00] IPv6 route replace tests # 58.64 [+0.58] TEST: Single path with single path [ OK ] # 59.26 [+0.61] TEST: Single path with multipath [ OK ] # 59.84 [+0.58] TEST: Single path with single path via multipath attribute [ OK ] # 60.44 [+0.61] TEST: Invalid nexthop [ OK ] # 60.92 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 61.54 [+0.62] TEST: Multipath with multipath [ OK ] # 62.14 [+0.60] TEST: Multipath with single path [ OK ] # 62.74 [+0.59] TEST: Multipath with single path via multipath attribute [ OK ] # 63.36 [+0.62] TEST: Multipath with dev-only [ OK ] # 63.97 [+0.61] TEST: Multipath - invalid first nexthop [ OK ] # 64.57 [+0.60] TEST: Multipath - invalid second nexthop [ OK ] # 65.04 [+0.47] TEST: Multipath - replace of non-existent route [ OK ] # 65.04 [+0.00] # 65.04 [+0.00] IPv6 route with dsfield tests # 65.27 [+0.23] TEST: Reject route with dsfield [ OK ] # 72.98 [+7.71] # 72.98 [+0.00] IPv4 route add / append tests # 73.47 [+0.49] TEST: Attempt to add duplicate route - gw [ OK ] # 73.92 [+0.45] TEST: Attempt to add duplicate route - dev only [ OK ] # 74.39 [+0.46] TEST: Attempt to add duplicate route - reject route [ OK ] # 74.95 [+0.57] TEST: Add new nexthop for existing prefix [ OK ] # 75.54 [+0.59] TEST: Append nexthop to existing route - gw [ OK ] # 76.14 [+0.60] TEST: Append nexthop to existing route - dev only [ OK ] # 76.72 [+0.58] TEST: Append nexthop to existing route - reject route [ OK ] # 77.20 [+0.48] TEST: Append nexthop to existing reject route - gw [ OK ] # 77.67 [+0.47] TEST: Append nexthop to existing reject route - dev only [ OK ] # 78.14 [+0.47] TEST: add multipath route [ OK ] # 78.62 [+0.48] TEST: Attempt to add duplicate multipath route [ OK ] # 79.21 [+0.59] TEST: Route add with different metrics [ OK ] # 79.48 [+0.26] TEST: Route delete with metric [ OK ] # 79.48 [+0.00] # 79.48 [+0.00] IPv4 route replace tests # 80.07 [+0.59] TEST: Single path with single path [ OK ] # 80.68 [+0.61] TEST: Single path with multipath [ OK ] # 81.27 [+0.58] TEST: Single path with reject route [ OK ] # 81.87 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 82.44 [+0.57] TEST: Invalid nexthop [ OK ] # 82.90 [+0.46] TEST: Single path - replace of non-existent route [ OK ] # 83.49 [+0.59] TEST: Multipath with multipath [ OK ] # 84.08 [+0.59] TEST: Multipath with single path [ OK ] # 84.69 [+0.61] TEST: Multipath with single path via multipath attribute [ OK ] # 85.30 [+0.61] TEST: Multipath with reject route [ OK ] # 85.89 [+0.59] TEST: Multipath - invalid first nexthop [ OK ] # 86.49 [+0.60] TEST: Multipath - invalid second nexthop [ OK ] # 86.97 [+0.48] TEST: Multipath - replace of non-existent route [ OK ] # 88.92 [+1.95] TEST: Cached route removed from VRF port device [ OK ] # 88.93 [+0.00] # 88.93 [+0.00] IPv4 route with dsfield tests # 89.17 [+0.24] TEST: Reject route with dsfield 0x01 [ OK ] # 89.29 [+0.13] TEST: Reject route with dsfield 0x02 [ OK ] # 89.42 [+0.13] TEST: Reject route with dsfield 0x03 [ OK ] # 89.83 [+0.41] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 89.93 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 90.04 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 90.15 [+0.11] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 90.27 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 90.38 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 90.51 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 90.64 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 90.74 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 90.85 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 90.95 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 91.09 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 93.26 [+2.17] # 93.26 [+0.00] IPv6 prefix route tests # 95.66 [+2.40] TEST: Default metric [ OK ] # 96.06 [+0.39] TEST: User specified metric on first device [ OK ] # 96.44 [+0.38] TEST: User specified metric on second device [ OK ] # 96.68 [+0.25] TEST: Delete of address on first device [ OK ] # 96.94 [+0.26] TEST: Modify metric of address [ OK ] # 97.35 [+0.41] TEST: Prefix route removed on link down [ OK ] # 97.60 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 97.99 [+0.39] TEST: Set metric with peer route on local side [ OK ] # 98.09 [+0.11] TEST: Set metric with peer route on peer side [ OK ] # 98.35 [+0.25] TEST: Modify metric and peer address on local side [ OK ] # 98.49 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 99.72 [+1.24] # 99.72 [+0.00] IPv4 prefix route tests # 102.16 [+2.43] TEST: Default metric [ OK ] # 102.54 [+0.38] TEST: User specified metric on first device [ OK ] # 102.89 [+0.35] TEST: User specified metric on second device [ OK ] # 103.14 [+0.26] TEST: Delete of address on first device [ OK ] # 103.37 [+0.23] TEST: Modify metric of address [ OK ] # 103.59 [+0.22] TEST: Prefix route removed on link down [ OK ] # 103.85 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 104.34 [+0.48] TEST: Modify metric of .0/24 address [ OK ] # 104.70 [+0.36] TEST: Set metric of address with peer route [ OK ] # 104.94 [+0.24] TEST: Modify metric and peer address for peer route [ OK ] # 106.29 [+1.35] # 106.29 [+0.00] IPv6 routes with metrics # 112.26 [+5.98] TEST: Single path route with mtu metric [ OK ] # 112.63 [+0.37] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 113.01 [+0.38] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 113.25 [+0.24] TEST: MTU of second leg [ OK ] # 113.52 [+0.27] TEST: Multipath route with mtu metric [ OK ] # 113.81 [+0.30] TEST: Using route with mtu metric [ OK ] # 114.02 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 116.07 [+2.06] # 116.07 [+0.00] IPv4 route add / append tests # 122.03 [+5.95] TEST: Single path route with mtu metric [ OK ] # 122.26 [+0.24] TEST: Multipath route with mtu metric [ OK ] # 122.55 [+0.29] TEST: Using route with mtu metric [ OK ] # 122.75 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 124.91 [+2.16] # 124.91 [+0.00] IPv4 route with IPv6 gateway tests # 132.82 [+7.90] TEST: Single path route with IPv6 gateway [ OK ] # 133.14 [+0.32] TEST: Single path route with IPv6 gateway - ping [ OK ] # 133.25 [+0.11] TEST: Single path route delete [ OK ] # 133.47 [+0.23] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 133.72 [+0.25] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 133.85 [+0.13] TEST: Multipath route delete exact match [ OK ] # 133.97 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 134.20 [+0.23] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 134.33 [+0.12] TEST: Multipath route delete exact match [ OK ] # 136.40 [+2.07] # 136.40 [+0.00] IPv4 rp_filter tests # 144.04 [+7.65] TEST: rp_filter passes local packets [ OK ] # 144.23 [+0.18] TEST: rp_filter passes loopback packets [ OK ] # 145.22 [+0.99] # 145.22 [+0.00] IPv4 delete address route tests # 148.97 [+3.75] Regular FIB info # 149.20 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 149.33 [+0.13] TEST: Route in default VRF not removed [ OK ] # 149.79 [+0.46] TEST: Route removed in default VRF when source address deleted [ OK ] # 149.92 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 149.92 [+0.00] Identical FIB info with different table ID # 150.15 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 150.27 [+0.12] TEST: Route in default VRF not removed [ OK ] # 150.72 [+0.45] TEST: Route removed in default VRF when source address deleted [ OK ] # 150.83 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 150.83 [+0.00] Table ID 0 # 151.06 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 152.30 [+1.24] # 152.30 [+0.00] IPv6 delete address route tests # 158.59 [+6.29] Single device using src address # 158.83 [+0.24] TEST: Prefsrc removed when src address removed on other device [ OK ] # 158.83 [+0.00] Two devices with the same source address # 159.03 [+0.20] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 159.25 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 159.26 [+0.00] VRF with single device using src address # 159.46 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 159.46 [+0.00] VRF with two devices using src address # 159.68 [+0.22] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 159.92 [+0.25] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 159.93 [+0.00] src address and nexthop dev in same VRF # 160.14 [+0.22] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 160.25 [+0.11] TEST: Prefsrc in default VRF not removed [ OK ] # 160.71 [+0.46] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 160.84 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 160.84 [+0.00] src address and nexthop device in different VRF # 161.06 [+0.22] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 161.17 [+0.11] TEST: Prefsrc not removed in default VRF [ OK ] # 161.51 [+0.34] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 161.62 [+0.11] TEST: Prefsrc removed in default VRF [ OK ] # 161.62 [+0.00] Table ID 0 # 161.84 [+0.22] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 161.84 [+0.00] Link local source route # 162.09 [+0.25] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 162.33 [+0.24] TEST: Prefsrc removed when delete ll addr [ OK ] # 162.43 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 162.78 [+0.35] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 164.67 [+1.89] # 164.67 [+0.00] IPv4 mangling tests # 173.82 [+9.15] TEST: Connection with correct parameters [ OK ] # 174.06 [+0.24] TEST: Connection with incorrect parameters [ OK ] # 175.18 [+1.12] TEST: Connection with correct parameters - mangling [ OK ] # 176.14 [+0.97] TEST: Connection with correct parameters - no mangling [ OK ] # 176.22 [+0.08] TEST: Connection check - server side [ OK ] # 178.66 [+2.44] # 178.66 [+0.00] IPv6 mangling tests # 187.72 [+9.06] TEST: Connection with correct parameters [ OK ] # 187.97 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 188.95 [+0.98] TEST: Connection with correct parameters - mangling [ OK ] # 189.93 [+0.98] TEST: Connection with correct parameters - no mangling [ OK ] # 190.00 [+0.08] TEST: Connection check - server side [ OK ] # 192.45 [+2.45] # 192.46 [+0.00] IPv4 broadcast neighbour tests # 195.38 [+2.93] TEST: Resolved neighbour for broadcast address [ OK ] # 195.51 [+0.13] TEST: Resolved neighbour for network broadcast address [ OK ] # 195.63 [+0.12] TEST: Unresolved neighbour for broadcast address [ OK ] # 195.75 [+0.12] TEST: Unresolved neighbour for network broadcast address [ OK ] # 198.16 [+2.41] # 198.16 [+0.00] Fib6 garbage collection test # 211.79 [+13.62] TEST: ipv6 route garbage collection [ OK ] # 225.70 [+13.91] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 239.59 [+13.90] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 253.57 [+13.97] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 268.26 [+14.69] TEST: ipv6 route garbage collection (RA message) [ OK ] # 269.22 [+0.96] # 269.22 [+0.00] IPv4 multipath list receive tests # 288.63 [+19.41] TEST: Multipath route hit ratio (1.00) [ OK ] # 290.78 [+2.15] # 290.78 [+0.00] IPv6 multipath list receive tests # 309.27 [+18.48] TEST: Multipath route hit ratio (1.00) [ OK ] # 311.48 [+2.22] # 311.48 [+0.00] Tests passed: 229 # 311.48 [+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__->