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.12 [+1.12] # 1.12 [+0.00] Single path route test # 2.96 [+1.84] Start point # 3.12 [+0.15] TEST: IPv4 fibmatch [ OK ] # 3.26 [+0.15] TEST: IPv6 fibmatch [ OK ] # 3.48 [+0.21] Nexthop device deleted # 3.63 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.79 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.77 [+0.98] # 4.77 [+0.00] Multipath route test # 8.07 [+3.30] Start point # 8.23 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.40 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.60 [+0.20] One nexthop device deleted # 8.76 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.93 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 9.12 [+0.19] Second nexthop device deleted # 9.27 [+0.15] TEST: IPv6 - no route [ OK ] # 10.25 [+0.97] # 10.25 [+0.00] Single path, admin down # 12.54 [+2.29] Start point # 12.69 [+0.15] TEST: IPv4 fibmatch [ OK ] # 12.85 [+0.17] TEST: IPv6 fibmatch [ OK ] # 13.02 [+0.17] Route deleted on down # 13.18 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.36 [+0.18] TEST: IPv6 fibmatch [ OK ] # 14.21 [+0.85] # 14.21 [+0.00] Admin down multipath # 17.60 [+3.39] Verify start point # 17.77 [+0.17] TEST: IPv4 fibmatch [ OK ] # 17.93 [+0.17] TEST: IPv6 fibmatch [ OK ] # 18.12 [+0.18] One device down, one up # 18.27 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 18.44 [+0.18] TEST: IPv6 fibmatch on down device [ OK ] # 18.61 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.78 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 18.90 [+0.12] TEST: IPv4 flags on down device [ OK ] # 19.03 [+0.13] TEST: IPv6 flags on down device [ OK ] # 19.18 [+0.14] TEST: IPv4 flags on up device [ OK ] # 19.30 [+0.13] TEST: IPv6 flags on up device [ OK ] # 19.62 [+0.31] Other device down and up # 19.77 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.94 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 20.10 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.27 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.41 [+0.14] TEST: IPv4 flags on down device [ OK ] # 20.54 [+0.14] TEST: IPv6 flags on down device [ OK ] # 20.68 [+0.13] TEST: IPv4 flags on up device [ OK ] # 20.82 [+0.15] TEST: IPv6 flags on up device [ OK ] # 20.99 [+0.16] Both devices down # 21.14 [+0.15] TEST: IPv4 fibmatch [ OK ] # 21.31 [+0.17] TEST: IPv6 fibmatch [ OK ] # 22.30 [+0.99] # 22.30 [+0.00] Local carrier tests - single path # 25.19 [+2.89] Start point # 25.37 [+0.18] TEST: IPv4 fibmatch [ OK ] # 25.55 [+0.18] TEST: IPv6 fibmatch [ OK ] # 25.68 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 25.84 [+0.17] TEST: IPv6 - no linkdown flag [ OK ] # 27.15 [+1.30] Carrier off on nexthop # 27.35 [+0.20] TEST: IPv4 fibmatch [ OK ] # 27.54 [+0.20] TEST: IPv6 fibmatch [ OK ] # 27.75 [+0.21] TEST: IPv4 - linkdown flag set [ OK ] # 27.91 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 28.29 [+0.38] Route to local address with carrier down # 28.49 [+0.20] TEST: IPv4 fibmatch [ OK ] # 28.69 [+0.20] TEST: IPv6 fibmatch [ OK ] # 28.90 [+0.21] TEST: IPv4 linkdown flag set [ OK ] # 29.08 [+0.19] TEST: IPv6 linkdown flag set [ OK ] # 30.06 [+0.97] # 30.06 [+0.00] Single path route carrier test # 33.34 [+3.28] Start point # 33.57 [+0.23] TEST: IPv4 fibmatch [ OK ] # 33.82 [+0.25] TEST: IPv6 fibmatch [ OK ] # 34.03 [+0.21] TEST: IPv4 no linkdown flag [ OK ] # 34.25 [+0.22] TEST: IPv6 no linkdown flag [ OK ] # 35.57 [+1.33] Carrier down # 35.79 [+0.22] TEST: IPv4 fibmatch [ OK ] # 36.02 [+0.22] TEST: IPv6 fibmatch [ OK ] # 36.19 [+0.18] TEST: IPv4 linkdown flag set [ OK ] # 36.41 [+0.22] TEST: IPv6 linkdown flag set [ OK ] # 36.81 [+0.40] Second address added with carrier down # 37.00 [+0.20] TEST: IPv4 fibmatch [ OK ] # 37.18 [+0.18] TEST: IPv6 fibmatch [ OK ] # 37.34 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 37.56 [+0.23] TEST: IPv6 linkdown flag set [ OK ] # 47.07 [+9.50] # 47.07 [+0.00] IPv4 nexthop tests # 47.07 [+0.00] <<< write me >>> # 47.61 [+0.54] # 47.61 [+0.00] IPv6 nexthop tests # 47.82 [+0.21] TEST: Directly connected nexthop, unicast address [ OK ] # 48.04 [+0.22] TEST: Directly connected nexthop, unicast address with device [ OK ] # 48.26 [+0.22] TEST: Gateway is linklocal address [ OK ] # 48.53 [+0.27] TEST: Gateway is linklocal address, no device [ OK ] # 48.75 [+0.22] TEST: Gateway can not be local unicast address [ OK ] # 48.99 [+0.24] TEST: Gateway can not be local unicast address, with device [ OK ] # 49.25 [+0.26] TEST: Gateway can not be a local linklocal address [ OK ] # 49.50 [+0.25] TEST: Gateway can be local address in a VRF [ OK ] # 49.73 [+0.22] TEST: Gateway can be local address in a VRF, with device [ OK ] # 49.99 [+0.26] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 50.24 [+0.25] TEST: Redirect to VRF lookup [ OK ] # 50.44 [+0.21] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 50.67 [+0.23] TEST: VRF route, gateway can not be a local address [ OK ] # 50.87 [+0.19] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 52.85 [+1.98] # 52.85 [+0.00] FIB rule with suppress_prefixlength # 57.43 [+4.58] TEST: FIB rule suppress test [ OK ] # 60.95 [+3.52] # 60.95 [+0.00] Fib6 info length calculation in route notify test # 67.07 [+6.12] TEST: ipv6 route add notify [ OK ] # 70.27 [+3.21] # 70.27 [+0.00] Fib4 info length calculation in route notify test # 76.17 [+5.89] TEST: ipv4 route add notify [ OK ] # 84.81 [+8.64] # 84.81 [+0.00] IPv6 route add / append tests # 85.47 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 86.16 [+0.69] TEST: Attempt to add duplicate route - dev only [ OK ] # 86.84 [+0.67] TEST: Attempt to add duplicate route - reject route [ OK ] # 87.68 [+0.84] TEST: Append nexthop to existing route - gw [ OK ] # 88.36 [+0.68] TEST: Add multipath route [ OK ] # 89.05 [+0.69] TEST: Attempt to add duplicate multipath route [ OK ] # 89.93 [+0.88] TEST: Route add with different metrics [ OK ] # 90.26 [+0.33] TEST: Route delete with metric [ OK ] # 90.26 [+0.00] # 90.26 [+0.00] IPv6 route replace tests # 91.12 [+0.86] TEST: Single path with single path [ OK ] # 91.99 [+0.86] TEST: Single path with multipath [ OK ] # 92.82 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 93.67 [+0.86] TEST: Invalid nexthop [ OK ] # 94.39 [+0.71] TEST: Single path - replace of non-existent route [ OK ] # 95.26 [+0.87] TEST: Multipath with multipath [ OK ] # 96.11 [+0.86] TEST: Multipath with single path [ OK ] # 96.95 [+0.83] TEST: Multipath with single path via multipath attribute [ OK ] # 97.77 [+0.83] TEST: Multipath with dev-only [ OK ] # 98.59 [+0.82] TEST: Multipath - invalid first nexthop [ OK ] # 99.42 [+0.83] TEST: Multipath - invalid second nexthop [ OK ] # 100.10 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 100.11 [+0.00] # 100.11 [+0.00] IPv6 route with dsfield tests # 100.45 [+0.34] TEST: Reject route with dsfield [ OK ] # 112.11 [+11.66] # 112.11 [+0.00] IPv4 route add / append tests # 112.79 [+0.68] TEST: Attempt to add duplicate route - gw [ OK ] # 113.47 [+0.68] TEST: Attempt to add duplicate route - dev only [ OK ] # 114.16 [+0.69] TEST: Attempt to add duplicate route - reject route [ OK ] # 115.00 [+0.84] TEST: Add new nexthop for existing prefix [ OK ] # 115.85 [+0.85] TEST: Append nexthop to existing route - gw [ OK ] # 116.69 [+0.85] TEST: Append nexthop to existing route - dev only [ OK ] # 117.52 [+0.83] TEST: Append nexthop to existing route - reject route [ OK ] # 118.20 [+0.68] TEST: Append nexthop to existing reject route - gw [ OK ] # 118.91 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 119.57 [+0.66] TEST: add multipath route [ OK ] # 120.22 [+0.66] TEST: Attempt to add duplicate multipath route [ OK ] # 121.05 [+0.82] TEST: Route add with different metrics [ OK ] # 121.38 [+0.33] TEST: Route delete with metric [ OK ] # 121.39 [+0.00] # 121.39 [+0.00] IPv4 route replace tests # 122.20 [+0.81] TEST: Single path with single path [ OK ] # 123.02 [+0.82] TEST: Single path with multipath [ OK ] # 123.84 [+0.82] TEST: Single path with reject route [ OK ] # 124.65 [+0.81] TEST: Single path with single path via multipath attribute [ OK ] # 125.47 [+0.82] TEST: Invalid nexthop [ OK ] # 126.13 [+0.66] TEST: Single path - replace of non-existent route [ OK ] # 126.97 [+0.84] TEST: Multipath with multipath [ OK ] # 127.82 [+0.85] TEST: Multipath with single path [ OK ] # 128.66 [+0.84] TEST: Multipath with single path via multipath attribute [ OK ] # 129.50 [+0.84] TEST: Multipath with reject route [ OK ] # 130.32 [+0.82] TEST: Multipath - invalid first nexthop [ OK ] # 131.15 [+0.83] TEST: Multipath - invalid second nexthop [ OK ] # 131.83 [+0.68] TEST: Multipath - replace of non-existent route [ OK ] # 134.24 [+2.41] TEST: Cached route removed from VRF port device [ OK ] # 134.25 [+0.00] # 134.25 [+0.00] IPv4 route with dsfield tests # 134.58 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 134.75 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 134.92 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 135.40 [+0.48] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 135.53 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 135.71 [+0.18] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 135.86 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 136.00 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 136.12 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 136.28 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 136.41 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 136.56 [+0.15] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 136.71 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 136.85 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 136.98 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 139.83 [+2.85] # 139.83 [+0.00] IPv6 prefix route tests # 143.44 [+3.61] TEST: Default metric [ OK ] # 143.95 [+0.50] TEST: User specified metric on first device [ OK ] # 144.47 [+0.53] TEST: User specified metric on second device [ OK ] # 144.80 [+0.33] TEST: Delete of address on first device [ OK ] # 145.10 [+0.31] TEST: Modify metric of address [ OK ] # 145.71 [+0.61] TEST: Prefix route removed on link down [ OK ] # 146.05 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 146.56 [+0.50] TEST: Set metric with peer route on local side [ OK ] # 146.76 [+0.20] TEST: Set metric with peer route on peer side [ OK ] # 147.10 [+0.34] TEST: Modify metric and peer address on local side [ OK ] # 147.23 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 149.02 [+1.78] # 149.02 [+0.00] IPv4 prefix route tests # 152.67 [+3.65] TEST: Default metric [ OK ] # 153.20 [+0.53] TEST: User specified metric on first device [ OK ] # 153.75 [+0.55] TEST: User specified metric on second device [ OK ] # 154.07 [+0.33] TEST: Delete of address on first device [ OK ] # 154.42 [+0.35] TEST: Modify metric of address [ OK ] # 154.76 [+0.34] TEST: Prefix route removed on link down [ OK ] # 155.08 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 155.76 [+0.68] TEST: Modify metric of .0/24 address [ OK ] # 156.26 [+0.51] TEST: Set metric of address with peer route [ OK ] # 156.59 [+0.32] TEST: Modify metric and peer address for peer route [ OK ] # 158.39 [+1.80] # 158.39 [+0.00] IPv6 routes with metrics # 167.45 [+9.06] TEST: Single path route with mtu metric [ OK ] # 167.97 [+0.52] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 168.45 [+0.48] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 168.78 [+0.33] TEST: MTU of second leg [ OK ] # 169.10 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 169.55 [+0.45] TEST: Using route with mtu metric [ OK ] # 169.83 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 172.62 [+2.79] # 172.62 [+0.00] IPv4 route add / append tests # 181.49 [+8.87] TEST: Single path route with mtu metric [ OK ] # 181.84 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 182.29 [+0.45] TEST: Using route with mtu metric [ OK ] # 182.57 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 185.39 [+2.82] # 185.39 [+0.00] IPv4 route with IPv6 gateway tests # 196.34 [+10.95] TEST: Single path route with IPv6 gateway [ OK ] # 196.80 [+0.46] TEST: Single path route with IPv6 gateway - ping [ OK ] # 196.98 [+0.18] TEST: Single path route delete [ OK ] # 197.33 [+0.35] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 197.67 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 197.84 [+0.17] TEST: Multipath route delete exact match [ OK ] # 198.02 [+0.19] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 198.37 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 198.56 [+0.19] TEST: Multipath route delete exact match [ OK ] # 201.44 [+2.88] # 201.44 [+0.00] IPv4 rp_filter tests # 213.40 [+11.96] TEST: rp_filter passes local packets [ OK ] # 213.69 [+0.28] TEST: rp_filter passes loopback packets [ OK ] # 215.03 [+1.35] # 215.03 [+0.00] IPv4 delete address route tests # 220.55 [+5.51] Regular FIB info # 220.83 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 221.00 [+0.17] TEST: Route in default VRF not removed [ OK ] # 221.61 [+0.61] TEST: Route removed in default VRF when source address deleted [ OK ] # 221.74 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 221.75 [+0.00] Identical FIB info with different table ID # 222.05 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 222.18 [+0.13] TEST: Route in default VRF not removed [ OK ] # 222.79 [+0.61] TEST: Route removed in default VRF when source address deleted [ OK ] # 222.95 [+0.16] TEST: Route in VRF is not removed by address delete [ OK ] # 222.95 [+0.00] Table ID 0 # 223.24 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 225.01 [+1.78] # 225.01 [+0.00] IPv6 delete address route tests # 234.19 [+9.18] Single device using src address # 234.48 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 234.49 [+0.00] Two devices with the same source address # 234.79 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 235.09 [+0.31] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 235.10 [+0.00] VRF with single device using src address # 235.38 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 235.38 [+0.00] VRF with two devices using src address # 235.67 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 235.97 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 235.97 [+0.00] src address and nexthop dev in same VRF # 236.25 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 236.37 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 237.01 [+0.63] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 237.14 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 237.15 [+0.00] src address and nexthop device in different VRF # 237.45 [+0.30] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 237.58 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 238.04 [+0.46] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 238.17 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 238.17 [+0.00] Table ID 0 # 238.48 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 238.48 [+0.01] Link local source route # 238.78 [+0.30] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 239.07 [+0.29] TEST: Prefsrc removed when delete ll addr [ OK ] # 239.21 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 239.69 [+0.48] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 242.36 [+2.68] # 242.36 [+0.00] IPv4 mangling tests # 254.62 [+12.25] TEST: Connection with correct parameters [ OK ] # 254.94 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 256.21 [+1.28] TEST: Connection with correct parameters - mangling [ OK ] # 257.39 [+1.17] TEST: Connection with correct parameters - no mangling [ OK ] # 257.50 [+0.12] TEST: Connection check - server side [ OK ] # 260.83 [+3.32] # 260.83 [+0.00] IPv6 mangling tests # 273.24 [+12.41] TEST: Connection with correct parameters [ OK ] # 273.66 [+0.42] TEST: Connection with incorrect parameters [ OK ] # 274.85 [+1.19] TEST: Connection with correct parameters - mangling [ OK ] # 276.08 [+1.23] TEST: Connection with correct parameters - no mangling [ OK ] # 276.19 [+0.11] TEST: Connection check - server side [ OK ] # 279.68 [+3.49] # 279.68 [+0.00] IPv4 broadcast neighbour tests # 283.97 [+4.29] TEST: Resolved neighbour for broadcast address [ OK ] # 284.13 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 284.30 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 284.47 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 288.16 [+3.69] # 288.16 [+0.00] Fib6 garbage collection test # 302.55 [+14.39] TEST: ipv6 route garbage collection [ OK ] # 317.35 [+14.80] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 332.12 [+14.78] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 347.08 [+14.96] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 362.61 [+15.53] TEST: ipv6 route garbage collection (RA message) [ OK ] # 364.08 [+1.47] # 364.08 [+0.00] IPv4 multipath list receive tests # 388.92 [+24.84] TEST: Multipath route hit ratio (1.00) [ OK ] # 391.95 [+3.03] # 391.95 [+0.00] IPv6 multipath list receive tests # 415.17 [+23.22] TEST: Multipath route hit ratio (1.00) [ OK ] # 418.32 [+3.15] # 418.32 [+0.00] Tests passed: 229 # 418.33 [+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__->