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.03 [+1.03] # 1.03 [+0.00] Single path route test # 3.12 [+2.08] Start point # 3.30 [+0.18] TEST: IPv4 fibmatch [ OK ] # 3.46 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.67 [+0.21] Nexthop device deleted # 3.83 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 4.00 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.97 [+0.97] # 4.97 [+0.00] Multipath route test # 8.41 [+3.44] Start point # 8.57 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.73 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.95 [+0.22] One nexthop device deleted # 9.11 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.28 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 9.48 [+0.20] Second nexthop device deleted # 9.63 [+0.16] TEST: IPv6 - no route [ OK ] # 10.59 [+0.95] # 10.59 [+0.00] Single path, admin down # 13.06 [+2.47] Start point # 13.23 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.38 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.54 [+0.15] Route deleted on down # 13.71 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.87 [+0.17] TEST: IPv6 fibmatch [ OK ] # 14.73 [+0.86] # 14.73 [+0.00] Admin down multipath # 18.13 [+3.40] Verify start point # 18.32 [+0.19] TEST: IPv4 fibmatch [ OK ] # 18.48 [+0.17] TEST: IPv6 fibmatch [ OK ] # 18.66 [+0.18] One device down, one up # 18.83 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 18.99 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 19.15 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.33 [+0.18] TEST: IPv6 fibmatch on up device [ OK ] # 19.46 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.60 [+0.14] TEST: IPv6 flags on down device [ OK ] # 19.80 [+0.20] TEST: IPv4 flags on up device [ OK ] # 19.93 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.26 [+0.32] Other device down and up # 20.42 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 20.57 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 20.73 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.88 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 21.05 [+0.16] TEST: IPv4 flags on down device [ OK ] # 21.18 [+0.13] TEST: IPv6 flags on down device [ OK ] # 21.32 [+0.14] TEST: IPv4 flags on up device [ OK ] # 21.46 [+0.15] TEST: IPv6 flags on up device [ OK ] # 21.63 [+0.16] Both devices down # 21.81 [+0.18] TEST: IPv4 fibmatch [ OK ] # 21.99 [+0.18] TEST: IPv6 fibmatch [ OK ] # 23.03 [+1.04] # 23.03 [+0.00] Local carrier tests - single path # 25.56 [+2.54] Start point # 25.74 [+0.18] TEST: IPv4 fibmatch [ OK ] # 25.92 [+0.18] TEST: IPv6 fibmatch [ OK ] # 26.07 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 26.23 [+0.16] TEST: IPv6 - no linkdown flag [ OK ] # 27.57 [+1.34] Carrier off on nexthop # 27.74 [+0.17] TEST: IPv4 fibmatch [ OK ] # 27.90 [+0.16] TEST: IPv6 fibmatch [ OK ] # 28.05 [+0.15] TEST: IPv4 - linkdown flag set [ OK ] # 28.19 [+0.15] TEST: IPv6 - linkdown flag set [ OK ] # 28.51 [+0.31] Route to local address with carrier down # 28.68 [+0.17] TEST: IPv4 fibmatch [ OK ] # 28.85 [+0.18] TEST: IPv6 fibmatch [ OK ] # 28.99 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 29.15 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 30.00 [+0.86] # 30.00 [+0.00] Single path route carrier test # 32.72 [+2.72] Start point # 32.87 [+0.15] TEST: IPv4 fibmatch [ OK ] # 33.02 [+0.15] TEST: IPv6 fibmatch [ OK ] # 33.16 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 33.32 [+0.16] TEST: IPv6 no linkdown flag [ OK ] # 34.58 [+1.25] Carrier down # 34.73 [+0.15] TEST: IPv4 fibmatch [ OK ] # 34.89 [+0.16] TEST: IPv6 fibmatch [ OK ] # 35.04 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 35.17 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 35.51 [+0.34] Second address added with carrier down # 35.69 [+0.17] TEST: IPv4 fibmatch [ OK ] # 35.86 [+0.17] TEST: IPv6 fibmatch [ OK ] # 36.02 [+0.17] TEST: IPv4 linkdown flag set [ OK ] # 36.15 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 43.74 [+7.59] # 43.74 [+0.00] IPv4 nexthop tests # 43.74 [+0.00] <<< write me >>> # 44.09 [+0.35] # 44.09 [+0.00] IPv6 nexthop tests # 44.27 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 44.44 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.63 [+0.18] TEST: Gateway is linklocal address [ OK ] # 44.82 [+0.19] TEST: Gateway is linklocal address, no device [ OK ] # 45.00 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 45.18 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 45.37 [+0.19] TEST: Gateway can not be a local linklocal address [ OK ] # 45.57 [+0.20] TEST: Gateway can be local address in a VRF [ OK ] # 45.76 [+0.19] TEST: Gateway can be local address in a VRF, with device [ OK ] # 45.96 [+0.20] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 46.16 [+0.20] TEST: Redirect to VRF lookup [ OK ] # 46.36 [+0.20] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 46.55 [+0.19] TEST: VRF route, gateway can not be a local address [ OK ] # 46.74 [+0.19] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 48.59 [+1.85] # 48.59 [+0.00] FIB rule with suppress_prefixlength # 52.18 [+3.59] TEST: FIB rule suppress test [ OK ] # 55.32 [+3.14] # 55.32 [+0.00] Fib6 info length calculation in route notify test # 61.49 [+6.16] TEST: ipv6 route add notify [ OK ] # 64.77 [+3.28] # 64.77 [+0.00] Fib4 info length calculation in route notify test # 70.55 [+5.79] TEST: ipv4 route add notify [ OK ] # 79.28 [+8.73] # 79.28 [+0.00] IPv6 route add / append tests # 80.03 [+0.75] TEST: Attempt to add duplicate route - gw [ OK ] # 80.76 [+0.73] TEST: Attempt to add duplicate route - dev only [ OK ] # 81.40 [+0.64] TEST: Attempt to add duplicate route - reject route [ OK ] # 82.22 [+0.82] TEST: Append nexthop to existing route - gw [ OK ] # 82.88 [+0.66] TEST: Add multipath route [ OK ] # 83.60 [+0.72] TEST: Attempt to add duplicate multipath route [ OK ] # 84.57 [+0.97] TEST: Route add with different metrics [ OK ] # 85.00 [+0.43] TEST: Route delete with metric [ OK ] # 85.01 [+0.00] # 85.01 [+0.00] IPv6 route replace tests # 86.00 [+1.00] TEST: Single path with single path [ OK ] # 87.02 [+1.02] TEST: Single path with multipath [ OK ] # 87.99 [+0.97] TEST: Single path with single path via multipath attribute [ OK ] # 88.98 [+0.99] TEST: Invalid nexthop [ OK ] # 89.76 [+0.78] TEST: Single path - replace of non-existent route [ OK ] # 90.64 [+0.89] TEST: Multipath with multipath [ OK ] # 91.49 [+0.85] TEST: Multipath with single path [ OK ] # 92.31 [+0.82] TEST: Multipath with single path via multipath attribute [ OK ] # 93.13 [+0.83] TEST: Multipath with dev-only [ OK ] # 93.95 [+0.81] TEST: Multipath - invalid first nexthop [ OK ] # 94.76 [+0.81] TEST: Multipath - invalid second nexthop [ OK ] # 95.42 [+0.66] TEST: Multipath - replace of non-existent route [ OK ] # 95.42 [+0.00] # 95.42 [+0.00] IPv6 route with dsfield tests # 95.77 [+0.35] TEST: Reject route with dsfield [ OK ] # 107.80 [+12.03] # 107.80 [+0.00] IPv4 route add / append tests # 108.55 [+0.75] TEST: Attempt to add duplicate route - gw [ OK ] # 109.25 [+0.70] TEST: Attempt to add duplicate route - dev only [ OK ] # 109.93 [+0.67] TEST: Attempt to add duplicate route - reject route [ OK ] # 110.75 [+0.82] TEST: Add new nexthop for existing prefix [ OK ] # 111.57 [+0.82] TEST: Append nexthop to existing route - gw [ OK ] # 112.44 [+0.87] TEST: Append nexthop to existing route - dev only [ OK ] # 113.35 [+0.91] TEST: Append nexthop to existing route - reject route [ OK ] # 114.01 [+0.67] TEST: Append nexthop to existing reject route - gw [ OK ] # 114.73 [+0.72] TEST: Append nexthop to existing reject route - dev only [ OK ] # 115.42 [+0.69] TEST: add multipath route [ OK ] # 116.18 [+0.77] TEST: Attempt to add duplicate multipath route [ OK ] # 117.16 [+0.98] TEST: Route add with different metrics [ OK ] # 117.55 [+0.39] TEST: Route delete with metric [ OK ] # 117.55 [+0.00] # 117.55 [+0.00] IPv4 route replace tests # 118.51 [+0.96] TEST: Single path with single path [ OK ] # 119.48 [+0.97] TEST: Single path with multipath [ OK ] # 120.46 [+0.98] TEST: Single path with reject route [ OK ] # 121.40 [+0.94] TEST: Single path with single path via multipath attribute [ OK ] # 122.38 [+0.98] TEST: Invalid nexthop [ OK ] # 123.07 [+0.69] TEST: Single path - replace of non-existent route [ OK ] # 123.93 [+0.86] TEST: Multipath with multipath [ OK ] # 124.80 [+0.87] TEST: Multipath with single path [ OK ] # 125.69 [+0.90] TEST: Multipath with single path via multipath attribute [ OK ] # 126.58 [+0.89] TEST: Multipath with reject route [ OK ] # 127.45 [+0.87] TEST: Multipath - invalid first nexthop [ OK ] # 128.29 [+0.84] TEST: Multipath - invalid second nexthop [ OK ] # 128.97 [+0.68] TEST: Multipath - replace of non-existent route [ OK ] # 131.45 [+2.48] TEST: Cached route removed from VRF port device [ OK ] # 131.45 [+0.00] # 131.45 [+0.00] IPv4 route with dsfield tests # 131.78 [+0.33] TEST: Reject route with dsfield 0x01 [ OK ] # 131.97 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 132.13 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 132.60 [+0.46] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 132.73 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 132.89 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 133.03 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 133.17 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 133.32 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 133.47 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 133.61 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 133.74 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 133.88 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 134.03 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 134.18 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 137.12 [+2.94] # 137.12 [+0.00] IPv6 prefix route tests # 140.85 [+3.73] TEST: Default metric [ OK ] # 141.38 [+0.52] TEST: User specified metric on first device [ OK ] # 141.89 [+0.51] TEST: User specified metric on second device [ OK ] # 142.24 [+0.35] TEST: Delete of address on first device [ OK ] # 142.58 [+0.34] TEST: Modify metric of address [ OK ] # 143.19 [+0.61] TEST: Prefix route removed on link down [ OK ] # 143.54 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 144.02 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 144.19 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 144.53 [+0.35] TEST: Modify metric and peer address on local side [ OK ] # 144.68 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 146.50 [+1.81] # 146.50 [+0.00] IPv4 prefix route tests # 150.13 [+3.63] TEST: Default metric [ OK ] # 150.64 [+0.51] TEST: User specified metric on first device [ OK ] # 151.16 [+0.52] TEST: User specified metric on second device [ OK ] # 151.49 [+0.33] TEST: Delete of address on first device [ OK ] # 151.85 [+0.36] TEST: Modify metric of address [ OK ] # 152.19 [+0.35] TEST: Prefix route removed on link down [ OK ] # 152.54 [+0.35] TEST: Prefix route with metric on link up [ OK ] # 153.22 [+0.68] TEST: Modify metric of .0/24 address [ OK ] # 153.74 [+0.51] TEST: Set metric of address with peer route [ OK ] # 154.07 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 155.79 [+1.71] # 155.79 [+0.00] IPv6 routes with metrics # 164.84 [+9.05] TEST: Single path route with mtu metric [ OK ] # 165.33 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 165.80 [+0.48] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 166.13 [+0.33] TEST: MTU of second leg [ OK ] # 166.48 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 166.95 [+0.48] TEST: Using route with mtu metric [ OK ] # 167.24 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 170.09 [+2.85] # 170.09 [+0.00] IPv4 route add / append tests # 179.26 [+9.16] TEST: Single path route with mtu metric [ OK ] # 179.61 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 180.07 [+0.46] TEST: Using route with mtu metric [ OK ] # 180.37 [+0.30] TEST: Invalid metric (fails metric_convert) [ OK ] # 183.27 [+2.91] # 183.27 [+0.00] IPv4 route with IPv6 gateway tests # 194.64 [+11.37] TEST: Single path route with IPv6 gateway [ OK ] # 195.11 [+0.47] TEST: Single path route with IPv6 gateway - ping [ OK ] # 195.30 [+0.18] TEST: Single path route delete [ OK ] # 195.64 [+0.35] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 195.99 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 196.17 [+0.18] TEST: Multipath route delete exact match [ OK ] # 196.34 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 196.69 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 196.87 [+0.18] TEST: Multipath route delete exact match [ OK ] # 199.61 [+2.74] # 199.61 [+0.00] IPv4 rp_filter tests # 211.59 [+11.98] TEST: rp_filter passes local packets [ OK ] # 211.89 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 213.29 [+1.40] # 213.29 [+0.00] IPv4 delete address route tests # 218.90 [+5.61] Regular FIB info # 219.21 [+0.32] TEST: Route removed from VRF when source address deleted [ OK ] # 219.39 [+0.18] TEST: Route in default VRF not removed [ OK ] # 220.03 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 220.19 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 220.19 [+0.00] Identical FIB info with different table ID # 220.48 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 220.65 [+0.17] TEST: Route in default VRF not removed [ OK ] # 221.29 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 221.43 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 221.43 [+0.00] Table ID 0 # 221.77 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 223.54 [+1.77] # 223.54 [+0.00] IPv6 delete address route tests # 233.02 [+9.48] Single device using src address # 233.33 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 233.33 [+0.00] Two devices with the same source address # 233.63 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 233.94 [+0.32] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 233.95 [+0.00] VRF with single device using src address # 234.23 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 234.24 [+0.00] VRF with two devices using src address # 234.56 [+0.32] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 234.87 [+0.31] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 234.87 [+0.00] src address and nexthop dev in same VRF # 235.15 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 235.29 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 235.91 [+0.63] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 236.06 [+0.15] TEST: Prefsrc in default VRF removed [ OK ] # 236.07 [+0.00] src address and nexthop device in different VRF # 236.36 [+0.29] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 236.49 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 236.99 [+0.50] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 237.13 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 237.13 [+0.00] Table ID 0 # 237.43 [+0.29] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 237.43 [+0.01] Link local source route # 237.73 [+0.30] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 238.04 [+0.31] TEST: Prefsrc removed when delete ll addr [ OK ] # 238.18 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 238.64 [+0.46] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 241.34 [+2.70] # 241.34 [+0.00] IPv4 mangling tests # 253.99 [+12.66] TEST: Connection with correct parameters [ OK ] # 254.33 [+0.33] TEST: Connection with incorrect parameters [ OK ] # 255.64 [+1.32] TEST: Connection with correct parameters - mangling [ OK ] # 256.83 [+1.19] TEST: Connection with correct parameters - no mangling [ OK ] # 256.97 [+0.14] TEST: Connection check - server side [ OK ] # 260.43 [+3.45] # 260.43 [+0.00] IPv6 mangling tests # 273.09 [+12.67] TEST: Connection with correct parameters [ OK ] # 273.46 [+0.36] TEST: Connection with incorrect parameters [ OK ] # 274.66 [+1.20] TEST: Connection with correct parameters - mangling [ OK ] # 275.88 [+1.23] TEST: Connection with correct parameters - no mangling [ OK ] # 276.03 [+0.14] TEST: Connection check - server side [ OK ] # 279.56 [+3.53] # 279.56 [+0.00] IPv4 broadcast neighbour tests # 283.86 [+4.31] TEST: Resolved neighbour for broadcast address [ OK ] # 284.04 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 284.21 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 284.38 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 288.02 [+3.64] # 288.02 [+0.00] Fib6 garbage collection test # 302.49 [+14.46] TEST: ipv6 route garbage collection [ OK ] # 317.24 [+14.75] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 332.13 [+14.89] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 347.90 [+15.77] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 363.48 [+15.58] TEST: ipv6 route garbage collection (RA message) [ OK ] # 364.90 [+1.42] # 364.90 [+0.00] IPv4 multipath list receive tests # 389.80 [+24.90] TEST: Multipath route hit ratio (1.00) [ OK ] # 392.99 [+3.19] # 392.99 [+0.00] IPv6 multipath list receive tests # 416.38 [+23.39] TEST: Multipath route hit ratio (1.00) [ OK ] # 419.45 [+3.07] # 419.45 [+0.00] Tests passed: 229 # 419.46 [+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__->