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.20 [+1.20] # 1.20 [+0.00] Single path route test # 3.12 [+1.92] Start point # 3.29 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.46 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.65 [+0.19] Nexthop device deleted # 3.80 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.96 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 5.02 [+1.06] # 5.02 [+0.00] Multipath route test # 8.39 [+3.37] Start point # 8.55 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.71 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.94 [+0.23] One nexthop device deleted # 9.11 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.28 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.50 [+0.23] Second nexthop device deleted # 9.68 [+0.17] TEST: IPv6 - no route [ OK ] # 10.71 [+1.04] # 10.71 [+0.00] Single path, admin down # 13.21 [+2.50] Start point # 13.38 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.56 [+0.18] TEST: IPv6 fibmatch [ OK ] # 13.72 [+0.17] Route deleted on down # 13.91 [+0.19] TEST: IPv4 fibmatch [ OK ] # 14.08 [+0.17] TEST: IPv6 fibmatch [ OK ] # 14.97 [+0.89] # 14.97 [+0.00] Admin down multipath # 18.70 [+3.73] Verify start point # 18.89 [+0.19] TEST: IPv4 fibmatch [ OK ] # 19.09 [+0.21] TEST: IPv6 fibmatch [ OK ] # 19.28 [+0.19] One device down, one up # 19.49 [+0.21] TEST: IPv4 fibmatch on down device [ OK ] # 19.67 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 19.85 [+0.19] TEST: IPv4 fibmatch on up device [ OK ] # 20.02 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 20.20 [+0.18] TEST: IPv4 flags on down device [ OK ] # 20.35 [+0.16] TEST: IPv6 flags on down device [ OK ] # 20.54 [+0.19] TEST: IPv4 flags on up device [ OK ] # 20.71 [+0.17] TEST: IPv6 flags on up device [ OK ] # 21.10 [+0.39] Other device down and up # 21.30 [+0.20] TEST: IPv4 fibmatch on down device [ OK ] # 21.48 [+0.18] TEST: IPv6 fibmatch on down device [ OK ] # 21.67 [+0.19] TEST: IPv4 fibmatch on up device [ OK ] # 21.85 [+0.18] TEST: IPv6 fibmatch on up device [ OK ] # 22.03 [+0.18] TEST: IPv4 flags on down device [ OK ] # 22.20 [+0.17] TEST: IPv6 flags on down device [ OK ] # 22.38 [+0.18] TEST: IPv4 flags on up device [ OK ] # 22.56 [+0.19] TEST: IPv6 flags on up device [ OK ] # 22.75 [+0.19] Both devices down # 22.93 [+0.18] TEST: IPv4 fibmatch [ OK ] # 23.10 [+0.17] TEST: IPv6 fibmatch [ OK ] # 24.34 [+1.24] # 24.34 [+0.00] Local carrier tests - single path # 27.48 [+3.14] Start point # 27.65 [+0.17] TEST: IPv4 fibmatch [ OK ] # 27.86 [+0.20] TEST: IPv6 fibmatch [ OK ] # 28.02 [+0.17] TEST: IPv4 - no linkdown flag [ OK ] # 28.19 [+0.17] TEST: IPv6 - no linkdown flag [ OK ] # 29.53 [+1.34] Carrier off on nexthop # 29.73 [+0.20] TEST: IPv4 fibmatch [ OK ] # 29.91 [+0.18] TEST: IPv6 fibmatch [ OK ] # 30.10 [+0.18] TEST: IPv4 - linkdown flag set [ OK ] # 30.29 [+0.19] TEST: IPv6 - linkdown flag set [ OK ] # 30.70 [+0.42] Route to local address with carrier down # 30.90 [+0.20] TEST: IPv4 fibmatch [ OK ] # 31.08 [+0.18] TEST: IPv6 fibmatch [ OK ] # 31.23 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 31.38 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 32.47 [+1.09] # 32.47 [+0.00] Single path route carrier test # 35.45 [+2.98] Start point # 35.64 [+0.19] TEST: IPv4 fibmatch [ OK ] # 35.84 [+0.20] TEST: IPv6 fibmatch [ OK ] # 36.03 [+0.19] TEST: IPv4 no linkdown flag [ OK ] # 36.19 [+0.16] TEST: IPv6 no linkdown flag [ OK ] # 37.50 [+1.32] Carrier down # 37.67 [+0.17] TEST: IPv4 fibmatch [ OK ] # 37.85 [+0.17] TEST: IPv6 fibmatch [ OK ] # 37.98 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 38.13 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 38.48 [+0.35] Second address added with carrier down # 38.65 [+0.17] TEST: IPv4 fibmatch [ OK ] # 38.87 [+0.23] TEST: IPv6 fibmatch [ OK ] # 39.01 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 39.15 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 47.12 [+7.97] # 47.12 [+0.00] IPv4 nexthop tests # 47.12 [+0.00] <<< write me >>> # 47.54 [+0.42] # 47.54 [+0.00] IPv6 nexthop tests # 47.73 [+0.19] TEST: Directly connected nexthop, unicast address [ OK ] # 47.91 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 48.10 [+0.19] TEST: Gateway is linklocal address [ OK ] # 48.30 [+0.20] TEST: Gateway is linklocal address, no device [ OK ] # 48.49 [+0.20] TEST: Gateway can not be local unicast address [ OK ] # 48.68 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 48.86 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 49.05 [+0.19] TEST: Gateway can be local address in a VRF [ OK ] # 49.24 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 49.42 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 49.61 [+0.20] TEST: Redirect to VRF lookup [ OK ] # 49.80 [+0.19] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 49.99 [+0.19] TEST: VRF route, gateway can not be a local address [ OK ] # 50.16 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 51.84 [+1.68] # 51.84 [+0.00] FIB rule with suppress_prefixlength # 55.70 [+3.86] TEST: FIB rule suppress test [ OK ] # 59.15 [+3.45] # 59.15 [+0.00] Fib6 info length calculation in route notify test # 65.20 [+6.04] TEST: ipv6 route add notify [ OK ] # 68.69 [+3.49] # 68.69 [+0.00] Fib4 info length calculation in route notify test # 74.88 [+6.18] TEST: ipv4 route add notify [ OK ] # 84.37 [+9.50] # 84.37 [+0.00] IPv6 route add / append tests # 85.10 [+0.72] TEST: Attempt to add duplicate route - gw [ OK ] # 85.83 [+0.73] TEST: Attempt to add duplicate route - dev only [ OK ] # 86.55 [+0.72] TEST: Attempt to add duplicate route - reject route [ OK ] # 87.43 [+0.88] TEST: Append nexthop to existing route - gw [ OK ] # 88.13 [+0.70] TEST: Add multipath route [ OK ] # 88.83 [+0.70] TEST: Attempt to add duplicate multipath route [ OK ] # 89.72 [+0.89] TEST: Route add with different metrics [ OK ] # 90.07 [+0.35] TEST: Route delete with metric [ OK ] # 90.07 [+0.00] # 90.07 [+0.00] IPv6 route replace tests # 90.97 [+0.90] TEST: Single path with single path [ OK ] # 91.89 [+0.92] TEST: Single path with multipath [ OK ] # 92.81 [+0.92] TEST: Single path with single path via multipath attribute [ OK ] # 93.70 [+0.89] TEST: Invalid nexthop [ OK ] # 94.45 [+0.75] TEST: Single path - replace of non-existent route [ OK ] # 95.39 [+0.94] TEST: Multipath with multipath [ OK ] # 96.28 [+0.89] TEST: Multipath with single path [ OK ] # 97.18 [+0.90] TEST: Multipath with single path via multipath attribute [ OK ] # 98.08 [+0.90] TEST: Multipath with dev-only [ OK ] # 98.98 [+0.90] TEST: Multipath - invalid first nexthop [ OK ] # 99.91 [+0.93] TEST: Multipath - invalid second nexthop [ OK ] # 100.63 [+0.72] TEST: Multipath - replace of non-existent route [ OK ] # 100.63 [+0.00] # 100.63 [+0.00] IPv6 route with dsfield tests # 101.01 [+0.38] TEST: Reject route with dsfield [ OK ] # 113.42 [+12.41] # 113.42 [+0.00] IPv4 route add / append tests # 114.14 [+0.72] TEST: Attempt to add duplicate route - gw [ OK ] # 114.85 [+0.71] TEST: Attempt to add duplicate route - dev only [ OK ] # 115.56 [+0.71] TEST: Attempt to add duplicate route - reject route [ OK ] # 116.43 [+0.86] TEST: Add new nexthop for existing prefix [ OK ] # 117.29 [+0.86] TEST: Append nexthop to existing route - gw [ OK ] # 118.15 [+0.86] TEST: Append nexthop to existing route - dev only [ OK ] # 119.00 [+0.84] TEST: Append nexthop to existing route - reject route [ OK ] # 119.70 [+0.71] TEST: Append nexthop to existing reject route - gw [ OK ] # 120.41 [+0.71] TEST: Append nexthop to existing reject route - dev only [ OK ] # 121.12 [+0.71] TEST: add multipath route [ OK ] # 121.83 [+0.71] TEST: Attempt to add duplicate multipath route [ OK ] # 122.71 [+0.88] TEST: Route add with different metrics [ OK ] # 123.08 [+0.37] TEST: Route delete with metric [ OK ] # 123.08 [+0.00] # 123.08 [+0.00] IPv4 route replace tests # 123.96 [+0.87] TEST: Single path with single path [ OK ] # 124.83 [+0.88] TEST: Single path with multipath [ OK ] # 125.70 [+0.86] TEST: Single path with reject route [ OK ] # 126.57 [+0.87] TEST: Single path with single path via multipath attribute [ OK ] # 127.44 [+0.87] TEST: Invalid nexthop [ OK ] # 128.12 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 129.00 [+0.88] TEST: Multipath with multipath [ OK ] # 129.88 [+0.88] TEST: Multipath with single path [ OK ] # 130.76 [+0.88] TEST: Multipath with single path via multipath attribute [ OK ] # 131.65 [+0.88] TEST: Multipath with reject route [ OK ] # 132.51 [+0.86] TEST: Multipath - invalid first nexthop [ OK ] # 133.36 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 134.02 [+0.66] TEST: Multipath - replace of non-existent route [ OK ] # 136.57 [+2.54] TEST: Cached route removed from VRF port device [ OK ] # 136.57 [+0.00] # 136.57 [+0.00] IPv4 route with dsfield tests # 136.91 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 137.09 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 137.28 [+0.19] TEST: Reject route with dsfield 0x03 [ OK ] # 137.79 [+0.51] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 137.94 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 138.11 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 138.25 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 138.39 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 138.53 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 138.68 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 138.83 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 139.00 [+0.17] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 139.14 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 139.29 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 139.45 [+0.16] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 142.44 [+2.99] # 142.44 [+0.00] IPv6 prefix route tests # 146.15 [+3.71] TEST: Default metric [ OK ] # 146.67 [+0.52] TEST: User specified metric on first device [ OK ] # 147.17 [+0.50] TEST: User specified metric on second device [ OK ] # 147.51 [+0.34] TEST: Delete of address on first device [ OK ] # 147.85 [+0.33] TEST: Modify metric of address [ OK ] # 148.49 [+0.64] TEST: Prefix route removed on link down [ OK ] # 148.81 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 149.33 [+0.52] TEST: Set metric with peer route on local side [ OK ] # 149.52 [+0.19] TEST: Set metric with peer route on peer side [ OK ] # 149.82 [+0.31] TEST: Modify metric and peer address on local side [ OK ] # 149.98 [+0.16] TEST: Modify metric and peer address on peer side [ OK ] # 151.79 [+1.81] # 151.79 [+0.00] IPv4 prefix route tests # 155.46 [+3.67] TEST: Default metric [ OK ] # 155.97 [+0.51] TEST: User specified metric on first device [ OK ] # 156.48 [+0.50] TEST: User specified metric on second device [ OK ] # 156.80 [+0.33] TEST: Delete of address on first device [ OK ] # 157.14 [+0.34] TEST: Modify metric of address [ OK ] # 157.46 [+0.32] TEST: Prefix route removed on link down [ OK ] # 157.80 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 158.50 [+0.69] TEST: Modify metric of .0/24 address [ OK ] # 159.01 [+0.52] TEST: Set metric of address with peer route [ OK ] # 159.36 [+0.35] TEST: Modify metric and peer address for peer route [ OK ] # 161.16 [+1.80] # 161.16 [+0.00] IPv6 routes with metrics # 170.70 [+9.54] TEST: Single path route with mtu metric [ OK ] # 171.23 [+0.53] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 171.78 [+0.55] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 172.12 [+0.34] TEST: MTU of second leg [ OK ] # 172.49 [+0.37] TEST: Multipath route with mtu metric [ OK ] # 172.99 [+0.50] TEST: Using route with mtu metric [ OK ] # 173.31 [+0.31] TEST: Invalid metric (fails metric_convert) [ OK ] # 176.38 [+3.07] # 176.38 [+0.00] IPv4 route add / append tests # 186.35 [+9.97] TEST: Single path route with mtu metric [ OK ] # 186.69 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 187.15 [+0.46] TEST: Using route with mtu metric [ OK ] # 187.44 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 190.48 [+3.04] # 190.48 [+0.00] IPv4 route with IPv6 gateway tests # 201.98 [+11.50] TEST: Single path route with IPv6 gateway [ OK ] # 202.49 [+0.51] TEST: Single path route with IPv6 gateway - ping [ OK ] # 202.66 [+0.18] TEST: Single path route delete [ OK ] # 203.03 [+0.36] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 203.41 [+0.39] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 203.61 [+0.19] TEST: Multipath route delete exact match [ OK ] # 203.79 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 204.16 [+0.37] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 204.35 [+0.19] TEST: Multipath route delete exact match [ OK ] # 207.44 [+3.09] # 207.44 [+0.00] IPv4 rp_filter tests # 219.86 [+12.42] TEST: rp_filter passes local packets [ OK ] # 220.16 [+0.30] TEST: rp_filter passes loopback packets [ OK ] # 221.70 [+1.54] # 221.70 [+0.00] IPv4 delete address route tests # 227.68 [+5.98] Regular FIB info # 228.03 [+0.35] TEST: Route removed from VRF when source address deleted [ OK ] # 228.17 [+0.14] TEST: Route in default VRF not removed [ OK ] # 228.87 [+0.70] TEST: Route removed in default VRF when source address deleted [ OK ] # 229.04 [+0.17] TEST: Route in VRF is not removed by address delete [ OK ] # 229.05 [+0.00] Identical FIB info with different table ID # 229.36 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 229.50 [+0.15] TEST: Route in default VRF not removed [ OK ] # 230.17 [+0.67] TEST: Route removed in default VRF when source address deleted [ OK ] # 230.30 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 230.30 [+0.00] Table ID 0 # 230.62 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 232.53 [+1.91] # 232.53 [+0.00] IPv6 delete address route tests # 242.37 [+9.85] Single device using src address # 242.68 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 242.69 [+0.01] Two devices with the same source address # 243.02 [+0.33] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 243.33 [+0.32] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 243.34 [+0.00] VRF with single device using src address # 243.66 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 243.66 [+0.00] VRF with two devices using src address # 243.96 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 244.28 [+0.32] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 244.28 [+0.00] src address and nexthop dev in same VRF # 244.59 [+0.30] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 244.74 [+0.15] TEST: Prefsrc in default VRF not removed [ OK ] # 245.45 [+0.72] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 245.61 [+0.16] TEST: Prefsrc in default VRF removed [ OK ] # 245.61 [+0.00] src address and nexthop device in different VRF # 245.92 [+0.31] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 246.07 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 246.61 [+0.54] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 246.79 [+0.18] TEST: Prefsrc removed in default VRF [ OK ] # 246.79 [+0.00] Table ID 0 # 247.10 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 247.11 [+0.00] Link local source route # 247.46 [+0.35] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 247.78 [+0.33] TEST: Prefsrc removed when delete ll addr [ OK ] # 247.93 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 248.46 [+0.54] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 251.44 [+2.98] # 251.44 [+0.00] IPv4 mangling tests # 265.24 [+13.80] TEST: Connection with correct parameters [ OK ] # 265.58 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 267.02 [+1.44] TEST: Connection with correct parameters - mangling [ OK ] # 268.22 [+1.19] TEST: Connection with correct parameters - no mangling [ OK ] # 268.33 [+0.11] TEST: Connection check - server side [ OK ] # 271.93 [+3.60] # 271.93 [+0.00] IPv6 mangling tests # 284.90 [+12.97] TEST: Connection with correct parameters [ OK ] # 285.29 [+0.39] TEST: Connection with incorrect parameters [ OK ] # 286.54 [+1.24] TEST: Connection with correct parameters - mangling [ OK ] # 287.79 [+1.25] TEST: Connection with correct parameters - no mangling [ OK ] # 287.92 [+0.14] TEST: Connection check - server side [ OK ] # 291.65 [+3.73] # 291.65 [+0.00] IPv4 broadcast neighbour tests # 296.44 [+4.79] TEST: Resolved neighbour for broadcast address [ OK ] # 296.62 [+0.18] TEST: Resolved neighbour for network broadcast address [ OK ] # 296.80 [+0.19] TEST: Unresolved neighbour for broadcast address [ OK ] # 296.98 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 301.10 [+4.11] # 301.10 [+0.00] Fib6 garbage collection test # 315.81 [+14.71] TEST: ipv6 route garbage collection [ OK ] # 330.54 [+14.73] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 345.33 [+14.79] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 360.21 [+14.88] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 375.60 [+15.39] TEST: ipv6 route garbage collection (RA message) [ OK ] # 376.94 [+1.34] # 376.94 [+0.00] IPv4 multipath list receive tests # 400.87 [+23.94] TEST: Multipath route hit ratio (1.00) [ OK ] # 403.97 [+3.09] # 403.97 [+0.00] IPv6 multipath list receive tests # 427.66 [+23.69] TEST: Multipath route hit ratio (1.00) [ OK ] # 430.75 [+3.09] # 430.75 [+0.00] Tests passed: 229 # 430.75 [+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__->