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.51 [+0.51] # 0.51 [+0.00] Single path route test # 1.68 [+1.17] Start point # 1.79 [+0.12] TEST: IPv4 fibmatch [ OK ] # 1.90 [+0.11] TEST: IPv6 fibmatch [ OK ] # 2.05 [+0.15] Nexthop device deleted # 2.15 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.27 [+0.12] TEST: IPv6 fibmatch - no route [ OK ] # 2.96 [+0.69] # 2.96 [+0.00] Multipath route test # 5.20 [+2.24] Start point # 5.31 [+0.11] TEST: IPv4 fibmatch [ OK ] # 5.42 [+0.11] TEST: IPv6 fibmatch [ OK ] # 5.58 [+0.16] One nexthop device deleted # 5.69 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.80 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 5.96 [+0.16] Second nexthop device deleted # 6.06 [+0.10] TEST: IPv6 - no route [ OK ] # 6.74 [+0.69] # 6.75 [+0.00] Single path, admin down # 8.24 [+1.49] Start point # 8.34 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.45 [+0.11] TEST: IPv6 fibmatch [ OK ] # 8.56 [+0.11] Route deleted on down # 8.68 [+0.12] TEST: IPv4 fibmatch [ OK ] # 8.78 [+0.11] TEST: IPv6 fibmatch [ OK ] # 9.33 [+0.55] # 9.33 [+0.00] Admin down multipath # 11.45 [+2.12] Verify start point # 11.57 [+0.12] TEST: IPv4 fibmatch [ OK ] # 11.69 [+0.12] TEST: IPv6 fibmatch [ OK ] # 11.80 [+0.11] One device down, one up # 11.90 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.02 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 12.14 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 12.25 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.38 [+0.13] TEST: IPv4 flags on down device [ OK ] # 12.51 [+0.13] TEST: IPv6 flags on down device [ OK ] # 12.62 [+0.12] TEST: IPv4 flags on up device [ OK ] # 12.76 [+0.13] TEST: IPv6 flags on up device [ OK ] # 12.98 [+0.23] Other device down and up # 13.09 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 13.21 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 13.33 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 13.43 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 13.57 [+0.14] TEST: IPv4 flags on down device [ OK ] # 13.70 [+0.13] TEST: IPv6 flags on down device [ OK ] # 13.82 [+0.12] TEST: IPv4 flags on up device [ OK ] # 13.96 [+0.14] TEST: IPv6 flags on up device [ OK ] # 14.07 [+0.11] Both devices down # 14.19 [+0.11] TEST: IPv4 fibmatch [ OK ] # 14.29 [+0.10] TEST: IPv6 fibmatch [ OK ] # 14.96 [+0.68] # 14.96 [+0.00] Local carrier tests - single path # 16.54 [+1.58] Start point # 16.66 [+0.12] TEST: IPv4 fibmatch [ OK ] # 16.77 [+0.10] TEST: IPv6 fibmatch [ OK ] # 16.87 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 17.00 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 18.17 [+1.17] Carrier off on nexthop # 18.29 [+0.12] TEST: IPv4 fibmatch [ OK ] # 18.40 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.50 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 18.60 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 18.82 [+0.22] Route to local address with carrier down # 18.93 [+0.11] TEST: IPv4 fibmatch [ OK ] # 19.03 [+0.10] TEST: IPv6 fibmatch [ OK ] # 19.14 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 19.27 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 19.85 [+0.58] # 19.85 [+0.00] Single path route carrier test # 21.43 [+1.58] Start point # 21.53 [+0.11] TEST: IPv4 fibmatch [ OK ] # 21.64 [+0.11] TEST: IPv6 fibmatch [ OK ] # 21.74 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 21.84 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 23.01 [+1.16] Carrier down # 23.12 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.22 [+0.10] TEST: IPv6 fibmatch [ OK ] # 23.33 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 23.43 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 23.64 [+0.21] Second address added with carrier down # 23.76 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.86 [+0.10] TEST: IPv6 fibmatch [ OK ] # 23.98 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 24.08 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 29.35 [+5.27] # 29.35 [+0.00] IPv4 nexthop tests # 29.35 [+0.00] <<< write me >>> # 29.65 [+0.29] # 29.65 [+0.00] IPv6 nexthop tests # 29.77 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 29.91 [+0.14] TEST: Directly connected nexthop, unicast address with device [ OK ] # 30.03 [+0.13] TEST: Gateway is linklocal address [ OK ] # 30.14 [+0.11] TEST: Gateway is linklocal address, no device [ OK ] # 30.28 [+0.14] TEST: Gateway can not be local unicast address [ OK ] # 30.40 [+0.11] TEST: Gateway can not be local unicast address, with device [ OK ] # 30.53 [+0.13] TEST: Gateway can not be a local linklocal address [ OK ] # 30.65 [+0.12] TEST: Gateway can be local address in a VRF [ OK ] # 30.77 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 30.89 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 31.02 [+0.13] TEST: Redirect to VRF lookup [ OK ] # 31.13 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 31.25 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 31.38 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 32.56 [+1.18] # 32.56 [+0.00] FIB rule with suppress_prefixlength # 34.82 [+2.26] TEST: FIB rule suppress test [ OK ] # 36.90 [+2.09] # 36.91 [+0.00] Fib6 info length calculation in route notify test # 42.95 [+6.04] TEST: ipv6 route add notify [ OK ] # 45.47 [+2.51] # 45.47 [+0.00] Fib4 info length calculation in route notify test # 51.07 [+5.61] TEST: ipv4 route add notify [ OK ] # 58.98 [+7.91] # 58.98 [+0.00] IPv6 route add / append tests # 59.50 [+0.52] TEST: Attempt to add duplicate route - gw [ OK ] # 60.05 [+0.55] TEST: Attempt to add duplicate route - dev only [ OK ] # 60.55 [+0.50] TEST: Attempt to add duplicate route - reject route [ OK ] # 61.26 [+0.71] TEST: Append nexthop to existing route - gw [ OK ] # 61.79 [+0.54] TEST: Add multipath route [ OK ] # 62.29 [+0.49] TEST: Attempt to add duplicate multipath route [ OK ] # 62.99 [+0.70] TEST: Route add with different metrics [ OK ] # 63.35 [+0.36] TEST: Route delete with metric [ OK ] # 63.35 [+0.00] # 63.35 [+0.00] IPv6 route replace tests # 64.20 [+0.85] TEST: Single path with single path [ OK ] # 64.96 [+0.76] TEST: Single path with multipath [ OK ] # 65.63 [+0.67] TEST: Single path with single path via multipath attribute [ OK ] # 66.25 [+0.61] TEST: Invalid nexthop [ OK ] # 66.74 [+0.50] TEST: Single path - replace of non-existent route [ OK ] # 67.47 [+0.72] TEST: Multipath with multipath [ OK ] # 68.20 [+0.73] TEST: Multipath with single path [ OK ] # 68.92 [+0.72] TEST: Multipath with single path via multipath attribute [ OK ] # 69.57 [+0.65] TEST: Multipath with dev-only [ OK ] # 70.22 [+0.64] TEST: Multipath - invalid first nexthop [ OK ] # 70.83 [+0.61] TEST: Multipath - invalid second nexthop [ OK ] # 71.29 [+0.46] TEST: Multipath - replace of non-existent route [ OK ] # 71.29 [+0.00] # 71.29 [+0.00] IPv6 route with dsfield tests # 71.55 [+0.26] TEST: Reject route with dsfield [ OK ] # 80.23 [+8.68] # 80.23 [+0.00] IPv4 route add / append tests # 80.99 [+0.76] TEST: Attempt to add duplicate route - gw [ OK ] # 81.65 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 82.35 [+0.70] TEST: Attempt to add duplicate route - reject route [ OK ] # 83.12 [+0.77] TEST: Add new nexthop for existing prefix [ OK ] # 83.78 [+0.65] TEST: Append nexthop to existing route - gw [ OK ] # 84.39 [+0.61] TEST: Append nexthop to existing route - dev only [ OK ] # 85.01 [+0.62] TEST: Append nexthop to existing route - reject route [ OK ] # 85.53 [+0.52] TEST: Append nexthop to existing reject route - gw [ OK ] # 86.02 [+0.49] TEST: Append nexthop to existing reject route - dev only [ OK ] # 86.53 [+0.51] TEST: add multipath route [ OK ] # 87.20 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 87.91 [+0.70] TEST: Route add with different metrics [ OK ] # 88.20 [+0.30] TEST: Route delete with metric [ OK ] # 88.21 [+0.00] # 88.21 [+0.00] IPv4 route replace tests # 88.84 [+0.63] TEST: Single path with single path [ OK ] # 89.46 [+0.62] TEST: Single path with multipath [ OK ] # 90.11 [+0.65] TEST: Single path with reject route [ OK ] # 90.71 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 91.42 [+0.71] TEST: Invalid nexthop [ OK ] # 91.96 [+0.54] TEST: Single path - replace of non-existent route [ OK ] # 92.62 [+0.67] TEST: Multipath with multipath [ OK ] # 93.24 [+0.62] TEST: Multipath with single path [ OK ] # 93.83 [+0.59] TEST: Multipath with single path via multipath attribute [ OK ] # 94.44 [+0.61] TEST: Multipath with reject route [ OK ] # 95.11 [+0.67] TEST: Multipath - invalid first nexthop [ OK ] # 95.82 [+0.71] TEST: Multipath - invalid second nexthop [ OK ] # 96.38 [+0.56] TEST: Multipath - replace of non-existent route [ OK ] # 98.44 [+2.06] TEST: Cached route removed from VRF port device [ OK ] # 98.44 [+0.00] # 98.44 [+0.00] IPv4 route with dsfield tests # 98.70 [+0.26] TEST: Reject route with dsfield 0x01 [ OK ] # 98.84 [+0.14] TEST: Reject route with dsfield 0x02 [ OK ] # 98.97 [+0.13] TEST: Reject route with dsfield 0x03 [ OK ] # 99.34 [+0.37] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 99.44 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 99.57 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 99.70 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 99.80 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 99.90 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 100.02 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 100.13 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 100.24 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 100.37 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 100.50 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 100.63 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 103.14 [+2.51] # 103.14 [+0.00] IPv6 prefix route tests # 105.94 [+2.80] TEST: Default metric [ OK ] # 106.33 [+0.38] TEST: User specified metric on first device [ OK ] # 106.72 [+0.39] TEST: User specified metric on second device [ OK ] # 106.98 [+0.26] TEST: Delete of address on first device [ OK ] # 107.23 [+0.25] TEST: Modify metric of address [ OK ] # 107.63 [+0.39] TEST: Prefix route removed on link down [ OK ] # 107.89 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 108.28 [+0.39] TEST: Set metric with peer route on local side [ OK ] # 108.41 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 108.70 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 108.82 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 110.22 [+1.39] # 110.22 [+0.00] IPv4 prefix route tests # 112.73 [+2.52] TEST: Default metric [ OK ] # 113.15 [+0.41] TEST: User specified metric on first device [ OK ] # 113.69 [+0.54] TEST: User specified metric on second device [ OK ] # 113.97 [+0.28] TEST: Delete of address on first device [ OK ] # 114.26 [+0.30] TEST: Modify metric of address [ OK ] # 114.54 [+0.28] TEST: Prefix route removed on link down [ OK ] # 114.85 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 115.38 [+0.53] TEST: Modify metric of .0/24 address [ OK ] # 115.84 [+0.46] TEST: Set metric of address with peer route [ OK ] # 116.11 [+0.27] TEST: Modify metric and peer address for peer route [ OK ] # 117.52 [+1.41] # 117.52 [+0.00] IPv6 routes with metrics # 124.45 [+6.93] TEST: Single path route with mtu metric [ OK ] # 124.88 [+0.43] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 125.29 [+0.42] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 125.57 [+0.28] TEST: MTU of second leg [ OK ] # 125.86 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 126.19 [+0.33] TEST: Using route with mtu metric [ OK ] # 126.43 [+0.24] TEST: Invalid metric (fails metric_convert) [ OK ] # 128.88 [+2.45] # 128.88 [+0.00] IPv4 route add / append tests # 136.07 [+7.20] TEST: Single path route with mtu metric [ OK ] # 136.33 [+0.26] TEST: Multipath route with mtu metric [ OK ] # 136.64 [+0.31] TEST: Using route with mtu metric [ OK ] # 136.86 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 139.22 [+2.36] # 139.22 [+0.00] IPv4 route with IPv6 gateway tests # 148.28 [+9.06] TEST: Single path route with IPv6 gateway [ OK ] # 148.63 [+0.35] TEST: Single path route with IPv6 gateway - ping [ OK ] # 148.78 [+0.14] TEST: Single path route delete [ OK ] # 149.04 [+0.26] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 149.33 [+0.29] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 149.48 [+0.15] TEST: Multipath route delete exact match [ OK ] # 149.60 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 149.87 [+0.27] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 150.00 [+0.13] TEST: Multipath route delete exact match [ OK ] # 152.12 [+2.12] # 152.12 [+0.00] IPv4 rp_filter tests # 161.09 [+8.97] TEST: rp_filter passes local packets [ OK ] # 161.30 [+0.21] TEST: rp_filter passes loopback packets [ OK ] # 162.28 [+0.98] # 162.28 [+0.00] IPv4 delete address route tests # 166.76 [+4.48] Regular FIB info # 166.99 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 167.12 [+0.13] TEST: Route in default VRF not removed [ OK ] # 167.61 [+0.49] TEST: Route removed in default VRF when source address deleted [ OK ] # 167.77 [+0.16] TEST: Route in VRF is not removed by address delete [ OK ] # 167.78 [+0.00] Identical FIB info with different table ID # 168.04 [+0.26] TEST: Route removed from VRF when source address deleted [ OK ] # 168.18 [+0.14] TEST: Route in default VRF not removed [ OK ] # 168.75 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 168.91 [+0.16] TEST: Route in VRF is not removed by address delete [ OK ] # 168.92 [+0.00] Table ID 0 # 169.19 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 170.52 [+1.33] # 170.52 [+0.00] IPv6 delete address route tests # 178.51 [+7.99] Single device using src address # 178.72 [+0.21] TEST: Prefsrc removed when src address removed on other device [ OK ] # 178.73 [+0.00] Two devices with the same source address # 178.98 [+0.26] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 179.23 [+0.24] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 179.23 [+0.00] VRF with single device using src address # 179.44 [+0.21] TEST: Prefsrc removed when src address removed on other device [ OK ] # 179.44 [+0.00] VRF with two devices using src address # 179.69 [+0.25] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 179.95 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 179.95 [+0.00] src address and nexthop dev in same VRF # 180.20 [+0.25] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 180.31 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 180.77 [+0.46] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 180.88 [+0.11] TEST: Prefsrc in default VRF removed [ OK ] # 180.88 [+0.00] src address and nexthop device in different VRF # 181.13 [+0.24] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 181.25 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 181.59 [+0.33] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 181.70 [+0.11] TEST: Prefsrc removed in default VRF [ OK ] # 181.70 [+0.00] Table ID 0 # 181.95 [+0.25] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 181.95 [+0.00] Link local source route # 182.19 [+0.24] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 182.44 [+0.25] TEST: Prefsrc removed when delete ll addr [ OK ] # 182.56 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 182.90 [+0.34] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 184.90 [+2.00] # 184.90 [+0.00] IPv4 mangling tests # 194.53 [+9.63] TEST: Connection with correct parameters [ OK ] # 194.78 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 195.93 [+1.15] TEST: Connection with correct parameters - mangling [ OK ] # 196.94 [+1.01] TEST: Connection with correct parameters - no mangling [ OK ] # 197.03 [+0.09] TEST: Connection check - server side [ OK ] # 199.56 [+2.54] # 199.56 [+0.00] IPv6 mangling tests # 208.93 [+9.37] TEST: Connection with correct parameters [ OK ] # 209.22 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 210.19 [+0.98] TEST: Connection with correct parameters - mangling [ OK ] # 211.19 [+1.00] TEST: Connection with correct parameters - no mangling [ OK ] # 211.28 [+0.09] TEST: Connection check - server side [ OK ] # 213.94 [+2.66] # 213.94 [+0.00] IPv4 broadcast neighbour tests # 217.00 [+3.06] TEST: Resolved neighbour for broadcast address [ OK ] # 217.12 [+0.12] TEST: Resolved neighbour for network broadcast address [ OK ] # 217.24 [+0.12] TEST: Unresolved neighbour for broadcast address [ OK ] # 217.37 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 219.89 [+2.52] # 219.89 [+0.00] Fib6 garbage collection test # 233.74 [+13.85] TEST: ipv6 route garbage collection [ OK ] # 247.62 [+13.87] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 261.51 [+13.90] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 275.52 [+14.01] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 290.18 [+14.66] TEST: ipv6 route garbage collection (RA message) [ OK ] # 291.10 [+0.92] # 291.10 [+0.00] IPv4 multipath list receive tests # 310.48 [+19.38] TEST: Multipath route hit ratio (1.00) [ OK ] # 312.71 [+2.23] # 312.71 [+0.00] IPv6 multipath list receive tests WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout ^Cmake[1]: *** [../lib.mk:142: run_tests] Interrupt make: *** [Makefile:214: run_tests] Interrupt 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__->