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.09 [+1.09] # 1.09 [+0.00] Single path route test # 2.99 [+1.90] Start point # 3.15 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.32 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.54 [+0.22] Nexthop device deleted # 3.70 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.86 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.83 [+0.97] # 4.83 [+0.00] Multipath route test # 8.15 [+3.31] Start point # 8.32 [+0.17] TEST: IPv4 fibmatch [ OK ] # 8.48 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.66 [+0.18] One nexthop device deleted # 8.83 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.98 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 9.16 [+0.18] Second nexthop device deleted # 9.32 [+0.16] TEST: IPv6 - no route [ OK ] # 10.31 [+0.98] # 10.31 [+0.00] Single path, admin down # 12.64 [+2.33] Start point # 12.80 [+0.17] TEST: IPv4 fibmatch [ OK ] # 12.98 [+0.18] TEST: IPv6 fibmatch [ OK ] # 13.14 [+0.15] Route deleted on down # 13.30 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.46 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.26 [+0.80] # 14.26 [+0.00] Admin down multipath # 17.66 [+3.40] Verify start point # 17.84 [+0.18] TEST: IPv4 fibmatch [ OK ] # 18.00 [+0.16] TEST: IPv6 fibmatch [ OK ] # 18.17 [+0.17] One device down, one up # 18.33 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 18.50 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.66 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.82 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 18.95 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.09 [+0.15] TEST: IPv6 flags on down device [ OK ] # 19.23 [+0.14] TEST: IPv4 flags on up device [ OK ] # 19.37 [+0.14] TEST: IPv6 flags on up device [ OK ] # 19.71 [+0.34] Other device down and up # 19.89 [+0.18] TEST: IPv4 fibmatch on down device [ OK ] # 20.04 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 20.20 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.38 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 20.52 [+0.15] TEST: IPv4 flags on down device [ OK ] # 20.64 [+0.12] TEST: IPv6 flags on down device [ OK ] # 20.77 [+0.13] TEST: IPv4 flags on up device [ OK ] # 20.91 [+0.14] TEST: IPv6 flags on up device [ OK ] # 21.07 [+0.16] Both devices down # 21.23 [+0.15] TEST: IPv4 fibmatch [ OK ] # 21.39 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.38 [+0.99] # 22.38 [+0.00] Local carrier tests - single path # 24.89 [+2.51] Start point # 25.05 [+0.16] TEST: IPv4 fibmatch [ OK ] # 25.23 [+0.18] TEST: IPv6 fibmatch [ OK ] # 25.37 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 25.51 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 26.79 [+1.28] Carrier off on nexthop # 26.96 [+0.17] TEST: IPv4 fibmatch [ OK ] # 27.12 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.27 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 27.39 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 27.72 [+0.32] Route to local address with carrier down # 27.88 [+0.17] TEST: IPv4 fibmatch [ OK ] # 28.05 [+0.17] TEST: IPv6 fibmatch [ OK ] # 28.18 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 28.33 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 29.13 [+0.80] # 29.13 [+0.00] Single path route carrier test # 31.61 [+2.48] Start point # 31.78 [+0.16] TEST: IPv4 fibmatch [ OK ] # 31.94 [+0.16] TEST: IPv6 fibmatch [ OK ] # 32.07 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 32.21 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 33.48 [+1.26] Carrier down # 33.63 [+0.16] TEST: IPv4 fibmatch [ OK ] # 33.79 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.92 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 34.07 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 34.40 [+0.33] Second address added with carrier down # 34.56 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.72 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.85 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 35.00 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 42.28 [+7.29] # 42.29 [+0.00] IPv4 nexthop tests # 42.29 [+0.00] <<< write me >>> # 42.62 [+0.34] # 42.62 [+0.00] IPv6 nexthop tests # 42.81 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 42.98 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 43.16 [+0.18] TEST: Gateway is linklocal address [ OK ] # 43.33 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 43.51 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 43.68 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.87 [+0.19] TEST: Gateway can not be a local linklocal address [ OK ] # 44.05 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 44.23 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 44.41 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.60 [+0.19] TEST: Redirect to VRF lookup [ OK ] # 44.77 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.94 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 45.11 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.70 [+1.59] # 46.70 [+0.00] FIB rule with suppress_prefixlength # 50.24 [+3.55] TEST: FIB rule suppress test [ OK ] # 53.45 [+3.20] # 53.45 [+0.00] Fib6 info length calculation in route notify test # 59.29 [+5.84] TEST: ipv6 route add notify [ OK ] # 62.50 [+3.21] # 62.50 [+0.00] Fib4 info length calculation in route notify test # 68.36 [+5.87] TEST: ipv4 route add notify [ OK ] # 77.00 [+8.64] # 77.00 [+0.00] IPv6 route add / append tests # 77.69 [+0.69] TEST: Attempt to add duplicate route - gw [ OK ] # 78.39 [+0.70] TEST: Attempt to add duplicate route - dev only [ OK ] # 79.10 [+0.71] TEST: Attempt to add duplicate route - reject route [ OK ] # 79.92 [+0.82] TEST: Append nexthop to existing route - gw [ OK ] # 80.58 [+0.65] TEST: Add multipath route [ OK ] # 81.24 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 82.09 [+0.85] TEST: Route add with different metrics [ OK ] # 82.43 [+0.34] TEST: Route delete with metric [ OK ] # 82.43 [+0.00] # 82.43 [+0.00] IPv6 route replace tests # 83.24 [+0.81] TEST: Single path with single path [ OK ] # 84.08 [+0.84] TEST: Single path with multipath [ OK ] # 84.92 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 85.79 [+0.87] TEST: Invalid nexthop [ OK ] # 86.51 [+0.72] TEST: Single path - replace of non-existent route [ OK ] # 87.35 [+0.84] TEST: Multipath with multipath [ OK ] # 88.17 [+0.82] TEST: Multipath with single path [ OK ] # 89.01 [+0.83] TEST: Multipath with single path via multipath attribute [ OK ] # 89.83 [+0.83] TEST: Multipath with dev-only [ OK ] # 90.68 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 91.55 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 92.23 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 92.24 [+0.00] # 92.24 [+0.00] IPv6 route with dsfield tests # 92.58 [+0.34] TEST: Reject route with dsfield [ OK ] # 104.41 [+11.83] # 104.41 [+0.00] IPv4 route add / append tests # 105.11 [+0.70] TEST: Attempt to add duplicate route - gw [ OK ] # 105.82 [+0.71] TEST: Attempt to add duplicate route - dev only [ OK ] # 106.51 [+0.69] TEST: Attempt to add duplicate route - reject route [ OK ] # 107.37 [+0.86] TEST: Add new nexthop for existing prefix [ OK ] # 108.25 [+0.88] TEST: Append nexthop to existing route - gw [ OK ] # 109.12 [+0.87] TEST: Append nexthop to existing route - dev only [ OK ] # 110.00 [+0.88] TEST: Append nexthop to existing route - reject route [ OK ] # 110.78 [+0.78] TEST: Append nexthop to existing reject route - gw [ OK ] # 111.51 [+0.73] TEST: Append nexthop to existing reject route - dev only [ OK ] # 112.20 [+0.69] TEST: add multipath route [ OK ] # 112.89 [+0.70] TEST: Attempt to add duplicate multipath route [ OK ] # 113.79 [+0.90] TEST: Route add with different metrics [ OK ] # 114.15 [+0.35] TEST: Route delete with metric [ OK ] # 114.15 [+0.01] # 114.15 [+0.00] IPv4 route replace tests # 115.07 [+0.92] TEST: Single path with single path [ OK ] # 115.93 [+0.86] TEST: Single path with multipath [ OK ] # 116.79 [+0.86] TEST: Single path with reject route [ OK ] # 117.65 [+0.87] TEST: Single path with single path via multipath attribute [ OK ] # 118.55 [+0.90] TEST: Invalid nexthop [ OK ] # 119.23 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 120.13 [+0.89] TEST: Multipath with multipath [ OK ] # 120.99 [+0.86] TEST: Multipath with single path [ OK ] # 121.84 [+0.85] TEST: Multipath with single path via multipath attribute [ OK ] # 122.68 [+0.85] TEST: Multipath with reject route [ OK ] # 123.53 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 124.38 [+0.85] TEST: Multipath - invalid second nexthop [ OK ] # 125.08 [+0.70] TEST: Multipath - replace of non-existent route [ OK ] # 127.59 [+2.51] TEST: Cached route removed from VRF port device [ OK ] # 127.60 [+0.00] # 127.60 [+0.00] IPv4 route with dsfield tests # 127.94 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 128.12 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 128.30 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 128.80 [+0.49] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 128.94 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 129.10 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 129.25 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 129.39 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 129.52 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 129.67 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 129.82 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 129.97 [+0.15] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 130.10 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 130.26 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 130.40 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 133.30 [+2.90] # 133.30 [+0.00] IPv6 prefix route tests # 136.96 [+3.66] TEST: Default metric [ OK ] # 137.44 [+0.48] TEST: User specified metric on first device [ OK ] # 137.94 [+0.50] TEST: User specified metric on second device [ OK ] # 138.27 [+0.32] TEST: Delete of address on first device [ OK ] # 138.57 [+0.30] TEST: Modify metric of address [ OK ] # 139.19 [+0.62] TEST: Prefix route removed on link down [ OK ] # 139.51 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 140.00 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 140.14 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 140.47 [+0.33] TEST: Modify metric and peer address on local side [ OK ] # 140.61 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 142.41 [+1.80] # 142.41 [+0.00] IPv4 prefix route tests # 146.06 [+3.65] TEST: Default metric [ OK ] # 146.57 [+0.51] TEST: User specified metric on first device [ OK ] # 147.08 [+0.51] TEST: User specified metric on second device [ OK ] # 147.43 [+0.35] TEST: Delete of address on first device [ OK ] # 147.77 [+0.34] TEST: Modify metric of address [ OK ] # 148.11 [+0.33] TEST: Prefix route removed on link down [ OK ] # 148.46 [+0.36] TEST: Prefix route with metric on link up [ OK ] # 149.15 [+0.69] TEST: Modify metric of .0/24 address [ OK ] # 149.66 [+0.51] TEST: Set metric of address with peer route [ OK ] # 150.00 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 151.76 [+1.76] # 151.76 [+0.00] IPv6 routes with metrics # 160.82 [+9.06] TEST: Single path route with mtu metric [ OK ] # 161.32 [+0.50] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 161.81 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 162.12 [+0.31] TEST: MTU of second leg [ OK ] # 162.49 [+0.37] TEST: Multipath route with mtu metric [ OK ] # 163.13 [+0.64] TEST: Using route with mtu metric [ OK ] # 163.54 [+0.41] TEST: Invalid metric (fails metric_convert) [ OK ] # 166.42 [+2.88] # 166.42 [+0.00] IPv4 route add / append tests # 176.36 [+9.94] TEST: Single path route with mtu metric [ OK ] # 176.74 [+0.38] TEST: Multipath route with mtu metric [ OK ] # 177.26 [+0.51] TEST: Using route with mtu metric [ OK ] # 177.59 [+0.33] TEST: Invalid metric (fails metric_convert) [ OK ] # 180.93 [+3.34] # 180.93 [+0.00] IPv4 route with IPv6 gateway tests # 194.38 [+13.45] TEST: Single path route with IPv6 gateway [ OK ] # 194.92 [+0.54] TEST: Single path route with IPv6 gateway - ping [ OK ] # 195.16 [+0.24] TEST: Single path route delete [ OK ] # 195.56 [+0.40] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 195.98 [+0.41] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 196.22 [+0.25] TEST: Multipath route delete exact match [ OK ] # 196.45 [+0.23] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 196.84 [+0.39] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 197.05 [+0.21] TEST: Multipath route delete exact match [ OK ] # 200.31 [+3.26] # 200.31 [+0.00] IPv4 rp_filter tests # 212.92 [+12.61] TEST: rp_filter passes local packets [ OK ] # 213.20 [+0.28] TEST: rp_filter passes loopback packets [ OK ] # 214.67 [+1.47] # 214.67 [+0.00] IPv4 delete address route tests # 220.48 [+5.81] Regular FIB info # 220.82 [+0.34] TEST: Route removed from VRF when source address deleted [ OK ] # 220.98 [+0.16] TEST: Route in default VRF not removed [ OK ] # 221.62 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 221.75 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 221.75 [+0.00] Identical FIB info with different table ID # 222.02 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 222.18 [+0.16] TEST: Route in default VRF not removed [ OK ] # 222.79 [+0.62] TEST: Route removed in default VRF when source address deleted [ OK ] # 222.94 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 222.94 [+0.00] Table ID 0 # 223.25 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 225.10 [+1.85] # 225.10 [+0.00] IPv6 delete address route tests # 234.49 [+9.38] Single device using src address # 234.78 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 234.78 [+0.01] Two devices with the same source address # 235.07 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 235.37 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 235.38 [+0.00] VRF with single device using src address # 235.67 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 235.68 [+0.00] VRF with two devices using src address # 235.98 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 236.27 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 236.28 [+0.00] src address and nexthop dev in same VRF # 236.59 [+0.32] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 236.77 [+0.17] TEST: Prefsrc in default VRF not removed [ OK ] # 237.41 [+0.64] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 237.59 [+0.18] TEST: Prefsrc in default VRF removed [ OK ] # 237.59 [+0.00] src address and nexthop device in different VRF # 237.88 [+0.29] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 238.02 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 238.45 [+0.44] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 238.60 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 238.61 [+0.00] Table ID 0 # 238.93 [+0.33] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 238.94 [+0.00] Link local source route # 239.30 [+0.37] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 239.63 [+0.33] TEST: Prefsrc removed when delete ll addr [ OK ] # 239.75 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 240.26 [+0.50] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 242.96 [+2.71] # 242.96 [+0.00] IPv4 mangling tests # 255.34 [+12.38] TEST: Connection with correct parameters [ OK ] # 255.65 [+0.31] TEST: Connection with incorrect parameters [ OK ] # 256.95 [+1.30] TEST: Connection with correct parameters - mangling [ OK ] # 258.10 [+1.15] TEST: Connection with correct parameters - no mangling [ OK ] # 258.21 [+0.10] TEST: Connection check - server side [ OK ] # 261.60 [+3.39] # 261.60 [+0.00] IPv6 mangling tests # 273.91 [+12.32] TEST: Connection with correct parameters [ OK ] # 274.27 [+0.36] TEST: Connection with incorrect parameters [ OK ] # 275.45 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 276.66 [+1.21] TEST: Connection with correct parameters - no mangling [ OK ] # 276.78 [+0.11] TEST: Connection check - server side [ OK ] # 280.13 [+3.36] # 280.14 [+0.00] IPv4 broadcast neighbour tests # 284.43 [+4.30] TEST: Resolved neighbour for broadcast address [ OK ] # 284.60 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 284.77 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 284.94 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 288.59 [+3.65] # 288.59 [+0.00] Fib6 garbage collection test # 303.12 [+14.53] TEST: ipv6 route garbage collection [ OK ] # 317.98 [+14.87] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 332.76 [+14.78] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 347.71 [+14.95] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 363.10 [+15.39] TEST: ipv6 route garbage collection (RA message) [ OK ] # 364.48 [+1.37] # 364.48 [+0.00] IPv4 multipath list receive tests # 388.64 [+24.17] TEST: Multipath route hit ratio (1.00) [ OK ] # 391.62 [+2.98] # 391.62 [+0.00] IPv6 multipath list receive tests # 414.34 [+22.72] TEST: Multipath route hit ratio (1.00) [ OK ] # 417.34 [+3.00] # 417.34 [+0.00] Tests passed: 229 # 417.34 [+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__->