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 # 1.56 [+1.56] # 1.56 [+0.00] Single path route test # 3.89 [+2.33] Start point # 4.09 [+0.20] TEST: IPv4 fibmatch [ OK ] # 4.31 [+0.22] TEST: IPv6 fibmatch [ OK ] # 4.54 [+0.23] Nexthop device deleted # 4.71 [+0.17] TEST: IPv4 fibmatch - no route [ OK ] # 4.92 [+0.21] TEST: IPv6 fibmatch - no route [ OK ] # 6.01 [+1.09] # 6.01 [+0.00] Multipath route test # 9.62 [+3.61] Start point # 9.78 [+0.16] TEST: IPv4 fibmatch [ OK ] # 9.96 [+0.19] TEST: IPv6 fibmatch [ OK ] # 10.17 [+0.21] One nexthop device deleted # 10.36 [+0.18] TEST: IPv4 - multipath route removed on delete [ OK ] # 10.52 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 10.75 [+0.22] Second nexthop device deleted # 10.93 [+0.18] TEST: IPv6 - no route [ OK ] # 11.96 [+1.03] # 11.96 [+0.00] Single path, admin down # 14.37 [+2.41] Start point # 14.54 [+0.17] TEST: IPv4 fibmatch [ OK ] # 14.71 [+0.17] TEST: IPv6 fibmatch [ OK ] # 14.87 [+0.16] Route deleted on down # 15.03 [+0.16] TEST: IPv4 fibmatch [ OK ] # 15.19 [+0.16] TEST: IPv6 fibmatch [ OK ] # 15.98 [+0.79] # 15.98 [+0.00] Admin down multipath # 19.20 [+3.22] Verify start point # 19.36 [+0.16] TEST: IPv4 fibmatch [ OK ] # 19.52 [+0.15] TEST: IPv6 fibmatch [ OK ] # 19.68 [+0.17] One device down, one up # 19.83 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 19.99 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 20.14 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.30 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 20.43 [+0.14] TEST: IPv4 flags on down device [ OK ] # 20.57 [+0.13] TEST: IPv6 flags on down device [ OK ] # 20.68 [+0.12] TEST: IPv4 flags on up device [ OK ] # 20.80 [+0.11] TEST: IPv6 flags on up device [ OK ] # 21.12 [+0.32] Other device down and up # 21.27 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 21.44 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 21.60 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 21.76 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 21.87 [+0.12] TEST: IPv4 flags on down device [ OK ] # 22.01 [+0.13] TEST: IPv6 flags on down device [ OK ] # 22.13 [+0.12] TEST: IPv4 flags on up device [ OK ] # 22.26 [+0.13] TEST: IPv6 flags on up device [ OK ] # 22.43 [+0.17] Both devices down # 22.58 [+0.15] TEST: IPv4 fibmatch [ OK ] # 22.75 [+0.17] TEST: IPv6 fibmatch [ OK ] # 23.79 [+1.05] # 23.79 [+0.00] Local carrier tests - single path # 26.47 [+2.68] Start point # 26.63 [+0.16] TEST: IPv4 fibmatch [ OK ] # 26.81 [+0.18] TEST: IPv6 fibmatch [ OK ] # 27.00 [+0.19] TEST: IPv4 - no linkdown flag [ OK ] # 27.14 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 28.43 [+1.29] Carrier off on nexthop # 28.59 [+0.16] TEST: IPv4 fibmatch [ OK ] # 28.76 [+0.17] TEST: IPv6 fibmatch [ OK ] # 28.88 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 29.04 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 29.37 [+0.33] Route to local address with carrier down # 29.52 [+0.15] TEST: IPv4 fibmatch [ OK ] # 29.68 [+0.16] TEST: IPv6 fibmatch [ OK ] # 29.83 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 29.95 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 30.76 [+0.80] # 30.76 [+0.00] Single path route carrier test # 33.32 [+2.56] Start point # 33.47 [+0.15] TEST: IPv4 fibmatch [ OK ] # 33.62 [+0.15] TEST: IPv6 fibmatch [ OK ] # 33.77 [+0.15] TEST: IPv4 no linkdown flag [ OK ] # 33.91 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 35.18 [+1.27] Carrier down # 35.34 [+0.16] TEST: IPv4 fibmatch [ OK ] # 35.52 [+0.18] TEST: IPv6 fibmatch [ OK ] # 35.64 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 35.78 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 36.12 [+0.34] Second address added with carrier down # 36.27 [+0.15] TEST: IPv4 fibmatch [ OK ] # 36.43 [+0.16] TEST: IPv6 fibmatch [ OK ] # 36.58 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 36.71 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 44.02 [+7.31] # 44.02 [+0.00] IPv4 nexthop tests # 44.02 [+0.00] <<< write me >>> # 44.38 [+0.35] # 44.38 [+0.00] IPv6 nexthop tests # 44.55 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 44.73 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.91 [+0.17] TEST: Gateway is linklocal address [ OK ] # 45.07 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 45.25 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 45.43 [+0.19] TEST: Gateway can not be local unicast address, with device [ OK ] # 45.61 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 45.77 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 45.94 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 46.12 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 46.30 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 46.46 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 46.64 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 46.81 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 48.34 [+1.52] # 48.34 [+0.00] FIB rule with suppress_prefixlength # 51.78 [+3.44] TEST: FIB rule suppress test [ OK ] # 54.90 [+3.12] # 54.90 [+0.00] Fib6 info length calculation in route notify test # 60.84 [+5.94] TEST: ipv6 route add notify [ OK ] # 63.94 [+3.09] # 63.94 [+0.00] Fib4 info length calculation in route notify test # 69.69 [+5.76] TEST: ipv4 route add notify [ OK ] # 78.43 [+8.74] # 78.43 [+0.00] IPv6 route add / append tests # 79.09 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 79.76 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 80.44 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 81.29 [+0.85] TEST: Append nexthop to existing route - gw [ OK ] # 81.95 [+0.66] TEST: Add multipath route [ OK ] # 82.61 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 83.46 [+0.85] TEST: Route add with different metrics [ OK ] # 83.77 [+0.31] TEST: Route delete with metric [ OK ] # 83.78 [+0.00] # 83.78 [+0.00] IPv6 route replace tests # 84.63 [+0.85] TEST: Single path with single path [ OK ] # 85.47 [+0.84] TEST: Single path with multipath [ OK ] # 86.27 [+0.81] TEST: Single path with single path via multipath attribute [ OK ] # 87.12 [+0.85] TEST: Invalid nexthop [ OK ] # 87.82 [+0.70] TEST: Single path - replace of non-existent route [ OK ] # 88.68 [+0.87] TEST: Multipath with multipath [ OK ] # 89.54 [+0.86] TEST: Multipath with single path [ OK ] # 90.40 [+0.85] TEST: Multipath with single path via multipath attribute [ OK ] # 91.20 [+0.80] TEST: Multipath with dev-only [ OK ] # 92.03 [+0.83] TEST: Multipath - invalid first nexthop [ OK ] # 92.87 [+0.84] TEST: Multipath - invalid second nexthop [ OK ] # 93.57 [+0.70] TEST: Multipath - replace of non-existent route [ OK ] # 93.57 [+0.00] # 93.57 [+0.00] IPv6 route with dsfield tests # 93.91 [+0.34] TEST: Reject route with dsfield [ OK ] # 105.50 [+11.59] # 105.50 [+0.00] IPv4 route add / append tests # 106.15 [+0.65] TEST: Attempt to add duplicate route - gw [ OK ] # 106.81 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 107.49 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 108.33 [+0.84] TEST: Add new nexthop for existing prefix [ OK ] # 109.18 [+0.84] TEST: Append nexthop to existing route - gw [ OK ] # 110.03 [+0.85] TEST: Append nexthop to existing route - dev only [ OK ] # 110.89 [+0.86] TEST: Append nexthop to existing route - reject route [ OK ] # 111.56 [+0.67] TEST: Append nexthop to existing reject route - gw [ OK ] # 112.26 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 113.00 [+0.74] TEST: add multipath route [ OK ] # 113.72 [+0.72] TEST: Attempt to add duplicate multipath route [ OK ] # 114.60 [+0.88] TEST: Route add with different metrics [ OK ] # 114.97 [+0.37] TEST: Route delete with metric [ OK ] # 114.97 [+0.00] # 114.97 [+0.00] IPv4 route replace tests # 115.82 [+0.85] TEST: Single path with single path [ OK ] # 116.68 [+0.85] TEST: Single path with multipath [ OK ] # 117.54 [+0.87] TEST: Single path with reject route [ OK ] # 118.41 [+0.86] TEST: Single path with single path via multipath attribute [ OK ] # 119.25 [+0.84] TEST: Invalid nexthop [ OK ] # 119.92 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 120.74 [+0.82] TEST: Multipath with multipath [ OK ] # 121.60 [+0.86] TEST: Multipath with single path [ OK ] # 122.47 [+0.87] TEST: Multipath with single path via multipath attribute [ OK ] # 123.35 [+0.87] TEST: Multipath with reject route [ OK ] # 124.20 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 125.05 [+0.85] TEST: Multipath - invalid second nexthop [ OK ] # 125.76 [+0.71] TEST: Multipath - replace of non-existent route [ OK ] # 128.27 [+2.51] TEST: Cached route removed from VRF port device [ OK ] # 128.27 [+0.00] # 128.27 [+0.00] IPv4 route with dsfield tests # 128.61 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 128.79 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 128.96 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 129.47 [+0.51] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 129.62 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 129.76 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 129.88 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 130.04 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 130.22 [+0.19] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 130.37 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 130.52 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 130.67 [+0.15] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 130.80 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 130.96 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 131.10 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 134.03 [+2.94] # 134.03 [+0.00] IPv6 prefix route tests # 137.76 [+3.72] TEST: Default metric [ OK ] # 138.25 [+0.49] TEST: User specified metric on first device [ OK ] # 138.77 [+0.52] TEST: User specified metric on second device [ OK ] # 139.15 [+0.38] TEST: Delete of address on first device [ OK ] # 139.52 [+0.37] TEST: Modify metric of address [ OK ] # 140.15 [+0.62] TEST: Prefix route removed on link down [ OK ] # 140.49 [+0.35] TEST: Prefix route with metric on link up [ OK ] # 140.99 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 141.13 [+0.15] TEST: Set metric with peer route on peer side [ OK ] # 141.46 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 141.62 [+0.16] TEST: Modify metric and peer address on peer side [ OK ] # 143.44 [+1.83] # 143.44 [+0.00] IPv4 prefix route tests # 147.14 [+3.69] TEST: Default metric [ OK ] # 147.67 [+0.54] TEST: User specified metric on first device [ OK ] # 148.24 [+0.57] TEST: User specified metric on second device [ OK ] # 148.59 [+0.35] TEST: Delete of address on first device [ OK ] # 148.95 [+0.35] TEST: Modify metric of address [ OK ] # 149.29 [+0.34] TEST: Prefix route removed on link down [ OK ] # 149.67 [+0.38] TEST: Prefix route with metric on link up [ OK ] # 150.39 [+0.72] TEST: Modify metric of .0/24 address [ OK ] # 150.92 [+0.53] TEST: Set metric of address with peer route [ OK ] # 151.28 [+0.36] TEST: Modify metric and peer address for peer route [ OK ] # 153.11 [+1.83] # 153.11 [+0.00] IPv6 routes with metrics # 162.03 [+8.92] TEST: Single path route with mtu metric [ OK ] # 162.55 [+0.52] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 163.01 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 163.35 [+0.34] TEST: MTU of second leg [ OK ] # 163.67 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 164.11 [+0.44] TEST: Using route with mtu metric [ OK ] # 164.37 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 167.13 [+2.76] # 167.13 [+0.00] IPv4 route add / append tests # 176.04 [+8.91] TEST: Single path route with mtu metric [ OK ] # 176.38 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 176.84 [+0.46] TEST: Using route with mtu metric [ OK ] # 177.12 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 179.93 [+2.81] # 179.93 [+0.00] IPv4 route with IPv6 gateway tests # 191.09 [+11.16] TEST: Single path route with IPv6 gateway [ OK ] # 191.55 [+0.45] TEST: Single path route with IPv6 gateway - ping [ OK ] # 191.71 [+0.17] TEST: Single path route delete [ OK ] # 192.04 [+0.33] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 192.37 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 192.54 [+0.16] TEST: Multipath route delete exact match [ OK ] # 192.71 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 193.07 [+0.36] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 193.23 [+0.16] TEST: Multipath route delete exact match [ OK ] # 195.98 [+2.76] # 195.98 [+0.00] IPv4 rp_filter tests # 207.66 [+11.67] TEST: rp_filter passes local packets [ OK ] # 207.94 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 209.37 [+1.43] # 209.37 [+0.00] IPv4 delete address route tests # 215.08 [+5.72] Regular FIB info # 215.39 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 215.54 [+0.14] TEST: Route in default VRF not removed [ OK ] # 216.17 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 216.29 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 216.29 [+0.00] Identical FIB info with different table ID # 216.61 [+0.32] TEST: Route removed from VRF when source address deleted [ OK ] # 216.77 [+0.16] TEST: Route in default VRF not removed [ OK ] # 217.40 [+0.62] TEST: Route removed in default VRF when source address deleted [ OK ] # 217.52 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 217.52 [+0.00] Table ID 0 # 217.84 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 219.61 [+1.77] # 219.61 [+0.00] IPv6 delete address route tests # 229.51 [+9.90] Single device using src address # 229.86 [+0.35] TEST: Prefsrc removed when src address removed on other device [ OK ] # 229.86 [+0.00] Two devices with the same source address # 230.17 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 230.51 [+0.34] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 230.52 [+0.01] VRF with single device using src address # 230.83 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 230.83 [+0.00] VRF with two devices using src address # 231.14 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 231.45 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 231.45 [+0.00] src address and nexthop dev in same VRF # 231.81 [+0.36] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 231.95 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 232.61 [+0.65] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 232.76 [+0.16] TEST: Prefsrc in default VRF removed [ OK ] # 232.77 [+0.00] src address and nexthop device in different VRF # 233.07 [+0.30] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 233.22 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 233.72 [+0.50] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 233.86 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 233.86 [+0.00] Table ID 0 # 234.20 [+0.34] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 234.21 [+0.00] Link local source route # 234.50 [+0.30] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 234.80 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 234.93 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 235.46 [+0.53] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 238.37 [+2.91] # 238.37 [+0.00] IPv4 mangling tests # 251.22 [+12.85] TEST: Connection with correct parameters [ OK ] # 251.56 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 252.89 [+1.33] TEST: Connection with correct parameters - mangling [ OK ] # 254.07 [+1.18] TEST: Connection with correct parameters - no mangling [ OK ] # 254.17 [+0.10] TEST: Connection check - server side [ OK ] # 257.80 [+3.63] # 257.80 [+0.00] IPv6 mangling tests # 270.75 [+12.95] TEST: Connection with correct parameters [ OK ] # 271.13 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 272.31 [+1.19] TEST: Connection with correct parameters - mangling [ OK ] # 273.53 [+1.22] TEST: Connection with correct parameters - no mangling [ OK ] # 273.64 [+0.10] TEST: Connection check - server side [ OK ] # 276.99 [+3.35] # 276.99 [+0.00] IPv4 broadcast neighbour tests # 281.34 [+4.35] TEST: Resolved neighbour for broadcast address [ OK ] # 281.50 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 281.68 [+0.18] TEST: Unresolved neighbour for broadcast address [ OK ] # 281.85 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 285.59 [+3.74] # 285.59 [+0.00] Fib6 garbage collection test # 300.02 [+14.43] TEST: ipv6 route garbage collection [ OK ] # 314.94 [+14.91] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 329.79 [+14.86] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 344.65 [+14.85] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 360.17 [+15.53] TEST: ipv6 route garbage collection (RA message) [ OK ] # 361.64 [+1.47] # 361.64 [+0.00] IPv4 multipath list receive tests # 385.62 [+23.98] TEST: Multipath route hit ratio (1.00) [ OK ] # 388.58 [+2.96] # 388.58 [+0.00] IPv6 multipath list receive tests # 410.71 [+22.13] TEST: Multipath route hit ratio (1.00) [ OK ] # 413.73 [+3.02] # 413.73 [+0.00] Tests passed: 229 # 413.73 [+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__->