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.00 [+1.00] # 1.00 [+0.00] Single path route test # 3.00 [+1.99] Start point # 3.18 [+0.18] TEST: IPv4 fibmatch [ OK ] # 3.34 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.55 [+0.21] Nexthop device deleted # 3.78 [+0.23] TEST: IPv4 fibmatch - no route [ OK ] # 3.97 [+0.19] TEST: IPv6 fibmatch - no route [ OK ] # 5.04 [+1.07] # 5.04 [+0.00] Multipath route test # 8.36 [+3.31] Start point # 8.51 [+0.15] TEST: IPv4 fibmatch [ OK ] # 8.67 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.85 [+0.19] One nexthop device deleted # 9.02 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.21 [+0.18] TEST: IPv6 - multipath down to single path [ OK ] # 9.41 [+0.20] Second nexthop device deleted # 9.57 [+0.16] TEST: IPv6 - no route [ OK ] # 10.54 [+0.97] # 10.54 [+0.00] Single path, admin down # 12.98 [+2.44] Start point # 13.16 [+0.18] TEST: IPv4 fibmatch [ OK ] # 13.33 [+0.18] TEST: IPv6 fibmatch [ OK ] # 13.51 [+0.17] Route deleted on down # 13.67 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.85 [+0.18] TEST: IPv6 fibmatch [ OK ] # 14.77 [+0.92] # 14.77 [+0.00] Admin down multipath # 18.24 [+3.46] Verify start point # 18.41 [+0.17] TEST: IPv4 fibmatch [ OK ] # 18.59 [+0.18] TEST: IPv6 fibmatch [ OK ] # 18.76 [+0.18] One device down, one up # 18.93 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 19.11 [+0.18] TEST: IPv6 fibmatch on down device [ OK ] # 19.31 [+0.21] TEST: IPv4 fibmatch on up device [ OK ] # 19.50 [+0.18] TEST: IPv6 fibmatch on up device [ OK ] # 19.63 [+0.14] TEST: IPv4 flags on down device [ OK ] # 19.80 [+0.17] TEST: IPv6 flags on down device [ OK ] # 19.92 [+0.12] TEST: IPv4 flags on up device [ OK ] # 20.04 [+0.12] TEST: IPv6 flags on up device [ OK ] # 20.43 [+0.39] Other device down and up # 20.61 [+0.18] TEST: IPv4 fibmatch on down device [ OK ] # 20.78 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 20.99 [+0.21] TEST: IPv4 fibmatch on up device [ OK ] # 21.18 [+0.19] TEST: IPv6 fibmatch on up device [ OK ] # 21.34 [+0.16] TEST: IPv4 flags on down device [ OK ] # 21.53 [+0.18] TEST: IPv6 flags on down device [ OK ] # 21.66 [+0.14] TEST: IPv4 flags on up device [ OK ] # 21.80 [+0.14] TEST: IPv6 flags on up device [ OK ] # 22.00 [+0.20] Both devices down # 22.18 [+0.18] TEST: IPv4 fibmatch [ OK ] # 22.39 [+0.21] TEST: IPv6 fibmatch [ OK ] # 23.49 [+1.09] # 23.49 [+0.00] Local carrier tests - single path # 26.49 [+3.00] Start point # 26.70 [+0.21] TEST: IPv4 fibmatch [ OK ] # 26.89 [+0.19] TEST: IPv6 fibmatch [ OK ] # 27.03 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 27.19 [+0.16] TEST: IPv6 - no linkdown flag [ OK ] # 28.52 [+1.32] Carrier off on nexthop # 28.74 [+0.23] TEST: IPv4 fibmatch [ OK ] # 28.95 [+0.20] TEST: IPv6 fibmatch [ OK ] # 29.15 [+0.21] TEST: IPv4 - linkdown flag set [ OK ] # 29.32 [+0.17] TEST: IPv6 - linkdown flag set [ OK ] # 29.72 [+0.39] Route to local address with carrier down # 29.93 [+0.21] TEST: IPv4 fibmatch [ OK ] # 30.12 [+0.19] TEST: IPv6 fibmatch [ OK ] # 30.29 [+0.17] TEST: IPv4 linkdown flag set [ OK ] # 30.47 [+0.18] TEST: IPv6 linkdown flag set [ OK ] # 31.52 [+1.05] # 31.52 [+0.00] Single path route carrier test # 34.38 [+2.86] Start point # 34.57 [+0.19] TEST: IPv4 fibmatch [ OK ] # 34.77 [+0.21] TEST: IPv6 fibmatch [ OK ] # 34.98 [+0.20] TEST: IPv4 no linkdown flag [ OK ] # 35.14 [+0.17] TEST: IPv6 no linkdown flag [ OK ] # 36.49 [+1.35] Carrier down # 36.67 [+0.18] TEST: IPv4 fibmatch [ OK ] # 36.86 [+0.20] TEST: IPv6 fibmatch [ OK ] # 37.02 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 37.20 [+0.18] TEST: IPv6 linkdown flag set [ OK ] # 37.61 [+0.41] Second address added with carrier down # 37.78 [+0.17] TEST: IPv4 fibmatch [ OK ] # 37.97 [+0.19] TEST: IPv6 fibmatch [ OK ] # 38.12 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 38.28 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 46.56 [+8.28] # 46.56 [+0.00] IPv4 nexthop tests # 46.56 [+0.00] <<< write me >>> # 46.93 [+0.37] # 46.93 [+0.00] IPv6 nexthop tests # 47.12 [+0.19] TEST: Directly connected nexthop, unicast address [ OK ] # 47.30 [+0.19] TEST: Directly connected nexthop, unicast address with device [ OK ] # 47.50 [+0.20] TEST: Gateway is linklocal address [ OK ] # 47.68 [+0.18] TEST: Gateway is linklocal address, no device [ OK ] # 47.86 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 48.04 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 48.26 [+0.22] TEST: Gateway can not be a local linklocal address [ OK ] # 48.46 [+0.20] TEST: Gateway can be local address in a VRF [ OK ] # 48.65 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 48.82 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 49.00 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 49.18 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 49.38 [+0.19] TEST: VRF route, gateway can not be a local address [ OK ] # 49.54 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 51.15 [+1.61] # 51.15 [+0.00] FIB rule with suppress_prefixlength # 54.79 [+3.63] TEST: FIB rule suppress test [ OK ] # 57.91 [+3.13] # 57.91 [+0.00] Fib6 info length calculation in route notify test # 63.66 [+5.75] TEST: ipv6 route add notify [ OK ] # 66.82 [+3.16] # 66.83 [+0.00] Fib4 info length calculation in route notify test # 72.61 [+5.78] TEST: ipv4 route add notify [ OK ] # 81.32 [+8.72] # 81.33 [+0.00] IPv6 route add / append tests # 82.01 [+0.69] TEST: Attempt to add duplicate route - gw [ OK ] # 82.70 [+0.69] TEST: Attempt to add duplicate route - dev only [ OK ] # 83.35 [+0.65] TEST: Attempt to add duplicate route - reject route [ OK ] # 84.19 [+0.84] TEST: Append nexthop to existing route - gw [ OK ] # 84.85 [+0.66] TEST: Add multipath route [ OK ] # 85.52 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 86.38 [+0.86] TEST: Route add with different metrics [ OK ] # 86.71 [+0.33] TEST: Route delete with metric [ OK ] # 86.71 [+0.00] # 86.71 [+0.00] IPv6 route replace tests # 87.50 [+0.79] TEST: Single path with single path [ OK ] # 88.33 [+0.83] TEST: Single path with multipath [ OK ] # 89.13 [+0.80] TEST: Single path with single path via multipath attribute [ OK ] # 89.94 [+0.81] TEST: Invalid nexthop [ OK ] # 90.63 [+0.69] TEST: Single path - replace of non-existent route [ OK ] # 91.47 [+0.84] TEST: Multipath with multipath [ OK ] # 92.33 [+0.86] TEST: Multipath with single path [ OK ] # 93.25 [+0.91] TEST: Multipath with single path via multipath attribute [ OK ] # 94.15 [+0.90] TEST: Multipath with dev-only [ OK ] # 95.03 [+0.88] TEST: Multipath - invalid first nexthop [ OK ] # 95.89 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 96.58 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 96.58 [+0.00] # 96.58 [+0.00] IPv6 route with dsfield tests # 96.93 [+0.34] TEST: Reject route with dsfield [ OK ] # 108.88 [+11.96] # 108.88 [+0.00] IPv4 route add / append tests # 109.60 [+0.72] TEST: Attempt to add duplicate route - gw [ OK ] # 110.30 [+0.70] TEST: Attempt to add duplicate route - dev only [ OK ] # 110.97 [+0.66] TEST: Attempt to add duplicate route - reject route [ OK ] # 111.84 [+0.88] TEST: Add new nexthop for existing prefix [ OK ] # 112.73 [+0.88] TEST: Append nexthop to existing route - gw [ OK ] # 113.57 [+0.84] TEST: Append nexthop to existing route - dev only [ OK ] # 114.44 [+0.87] TEST: Append nexthop to existing route - reject route [ OK ] # 115.14 [+0.70] TEST: Append nexthop to existing reject route - gw [ OK ] # 115.84 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 116.56 [+0.72] TEST: add multipath route [ OK ] # 117.30 [+0.74] TEST: Attempt to add duplicate multipath route [ OK ] # 118.14 [+0.84] TEST: Route add with different metrics [ OK ] # 118.48 [+0.34] TEST: Route delete with metric [ OK ] # 118.49 [+0.00] # 118.49 [+0.00] IPv4 route replace tests # 119.37 [+0.88] TEST: Single path with single path [ OK ] # 120.22 [+0.85] TEST: Single path with multipath [ OK ] # 121.06 [+0.85] TEST: Single path with reject route [ OK ] # 121.90 [+0.84] TEST: Single path with single path via multipath attribute [ OK ] # 122.77 [+0.87] TEST: Invalid nexthop [ OK ] # 123.45 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 124.31 [+0.86] TEST: Multipath with multipath [ OK ] # 125.14 [+0.83] TEST: Multipath with single path [ OK ] # 125.99 [+0.85] TEST: Multipath with single path via multipath attribute [ OK ] # 126.82 [+0.83] TEST: Multipath with reject route [ OK ] # 127.66 [+0.84] TEST: Multipath - invalid first nexthop [ OK ] # 128.51 [+0.85] TEST: Multipath - invalid second nexthop [ OK ] # 129.18 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 131.63 [+2.45] TEST: Cached route removed from VRF port device [ OK ] # 131.63 [+0.00] # 131.63 [+0.00] IPv4 route with dsfield tests # 131.98 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 132.17 [+0.19] TEST: Reject route with dsfield 0x02 [ OK ] # 132.33 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 132.81 [+0.48] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 132.95 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 133.12 [+0.17] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 133.29 [+0.17] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 133.44 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 133.60 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 133.76 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 133.90 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 134.06 [+0.16] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 134.20 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 134.34 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 134.48 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 137.36 [+2.88] # 137.36 [+0.00] IPv6 prefix route tests # 140.92 [+3.56] TEST: Default metric [ OK ] # 141.43 [+0.51] TEST: User specified metric on first device [ OK ] # 141.93 [+0.50] TEST: User specified metric on second device [ OK ] # 142.24 [+0.32] TEST: Delete of address on first device [ OK ] # 142.57 [+0.32] TEST: Modify metric of address [ OK ] # 143.18 [+0.61] TEST: Prefix route removed on link down [ OK ] # 143.50 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 144.02 [+0.52] TEST: Set metric with peer route on local side [ OK ] # 144.17 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 144.51 [+0.33] TEST: Modify metric and peer address on local side [ OK ] # 144.65 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 146.41 [+1.76] # 146.41 [+0.00] IPv4 prefix route tests # 149.99 [+3.58] TEST: Default metric [ OK ] # 150.51 [+0.52] TEST: User specified metric on first device [ OK ] # 151.03 [+0.53] TEST: User specified metric on second device [ OK ] # 151.39 [+0.36] TEST: Delete of address on first device [ OK ] # 151.74 [+0.35] TEST: Modify metric of address [ OK ] # 152.09 [+0.35] TEST: Prefix route removed on link down [ OK ] # 152.43 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 153.14 [+0.71] TEST: Modify metric of .0/24 address [ OK ] # 153.64 [+0.50] TEST: Set metric of address with peer route [ OK ] # 154.00 [+0.36] TEST: Modify metric and peer address for peer route [ OK ] # 155.82 [+1.82] # 155.82 [+0.00] IPv6 routes with metrics # 165.03 [+9.21] TEST: Single path route with mtu metric [ OK ] # 165.57 [+0.54] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 166.09 [+0.52] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 166.41 [+0.32] TEST: MTU of second leg [ OK ] # 166.75 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 167.26 [+0.51] TEST: Using route with mtu metric [ OK ] # 167.54 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 170.43 [+2.90] # 170.43 [+0.00] IPv4 route add / append tests # 179.64 [+9.21] TEST: Single path route with mtu metric [ OK ] # 180.01 [+0.37] TEST: Multipath route with mtu metric [ OK ] # 180.46 [+0.45] TEST: Using route with mtu metric [ OK ] # 180.77 [+0.31] TEST: Invalid metric (fails metric_convert) [ OK ] # 183.61 [+2.85] # 183.62 [+0.00] IPv4 route with IPv6 gateway tests # 194.57 [+10.96] TEST: Single path route with IPv6 gateway [ OK ] # 195.04 [+0.47] TEST: Single path route with IPv6 gateway - ping [ OK ] # 195.21 [+0.17] TEST: Single path route delete [ OK ] # 195.53 [+0.32] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 195.88 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 196.04 [+0.16] TEST: Multipath route delete exact match [ OK ] # 196.21 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 196.56 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 196.74 [+0.18] TEST: Multipath route delete exact match [ OK ] # 199.59 [+2.85] # 199.59 [+0.00] IPv4 rp_filter tests # 211.66 [+12.07] TEST: rp_filter passes local packets [ OK ] # 211.95 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 213.32 [+1.37] # 213.32 [+0.00] IPv4 delete address route tests # 218.82 [+5.50] Regular FIB info # 219.10 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 219.24 [+0.14] TEST: Route in default VRF not removed [ OK ] # 219.87 [+0.62] TEST: Route removed in default VRF when source address deleted [ OK ] # 220.01 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 220.01 [+0.00] Identical FIB info with different table ID # 220.29 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 220.43 [+0.13] TEST: Route in default VRF not removed [ OK ] # 221.06 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 221.18 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 221.19 [+0.00] Table ID 0 # 221.50 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 223.30 [+1.81] # 223.30 [+0.00] IPv6 delete address route tests # 232.34 [+9.04] Single device using src address # 232.63 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 232.64 [+0.00] Two devices with the same source address # 232.92 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 233.21 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 233.21 [+0.00] VRF with single device using src address # 233.47 [+0.26] TEST: Prefsrc removed when src address removed on other device [ OK ] # 233.48 [+0.00] VRF with two devices using src address # 233.79 [+0.32] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 234.06 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 234.06 [+0.00] src address and nexthop dev in same VRF # 234.37 [+0.31] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 234.52 [+0.15] TEST: Prefsrc in default VRF not removed [ OK ] # 235.10 [+0.58] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 235.24 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 235.25 [+0.00] src address and nexthop device in different VRF # 235.54 [+0.29] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 235.70 [+0.16] TEST: Prefsrc not removed in default VRF [ OK ] # 236.14 [+0.44] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 236.26 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 236.27 [+0.00] Table ID 0 # 236.57 [+0.30] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 236.57 [+0.00] Link local source route # 236.86 [+0.29] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 237.16 [+0.29] TEST: Prefsrc removed when delete ll addr [ OK ] # 237.30 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 237.74 [+0.44] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 240.35 [+2.62] # 240.35 [+0.00] IPv4 mangling tests # 252.43 [+12.07] TEST: Connection with correct parameters [ OK ] # 252.74 [+0.31] TEST: Connection with incorrect parameters [ OK ] # 254.03 [+1.29] TEST: Connection with correct parameters - mangling [ OK ] # 255.16 [+1.14] TEST: Connection with correct parameters - no mangling [ OK ] # 255.27 [+0.11] TEST: Connection check - server side [ OK ] # 258.57 [+3.30] # 258.57 [+0.00] IPv6 mangling tests # 270.71 [+12.15] TEST: Connection with correct parameters [ OK ] # 271.07 [+0.36] TEST: Connection with incorrect parameters [ OK ] # 272.26 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 273.45 [+1.20] TEST: Connection with correct parameters - no mangling [ OK ] # 273.57 [+0.11] TEST: Connection check - server side [ OK ] # 276.86 [+3.29] # 276.86 [+0.00] IPv4 broadcast neighbour tests # 281.08 [+4.22] TEST: Resolved neighbour for broadcast address [ OK ] # 281.24 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 281.41 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 281.57 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 285.18 [+3.61] # 285.18 [+0.00] Fib6 garbage collection test # 299.54 [+14.36] TEST: ipv6 route garbage collection [ OK ] # 314.24 [+14.70] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 328.95 [+14.71] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 343.72 [+14.77] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 359.04 [+15.33] TEST: ipv6 route garbage collection (RA message) [ OK ] # 360.39 [+1.35] # 360.39 [+0.00] IPv4 multipath list receive tests # 384.43 [+24.04] TEST: Multipath route hit ratio (1.00) [ OK ] # 387.39 [+2.96] # 387.39 [+0.00] IPv6 multipath list receive tests # 410.28 [+22.89] TEST: Multipath route hit ratio (1.00) [ OK ] # 413.43 [+3.15] # 413.43 [+0.00] Tests passed: 229 # 413.43 [+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__->