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.04 [+1.04] # 1.04 [+0.00] Single path route test # 2.90 [+1.86] Start point # 3.06 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.21 [+0.15] TEST: IPv6 fibmatch [ OK ] # 3.41 [+0.20] Nexthop device deleted # 3.57 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.73 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.67 [+0.94] # 4.67 [+0.00] Multipath route test # 7.98 [+3.31] Start point # 8.14 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.29 [+0.15] TEST: IPv6 fibmatch [ OK ] # 8.48 [+0.19] One nexthop device deleted # 8.64 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.80 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.00 [+0.20] Second nexthop device deleted # 9.15 [+0.15] TEST: IPv6 - no route [ OK ] # 10.11 [+0.96] # 10.11 [+0.00] Single path, admin down # 12.43 [+2.32] Start point # 12.59 [+0.17] TEST: IPv4 fibmatch [ OK ] # 12.75 [+0.16] TEST: IPv6 fibmatch [ OK ] # 12.91 [+0.16] Route deleted on down # 13.07 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.23 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.99 [+0.76] # 13.99 [+0.00] Admin down multipath # 17.28 [+3.29] Verify start point # 17.45 [+0.17] TEST: IPv4 fibmatch [ OK ] # 17.61 [+0.16] TEST: IPv6 fibmatch [ OK ] # 17.76 [+0.16] One device down, one up # 17.93 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 18.09 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.26 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.43 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 18.55 [+0.13] TEST: IPv4 flags on down device [ OK ] # 18.67 [+0.12] TEST: IPv6 flags on down device [ OK ] # 18.81 [+0.14] TEST: IPv4 flags on up device [ OK ] # 18.95 [+0.14] TEST: IPv6 flags on up device [ OK ] # 19.28 [+0.32] Other device down and up # 19.43 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.59 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.76 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.92 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.03 [+0.12] TEST: IPv4 flags on down device [ OK ] # 20.15 [+0.12] TEST: IPv6 flags on down device [ OK ] # 20.28 [+0.13] TEST: IPv4 flags on up device [ OK ] # 20.41 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.58 [+0.17] Both devices down # 20.74 [+0.16] TEST: IPv4 fibmatch [ OK ] # 20.92 [+0.18] TEST: IPv6 fibmatch [ OK ] # 21.90 [+0.98] # 21.90 [+0.00] Local carrier tests - single path # 24.37 [+2.47] Start point # 24.54 [+0.18] TEST: IPv4 fibmatch [ OK ] # 24.71 [+0.17] TEST: IPv6 fibmatch [ OK ] # 24.84 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 24.98 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 26.26 [+1.28] Carrier off on nexthop # 26.42 [+0.16] TEST: IPv4 fibmatch [ OK ] # 26.59 [+0.17] TEST: IPv6 fibmatch [ OK ] # 26.72 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 26.85 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 27.18 [+0.33] Route to local address with carrier down # 27.34 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.50 [+0.16] TEST: IPv6 fibmatch [ OK ] # 27.64 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 27.79 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 28.59 [+0.80] # 28.59 [+0.00] Single path route carrier test # 31.06 [+2.47] Start point # 31.22 [+0.16] TEST: IPv4 fibmatch [ OK ] # 31.38 [+0.16] TEST: IPv6 fibmatch [ OK ] # 31.52 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 31.67 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 32.93 [+1.26] Carrier down # 33.09 [+0.16] TEST: IPv4 fibmatch [ OK ] # 33.26 [+0.17] TEST: IPv6 fibmatch [ OK ] # 33.40 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 33.55 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 33.87 [+0.32] Second address added with carrier down # 34.02 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.19 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.31 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 34.45 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 41.82 [+7.37] # 41.82 [+0.00] IPv4 nexthop tests # 41.82 [+0.00] <<< write me >>> # 42.15 [+0.33] # 42.15 [+0.00] IPv6 nexthop tests # 42.33 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 42.50 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 42.67 [+0.17] TEST: Gateway is linklocal address [ OK ] # 42.85 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 43.01 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 43.18 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.37 [+0.19] TEST: Gateway can not be a local linklocal address [ OK ] # 43.55 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 43.73 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 43.89 [+0.16] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.06 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 44.24 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.42 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 44.59 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.12 [+1.53] # 46.12 [+0.00] FIB rule with suppress_prefixlength # 49.64 [+3.52] TEST: FIB rule suppress test [ OK ] # 52.76 [+3.12] # 52.76 [+0.00] Fib6 info length calculation in route notify test # 58.54 [+5.78] TEST: ipv6 route add notify [ OK ] # 61.62 [+3.07] # 61.62 [+0.00] Fib4 info length calculation in route notify test # 67.36 [+5.75] TEST: ipv4 route add notify [ OK ] # 75.90 [+8.54] # 75.90 [+0.00] IPv6 route add / append tests # 76.56 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 77.23 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 77.90 [+0.67] TEST: Attempt to add duplicate route - reject route [ OK ] # 78.71 [+0.81] TEST: Append nexthop to existing route - gw [ OK ] # 79.37 [+0.66] TEST: Add multipath route [ OK ] # 80.03 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 80.86 [+0.83] TEST: Route add with different metrics [ OK ] # 81.20 [+0.34] TEST: Route delete with metric [ OK ] # 81.20 [+0.00] # 81.20 [+0.00] IPv6 route replace tests # 82.01 [+0.81] TEST: Single path with single path [ OK ] # 82.82 [+0.81] TEST: Single path with multipath [ OK ] # 83.62 [+0.80] TEST: Single path with single path via multipath attribute [ OK ] # 84.45 [+0.83] TEST: Invalid nexthop [ OK ] # 85.11 [+0.66] TEST: Single path - replace of non-existent route [ OK ] # 85.94 [+0.82] TEST: Multipath with multipath [ OK ] # 86.74 [+0.80] TEST: Multipath with single path [ OK ] # 87.56 [+0.83] TEST: Multipath with single path via multipath attribute [ OK ] # 88.36 [+0.80] TEST: Multipath with dev-only [ OK ] # 89.19 [+0.82] TEST: Multipath - invalid first nexthop [ OK ] # 89.98 [+0.80] TEST: Multipath - invalid second nexthop [ OK ] # 90.63 [+0.64] TEST: Multipath - replace of non-existent route [ OK ] # 90.63 [+0.00] # 90.63 [+0.00] IPv6 route with dsfield tests # 90.97 [+0.34] TEST: Reject route with dsfield [ OK ] # 102.83 [+11.87] # 102.83 [+0.00] IPv4 route add / append tests # 103.49 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 104.16 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 104.84 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 105.68 [+0.84] TEST: Add new nexthop for existing prefix [ OK ] # 106.51 [+0.84] TEST: Append nexthop to existing route - gw [ OK ] # 107.36 [+0.84] TEST: Append nexthop to existing route - dev only [ OK ] # 108.18 [+0.83] TEST: Append nexthop to existing route - reject route [ OK ] # 108.86 [+0.67] TEST: Append nexthop to existing reject route - gw [ OK ] # 109.54 [+0.69] TEST: Append nexthop to existing reject route - dev only [ OK ] # 110.19 [+0.64] TEST: add multipath route [ OK ] # 110.87 [+0.68] TEST: Attempt to add duplicate multipath route [ OK ] # 111.73 [+0.86] TEST: Route add with different metrics [ OK ] # 112.07 [+0.34] TEST: Route delete with metric [ OK ] # 112.07 [+0.00] # 112.07 [+0.00] IPv4 route replace tests # 112.92 [+0.85] TEST: Single path with single path [ OK ] # 113.75 [+0.82] TEST: Single path with multipath [ OK ] # 114.60 [+0.86] TEST: Single path with reject route [ OK ] # 115.47 [+0.86] TEST: Single path with single path via multipath attribute [ OK ] # 116.35 [+0.89] TEST: Invalid nexthop [ OK ] # 117.05 [+0.70] TEST: Single path - replace of non-existent route [ OK ] # 117.93 [+0.88] TEST: Multipath with multipath [ OK ] # 118.82 [+0.89] TEST: Multipath with single path [ OK ] # 119.73 [+0.91] TEST: Multipath with single path via multipath attribute [ OK ] # 120.60 [+0.87] TEST: Multipath with reject route [ OK ] # 121.49 [+0.89] TEST: Multipath - invalid first nexthop [ OK ] # 122.38 [+0.89] TEST: Multipath - invalid second nexthop [ OK ] # 123.08 [+0.71] TEST: Multipath - replace of non-existent route [ OK ] # 125.62 [+2.54] TEST: Cached route removed from VRF port device [ OK ] # 125.63 [+0.00] # 125.63 [+0.00] IPv4 route with dsfield tests # 125.98 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 126.15 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 126.33 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 126.83 [+0.50] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 126.99 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 127.16 [+0.17] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 127.33 [+0.17] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 127.46 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 127.61 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 127.73 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 127.86 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 128.01 [+0.15] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 128.15 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 128.29 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 128.44 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 131.37 [+2.93] # 131.37 [+0.00] IPv6 prefix route tests # 134.98 [+3.61] TEST: Default metric [ OK ] # 135.47 [+0.50] TEST: User specified metric on first device [ OK ] # 135.99 [+0.51] TEST: User specified metric on second device [ OK ] # 136.31 [+0.32] TEST: Delete of address on first device [ OK ] # 136.64 [+0.33] TEST: Modify metric of address [ OK ] # 137.25 [+0.61] TEST: Prefix route removed on link down [ OK ] # 137.58 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 138.10 [+0.51] TEST: Set metric with peer route on local side [ OK ] # 138.25 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 138.59 [+0.34] TEST: Modify metric and peer address on local side [ OK ] # 138.72 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 140.56 [+1.84] # 140.56 [+0.00] IPv4 prefix route tests # 144.19 [+3.63] TEST: Default metric [ OK ] # 144.70 [+0.51] TEST: User specified metric on first device [ OK ] # 145.22 [+0.51] TEST: User specified metric on second device [ OK ] # 145.55 [+0.33] TEST: Delete of address on first device [ OK ] # 145.89 [+0.34] TEST: Modify metric of address [ OK ] # 146.22 [+0.34] TEST: Prefix route removed on link down [ OK ] # 146.55 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 147.22 [+0.67] TEST: Modify metric of .0/24 address [ OK ] # 147.71 [+0.49] TEST: Set metric of address with peer route [ OK ] # 148.06 [+0.35] TEST: Modify metric and peer address for peer route [ OK ] # 149.82 [+1.76] # 149.83 [+0.00] IPv6 routes with metrics # 158.86 [+9.03] TEST: Single path route with mtu metric [ OK ] # 159.35 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 159.82 [+0.47] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 160.13 [+0.31] TEST: MTU of second leg [ OK ] # 160.47 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 160.92 [+0.45] TEST: Using route with mtu metric [ OK ] # 161.20 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 163.97 [+2.77] # 163.97 [+0.00] IPv4 route add / append tests # 173.39 [+9.42] TEST: Single path route with mtu metric [ OK ] # 173.75 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 174.22 [+0.48] TEST: Using route with mtu metric [ OK ] # 174.50 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 177.35 [+2.84] # 177.35 [+0.00] IPv4 route with IPv6 gateway tests # 188.52 [+11.18] TEST: Single path route with IPv6 gateway [ OK ] # 189.00 [+0.48] TEST: Single path route with IPv6 gateway - ping [ OK ] # 189.18 [+0.17] TEST: Single path route delete [ OK ] # 189.52 [+0.34] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 189.87 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 190.04 [+0.17] TEST: Multipath route delete exact match [ OK ] # 190.22 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 190.57 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 190.74 [+0.17] TEST: Multipath route delete exact match [ OK ] # 193.62 [+2.88] # 193.62 [+0.00] IPv4 rp_filter tests # 205.77 [+12.15] TEST: rp_filter passes local packets [ OK ] # 206.08 [+0.32] TEST: rp_filter passes loopback packets [ OK ] # 207.51 [+1.42] # 207.51 [+0.00] IPv4 delete address route tests # 213.46 [+5.95] Regular FIB info # 213.77 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 213.89 [+0.13] TEST: Route in default VRF not removed [ OK ] # 214.50 [+0.61] TEST: Route removed in default VRF when source address deleted [ OK ] # 214.64 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 214.65 [+0.00] Identical FIB info with different table ID # 214.97 [+0.32] TEST: Route removed from VRF when source address deleted [ OK ] # 215.09 [+0.13] TEST: Route in default VRF not removed [ OK ] # 215.76 [+0.67] TEST: Route removed in default VRF when source address deleted [ OK ] # 215.90 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 215.90 [+0.00] Table ID 0 # 216.20 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 218.01 [+1.80] # 218.01 [+0.00] IPv6 delete address route tests # 227.67 [+9.67] Single device using src address # 227.99 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 227.99 [+0.00] Two devices with the same source address # 228.31 [+0.32] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 228.62 [+0.31] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 228.62 [+0.00] VRF with single device using src address # 228.94 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 228.94 [+0.00] VRF with two devices using src address # 229.25 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 229.58 [+0.33] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 229.59 [+0.00] src address and nexthop dev in same VRF # 229.89 [+0.30] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 230.05 [+0.16] TEST: Prefsrc in default VRF not removed [ OK ] # 230.70 [+0.65] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 230.84 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 230.84 [+0.00] src address and nexthop device in different VRF # 231.17 [+0.33] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 231.30 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 231.77 [+0.47] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 231.91 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 231.91 [+0.00] Table ID 0 # 232.22 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 232.23 [+0.00] Link local source route # 232.57 [+0.34] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 232.89 [+0.32] TEST: Prefsrc removed when delete ll addr [ OK ] # 233.05 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 233.56 [+0.51] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 236.41 [+2.85] # 236.41 [+0.00] IPv4 mangling tests # 249.16 [+12.75] TEST: Connection with correct parameters [ OK ] # 249.50 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 250.86 [+1.36] TEST: Connection with correct parameters - mangling [ OK ] # 252.06 [+1.20] TEST: Connection with correct parameters - no mangling [ OK ] # 252.21 [+0.15] TEST: Connection check - server side [ OK ] # 255.83 [+3.62] # 255.83 [+0.00] IPv6 mangling tests # 268.58 [+12.75] TEST: Connection with correct parameters [ OK ] # 268.94 [+0.36] TEST: Connection with incorrect parameters [ OK ] # 270.15 [+1.20] TEST: Connection with correct parameters - mangling [ OK ] # 271.39 [+1.24] TEST: Connection with correct parameters - no mangling [ OK ] # 271.51 [+0.12] TEST: Connection check - server side [ OK ] # 274.93 [+3.42] # 274.93 [+0.00] IPv4 broadcast neighbour tests # 279.31 [+4.38] TEST: Resolved neighbour for broadcast address [ OK ] # 279.48 [+0.18] TEST: Resolved neighbour for network broadcast address [ OK ] # 279.66 [+0.18] TEST: Unresolved neighbour for broadcast address [ OK ] # 279.84 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 283.63 [+3.79] # 283.63 [+0.00] Fib6 garbage collection test # 298.08 [+14.45] TEST: ipv6 route garbage collection [ OK ] # 312.81 [+14.73] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 327.55 [+14.74] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 342.61 [+15.07] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 358.07 [+15.45] TEST: ipv6 route garbage collection (RA message) [ OK ] # 359.44 [+1.37] # 359.44 [+0.00] IPv4 multipath list receive tests # 383.73 [+24.29] TEST: Multipath route hit ratio (1.00) [ OK ] # 386.75 [+3.02] # 386.75 [+0.00] IPv6 multipath list receive tests # 409.91 [+23.16] TEST: Multipath route hit ratio (1.00) [ OK ] # 413.00 [+3.09] # 413.00 [+0.00] Tests passed: 229 # 413.00 [+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__->