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.15 [+1.15] # 1.15 [+0.00] Single path route test # 3.47 [+2.32] Start point # 3.64 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.83 [+0.19] TEST: IPv6 fibmatch [ OK ] # 4.07 [+0.23] Nexthop device deleted # 4.27 [+0.21] TEST: IPv4 fibmatch - no route [ OK ] # 4.47 [+0.20] TEST: IPv6 fibmatch - no route [ OK ] # 5.63 [+1.16] # 5.63 [+0.00] Multipath route test # 9.40 [+3.77] Start point # 9.59 [+0.19] TEST: IPv4 fibmatch [ OK ] # 9.78 [+0.20] TEST: IPv6 fibmatch [ OK ] # 10.06 [+0.28] One nexthop device deleted # 10.27 [+0.21] TEST: IPv4 - multipath route removed on delete [ OK ] # 10.46 [+0.19] TEST: IPv6 - multipath down to single path [ OK ] # 10.72 [+0.26] Second nexthop device deleted # 10.91 [+0.19] TEST: IPv6 - no route [ OK ] # 12.23 [+1.31] # 12.23 [+0.00] Single path, admin down # 14.79 [+2.56] Start point # 14.95 [+0.17] TEST: IPv4 fibmatch [ OK ] # 15.12 [+0.17] TEST: IPv6 fibmatch [ OK ] # 15.28 [+0.16] Route deleted on down # 15.45 [+0.16] TEST: IPv4 fibmatch [ OK ] # 15.61 [+0.16] TEST: IPv6 fibmatch [ OK ] # 16.54 [+0.93] # 16.54 [+0.00] Admin down multipath # 20.54 [+3.99] Verify start point # 20.70 [+0.16] TEST: IPv4 fibmatch [ OK ] # 20.86 [+0.16] TEST: IPv6 fibmatch [ OK ] # 21.04 [+0.18] One device down, one up # 21.21 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 21.37 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 21.54 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 21.70 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 21.84 [+0.14] TEST: IPv4 flags on down device [ OK ] # 21.96 [+0.12] TEST: IPv6 flags on down device [ OK ] # 22.10 [+0.14] TEST: IPv4 flags on up device [ OK ] # 22.28 [+0.18] TEST: IPv6 flags on up device [ OK ] # 22.70 [+0.42] Other device down and up # 22.91 [+0.22] TEST: IPv4 fibmatch on down device [ OK ] # 23.16 [+0.25] TEST: IPv6 fibmatch on down device [ OK ] # 23.41 [+0.25] TEST: IPv4 fibmatch on up device [ OK ] # 23.61 [+0.20] TEST: IPv6 fibmatch on up device [ OK ] # 23.79 [+0.17] TEST: IPv4 flags on down device [ OK ] # 24.03 [+0.24] TEST: IPv6 flags on down device [ OK ] # 24.23 [+0.20] TEST: IPv4 flags on up device [ OK ] # 24.41 [+0.17] TEST: IPv6 flags on up device [ OK ] # 24.59 [+0.18] Both devices down # 24.76 [+0.17] TEST: IPv4 fibmatch [ OK ] # 24.98 [+0.22] TEST: IPv6 fibmatch [ OK ] # 26.00 [+1.02] # 26.00 [+0.00] Local carrier tests - single path # 28.77 [+2.78] Start point # 28.94 [+0.16] TEST: IPv4 fibmatch [ OK ] # 29.11 [+0.17] TEST: IPv6 fibmatch [ OK ] # 29.23 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 29.36 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 30.66 [+1.30] Carrier off on nexthop # 30.83 [+0.17] TEST: IPv4 fibmatch [ OK ] # 30.99 [+0.16] TEST: IPv6 fibmatch [ OK ] # 31.13 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 31.27 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 31.62 [+0.35] Route to local address with carrier down # 31.81 [+0.19] TEST: IPv4 fibmatch [ OK ] # 32.00 [+0.18] TEST: IPv6 fibmatch [ OK ] # 32.15 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 32.29 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 33.11 [+0.81] # 33.11 [+0.00] Single path route carrier test # 35.94 [+2.83] Start point # 36.11 [+0.17] TEST: IPv4 fibmatch [ OK ] # 36.28 [+0.16] TEST: IPv6 fibmatch [ OK ] # 36.42 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 36.55 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 37.83 [+1.29] Carrier down # 37.99 [+0.15] TEST: IPv4 fibmatch [ OK ] # 38.17 [+0.19] TEST: IPv6 fibmatch [ OK ] # 38.32 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 38.48 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 38.85 [+0.37] Second address added with carrier down # 39.03 [+0.18] TEST: IPv4 fibmatch [ OK ] # 39.22 [+0.18] TEST: IPv6 fibmatch [ OK ] # 39.40 [+0.18] TEST: IPv4 linkdown flag set [ OK ] # 39.55 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 47.71 [+8.16] # 47.71 [+0.00] IPv4 nexthop tests # 47.71 [+0.00] <<< write me >>> # 48.06 [+0.35] # 48.06 [+0.00] IPv6 nexthop tests # 48.24 [+0.19] TEST: Directly connected nexthop, unicast address [ OK ] # 48.43 [+0.19] TEST: Directly connected nexthop, unicast address with device [ OK ] # 48.61 [+0.18] TEST: Gateway is linklocal address [ OK ] # 48.79 [+0.18] TEST: Gateway is linklocal address, no device [ OK ] # 48.98 [+0.19] TEST: Gateway can not be local unicast address [ OK ] # 49.16 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 49.34 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 49.51 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 49.73 [+0.23] TEST: Gateway can be local address in a VRF, with device [ OK ] # 49.96 [+0.23] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 50.18 [+0.22] TEST: Redirect to VRF lookup [ OK ] # 50.38 [+0.20] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 50.58 [+0.21] TEST: VRF route, gateway can not be a local address [ OK ] # 50.80 [+0.22] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 52.64 [+1.84] # 52.64 [+0.00] FIB rule with suppress_prefixlength # 56.50 [+3.86] TEST: FIB rule suppress test [ OK ] # 60.31 [+3.81] # 60.31 [+0.00] Fib6 info length calculation in route notify test # 67.13 [+6.83] TEST: ipv6 route add notify [ OK ] # 71.19 [+4.05] # 71.19 [+0.00] Fib4 info length calculation in route notify test # 77.37 [+6.18] TEST: ipv4 route add notify [ OK ] # 87.41 [+10.04] # 87.41 [+0.00] IPv6 route add / append tests # 88.09 [+0.68] TEST: Attempt to add duplicate route - gw [ OK ] # 88.77 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 89.45 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 90.26 [+0.81] TEST: Append nexthop to existing route - gw [ OK ] # 90.92 [+0.65] TEST: Add multipath route [ OK ] # 91.57 [+0.66] TEST: Attempt to add duplicate multipath route [ OK ] # 92.44 [+0.87] TEST: Route add with different metrics [ OK ] # 92.80 [+0.36] TEST: Route delete with metric [ OK ] # 92.80 [+0.00] # 92.80 [+0.00] IPv6 route replace tests # 93.63 [+0.83] TEST: Single path with single path [ OK ] # 94.47 [+0.84] TEST: Single path with multipath [ OK ] # 95.42 [+0.95] TEST: Single path with single path via multipath attribute [ OK ] # 96.49 [+1.07] TEST: Invalid nexthop [ OK ] # 97.22 [+0.73] TEST: Single path - replace of non-existent route [ OK ] # 98.05 [+0.84] TEST: Multipath with multipath [ OK ] # 99.04 [+0.99] TEST: Multipath with single path [ OK ] # 100.05 [+1.01] TEST: Multipath with single path via multipath attribute [ OK ] # 100.93 [+0.88] TEST: Multipath with dev-only [ OK ] # 101.78 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 102.76 [+0.99] TEST: Multipath - invalid second nexthop [ OK ] # 103.64 [+0.88] TEST: Multipath - replace of non-existent route [ OK ] # 103.65 [+0.00] # 103.65 [+0.00] IPv6 route with dsfield tests # 104.09 [+0.44] TEST: Reject route with dsfield [ OK ] # 117.41 [+13.33] # 117.42 [+0.00] IPv4 route add / append tests # 118.24 [+0.82] TEST: Attempt to add duplicate route - gw [ OK ] # 119.04 [+0.80] TEST: Attempt to add duplicate route - dev only [ OK ] # 119.74 [+0.70] TEST: Attempt to add duplicate route - reject route [ OK ] # 120.62 [+0.88] TEST: Add new nexthop for existing prefix [ OK ] # 121.61 [+0.99] TEST: Append nexthop to existing route - gw [ OK ] # 122.78 [+1.17] TEST: Append nexthop to existing route - dev only [ OK ] # 123.91 [+1.13] TEST: Append nexthop to existing route - reject route [ OK ] # 124.63 [+0.72] TEST: Append nexthop to existing reject route - gw [ OK ] # 125.31 [+0.68] TEST: Append nexthop to existing reject route - dev only [ OK ] # 125.98 [+0.68] TEST: add multipath route [ OK ] # 126.78 [+0.80] TEST: Attempt to add duplicate multipath route [ OK ] # 127.72 [+0.93] TEST: Route add with different metrics [ OK ] # 128.10 [+0.38] TEST: Route delete with metric [ OK ] # 128.10 [+0.00] # 128.10 [+0.00] IPv4 route replace tests # 128.94 [+0.84] TEST: Single path with single path [ OK ] # 129.86 [+0.92] TEST: Single path with multipath [ OK ] # 130.74 [+0.87] TEST: Single path with reject route [ OK ] # 131.59 [+0.86] TEST: Single path with single path via multipath attribute [ OK ] # 132.46 [+0.86] TEST: Invalid nexthop [ OK ] # 133.15 [+0.69] TEST: Single path - replace of non-existent route [ OK ] # 134.01 [+0.86] TEST: Multipath with multipath [ OK ] # 134.90 [+0.89] TEST: Multipath with single path [ OK ] # 135.88 [+0.98] TEST: Multipath with single path via multipath attribute [ OK ] # 136.86 [+0.98] TEST: Multipath with reject route [ OK ] # 137.79 [+0.93] TEST: Multipath - invalid first nexthop [ OK ] # 138.74 [+0.95] TEST: Multipath - invalid second nexthop [ OK ] # 139.48 [+0.74] TEST: Multipath - replace of non-existent route [ OK ] # 142.15 [+2.67] TEST: Cached route removed from VRF port device [ OK ] # 142.15 [+0.00] # 142.15 [+0.00] IPv4 route with dsfield tests # 142.50 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 142.67 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 142.85 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 143.39 [+0.53] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 143.52 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 143.68 [+0.17] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 143.82 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 143.99 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 144.12 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 144.28 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 144.44 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 144.58 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 144.74 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 144.89 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 145.06 [+0.16] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 147.92 [+2.87] # 147.92 [+0.00] IPv6 prefix route tests # 151.48 [+3.55] TEST: Default metric [ OK ] # 151.96 [+0.48] TEST: User specified metric on first device [ OK ] # 152.45 [+0.48] TEST: User specified metric on second device [ OK ] # 152.76 [+0.31] TEST: Delete of address on first device [ OK ] # 153.08 [+0.32] TEST: Modify metric of address [ OK ] # 153.67 [+0.59] TEST: Prefix route removed on link down [ OK ] # 153.97 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 154.45 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 154.61 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 154.90 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 155.04 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 156.80 [+1.76] # 156.80 [+0.00] IPv4 prefix route tests # 160.33 [+3.53] TEST: Default metric [ OK ] # 160.83 [+0.50] TEST: User specified metric on first device [ OK ] # 161.34 [+0.51] TEST: User specified metric on second device [ OK ] # 161.66 [+0.33] TEST: Delete of address on first device [ OK ] # 162.01 [+0.34] TEST: Modify metric of address [ OK ] # 162.32 [+0.32] TEST: Prefix route removed on link down [ OK ] # 162.66 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 163.34 [+0.68] TEST: Modify metric of .0/24 address [ OK ] # 163.85 [+0.51] TEST: Set metric of address with peer route [ OK ] # 164.19 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 165.93 [+1.74] # 165.93 [+0.00] IPv6 routes with metrics # 174.91 [+8.98] TEST: Single path route with mtu metric [ OK ] # 175.41 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 175.89 [+0.48] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 176.21 [+0.31] TEST: MTU of second leg [ OK ] # 176.53 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 176.99 [+0.45] TEST: Using route with mtu metric [ OK ] # 177.27 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 180.14 [+2.87] # 180.14 [+0.00] IPv4 route add / append tests # 189.18 [+9.04] TEST: Single path route with mtu metric [ OK ] # 189.56 [+0.38] TEST: Multipath route with mtu metric [ OK ] # 190.01 [+0.45] TEST: Using route with mtu metric [ OK ] # 190.29 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 193.14 [+2.86] # 193.14 [+0.00] IPv4 route with IPv6 gateway tests # 204.41 [+11.27] TEST: Single path route with IPv6 gateway [ OK ] # 204.90 [+0.49] TEST: Single path route with IPv6 gateway - ping [ OK ] # 205.08 [+0.18] TEST: Single path route delete [ OK ] # 205.42 [+0.34] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 205.77 [+0.36] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 205.94 [+0.17] TEST: Multipath route delete exact match [ OK ] # 206.11 [+0.16] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 206.46 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 206.64 [+0.18] TEST: Multipath route delete exact match [ OK ] # 209.58 [+2.94] # 209.58 [+0.00] IPv4 rp_filter tests # 221.51 [+11.93] TEST: rp_filter passes local packets [ OK ] # 221.81 [+0.30] TEST: rp_filter passes loopback packets [ OK ] # 223.25 [+1.43] # 223.25 [+0.00] IPv4 delete address route tests # 228.83 [+5.58] Regular FIB info # 229.11 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 229.25 [+0.13] TEST: Route in default VRF not removed [ OK ] # 229.86 [+0.61] TEST: Route removed in default VRF when source address deleted [ OK ] # 230.01 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 230.02 [+0.00] Identical FIB info with different table ID # 230.31 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 230.43 [+0.12] TEST: Route in default VRF not removed [ OK ] # 231.05 [+0.62] TEST: Route removed in default VRF when source address deleted [ OK ] # 231.18 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 231.18 [+0.00] Table ID 0 # 231.46 [+0.28] TEST: Route removed in default VRF when source address deleted [ OK ] # 233.25 [+1.78] # 233.25 [+0.00] IPv6 delete address route tests # 242.59 [+9.34] Single device using src address # 242.89 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 242.89 [+0.00] Two devices with the same source address # 243.18 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 243.48 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 243.48 [+0.00] VRF with single device using src address # 243.75 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 243.75 [+0.00] VRF with two devices using src address # 244.06 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 244.35 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 244.35 [+0.00] src address and nexthop dev in same VRF # 244.64 [+0.29] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 244.77 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 245.39 [+0.62] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 245.52 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 245.52 [+0.00] src address and nexthop device in different VRF # 245.82 [+0.30] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 245.95 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 246.41 [+0.46] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 246.53 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 246.54 [+0.00] Table ID 0 # 246.83 [+0.30] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 246.83 [+0.00] Link local source route # 247.16 [+0.32] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 247.44 [+0.28] TEST: Prefsrc removed when delete ll addr [ OK ] # 247.59 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 248.05 [+0.46] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 250.73 [+2.69] # 250.73 [+0.00] IPv4 mangling tests # 263.36 [+12.62] TEST: Connection with correct parameters [ OK ] # 263.69 [+0.33] TEST: Connection with incorrect parameters [ OK ] # 265.10 [+1.41] TEST: Connection with correct parameters - mangling [ OK ] # 266.26 [+1.17] TEST: Connection with correct parameters - no mangling [ OK ] # 266.40 [+0.14] TEST: Connection check - server side [ OK ] # 269.82 [+3.42] # 269.83 [+0.00] IPv6 mangling tests # 282.17 [+12.35] TEST: Connection with correct parameters [ OK ] # 282.54 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 283.77 [+1.23] TEST: Connection with correct parameters - mangling [ OK ] # 285.02 [+1.25] TEST: Connection with correct parameters - no mangling [ OK ] # 285.14 [+0.11] TEST: Connection check - server side [ OK ] # 288.66 [+3.53] # 288.66 [+0.00] IPv4 broadcast neighbour tests # 293.21 [+4.55] TEST: Resolved neighbour for broadcast address [ OK ] # 293.39 [+0.18] TEST: Resolved neighbour for network broadcast address [ OK ] # 293.56 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 293.74 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 297.47 [+3.73] # 297.47 [+0.00] Fib6 garbage collection test # 311.98 [+14.51] TEST: ipv6 route garbage collection [ OK ] # 326.76 [+14.78] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 341.72 [+14.96] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 357.41 [+15.68] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 373.07 [+15.67] TEST: ipv6 route garbage collection (RA message) [ OK ] # 374.52 [+1.45] # 374.52 [+0.00] IPv4 multipath list receive tests # 398.14 [+23.61] TEST: Multipath route hit ratio (1.00) [ OK ] # 401.01 [+2.88] # 401.01 [+0.00] IPv6 multipath list receive tests # 424.39 [+23.38] TEST: Multipath route hit ratio (1.00) [ OK ] # 427.45 [+3.05] # 427.45 [+0.00] Tests passed: 229 # 427.45 [+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__->