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.22 [+1.22] # 1.22 [+0.00] Single path route test # 3.26 [+2.04] Start point # 3.43 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.60 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.81 [+0.21] Nexthop device deleted # 3.99 [+0.18] TEST: IPv4 fibmatch - no route [ OK ] # 4.15 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 5.13 [+0.98] # 5.13 [+0.00] Multipath route test # 8.44 [+3.31] Start point # 8.62 [+0.18] TEST: IPv4 fibmatch [ OK ] # 8.78 [+0.17] TEST: IPv6 fibmatch [ OK ] # 9.00 [+0.22] One nexthop device deleted # 9.17 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.32 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 9.53 [+0.21] Second nexthop device deleted # 9.70 [+0.17] TEST: IPv6 - no route [ OK ] # 10.66 [+0.95] # 10.66 [+0.00] Single path, admin down # 13.01 [+2.35] Start point # 13.17 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.33 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.51 [+0.18] Route deleted on down # 13.68 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.84 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.64 [+0.81] # 14.64 [+0.00] Admin down multipath # 18.00 [+3.36] Verify start point # 18.16 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.32 [+0.16] TEST: IPv6 fibmatch [ OK ] # 18.48 [+0.16] One device down, one up # 18.64 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.79 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.95 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.15 [+0.20] TEST: IPv6 fibmatch on up device [ OK ] # 19.28 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.43 [+0.15] TEST: IPv6 flags on down device [ OK ] # 19.56 [+0.13] TEST: IPv4 flags on up device [ OK ] # 19.69 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.02 [+0.33] Other device down and up # 20.18 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 20.35 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 20.55 [+0.21] TEST: IPv4 fibmatch on up device [ OK ] # 20.72 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 20.85 [+0.13] TEST: IPv4 flags on down device [ OK ] # 20.97 [+0.12] TEST: IPv6 flags on down device [ OK ] # 21.11 [+0.13] TEST: IPv4 flags on up device [ OK ] # 21.26 [+0.16] TEST: IPv6 flags on up device [ OK ] # 21.44 [+0.17] Both devices down # 21.61 [+0.18] TEST: IPv4 fibmatch [ OK ] # 21.79 [+0.18] TEST: IPv6 fibmatch [ OK ] # 22.85 [+1.06] # 22.85 [+0.00] Local carrier tests - single path # 25.34 [+2.49] Start point # 25.50 [+0.16] TEST: IPv4 fibmatch [ OK ] # 25.67 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.81 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 25.95 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 27.23 [+1.28] Carrier off on nexthop # 27.39 [+0.17] TEST: IPv4 fibmatch [ OK ] # 27.56 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.71 [+0.15] TEST: IPv4 - linkdown flag set [ OK ] # 27.88 [+0.17] TEST: IPv6 - linkdown flag set [ OK ] # 28.21 [+0.33] Route to local address with carrier down # 28.38 [+0.17] TEST: IPv4 fibmatch [ OK ] # 28.57 [+0.19] TEST: IPv6 fibmatch [ OK ] # 28.73 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 28.85 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 29.67 [+0.82] # 29.67 [+0.00] Single path route carrier test # 32.34 [+2.67] Start point # 32.52 [+0.18] TEST: IPv4 fibmatch [ OK ] # 32.69 [+0.17] TEST: IPv6 fibmatch [ OK ] # 32.84 [+0.16] TEST: IPv4 no linkdown flag [ OK ] # 33.00 [+0.16] TEST: IPv6 no linkdown flag [ OK ] # 34.28 [+1.27] Carrier down # 34.44 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.59 [+0.15] TEST: IPv6 fibmatch [ OK ] # 34.73 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 34.89 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 35.19 [+0.30] Second address added with carrier down # 35.36 [+0.17] TEST: IPv4 fibmatch [ OK ] # 35.52 [+0.17] TEST: IPv6 fibmatch [ OK ] # 35.65 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 35.81 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 43.42 [+7.61] # 43.42 [+0.00] IPv4 nexthop tests # 43.42 [+0.00] <<< write me >>> # 43.77 [+0.35] # 43.77 [+0.00] IPv6 nexthop tests # 43.94 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 44.11 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.29 [+0.18] TEST: Gateway is linklocal address [ OK ] # 44.47 [+0.18] TEST: Gateway is linklocal address, no device [ OK ] # 44.66 [+0.19] TEST: Gateway can not be local unicast address [ OK ] # 44.84 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 45.02 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 45.20 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 45.38 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 45.56 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 45.75 [+0.19] TEST: Redirect to VRF lookup [ OK ] # 45.93 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 46.09 [+0.17] TEST: VRF route, gateway can not be a local address [ OK ] # 46.27 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 47.88 [+1.61] # 47.88 [+0.00] FIB rule with suppress_prefixlength # 51.40 [+3.53] TEST: FIB rule suppress test [ OK ] # 54.65 [+3.25] # 54.65 [+0.00] Fib6 info length calculation in route notify test # 60.67 [+6.02] TEST: ipv6 route add notify [ OK ] # 63.99 [+3.32] # 63.99 [+0.00] Fib4 info length calculation in route notify test # 69.82 [+5.84] TEST: ipv4 route add notify [ OK ] # 78.45 [+8.63] # 78.45 [+0.00] IPv6 route add / append tests # 79.14 [+0.69] TEST: Attempt to add duplicate route - gw [ OK ] # 79.80 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 80.48 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 81.30 [+0.82] TEST: Append nexthop to existing route - gw [ OK ] # 81.94 [+0.65] TEST: Add multipath route [ OK ] # 82.63 [+0.69] TEST: Attempt to add duplicate multipath route [ OK ] # 83.50 [+0.87] TEST: Route add with different metrics [ OK ] # 83.83 [+0.33] TEST: Route delete with metric [ OK ] # 83.83 [+0.00] # 83.83 [+0.00] IPv6 route replace tests # 84.66 [+0.83] TEST: Single path with single path [ OK ] # 85.49 [+0.83] TEST: Single path with multipath [ OK ] # 86.31 [+0.82] TEST: Single path with single path via multipath attribute [ OK ] # 87.11 [+0.80] TEST: Invalid nexthop [ OK ] # 87.79 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 88.61 [+0.83] TEST: Multipath with multipath [ OK ] # 89.46 [+0.85] TEST: Multipath with single path [ OK ] # 90.27 [+0.81] TEST: Multipath with single path via multipath attribute [ OK ] # 91.10 [+0.82] TEST: Multipath with dev-only [ OK ] # 91.95 [+0.86] TEST: Multipath - invalid first nexthop [ OK ] # 92.79 [+0.83] TEST: Multipath - invalid second nexthop [ OK ] # 93.48 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 93.48 [+0.00] # 93.48 [+0.00] IPv6 route with dsfield tests # 93.81 [+0.33] TEST: Reject route with dsfield [ OK ] # 105.33 [+11.52] # 105.33 [+0.00] IPv4 route add / append tests # 106.00 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 106.66 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 107.31 [+0.65] TEST: Attempt to add duplicate route - reject route [ OK ] # 108.15 [+0.85] TEST: Add new nexthop for existing prefix [ OK ] # 109.00 [+0.85] TEST: Append nexthop to existing route - gw [ OK ] # 109.83 [+0.83] TEST: Append nexthop to existing route - dev only [ OK ] # 110.71 [+0.88] TEST: Append nexthop to existing route - reject route [ OK ] # 111.42 [+0.72] TEST: Append nexthop to existing reject route - gw [ OK ] # 112.12 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 112.80 [+0.68] TEST: add multipath route [ OK ] # 113.58 [+0.78] TEST: Attempt to add duplicate multipath route [ OK ] # 114.43 [+0.84] TEST: Route add with different metrics [ OK ] # 114.77 [+0.34] TEST: Route delete with metric [ OK ] # 114.77 [+0.00] # 114.77 [+0.00] IPv4 route replace tests # 115.62 [+0.85] TEST: Single path with single path [ OK ] # 116.46 [+0.84] TEST: Single path with multipath [ OK ] # 117.28 [+0.82] TEST: Single path with reject route [ OK ] # 118.12 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 118.93 [+0.81] TEST: Invalid nexthop [ OK ] # 119.59 [+0.66] TEST: Single path - replace of non-existent route [ OK ] # 120.41 [+0.82] TEST: Multipath with multipath [ OK ] # 121.23 [+0.82] TEST: Multipath with single path [ OK ] # 122.05 [+0.82] TEST: Multipath with single path via multipath attribute [ OK ] # 122.90 [+0.85] TEST: Multipath with reject route [ OK ] # 123.73 [+0.84] TEST: Multipath - invalid first nexthop [ OK ] # 124.57 [+0.84] TEST: Multipath - invalid second nexthop [ OK ] # 125.23 [+0.66] TEST: Multipath - replace of non-existent route [ OK ] # 127.70 [+2.48] TEST: Cached route removed from VRF port device [ OK ] # 127.71 [+0.00] # 127.71 [+0.00] IPv4 route with dsfield tests # 128.05 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 128.23 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 128.40 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 128.92 [+0.51] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 129.07 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 129.23 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 129.37 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 129.54 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 129.67 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 129.79 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 129.94 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 130.08 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 130.24 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 130.40 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 130.53 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 133.47 [+2.94] # 133.47 [+0.00] IPv6 prefix route tests # 137.05 [+3.58] TEST: Default metric [ OK ] # 137.55 [+0.51] TEST: User specified metric on first device [ OK ] # 138.04 [+0.49] TEST: User specified metric on second device [ OK ] # 138.36 [+0.31] TEST: Delete of address on first device [ OK ] # 138.68 [+0.32] TEST: Modify metric of address [ OK ] # 139.29 [+0.62] TEST: Prefix route removed on link down [ OK ] # 139.63 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 140.15 [+0.52] TEST: Set metric with peer route on local side [ OK ] # 140.31 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 140.64 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 140.80 [+0.16] TEST: Modify metric and peer address on peer side [ OK ] # 142.59 [+1.80] # 142.59 [+0.00] IPv4 prefix route tests # 146.20 [+3.60] TEST: Default metric [ OK ] # 146.71 [+0.51] TEST: User specified metric on first device [ OK ] # 147.23 [+0.52] TEST: User specified metric on second device [ OK ] # 147.57 [+0.34] TEST: Delete of address on first device [ OK ] # 147.91 [+0.34] TEST: Modify metric of address [ OK ] # 148.23 [+0.32] TEST: Prefix route removed on link down [ OK ] # 148.60 [+0.36] TEST: Prefix route with metric on link up [ OK ] # 149.28 [+0.69] TEST: Modify metric of .0/24 address [ OK ] # 149.80 [+0.52] TEST: Set metric of address with peer route [ OK ] # 150.15 [+0.35] TEST: Modify metric and peer address for peer route [ OK ] # 151.94 [+1.79] # 151.94 [+0.00] IPv6 routes with metrics # 161.07 [+9.13] TEST: Single path route with mtu metric [ OK ] # 161.57 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 162.08 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 162.40 [+0.32] TEST: MTU of second leg [ OK ] # 162.73 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 163.18 [+0.45] TEST: Using route with mtu metric [ OK ] # 163.46 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 166.28 [+2.82] # 166.28 [+0.00] IPv4 route add / append tests # 175.48 [+9.20] TEST: Single path route with mtu metric [ OK ] # 175.82 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 176.27 [+0.45] TEST: Using route with mtu metric [ OK ] # 176.55 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 179.37 [+2.82] # 179.37 [+0.00] IPv4 route with IPv6 gateway tests # 190.25 [+10.87] TEST: Single path route with IPv6 gateway [ OK ] # 190.72 [+0.47] TEST: Single path route with IPv6 gateway - ping [ OK ] # 190.88 [+0.17] TEST: Single path route delete [ OK ] # 191.23 [+0.35] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 191.58 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 191.74 [+0.15] TEST: Multipath route delete exact match [ OK ] # 191.91 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 192.26 [+0.36] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 192.45 [+0.19] TEST: Multipath route delete exact match [ OK ] # 195.39 [+2.94] # 195.39 [+0.00] IPv4 rp_filter tests # 207.58 [+12.20] TEST: rp_filter passes local packets [ OK ] # 207.89 [+0.31] TEST: rp_filter passes loopback packets [ OK ] # 209.28 [+1.39] # 209.28 [+0.00] IPv4 delete address route tests # 214.96 [+5.68] Regular FIB info # 215.26 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 215.41 [+0.15] TEST: Route in default VRF not removed [ OK ] # 216.04 [+0.62] TEST: Route removed in default VRF when source address deleted [ OK ] # 216.16 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 216.16 [+0.00] Identical FIB info with different table ID # 216.46 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 216.62 [+0.16] TEST: Route in default VRF not removed [ OK ] # 217.35 [+0.73] TEST: Route removed in default VRF when source address deleted [ OK ] # 217.49 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 217.49 [+0.00] Table ID 0 # 217.81 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 219.62 [+1.81] # 219.62 [+0.00] IPv6 delete address route tests # 229.10 [+9.48] Single device using src address # 229.43 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 229.43 [+0.00] Two devices with the same source address # 229.73 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 230.04 [+0.31] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 230.04 [+0.00] VRF with single device using src address # 230.35 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 230.35 [+0.00] VRF with two devices using src address # 230.66 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 231.00 [+0.34] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 231.00 [+0.00] src address and nexthop dev in same VRF # 231.34 [+0.34] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 231.50 [+0.16] TEST: Prefsrc in default VRF not removed [ OK ] # 232.13 [+0.64] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 232.29 [+0.15] TEST: Prefsrc in default VRF removed [ OK ] # 232.29 [+0.00] src address and nexthop device in different VRF # 232.64 [+0.35] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 232.79 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 233.23 [+0.45] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 233.41 [+0.18] TEST: Prefsrc removed in default VRF [ OK ] # 233.41 [+0.00] Table ID 0 # 233.78 [+0.37] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 233.79 [+0.00] Link local source route # 234.08 [+0.30] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 234.39 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 234.54 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 235.03 [+0.49] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 237.80 [+2.77] # 237.80 [+0.00] IPv4 mangling tests # 250.51 [+12.71] TEST: Connection with correct parameters [ OK ] # 250.84 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 252.33 [+1.49] TEST: Connection with correct parameters - mangling [ OK ] # 253.51 [+1.18] TEST: Connection with correct parameters - no mangling [ OK ] # 253.64 [+0.13] TEST: Connection check - server side [ OK ] # 257.13 [+3.49] # 257.13 [+0.00] IPv6 mangling tests # 269.74 [+12.62] TEST: Connection with correct parameters [ OK ] # 270.13 [+0.39] TEST: Connection with incorrect parameters [ OK ] # 271.33 [+1.20] TEST: Connection with correct parameters - mangling [ OK ] # 272.58 [+1.25] TEST: Connection with correct parameters - no mangling [ OK ] # 272.69 [+0.12] TEST: Connection check - server side [ OK ] # 276.27 [+3.57] # 276.27 [+0.00] IPv4 broadcast neighbour tests # 280.84 [+4.58] TEST: Resolved neighbour for broadcast address [ OK ] # 281.02 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 281.18 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 281.35 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 284.99 [+3.64] # 284.99 [+0.00] Fib6 garbage collection test # 299.52 [+14.53] TEST: ipv6 route garbage collection [ OK ] # 314.35 [+14.83] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 329.25 [+14.89] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 344.18 [+14.93] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 359.66 [+15.48] TEST: ipv6 route garbage collection (RA message) [ OK ] # 361.07 [+1.41] # 361.07 [+0.00] IPv4 multipath list receive tests # 385.16 [+24.09] TEST: Multipath route hit ratio (1.00) [ OK ] # 388.17 [+3.01] # 388.17 [+0.00] IPv6 multipath list receive tests # 411.87 [+23.70] TEST: Multipath route hit ratio (1.00) [ OK ] # 415.07 [+3.21] # 415.07 [+0.00] Tests passed: 229 # 415.07 [+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__->