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.86 [+0.86] # 0.86 [+0.00] Single path route test # 2.99 [+2.13] Start point # 3.18 [+0.19] TEST: IPv4 fibmatch [ OK ] # 3.37 [+0.19] TEST: IPv6 fibmatch [ OK ] # 3.60 [+0.22] Nexthop device deleted # 3.77 [+0.17] TEST: IPv4 fibmatch - no route [ OK ] # 3.94 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 5.10 [+1.16] # 5.10 [+0.00] Multipath route test # 8.72 [+3.62] Start point # 8.90 [+0.18] TEST: IPv4 fibmatch [ OK ] # 9.08 [+0.17] TEST: IPv6 fibmatch [ OK ] # 9.30 [+0.22] One nexthop device deleted # 9.48 [+0.18] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.64 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.85 [+0.21] Second nexthop device deleted # 10.03 [+0.18] TEST: IPv6 - no route [ OK ] # 11.10 [+1.07] # 11.10 [+0.00] Single path, admin down # 13.56 [+2.46] Start point # 13.74 [+0.18] TEST: IPv4 fibmatch [ OK ] # 13.91 [+0.17] TEST: IPv6 fibmatch [ OK ] # 14.08 [+0.17] Route deleted on down # 14.25 [+0.17] TEST: IPv4 fibmatch [ OK ] # 14.42 [+0.17] TEST: IPv6 fibmatch [ OK ] # 15.29 [+0.87] # 15.29 [+0.00] Admin down multipath # 18.90 [+3.61] Verify start point # 19.08 [+0.18] TEST: IPv4 fibmatch [ OK ] # 19.27 [+0.19] TEST: IPv6 fibmatch [ OK ] # 19.44 [+0.17] One device down, one up # 19.62 [+0.18] TEST: IPv4 fibmatch on down device [ OK ] # 19.79 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 19.97 [+0.18] TEST: IPv4 fibmatch on up device [ OK ] # 20.15 [+0.18] TEST: IPv6 fibmatch on up device [ OK ] # 20.30 [+0.15] TEST: IPv4 flags on down device [ OK ] # 20.45 [+0.15] TEST: IPv6 flags on down device [ OK ] # 20.60 [+0.15] TEST: IPv4 flags on up device [ OK ] # 20.75 [+0.15] TEST: IPv6 flags on up device [ OK ] # 21.12 [+0.37] Other device down and up # 21.31 [+0.19] TEST: IPv4 fibmatch on down device [ OK ] # 21.49 [+0.19] TEST: IPv6 fibmatch on down device [ OK ] # 21.67 [+0.18] TEST: IPv4 fibmatch on up device [ OK ] # 21.83 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 22.00 [+0.16] TEST: IPv4 flags on down device [ OK ] # 22.15 [+0.15] TEST: IPv6 flags on down device [ OK ] # 22.27 [+0.13] TEST: IPv4 flags on up device [ OK ] # 22.41 [+0.13] TEST: IPv6 flags on up device [ OK ] # 22.58 [+0.18] Both devices down # 22.75 [+0.17] TEST: IPv4 fibmatch [ OK ] # 22.93 [+0.18] TEST: IPv6 fibmatch [ OK ] # 23.90 [+0.97] # 23.90 [+0.00] Local carrier tests - single path # 26.48 [+2.58] Start point # 26.64 [+0.16] TEST: IPv4 fibmatch [ OK ] # 26.82 [+0.18] TEST: IPv6 fibmatch [ OK ] # 26.96 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 27.10 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 28.40 [+1.31] Carrier off on nexthop # 28.57 [+0.17] TEST: IPv4 fibmatch [ OK ] # 28.74 [+0.17] TEST: IPv6 fibmatch [ OK ] # 28.89 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 29.01 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 29.35 [+0.34] Route to local address with carrier down # 29.53 [+0.17] TEST: IPv4 fibmatch [ OK ] # 29.70 [+0.18] TEST: IPv6 fibmatch [ OK ] # 29.84 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 30.00 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 30.83 [+0.83] # 30.83 [+0.00] Single path route carrier test # 33.37 [+2.54] Start point # 33.54 [+0.17] TEST: IPv4 fibmatch [ OK ] # 33.70 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.84 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 33.98 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 35.26 [+1.28] Carrier down # 35.42 [+0.16] TEST: IPv4 fibmatch [ OK ] # 35.59 [+0.17] TEST: IPv6 fibmatch [ OK ] # 35.75 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 35.88 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 36.22 [+0.34] Second address added with carrier down # 36.39 [+0.17] TEST: IPv4 fibmatch [ OK ] # 36.56 [+0.17] TEST: IPv6 fibmatch [ OK ] # 36.68 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 36.81 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 44.36 [+7.55] # 44.36 [+0.00] IPv4 nexthop tests # 44.36 [+0.00] <<< write me >>> # 44.73 [+0.37] # 44.73 [+0.00] IPv6 nexthop tests # 44.94 [+0.21] TEST: Directly connected nexthop, unicast address [ OK ] # 45.13 [+0.19] TEST: Directly connected nexthop, unicast address with device [ OK ] # 45.31 [+0.18] TEST: Gateway is linklocal address [ OK ] # 45.49 [+0.18] TEST: Gateway is linklocal address, no device [ OK ] # 45.68 [+0.19] TEST: Gateway can not be local unicast address [ OK ] # 45.86 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 46.04 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 46.24 [+0.20] TEST: Gateway can be local address in a VRF [ OK ] # 46.42 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 46.60 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 46.78 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 46.95 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 47.12 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 47.30 [+0.18] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 49.06 [+1.75] # 49.06 [+0.00] FIB rule with suppress_prefixlength # 52.85 [+3.79] TEST: FIB rule suppress test [ OK ] # 56.16 [+3.31] # 56.16 [+0.00] Fib6 info length calculation in route notify test # 62.15 [+5.99] TEST: ipv6 route add notify [ OK ] # 65.40 [+3.24] # 65.40 [+0.00] Fib4 info length calculation in route notify test # 71.40 [+6.01] TEST: ipv4 route add notify [ OK ] # 80.80 [+9.40] # 80.80 [+0.00] IPv6 route add / append tests # 81.54 [+0.73] TEST: Attempt to add duplicate route - gw [ OK ] # 82.30 [+0.77] TEST: Attempt to add duplicate route - dev only [ OK ] # 83.06 [+0.76] TEST: Attempt to add duplicate route - reject route [ OK ] # 83.99 [+0.93] TEST: Append nexthop to existing route - gw [ OK ] # 84.72 [+0.74] TEST: Add multipath route [ OK ] # 85.51 [+0.78] TEST: Attempt to add duplicate multipath route [ OK ] # 86.44 [+0.94] TEST: Route add with different metrics [ OK ] # 86.80 [+0.36] TEST: Route delete with metric [ OK ] # 86.80 [+0.00] # 86.80 [+0.00] IPv6 route replace tests # 87.75 [+0.95] TEST: Single path with single path [ OK ] # 88.66 [+0.91] TEST: Single path with multipath [ OK ] # 89.56 [+0.90] TEST: Single path with single path via multipath attribute [ OK ] # 90.50 [+0.93] TEST: Invalid nexthop [ OK ] # 91.25 [+0.75] TEST: Single path - replace of non-existent route [ OK ] # 92.17 [+0.93] TEST: Multipath with multipath [ OK ] # 93.07 [+0.89] TEST: Multipath with single path [ OK ] # 93.97 [+0.90] TEST: Multipath with single path via multipath attribute [ OK ] # 94.82 [+0.85] TEST: Multipath with dev-only [ OK ] # 95.75 [+0.93] TEST: Multipath - invalid first nexthop [ OK ] # 96.70 [+0.95] TEST: Multipath - invalid second nexthop [ OK ] # 97.47 [+0.77] TEST: Multipath - replace of non-existent route [ OK ] # 97.47 [+0.00] # 97.47 [+0.00] IPv6 route with dsfield tests # 97.91 [+0.44] TEST: Reject route with dsfield [ OK ] # 110.72 [+12.80] # 110.72 [+0.00] IPv4 route add / append tests # 111.49 [+0.78] TEST: Attempt to add duplicate route - gw [ OK ] # 112.28 [+0.79] TEST: Attempt to add duplicate route - dev only [ OK ] # 113.04 [+0.76] TEST: Attempt to add duplicate route - reject route [ OK ] # 113.97 [+0.93] TEST: Add new nexthop for existing prefix [ OK ] # 114.86 [+0.89] TEST: Append nexthop to existing route - gw [ OK ] # 115.76 [+0.90] TEST: Append nexthop to existing route - dev only [ OK ] # 116.63 [+0.88] TEST: Append nexthop to existing route - reject route [ OK ] # 117.41 [+0.78] TEST: Append nexthop to existing reject route - gw [ OK ] # 118.12 [+0.71] TEST: Append nexthop to existing reject route - dev only [ OK ] # 118.88 [+0.76] TEST: add multipath route [ OK ] # 119.60 [+0.73] TEST: Attempt to add duplicate multipath route [ OK ] # 120.55 [+0.95] TEST: Route add with different metrics [ OK ] # 120.95 [+0.40] TEST: Route delete with metric [ OK ] # 120.96 [+0.00] # 120.96 [+0.00] IPv4 route replace tests # 121.87 [+0.92] TEST: Single path with single path [ OK ] # 122.81 [+0.93] TEST: Single path with multipath [ OK ] # 123.76 [+0.95] TEST: Single path with reject route [ OK ] # 124.68 [+0.92] TEST: Single path with single path via multipath attribute [ OK ] # 125.59 [+0.91] TEST: Invalid nexthop [ OK ] # 126.29 [+0.70] TEST: Single path - replace of non-existent route [ OK ] # 127.16 [+0.87] TEST: Multipath with multipath [ OK ] # 128.01 [+0.85] TEST: Multipath with single path [ OK ] # 128.88 [+0.87] TEST: Multipath with single path via multipath attribute [ OK ] # 129.74 [+0.86] TEST: Multipath with reject route [ OK ] # 130.60 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 131.47 [+0.87] TEST: Multipath - invalid second nexthop [ OK ] # 132.21 [+0.74] TEST: Multipath - replace of non-existent route [ OK ] # 134.91 [+2.70] TEST: Cached route removed from VRF port device [ OK ] # 134.91 [+0.00] # 134.91 [+0.00] IPv4 route with dsfield tests # 135.25 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 135.42 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 135.60 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 136.08 [+0.48] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 136.21 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 136.35 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 136.50 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 136.66 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 136.79 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 136.93 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 137.06 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 137.23 [+0.16] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 137.37 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 137.51 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 137.67 [+0.16] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 140.65 [+2.98] # 140.65 [+0.00] IPv6 prefix route tests # 144.55 [+3.90] TEST: Default metric [ OK ] # 145.11 [+0.56] TEST: User specified metric on first device [ OK ] # 145.65 [+0.54] TEST: User specified metric on second device [ OK ] # 146.00 [+0.35] TEST: Delete of address on first device [ OK ] # 146.38 [+0.38] TEST: Modify metric of address [ OK ] # 147.02 [+0.64] TEST: Prefix route removed on link down [ OK ] # 147.40 [+0.38] TEST: Prefix route with metric on link up [ OK ] # 147.91 [+0.50] TEST: Set metric with peer route on local side [ OK ] # 148.08 [+0.17] TEST: Set metric with peer route on peer side [ OK ] # 148.45 [+0.37] TEST: Modify metric and peer address on local side [ OK ] # 148.62 [+0.17] TEST: Modify metric and peer address on peer side [ OK ] # 150.54 [+1.92] # 150.54 [+0.00] IPv4 prefix route tests # 154.71 [+4.17] TEST: Default metric [ OK ] # 155.30 [+0.59] TEST: User specified metric on first device [ OK ] # 155.86 [+0.56] TEST: User specified metric on second device [ OK ] # 156.23 [+0.38] TEST: Delete of address on first device [ OK ] # 156.61 [+0.37] TEST: Modify metric of address [ OK ] # 156.98 [+0.38] TEST: Prefix route removed on link down [ OK ] # 157.38 [+0.40] TEST: Prefix route with metric on link up [ OK ] # 158.17 [+0.79] TEST: Modify metric of .0/24 address [ OK ] # 158.73 [+0.55] TEST: Set metric of address with peer route [ OK ] # 159.12 [+0.39] TEST: Modify metric and peer address for peer route [ OK ] # 161.05 [+1.93] # 161.05 [+0.00] IPv6 routes with metrics # 170.96 [+9.90] TEST: Single path route with mtu metric [ OK ] # 171.50 [+0.54] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 172.04 [+0.55] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 172.37 [+0.33] TEST: MTU of second leg [ OK ] # 172.74 [+0.36] TEST: Multipath route with mtu metric [ OK ] # 173.28 [+0.55] TEST: Using route with mtu metric [ OK ] # 173.59 [+0.31] TEST: Invalid metric (fails metric_convert) [ OK ] # 176.72 [+3.13] # 176.72 [+0.00] IPv4 route add / append tests # 186.55 [+9.83] TEST: Single path route with mtu metric [ OK ] # 186.93 [+0.38] TEST: Multipath route with mtu metric [ OK ] # 187.42 [+0.49] TEST: Using route with mtu metric [ OK ] # 187.73 [+0.31] TEST: Invalid metric (fails metric_convert) [ OK ] # 190.79 [+3.06] # 190.79 [+0.00] IPv4 route with IPv6 gateway tests # 202.34 [+11.55] TEST: Single path route with IPv6 gateway [ OK ] # 202.83 [+0.48] TEST: Single path route with IPv6 gateway - ping [ OK ] # 203.01 [+0.18] TEST: Single path route delete [ OK ] # 203.37 [+0.36] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 203.74 [+0.37] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 203.92 [+0.18] TEST: Multipath route delete exact match [ OK ] # 204.10 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 204.47 [+0.37] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 204.64 [+0.18] TEST: Multipath route delete exact match [ OK ] # 207.64 [+2.99] # 207.64 [+0.00] IPv4 rp_filter tests # 220.28 [+12.64] TEST: rp_filter passes local packets [ OK ] # 220.59 [+0.30] TEST: rp_filter passes loopback packets [ OK ] # 222.13 [+1.54] # 222.13 [+0.00] IPv4 delete address route tests # 227.90 [+5.77] Regular FIB info # 228.17 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 228.31 [+0.14] TEST: Route in default VRF not removed [ OK ] # 228.95 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 229.09 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 229.09 [+0.00] Identical FIB info with different table ID # 229.40 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 229.53 [+0.13] TEST: Route in default VRF not removed [ OK ] # 230.20 [+0.66] TEST: Route removed in default VRF when source address deleted [ OK ] # 230.35 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 230.35 [+0.00] Table ID 0 # 230.65 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 232.56 [+1.91] # 232.56 [+0.00] IPv6 delete address route tests # 242.66 [+10.10] Single device using src address # 243.00 [+0.34] TEST: Prefsrc removed when src address removed on other device [ OK ] # 243.00 [+0.00] Two devices with the same source address # 243.28 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 243.59 [+0.32] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 243.60 [+0.00] VRF with single device using src address # 243.94 [+0.34] TEST: Prefsrc removed when src address removed on other device [ OK ] # 243.94 [+0.00] VRF with two devices using src address # 244.25 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 244.56 [+0.31] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 244.56 [+0.00] src address and nexthop dev in same VRF # 244.88 [+0.32] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 245.01 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 245.70 [+0.69] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 245.85 [+0.15] TEST: Prefsrc in default VRF removed [ OK ] # 245.85 [+0.00] src address and nexthop device in different VRF # 246.18 [+0.34] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 246.31 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 246.83 [+0.52] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 246.98 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 246.98 [+0.00] Table ID 0 # 247.30 [+0.32] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 247.30 [+0.00] Link local source route # 247.65 [+0.35] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 247.98 [+0.32] TEST: Prefsrc removed when delete ll addr [ OK ] # 248.12 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 248.63 [+0.51] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 251.43 [+2.80] # 251.43 [+0.00] IPv4 mangling tests # 264.67 [+13.24] TEST: Connection with correct parameters [ OK ] # 265.02 [+0.35] TEST: Connection with incorrect parameters [ OK ] # 266.46 [+1.45] TEST: Connection with correct parameters - mangling [ OK ] # 267.66 [+1.20] TEST: Connection with correct parameters - no mangling [ OK ] # 267.77 [+0.11] TEST: Connection check - server side [ OK ] # 271.31 [+3.54] # 271.31 [+0.00] IPv6 mangling tests # 284.28 [+12.97] TEST: Connection with correct parameters [ OK ] # 284.67 [+0.38] TEST: Connection with incorrect parameters [ OK ] # 285.88 [+1.22] TEST: Connection with correct parameters - mangling [ OK ] # 287.12 [+1.24] TEST: Connection with correct parameters - no mangling [ OK ] # 287.23 [+0.11] TEST: Connection check - server side [ OK ] # 290.86 [+3.63] # 290.86 [+0.00] IPv4 broadcast neighbour tests # 295.48 [+4.63] TEST: Resolved neighbour for broadcast address [ OK ] # 295.67 [+0.18] TEST: Resolved neighbour for network broadcast address [ OK ] # 295.84 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 296.01 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 299.96 [+3.95] # 299.96 [+0.00] Fib6 garbage collection test # 314.54 [+14.58] TEST: ipv6 route garbage collection [ OK ] # 329.34 [+14.80] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 344.16 [+14.82] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 359.19 [+15.03] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 374.60 [+15.41] TEST: ipv6 route garbage collection (RA message) [ OK ] # 376.03 [+1.42] # 376.03 [+0.00] IPv4 multipath list receive tests # 400.99 [+24.96] TEST: Multipath route hit ratio (1.00) [ OK ] # 404.12 [+3.13] # 404.12 [+0.00] IPv6 multipath list receive tests # 427.40 [+23.28] TEST: Multipath route hit ratio (1.00) [ OK ] # 430.44 [+3.04] # 430.44 [+0.00] Tests passed: 229 # 430.44 [+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__->