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 # 0.89 [+0.89] # 0.89 [+0.00] Single path route test # 2.86 [+1.97] Start point # 3.03 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.20 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.41 [+0.21] Nexthop device deleted # 3.57 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.73 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.80 [+1.07] # 4.80 [+0.00] Multipath route test # 8.28 [+3.48] Start point # 8.44 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.62 [+0.18] TEST: IPv6 fibmatch [ OK ] # 8.82 [+0.20] One nexthop device deleted # 8.99 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.15 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.35 [+0.20] Second nexthop device deleted # 9.52 [+0.16] TEST: IPv6 - no route [ OK ] # 10.66 [+1.15] # 10.66 [+0.00] Single path, admin down # 13.04 [+2.37] Start point # 13.21 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.38 [+0.17] TEST: IPv6 fibmatch [ OK ] # 13.54 [+0.16] Route deleted on down # 13.70 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.87 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.67 [+0.80] # 14.67 [+0.00] Admin down multipath # 18.05 [+3.38] Verify start point # 18.21 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.37 [+0.16] TEST: IPv6 fibmatch [ OK ] # 18.55 [+0.18] One device down, one up # 18.71 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.88 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.05 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 19.21 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 19.33 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.46 [+0.13] TEST: IPv6 flags on down device [ OK ] # 19.61 [+0.14] TEST: IPv4 flags on up device [ OK ] # 19.75 [+0.15] TEST: IPv6 flags on up device [ OK ] # 20.07 [+0.32] Other device down and up # 20.23 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 20.40 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 20.56 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 20.73 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.86 [+0.13] TEST: IPv4 flags on down device [ OK ] # 20.99 [+0.13] TEST: IPv6 flags on down device [ OK ] # 21.12 [+0.13] TEST: IPv4 flags on up device [ OK ] # 21.26 [+0.14] TEST: IPv6 flags on up device [ OK ] # 21.43 [+0.17] Both devices down # 21.60 [+0.17] TEST: IPv4 fibmatch [ OK ] # 21.76 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.78 [+1.03] # 22.78 [+0.00] Local carrier tests - single path # 25.31 [+2.52] Start point # 25.47 [+0.17] TEST: IPv4 fibmatch [ OK ] # 25.64 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.76 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 25.90 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 27.20 [+1.30] Carrier off on nexthop # 27.36 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.52 [+0.16] TEST: IPv6 fibmatch [ OK ] # 27.69 [+0.17] TEST: IPv4 - linkdown flag set [ OK ] # 27.84 [+0.15] TEST: IPv6 - linkdown flag set [ OK ] # 28.16 [+0.32] Route to local address with carrier down # 28.32 [+0.16] TEST: IPv4 fibmatch [ OK ] # 28.48 [+0.16] TEST: IPv6 fibmatch [ OK ] # 28.61 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 28.78 [+0.17] TEST: IPv6 linkdown flag set [ OK ] # 29.57 [+0.80] # 29.58 [+0.00] Single path route carrier test # 32.18 [+2.60] Start point # 32.33 [+0.16] TEST: IPv4 fibmatch [ OK ] # 32.50 [+0.16] TEST: IPv6 fibmatch [ OK ] # 32.63 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 32.78 [+0.15] TEST: IPv6 no linkdown flag [ OK ] # 34.05 [+1.27] Carrier down # 34.22 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.38 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.51 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 34.64 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 34.97 [+0.33] Second address added with carrier down # 35.14 [+0.17] TEST: IPv4 fibmatch [ OK ] # 35.31 [+0.17] TEST: IPv6 fibmatch [ OK ] # 35.44 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 35.64 [+0.20] TEST: IPv6 linkdown flag set [ OK ] # 43.23 [+7.59] # 43.23 [+0.00] IPv4 nexthop tests # 43.23 [+0.00] <<< write me >>> # 43.67 [+0.44] # 43.67 [+0.00] IPv6 nexthop tests # 43.86 [+0.19] TEST: Directly connected nexthop, unicast address [ OK ] # 44.03 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.20 [+0.18] TEST: Gateway is linklocal address [ OK ] # 44.40 [+0.19] TEST: Gateway is linklocal address, no device [ OK ] # 44.59 [+0.20] TEST: Gateway can not be local unicast address [ OK ] # 44.77 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 44.97 [+0.20] TEST: Gateway can not be a local linklocal address [ OK ] # 45.16 [+0.19] TEST: Gateway can be local address in a VRF [ OK ] # 45.34 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 45.54 [+0.20] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 45.74 [+0.20] TEST: Redirect to VRF lookup [ OK ] # 45.91 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 46.08 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 46.27 [+0.20] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 48.01 [+1.74] # 48.01 [+0.00] FIB rule with suppress_prefixlength # 52.01 [+3.99] TEST: FIB rule suppress test [ OK ] # 55.35 [+3.35] # 55.35 [+0.00] Fib6 info length calculation in route notify test # 61.43 [+6.08] TEST: ipv6 route add notify [ OK ] # 64.92 [+3.49] # 64.92 [+0.00] Fib4 info length calculation in route notify test # 71.10 [+6.18] TEST: ipv4 route add notify [ OK ] # 80.83 [+9.73] # 80.83 [+0.00] IPv6 route add / append tests # 81.54 [+0.71] TEST: Attempt to add duplicate route - gw [ OK ] # 82.26 [+0.72] TEST: Attempt to add duplicate route - dev only [ OK ] # 82.98 [+0.71] TEST: Attempt to add duplicate route - reject route [ OK ] # 83.95 [+0.97] TEST: Append nexthop to existing route - gw [ OK ] # 84.71 [+0.76] TEST: Add multipath route [ OK ] # 85.43 [+0.71] TEST: Attempt to add duplicate multipath route [ OK ] # 86.32 [+0.90] TEST: Route add with different metrics [ OK ] # 86.67 [+0.35] TEST: Route delete with metric [ OK ] # 86.68 [+0.01] # 86.68 [+0.00] IPv6 route replace tests # 87.53 [+0.85] TEST: Single path with single path [ OK ] # 88.39 [+0.86] TEST: Single path with multipath [ OK ] # 89.21 [+0.82] TEST: Single path with single path via multipath attribute [ OK ] # 90.13 [+0.93] TEST: Invalid nexthop [ OK ] # 90.81 [+0.67] TEST: Single path - replace of non-existent route [ OK ] # 91.69 [+0.88] TEST: Multipath with multipath [ OK ] # 92.54 [+0.85] TEST: Multipath with single path [ OK ] # 93.46 [+0.92] TEST: Multipath with single path via multipath attribute [ OK ] # 94.35 [+0.88] TEST: Multipath with dev-only [ OK ] # 95.27 [+0.93] TEST: Multipath - invalid first nexthop [ OK ] # 96.12 [+0.84] TEST: Multipath - invalid second nexthop [ OK ] # 96.78 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 96.78 [+0.00] # 96.78 [+0.00] IPv6 route with dsfield tests # 97.14 [+0.35] TEST: Reject route with dsfield [ OK ] # 109.23 [+12.10] # 109.23 [+0.00] IPv4 route add / append tests # 109.94 [+0.71] TEST: Attempt to add duplicate route - gw [ OK ] # 110.62 [+0.68] TEST: Attempt to add duplicate route - dev only [ OK ] # 111.32 [+0.70] TEST: Attempt to add duplicate route - reject route [ OK ] # 112.20 [+0.89] TEST: Add new nexthop for existing prefix [ OK ] # 113.05 [+0.85] TEST: Append nexthop to existing route - gw [ OK ] # 113.96 [+0.91] TEST: Append nexthop to existing route - dev only [ OK ] # 114.95 [+0.99] TEST: Append nexthop to existing route - reject route [ OK ] # 115.67 [+0.73] TEST: Append nexthop to existing reject route - gw [ OK ] # 116.37 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 117.12 [+0.75] TEST: add multipath route [ OK ] # 117.88 [+0.76] TEST: Attempt to add duplicate multipath route [ OK ] # 118.77 [+0.89] TEST: Route add with different metrics [ OK ] # 119.13 [+0.36] TEST: Route delete with metric [ OK ] # 119.13 [+0.00] # 119.13 [+0.00] IPv4 route replace tests # 120.02 [+0.89] TEST: Single path with single path [ OK ] # 120.91 [+0.89] TEST: Single path with multipath [ OK ] # 121.78 [+0.87] TEST: Single path with reject route [ OK ] # 122.65 [+0.86] TEST: Single path with single path via multipath attribute [ OK ] # 123.53 [+0.89] TEST: Invalid nexthop [ OK ] # 124.27 [+0.73] TEST: Single path - replace of non-existent route [ OK ] # 125.18 [+0.92] TEST: Multipath with multipath [ OK ] # 126.06 [+0.87] TEST: Multipath with single path [ OK ] # 126.93 [+0.87] TEST: Multipath with single path via multipath attribute [ OK ] # 127.80 [+0.88] TEST: Multipath with reject route [ OK ] # 128.69 [+0.89] TEST: Multipath - invalid first nexthop [ OK ] # 129.60 [+0.90] TEST: Multipath - invalid second nexthop [ OK ] # 130.29 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 132.84 [+2.55] TEST: Cached route removed from VRF port device [ OK ] # 132.84 [+0.00] # 132.84 [+0.00] IPv4 route with dsfield tests # 133.21 [+0.37] TEST: Reject route with dsfield 0x01 [ OK ] # 133.39 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 133.58 [+0.19] TEST: Reject route with dsfield 0x03 [ OK ] # 134.07 [+0.50] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 134.23 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 134.36 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 134.54 [+0.17] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 134.69 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 134.90 [+0.20] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 135.03 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 135.20 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 135.35 [+0.15] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 135.49 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 135.64 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 135.79 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 138.91 [+3.12] # 138.91 [+0.00] IPv6 prefix route tests # 142.80 [+3.89] TEST: Default metric [ OK ] # 143.34 [+0.54] TEST: User specified metric on first device [ OK ] # 143.88 [+0.53] TEST: User specified metric on second device [ OK ] # 144.20 [+0.33] TEST: Delete of address on first device [ OK ] # 144.52 [+0.32] TEST: Modify metric of address [ OK ] # 145.15 [+0.62] TEST: Prefix route removed on link down [ OK ] # 145.47 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 145.96 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 146.10 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 146.46 [+0.36] TEST: Modify metric and peer address on local side [ OK ] # 146.62 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 148.44 [+1.83] # 148.44 [+0.00] IPv4 prefix route tests # 152.18 [+3.74] TEST: Default metric [ OK ] # 152.75 [+0.56] TEST: User specified metric on first device [ OK ] # 153.33 [+0.59] TEST: User specified metric on second device [ OK ] # 153.68 [+0.35] TEST: Delete of address on first device [ OK ] # 154.04 [+0.35] TEST: Modify metric of address [ OK ] # 154.37 [+0.33] TEST: Prefix route removed on link down [ OK ] # 154.72 [+0.35] TEST: Prefix route with metric on link up [ OK ] # 155.41 [+0.69] TEST: Modify metric of .0/24 address [ OK ] # 155.93 [+0.52] TEST: Set metric of address with peer route [ OK ] # 156.28 [+0.35] TEST: Modify metric and peer address for peer route [ OK ] # 158.09 [+1.81] # 158.09 [+0.00] IPv6 routes with metrics # 167.28 [+9.19] TEST: Single path route with mtu metric [ OK ] # 167.81 [+0.53] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 168.33 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 168.65 [+0.32] TEST: MTU of second leg [ OK ] # 169.00 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 169.48 [+0.48] TEST: Using route with mtu metric [ OK ] # 169.77 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 172.69 [+2.91] # 172.69 [+0.00] IPv4 route add / append tests # 182.61 [+9.92] TEST: Single path route with mtu metric [ OK ] # 182.98 [+0.38] TEST: Multipath route with mtu metric [ OK ] # 183.48 [+0.50] TEST: Using route with mtu metric [ OK ] # 183.81 [+0.33] TEST: Invalid metric (fails metric_convert) [ OK ] # 186.90 [+3.08] # 186.90 [+0.00] IPv4 route with IPv6 gateway tests # 198.57 [+11.67] TEST: Single path route with IPv6 gateway [ OK ] # 199.08 [+0.52] TEST: Single path route with IPv6 gateway - ping [ OK ] # 199.27 [+0.19] TEST: Single path route delete [ OK ] # 199.62 [+0.35] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 199.99 [+0.37] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 200.17 [+0.18] TEST: Multipath route delete exact match [ OK ] # 200.35 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 200.72 [+0.37] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 200.91 [+0.19] TEST: Multipath route delete exact match [ OK ] # 203.99 [+3.08] # 203.99 [+0.00] IPv4 rp_filter tests # 216.95 [+12.95] TEST: rp_filter passes local packets [ OK ] # 217.26 [+0.32] TEST: rp_filter passes loopback packets [ OK ] # 218.75 [+1.49] # 218.75 [+0.00] IPv4 delete address route tests # 224.66 [+5.91] Regular FIB info # 224.97 [+0.32] TEST: Route removed from VRF when source address deleted [ OK ] # 225.12 [+0.15] TEST: Route in default VRF not removed [ OK ] # 225.77 [+0.65] TEST: Route removed in default VRF when source address deleted [ OK ] # 225.91 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 225.92 [+0.00] Identical FIB info with different table ID # 226.24 [+0.33] TEST: Route removed from VRF when source address deleted [ OK ] # 226.40 [+0.16] TEST: Route in default VRF not removed [ OK ] # 227.09 [+0.69] TEST: Route removed in default VRF when source address deleted [ OK ] # 227.26 [+0.17] TEST: Route in VRF is not removed by address delete [ OK ] # 227.27 [+0.00] Table ID 0 # 227.61 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 229.52 [+1.92] # 229.52 [+0.00] IPv6 delete address route tests # 240.07 [+10.55] Single device using src address # 240.45 [+0.38] TEST: Prefsrc removed when src address removed on other device [ OK ] # 240.45 [+0.00] Two devices with the same source address # 240.80 [+0.35] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 241.15 [+0.35] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 241.15 [+0.00] VRF with single device using src address # 241.46 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 241.46 [+0.00] VRF with two devices using src address # 241.80 [+0.33] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 242.14 [+0.34] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 242.14 [+0.00] src address and nexthop dev in same VRF # 242.49 [+0.35] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 242.63 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 243.35 [+0.72] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 243.52 [+0.17] TEST: Prefsrc in default VRF removed [ OK ] # 243.53 [+0.00] src address and nexthop device in different VRF # 243.88 [+0.36] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 244.05 [+0.17] TEST: Prefsrc not removed in default VRF [ OK ] # 244.57 [+0.52] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 244.75 [+0.18] TEST: Prefsrc removed in default VRF [ OK ] # 244.75 [+0.00] Table ID 0 # 245.08 [+0.33] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 245.08 [+0.00] Link local source route # 245.41 [+0.33] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 245.76 [+0.34] TEST: Prefsrc removed when delete ll addr [ OK ] # 245.91 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 246.44 [+0.53] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 249.37 [+2.93] # 249.37 [+0.00] IPv4 mangling tests # 263.17 [+13.80] TEST: Connection with correct parameters [ OK ] # 263.54 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 265.07 [+1.53] TEST: Connection with correct parameters - mangling [ OK ] # 266.31 [+1.24] TEST: Connection with correct parameters - no mangling [ OK ] # 266.44 [+0.14] TEST: Connection check - server side [ OK ] # 270.16 [+3.72] # 270.17 [+0.00] IPv6 mangling tests # 283.55 [+13.38] TEST: Connection with correct parameters [ OK ] # 283.95 [+0.40] TEST: Connection with incorrect parameters [ OK ] # 285.22 [+1.27] TEST: Connection with correct parameters - mangling [ OK ] # 286.47 [+1.25] TEST: Connection with correct parameters - no mangling [ OK ] # 286.60 [+0.13] TEST: Connection check - server side [ OK ] # 290.29 [+3.69] # 290.29 [+0.00] IPv4 broadcast neighbour tests # 294.89 [+4.60] TEST: Resolved neighbour for broadcast address [ OK ] # 295.07 [+0.18] TEST: Resolved neighbour for network broadcast address [ OK ] # 295.24 [+0.18] TEST: Unresolved neighbour for broadcast address [ OK ] # 295.42 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 299.34 [+3.92] # 299.34 [+0.00] Fib6 garbage collection test # 313.92 [+14.58] TEST: ipv6 route garbage collection [ OK ] # 328.73 [+14.81] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 343.53 [+14.80] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 358.44 [+14.91] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 373.81 [+15.37] TEST: ipv6 route garbage collection (RA message) [ OK ] # 375.19 [+1.38] # 375.19 [+0.00] IPv4 multipath list receive tests # 399.56 [+24.36] TEST: Multipath route hit ratio (1.00) [ OK ] # 402.65 [+3.09] # 402.65 [+0.00] IPv6 multipath list receive tests # 426.07 [+23.42] TEST: Multipath route hit ratio (1.00) [ OK ] # 429.11 [+3.03] # 429.11 [+0.00] Tests passed: 229 # 429.11 [+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__->