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.14 [+1.14] # 1.14 [+0.00] Single path route test # 2.98 [+1.84] Start point # 3.14 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.30 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.50 [+0.20] Nexthop device deleted # 3.66 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.83 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.82 [+0.99] # 4.82 [+0.00] Multipath route test # 8.09 [+3.27] Start point # 8.27 [+0.17] TEST: IPv4 fibmatch [ OK ] # 8.42 [+0.15] TEST: IPv6 fibmatch [ OK ] # 8.62 [+0.20] One nexthop device deleted # 8.78 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.95 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.15 [+0.20] Second nexthop device deleted # 9.32 [+0.17] TEST: IPv6 - no route [ OK ] # 10.31 [+0.99] # 10.31 [+0.00] Single path, admin down # 12.63 [+2.32] Start point # 12.79 [+0.16] TEST: IPv4 fibmatch [ OK ] # 12.95 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.12 [+0.17] Route deleted on down # 13.28 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.44 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.23 [+0.79] # 14.23 [+0.00] Admin down multipath # 17.50 [+3.27] Verify start point # 17.66 [+0.16] TEST: IPv4 fibmatch [ OK ] # 17.82 [+0.16] TEST: IPv6 fibmatch [ OK ] # 17.99 [+0.17] One device down, one up # 18.15 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.32 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 18.48 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.64 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 18.76 [+0.12] TEST: IPv4 flags on down device [ OK ] # 18.90 [+0.14] TEST: IPv6 flags on down device [ OK ] # 19.03 [+0.13] TEST: IPv4 flags on up device [ OK ] # 19.15 [+0.12] TEST: IPv6 flags on up device [ OK ] # 19.47 [+0.32] Other device down and up # 19.63 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.78 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 19.94 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.09 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 20.22 [+0.13] TEST: IPv4 flags on down device [ OK ] # 20.35 [+0.13] TEST: IPv6 flags on down device [ OK ] # 20.51 [+0.16] TEST: IPv4 flags on up device [ OK ] # 20.64 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.80 [+0.16] Both devices down # 20.96 [+0.16] TEST: IPv4 fibmatch [ OK ] # 21.12 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.18 [+1.05] # 22.18 [+0.00] Local carrier tests - single path # 24.65 [+2.47] Start point # 24.81 [+0.16] TEST: IPv4 fibmatch [ OK ] # 24.97 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.12 [+0.15] TEST: IPv4 - no linkdown flag [ OK ] # 25.31 [+0.19] TEST: IPv6 - no linkdown flag [ OK ] # 26.60 [+1.28] Carrier off on nexthop # 26.77 [+0.17] TEST: IPv4 fibmatch [ OK ] # 26.94 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.07 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 27.24 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 27.55 [+0.31] Route to local address with carrier down # 27.72 [+0.17] TEST: IPv4 fibmatch [ OK ] # 27.88 [+0.17] TEST: IPv6 fibmatch [ OK ] # 28.02 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 28.17 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 28.97 [+0.80] # 28.97 [+0.00] Single path route carrier test # 31.46 [+2.49] Start point # 31.62 [+0.16] TEST: IPv4 fibmatch [ OK ] # 31.78 [+0.16] TEST: IPv6 fibmatch [ OK ] # 31.93 [+0.15] TEST: IPv4 no linkdown flag [ OK ] # 32.04 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 33.31 [+1.27] Carrier down # 33.52 [+0.21] TEST: IPv4 fibmatch [ OK ] # 33.68 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.81 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 33.93 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 34.25 [+0.32] Second address added with carrier down # 34.41 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.57 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.70 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 34.84 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 42.14 [+7.30] # 42.14 [+0.00] IPv4 nexthop tests # 42.14 [+0.00] <<< write me >>> # 42.48 [+0.34] # 42.48 [+0.00] IPv6 nexthop tests # 42.66 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 42.83 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 43.00 [+0.17] TEST: Gateway is linklocal address [ OK ] # 43.17 [+0.18] TEST: Gateway is linklocal address, no device [ OK ] # 43.34 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 43.52 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.70 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 43.87 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 44.04 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 44.22 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.39 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 44.56 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.73 [+0.17] TEST: VRF route, gateway can not be a local address [ OK ] # 44.90 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.48 [+1.58] # 46.48 [+0.00] FIB rule with suppress_prefixlength # 49.98 [+3.50] TEST: FIB rule suppress test [ OK ] # 53.18 [+3.20] # 53.18 [+0.00] Fib6 info length calculation in route notify test # 58.99 [+5.81] TEST: ipv6 route add notify [ OK ] # 62.15 [+3.16] # 62.15 [+0.00] Fib4 info length calculation in route notify test # 68.00 [+5.85] TEST: ipv4 route add notify [ OK ] # 76.62 [+8.61] # 76.62 [+0.00] IPv6 route add / append tests # 77.27 [+0.65] TEST: Attempt to add duplicate route - gw [ OK ] # 77.93 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 78.60 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 79.44 [+0.83] TEST: Append nexthop to existing route - gw [ OK ] # 80.10 [+0.66] TEST: Add multipath route [ OK ] # 80.74 [+0.65] TEST: Attempt to add duplicate multipath route [ OK ] # 81.59 [+0.85] TEST: Route add with different metrics [ OK ] # 81.93 [+0.34] TEST: Route delete with metric [ OK ] # 81.93 [+0.00] # 81.93 [+0.00] IPv6 route replace tests # 82.77 [+0.84] TEST: Single path with single path [ OK ] # 83.72 [+0.95] TEST: Single path with multipath [ OK ] # 84.58 [+0.86] TEST: Single path with single path via multipath attribute [ OK ] # 85.43 [+0.85] TEST: Invalid nexthop [ OK ] # 86.09 [+0.66] TEST: Single path - replace of non-existent route [ OK ] # 86.91 [+0.82] TEST: Multipath with multipath [ OK ] # 87.73 [+0.82] TEST: Multipath with single path [ OK ] # 88.54 [+0.81] TEST: Multipath with single path via multipath attribute [ OK ] # 89.35 [+0.81] TEST: Multipath with dev-only [ OK ] # 90.17 [+0.82] TEST: Multipath - invalid first nexthop [ OK ] # 90.98 [+0.81] TEST: Multipath - invalid second nexthop [ OK ] # 91.63 [+0.65] TEST: Multipath - replace of non-existent route [ OK ] # 91.64 [+0.00] # 91.64 [+0.00] IPv6 route with dsfield tests # 91.97 [+0.34] TEST: Reject route with dsfield [ OK ] # 103.50 [+11.53] # 103.50 [+0.00] IPv4 route add / append tests # 104.17 [+0.67] TEST: Attempt to add duplicate route - gw [ OK ] # 104.82 [+0.65] TEST: Attempt to add duplicate route - dev only [ OK ] # 105.48 [+0.66] TEST: Attempt to add duplicate route - reject route [ OK ] # 106.31 [+0.83] TEST: Add new nexthop for existing prefix [ OK ] # 107.15 [+0.83] TEST: Append nexthop to existing route - gw [ OK ] # 107.99 [+0.84] TEST: Append nexthop to existing route - dev only [ OK ] # 108.82 [+0.83] TEST: Append nexthop to existing route - reject route [ OK ] # 109.50 [+0.68] TEST: Append nexthop to existing reject route - gw [ OK ] # 110.18 [+0.68] TEST: Append nexthop to existing reject route - dev only [ OK ] # 110.85 [+0.67] TEST: add multipath route [ OK ] # 111.52 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 112.37 [+0.84] TEST: Route add with different metrics [ OK ] # 112.70 [+0.33] TEST: Route delete with metric [ OK ] # 112.70 [+0.00] # 112.70 [+0.00] IPv4 route replace tests # 113.53 [+0.83] TEST: Single path with single path [ OK ] # 114.38 [+0.85] TEST: Single path with multipath [ OK ] # 115.21 [+0.83] TEST: Single path with reject route [ OK ] # 116.05 [+0.84] TEST: Single path with single path via multipath attribute [ OK ] # 116.89 [+0.84] TEST: Invalid nexthop [ OK ] # 117.57 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 118.42 [+0.84] TEST: Multipath with multipath [ OK ] # 119.24 [+0.82] TEST: Multipath with single path [ OK ] # 120.11 [+0.87] TEST: Multipath with single path via multipath attribute [ OK ] # 120.96 [+0.85] TEST: Multipath with reject route [ OK ] # 121.81 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 122.64 [+0.84] TEST: Multipath - invalid second nexthop [ OK ] # 123.31 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 125.81 [+2.49] TEST: Cached route removed from VRF port device [ OK ] # 125.81 [+0.00] # 125.81 [+0.00] IPv4 route with dsfield tests # 126.15 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 126.32 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 126.49 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 127.00 [+0.51] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 127.13 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 127.28 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 127.42 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 127.57 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 127.70 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 127.84 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 128.00 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 128.13 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 128.27 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 128.41 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 128.53 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 131.39 [+2.86] # 131.39 [+0.00] IPv6 prefix route tests # 135.02 [+3.63] TEST: Default metric [ OK ] # 135.51 [+0.49] TEST: User specified metric on first device [ OK ] # 136.03 [+0.51] TEST: User specified metric on second device [ OK ] # 136.33 [+0.30] TEST: Delete of address on first device [ OK ] # 136.68 [+0.35] TEST: Modify metric of address [ OK ] # 137.28 [+0.61] TEST: Prefix route removed on link down [ OK ] # 137.63 [+0.35] TEST: Prefix route with metric on link up [ OK ] # 138.12 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 138.27 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 138.59 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 138.74 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 140.53 [+1.79] # 140.53 [+0.00] IPv4 prefix route tests # 144.26 [+3.73] TEST: Default metric [ OK ] # 144.77 [+0.51] TEST: User specified metric on first device [ OK ] # 145.30 [+0.53] TEST: User specified metric on second device [ OK ] # 145.65 [+0.36] TEST: Delete of address on first device [ OK ] # 146.00 [+0.35] TEST: Modify metric of address [ OK ] # 146.34 [+0.34] TEST: Prefix route removed on link down [ OK ] # 146.68 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 147.37 [+0.69] TEST: Modify metric of .0/24 address [ OK ] # 147.90 [+0.53] TEST: Set metric of address with peer route [ OK ] # 148.24 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 150.07 [+1.83] # 150.07 [+0.00] IPv6 routes with metrics # 159.05 [+8.98] TEST: Single path route with mtu metric [ OK ] # 159.58 [+0.53] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 160.07 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 160.39 [+0.32] TEST: MTU of second leg [ OK ] # 160.71 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 161.17 [+0.46] TEST: Using route with mtu metric [ OK ] # 161.45 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 164.18 [+2.73] # 164.18 [+0.00] IPv4 route add / append tests # 173.56 [+9.37] TEST: Single path route with mtu metric [ OK ] # 173.89 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 174.37 [+0.48] TEST: Using route with mtu metric [ OK ] # 174.66 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 177.52 [+2.85] # 177.52 [+0.00] IPv4 route with IPv6 gateway tests # 188.61 [+11.09] TEST: Single path route with IPv6 gateway [ OK ] # 189.13 [+0.52] TEST: Single path route with IPv6 gateway - ping [ OK ] # 189.31 [+0.18] TEST: Single path route delete [ OK ] # 189.65 [+0.34] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 189.98 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 190.15 [+0.17] TEST: Multipath route delete exact match [ OK ] # 190.33 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 190.67 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 190.83 [+0.17] TEST: Multipath route delete exact match [ OK ] # 193.53 [+2.69] # 193.53 [+0.00] IPv4 rp_filter tests # 205.99 [+12.46] TEST: rp_filter passes local packets [ OK ] # 206.33 [+0.33] TEST: rp_filter passes loopback packets [ OK ] # 207.77 [+1.44] # 207.77 [+0.00] IPv4 delete address route tests # 214.02 [+6.25] Regular FIB info # 214.40 [+0.38] TEST: Route removed from VRF when source address deleted [ OK ] # 214.56 [+0.16] TEST: Route in default VRF not removed [ OK ] # 215.24 [+0.68] TEST: Route removed in default VRF when source address deleted [ OK ] # 215.39 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 215.40 [+0.00] Identical FIB info with different table ID # 215.73 [+0.33] TEST: Route removed from VRF when source address deleted [ OK ] # 215.90 [+0.17] TEST: Route in default VRF not removed [ OK ] # 216.58 [+0.69] TEST: Route removed in default VRF when source address deleted [ OK ] # 216.78 [+0.20] TEST: Route in VRF is not removed by address delete [ OK ] # 216.79 [+0.01] Table ID 0 # 217.17 [+0.38] TEST: Route removed in default VRF when source address deleted [ OK ] # 219.22 [+2.05] # 219.22 [+0.00] IPv6 delete address route tests # 230.49 [+11.27] Single device using src address # 230.91 [+0.41] TEST: Prefsrc removed when src address removed on other device [ OK ] # 230.91 [+0.00] Two devices with the same source address # 231.24 [+0.33] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 231.61 [+0.37] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 231.61 [+0.00] VRF with single device using src address # 231.95 [+0.34] TEST: Prefsrc removed when src address removed on other device [ OK ] # 231.95 [+0.00] VRF with two devices using src address # 232.30 [+0.35] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 232.63 [+0.33] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 232.64 [+0.00] src address and nexthop dev in same VRF # 232.97 [+0.34] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 233.14 [+0.17] TEST: Prefsrc in default VRF not removed [ OK ] # 233.96 [+0.82] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 234.16 [+0.20] TEST: Prefsrc in default VRF removed [ OK ] # 234.17 [+0.00] src address and nexthop device in different VRF # 234.66 [+0.49] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 234.84 [+0.18] TEST: Prefsrc not removed in default VRF [ OK ] # 235.37 [+0.53] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 235.52 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 235.52 [+0.00] Table ID 0 # 235.85 [+0.33] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 235.85 [+0.01] Link local source route # 236.18 [+0.33] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 236.50 [+0.32] TEST: Prefsrc removed when delete ll addr [ OK ] # 236.66 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 237.17 [+0.51] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 239.99 [+2.82] # 239.99 [+0.00] IPv4 mangling tests # 252.64 [+12.65] TEST: Connection with correct parameters [ OK ] # 252.97 [+0.33] TEST: Connection with incorrect parameters [ OK ] # 254.28 [+1.31] TEST: Connection with correct parameters - mangling [ OK ] # 255.41 [+1.13] TEST: Connection with correct parameters - no mangling [ OK ] # 255.50 [+0.10] TEST: Connection check - server side [ OK ] # 258.98 [+3.48] # 258.98 [+0.00] IPv6 mangling tests # 271.50 [+12.52] TEST: Connection with correct parameters [ OK ] # 271.88 [+0.38] TEST: Connection with incorrect parameters [ OK ] # 273.06 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 274.26 [+1.20] TEST: Connection with correct parameters - no mangling [ OK ] # 274.36 [+0.10] TEST: Connection check - server side [ OK ] # 277.79 [+3.43] # 277.79 [+0.00] IPv4 broadcast neighbour tests # 282.07 [+4.28] TEST: Resolved neighbour for broadcast address [ OK ] # 282.25 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 282.41 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 282.58 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 286.25 [+3.67] # 286.25 [+0.00] Fib6 garbage collection test # 300.69 [+14.44] TEST: ipv6 route garbage collection [ OK ] # 315.42 [+14.74] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 330.13 [+14.71] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 345.00 [+14.87] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 360.27 [+15.27] TEST: ipv6 route garbage collection (RA message) [ OK ] # 361.60 [+1.33] # 361.60 [+0.00] IPv4 multipath list receive tests # 385.42 [+23.82] TEST: Multipath route hit ratio (1.00) [ OK ] # 388.44 [+3.03] # 388.44 [+0.00] IPv6 multipath list receive tests # 411.46 [+23.02] TEST: Multipath route hit ratio (1.00) [ OK ] # 414.47 [+3.01] # 414.47 [+0.00] Tests passed: 229 # 414.48 [+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__->