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.02 [+1.02] # 1.02 [+0.00] Single path route test # 2.91 [+1.89] Start point # 3.08 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.24 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.43 [+0.19] Nexthop device deleted # 3.59 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.74 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.77 [+1.03] # 4.77 [+0.00] Multipath route test # 8.07 [+3.30] Start point # 8.24 [+0.17] TEST: IPv4 fibmatch [ OK ] # 8.40 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.58 [+0.18] One nexthop device deleted # 8.75 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.91 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.10 [+0.19] Second nexthop device deleted # 9.26 [+0.16] TEST: IPv6 - no route [ OK ] # 10.23 [+0.97] # 10.23 [+0.00] Single path, admin down # 12.55 [+2.32] Start point # 12.71 [+0.16] TEST: IPv4 fibmatch [ OK ] # 12.87 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.03 [+0.16] Route deleted on down # 13.19 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.34 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.17 [+0.82] # 14.17 [+0.00] Admin down multipath # 17.47 [+3.30] Verify start point # 17.63 [+0.16] TEST: IPv4 fibmatch [ OK ] # 17.79 [+0.17] TEST: IPv6 fibmatch [ OK ] # 17.95 [+0.16] One device down, one up # 18.11 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.28 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.43 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 18.59 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 18.72 [+0.13] TEST: IPv4 flags on down device [ OK ] # 18.87 [+0.15] TEST: IPv6 flags on down device [ OK ] # 18.99 [+0.12] TEST: IPv4 flags on up device [ OK ] # 19.14 [+0.15] TEST: IPv6 flags on up device [ OK ] # 19.46 [+0.32] Other device down and up # 19.63 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.79 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.95 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.11 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.24 [+0.13] TEST: IPv4 flags on down device [ OK ] # 20.36 [+0.12] TEST: IPv6 flags on down device [ OK ] # 20.49 [+0.13] TEST: IPv4 flags on up device [ OK ] # 20.64 [+0.15] TEST: IPv6 flags on up device [ OK ] # 20.81 [+0.16] Both devices down # 20.96 [+0.15] TEST: IPv4 fibmatch [ OK ] # 21.13 [+0.17] TEST: IPv6 fibmatch [ OK ] # 22.11 [+0.98] # 22.11 [+0.00] Local carrier tests - single path # 24.61 [+2.50] Start point # 24.77 [+0.16] TEST: IPv4 fibmatch [ OK ] # 24.93 [+0.16] TEST: IPv6 fibmatch [ OK ] # 25.08 [+0.15] TEST: IPv4 - no linkdown flag [ OK ] # 25.20 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 26.48 [+1.28] Carrier off on nexthop # 26.65 [+0.17] TEST: IPv4 fibmatch [ OK ] # 26.80 [+0.16] TEST: IPv6 fibmatch [ OK ] # 26.93 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 27.07 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 27.39 [+0.33] Route to local address with carrier down # 27.55 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.71 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.84 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 27.99 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 28.79 [+0.81] # 28.79 [+0.00] Single path route carrier test # 31.28 [+2.49] Start point # 31.44 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.59 [+0.16] TEST: IPv6 fibmatch [ OK ] # 31.73 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 31.88 [+0.15] TEST: IPv6 no linkdown flag [ OK ] # 33.16 [+1.28] Carrier down # 33.32 [+0.16] TEST: IPv4 fibmatch [ OK ] # 33.48 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.61 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 33.74 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 34.06 [+0.33] Second address added with carrier down # 34.21 [+0.15] TEST: IPv4 fibmatch [ OK ] # 34.37 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.51 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 34.63 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 41.88 [+7.25] # 41.88 [+0.00] IPv4 nexthop tests # 41.88 [+0.00] <<< write me >>> # 42.22 [+0.34] # 42.22 [+0.00] IPv6 nexthop tests # 42.41 [+0.19] TEST: Directly connected nexthop, unicast address [ OK ] # 42.59 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 42.76 [+0.17] TEST: Gateway is linklocal address [ OK ] # 42.93 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 43.10 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 43.28 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.47 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 43.65 [+0.19] TEST: Gateway can be local address in a VRF [ OK ] # 43.82 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 43.99 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.17 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 44.34 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.52 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 44.70 [+0.18] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.23 [+1.53] # 46.23 [+0.00] FIB rule with suppress_prefixlength # 49.68 [+3.46] TEST: FIB rule suppress test [ OK ] # 52.79 [+3.11] # 52.79 [+0.00] Fib6 info length calculation in route notify test # 58.57 [+5.78] TEST: ipv6 route add notify [ OK ] # 61.70 [+3.13] # 61.70 [+0.00] Fib4 info length calculation in route notify test # 67.46 [+5.76] TEST: ipv4 route add notify [ OK ] # 76.03 [+8.56] # 76.03 [+0.00] IPv6 route add / append tests # 76.70 [+0.67] TEST: Attempt to add duplicate route - gw [ OK ] # 77.36 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 78.04 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 78.90 [+0.85] TEST: Append nexthop to existing route - gw [ OK ] # 79.57 [+0.67] TEST: Add multipath route [ OK ] # 80.26 [+0.69] TEST: Attempt to add duplicate multipath route [ OK ] # 81.09 [+0.83] TEST: Route add with different metrics [ OK ] # 81.43 [+0.34] TEST: Route delete with metric [ OK ] # 81.43 [+0.00] # 81.43 [+0.00] IPv6 route replace tests # 82.26 [+0.83] TEST: Single path with single path [ OK ] # 83.09 [+0.83] TEST: Single path with multipath [ OK ] # 83.91 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 84.75 [+0.84] TEST: Invalid nexthop [ OK ] # 85.42 [+0.67] TEST: Single path - replace of non-existent route [ OK ] # 86.27 [+0.85] TEST: Multipath with multipath [ OK ] # 87.12 [+0.85] TEST: Multipath with single path [ OK ] # 87.94 [+0.82] TEST: Multipath with single path via multipath attribute [ OK ] # 88.76 [+0.82] TEST: Multipath with dev-only [ OK ] # 89.59 [+0.83] TEST: Multipath - invalid first nexthop [ OK ] # 90.41 [+0.82] TEST: Multipath - invalid second nexthop [ OK ] # 91.07 [+0.66] TEST: Multipath - replace of non-existent route [ OK ] # 91.08 [+0.00] # 91.08 [+0.00] IPv6 route with dsfield tests # 91.41 [+0.33] TEST: Reject route with dsfield [ OK ] # 102.74 [+11.33] # 102.74 [+0.00] IPv4 route add / append tests # 103.41 [+0.67] TEST: Attempt to add duplicate route - gw [ OK ] # 104.08 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 104.73 [+0.65] TEST: Attempt to add duplicate route - reject route [ OK ] # 105.56 [+0.83] TEST: Add new nexthop for existing prefix [ OK ] # 106.39 [+0.83] TEST: Append nexthop to existing route - gw [ OK ] # 107.22 [+0.83] TEST: Append nexthop to existing route - dev only [ OK ] # 108.06 [+0.84] TEST: Append nexthop to existing route - reject route [ OK ] # 108.73 [+0.67] TEST: Append nexthop to existing reject route - gw [ OK ] # 109.40 [+0.67] TEST: Append nexthop to existing reject route - dev only [ OK ] # 110.08 [+0.69] TEST: add multipath route [ OK ] # 110.75 [+0.66] TEST: Attempt to add duplicate multipath route [ OK ] # 111.60 [+0.85] TEST: Route add with different metrics [ OK ] # 111.94 [+0.34] TEST: Route delete with metric [ OK ] # 111.94 [+0.00] # 111.94 [+0.00] IPv4 route replace tests # 112.78 [+0.84] TEST: Single path with single path [ OK ] # 113.61 [+0.83] TEST: Single path with multipath [ OK ] # 114.44 [+0.83] TEST: Single path with reject route [ OK ] # 115.28 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 116.15 [+0.87] TEST: Invalid nexthop [ OK ] # 116.83 [+0.67] TEST: Single path - replace of non-existent route [ OK ] # 117.68 [+0.85] TEST: Multipath with multipath [ OK ] # 118.53 [+0.85] TEST: Multipath with single path [ OK ] # 119.36 [+0.83] TEST: Multipath with single path via multipath attribute [ OK ] # 120.19 [+0.83] TEST: Multipath with reject route [ OK ] # 121.04 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 121.88 [+0.85] TEST: Multipath - invalid second nexthop [ OK ] # 122.55 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 125.05 [+2.50] TEST: Cached route removed from VRF port device [ OK ] # 125.05 [+0.00] # 125.05 [+0.00] IPv4 route with dsfield tests # 125.39 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 125.55 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 125.74 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 126.24 [+0.50] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 126.37 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 126.51 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 126.63 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 126.77 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 126.91 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 127.05 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 127.18 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 127.31 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 127.45 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 127.58 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 127.71 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 130.54 [+2.83] # 130.54 [+0.00] IPv6 prefix route tests # 134.25 [+3.70] TEST: Default metric [ OK ] # 134.75 [+0.51] TEST: User specified metric on first device [ OK ] # 135.25 [+0.50] TEST: User specified metric on second device [ OK ] # 135.56 [+0.31] TEST: Delete of address on first device [ OK ] # 135.89 [+0.33] TEST: Modify metric of address [ OK ] # 136.51 [+0.62] TEST: Prefix route removed on link down [ OK ] # 136.83 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 137.31 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 137.47 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 137.81 [+0.33] TEST: Modify metric and peer address on local side [ OK ] # 137.96 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 139.68 [+1.72] # 139.68 [+0.00] IPv4 prefix route tests # 143.29 [+3.61] TEST: Default metric [ OK ] # 143.81 [+0.52] TEST: User specified metric on first device [ OK ] # 144.32 [+0.51] TEST: User specified metric on second device [ OK ] # 144.65 [+0.34] TEST: Delete of address on first device [ OK ] # 145.01 [+0.35] TEST: Modify metric of address [ OK ] # 145.33 [+0.32] TEST: Prefix route removed on link down [ OK ] # 145.68 [+0.35] TEST: Prefix route with metric on link up [ OK ] # 146.36 [+0.69] TEST: Modify metric of .0/24 address [ OK ] # 146.89 [+0.52] TEST: Set metric of address with peer route [ OK ] # 147.23 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 149.00 [+1.77] # 149.00 [+0.00] IPv6 routes with metrics # 158.02 [+9.02] TEST: Single path route with mtu metric [ OK ] # 158.52 [+0.50] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 159.02 [+0.50] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 159.33 [+0.30] TEST: MTU of second leg [ OK ] # 159.66 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 160.12 [+0.46] TEST: Using route with mtu metric [ OK ] # 160.39 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 163.20 [+2.81] # 163.20 [+0.00] IPv4 route add / append tests # 172.33 [+9.13] TEST: Single path route with mtu metric [ OK ] # 172.73 [+0.40] TEST: Multipath route with mtu metric [ OK ] # 173.32 [+0.59] TEST: Using route with mtu metric [ OK ] # 173.60 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 176.40 [+2.80] # 176.40 [+0.00] IPv4 route with IPv6 gateway tests # 187.46 [+11.06] TEST: Single path route with IPv6 gateway [ OK ] # 187.92 [+0.46] TEST: Single path route with IPv6 gateway - ping [ OK ] # 188.11 [+0.19] TEST: Single path route delete [ OK ] # 188.45 [+0.34] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 188.81 [+0.36] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 188.99 [+0.18] TEST: Multipath route delete exact match [ OK ] # 189.18 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 189.53 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 189.70 [+0.17] TEST: Multipath route delete exact match [ OK ] # 192.52 [+2.82] # 192.52 [+0.00] IPv4 rp_filter tests # 204.53 [+12.01] TEST: rp_filter passes local packets [ OK ] # 204.83 [+0.30] TEST: rp_filter passes loopback packets [ OK ] # 206.34 [+1.51] # 206.34 [+0.00] IPv4 delete address route tests # 212.12 [+5.78] Regular FIB info # 212.40 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 212.52 [+0.12] TEST: Route in default VRF not removed [ OK ] # 213.15 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 213.29 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 213.29 [+0.00] Identical FIB info with different table ID # 213.58 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 213.72 [+0.14] TEST: Route in default VRF not removed [ OK ] # 214.36 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 214.51 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 214.51 [+0.00] Table ID 0 # 214.80 [+0.28] TEST: Route removed in default VRF when source address deleted [ OK ] # 216.61 [+1.82] # 216.61 [+0.00] IPv6 delete address route tests # 226.28 [+9.67] Single device using src address # 226.61 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 226.61 [+0.00] Two devices with the same source address # 226.91 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 227.21 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 227.21 [+0.00] VRF with single device using src address # 227.54 [+0.33] TEST: Prefsrc removed when src address removed on other device [ OK ] # 227.54 [+0.00] VRF with two devices using src address # 227.86 [+0.32] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 228.19 [+0.33] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 228.19 [+0.00] src address and nexthop dev in same VRF # 228.49 [+0.30] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 228.62 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 229.25 [+0.64] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 229.39 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 229.39 [+0.00] src address and nexthop device in different VRF # 229.70 [+0.30] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 229.84 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 230.33 [+0.48] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 230.46 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 230.46 [+0.00] Table ID 0 # 230.77 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 230.77 [+0.00] Link local source route # 231.05 [+0.28] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 231.35 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 231.49 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 231.98 [+0.49] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 234.76 [+2.78] # 234.76 [+0.00] IPv4 mangling tests # 247.47 [+12.71] TEST: Connection with correct parameters [ OK ] # 247.80 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 249.12 [+1.32] TEST: Connection with correct parameters - mangling [ OK ] # 250.29 [+1.17] TEST: Connection with correct parameters - no mangling [ OK ] # 250.39 [+0.10] TEST: Connection check - server side [ OK ] # 253.74 [+3.35] # 253.74 [+0.00] IPv6 mangling tests # 266.53 [+12.79] TEST: Connection with correct parameters [ OK ] # 266.90 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 268.11 [+1.21] TEST: Connection with correct parameters - mangling [ OK ] # 269.31 [+1.21] TEST: Connection with correct parameters - no mangling [ OK ] # 269.41 [+0.10] TEST: Connection check - server side [ OK ] # 272.91 [+3.50] # 272.91 [+0.00] IPv4 broadcast neighbour tests # 277.27 [+4.36] TEST: Resolved neighbour for broadcast address [ OK ] # 277.44 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 277.60 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 277.79 [+0.19] TEST: Unresolved neighbour for network broadcast address [ OK ] # 281.49 [+3.70] # 281.49 [+0.00] Fib6 garbage collection test # 295.93 [+14.45] TEST: ipv6 route garbage collection [ OK ] # 310.67 [+14.73] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 325.37 [+14.70] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 340.23 [+14.87] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 355.55 [+15.32] TEST: ipv6 route garbage collection (RA message) [ OK ] # 356.87 [+1.32] # 356.87 [+0.00] IPv4 multipath list receive tests # 381.02 [+24.14] TEST: Multipath route hit ratio (1.00) [ OK ] # 384.03 [+3.01] # 384.03 [+0.00] IPv6 multipath list receive tests # 406.96 [+22.93] TEST: Multipath route hit ratio (1.00) [ OK ] # 409.94 [+2.98] # 409.94 [+0.00] Tests passed: 229 # 409.94 [+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__->