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 # 0.75 [+0.75] # 0.75 [+0.00] Single path route test # 2.81 [+2.06] Start point # 2.98 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.14 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.36 [+0.22] Nexthop device deleted # 3.55 [+0.19] TEST: IPv4 fibmatch - no route [ OK ] # 3.72 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.87 [+1.14] # 4.87 [+0.00] Multipath route test # 8.44 [+3.57] Start point # 8.61 [+0.17] TEST: IPv4 fibmatch [ OK ] # 8.77 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.99 [+0.22] One nexthop device deleted # 9.17 [+0.18] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.33 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.54 [+0.21] Second nexthop device deleted # 9.71 [+0.17] TEST: IPv6 - no route [ OK ] # 10.73 [+1.02] # 10.73 [+0.00] Single path, admin down # 13.28 [+2.55] Start point # 13.45 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.62 [+0.17] TEST: IPv6 fibmatch [ OK ] # 13.79 [+0.17] Route deleted on down # 13.97 [+0.17] TEST: IPv4 fibmatch [ OK ] # 14.14 [+0.17] TEST: IPv6 fibmatch [ OK ] # 15.01 [+0.86] # 15.01 [+0.00] Admin down multipath # 18.44 [+3.44] Verify start point # 18.60 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.78 [+0.17] TEST: IPv6 fibmatch [ OK ] # 18.94 [+0.17] One device down, one up # 19.11 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.27 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.44 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 19.60 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 19.73 [+0.12] TEST: IPv4 flags on down device [ OK ] # 19.87 [+0.14] TEST: IPv6 flags on down device [ OK ] # 20.01 [+0.14] TEST: IPv4 flags on up device [ OK ] # 20.16 [+0.15] TEST: IPv6 flags on up device [ OK ] # 20.50 [+0.34] Other device down and up # 20.67 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 20.85 [+0.18] TEST: IPv6 fibmatch on down device [ OK ] # 21.02 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 21.18 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 21.30 [+0.12] TEST: IPv4 flags on down device [ OK ] # 21.44 [+0.14] TEST: IPv6 flags on down device [ OK ] # 21.59 [+0.14] TEST: IPv4 flags on up device [ OK ] # 21.75 [+0.16] TEST: IPv6 flags on up device [ OK ] # 21.92 [+0.17] Both devices down # 22.10 [+0.18] TEST: IPv4 fibmatch [ OK ] # 22.27 [+0.18] TEST: IPv6 fibmatch [ OK ] # 23.33 [+1.06] # 23.33 [+0.00] Local carrier tests - single path # 26.05 [+2.72] Start point # 26.22 [+0.17] TEST: IPv4 fibmatch [ OK ] # 26.40 [+0.18] TEST: IPv6 fibmatch [ OK ] # 26.54 [+0.15] TEST: IPv4 - no linkdown flag [ OK ] # 26.70 [+0.15] TEST: IPv6 - no linkdown flag [ OK ] # 28.01 [+1.31] Carrier off on nexthop # 28.19 [+0.18] TEST: IPv4 fibmatch [ OK ] # 28.37 [+0.18] TEST: IPv6 fibmatch [ OK ] # 28.52 [+0.16] TEST: IPv4 - linkdown flag set [ OK ] # 28.68 [+0.15] TEST: IPv6 - linkdown flag set [ OK ] # 29.02 [+0.35] Route to local address with carrier down # 29.20 [+0.17] TEST: IPv4 fibmatch [ OK ] # 29.37 [+0.17] TEST: IPv6 fibmatch [ OK ] # 29.50 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 29.66 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 30.55 [+0.89] # 30.55 [+0.00] Single path route carrier test # 33.15 [+2.60] Start point # 33.32 [+0.17] TEST: IPv4 fibmatch [ OK ] # 33.49 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.63 [+0.15] TEST: IPv4 no linkdown flag [ OK ] # 33.78 [+0.15] TEST: IPv6 no linkdown flag [ OK ] # 35.08 [+1.30] Carrier down # 35.24 [+0.16] TEST: IPv4 fibmatch [ OK ] # 35.41 [+0.17] TEST: IPv6 fibmatch [ OK ] # 35.56 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 35.70 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 36.04 [+0.34] Second address added with carrier down # 36.22 [+0.17] TEST: IPv4 fibmatch [ OK ] # 36.38 [+0.16] TEST: IPv6 fibmatch [ OK ] # 36.54 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 36.66 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 44.44 [+7.78] # 44.44 [+0.00] IPv4 nexthop tests # 44.44 [+0.00] <<< write me >>> # 44.78 [+0.35] # 44.78 [+0.00] IPv6 nexthop tests # 44.96 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 45.14 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 45.34 [+0.19] TEST: Gateway is linklocal address [ OK ] # 45.52 [+0.19] TEST: Gateway is linklocal address, no device [ OK ] # 45.70 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 45.89 [+0.19] TEST: Gateway can not be local unicast address, with device [ OK ] # 46.08 [+0.19] TEST: Gateway can not be a local linklocal address [ OK ] # 46.26 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 46.44 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 46.63 [+0.19] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 46.81 [+0.19] TEST: Redirect to VRF lookup [ OK ] # 46.99 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 47.17 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 47.35 [+0.18] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 49.07 [+1.73] # 49.07 [+0.00] FIB rule with suppress_prefixlength # 52.72 [+3.65] TEST: FIB rule suppress test [ OK ] # 56.09 [+3.37] # 56.09 [+0.00] Fib6 info length calculation in route notify test # 62.18 [+6.09] TEST: ipv6 route add notify [ OK ] # 65.51 [+3.33] # 65.51 [+0.00] Fib4 info length calculation in route notify test # 71.67 [+6.16] TEST: ipv4 route add notify [ OK ] # 81.33 [+9.66] # 81.33 [+0.00] IPv6 route add / append tests # 82.05 [+0.72] TEST: Attempt to add duplicate route - gw [ OK ] # 82.78 [+0.74] TEST: Attempt to add duplicate route - dev only [ OK ] # 83.57 [+0.79] TEST: Attempt to add duplicate route - reject route [ OK ] # 84.51 [+0.94] TEST: Append nexthop to existing route - gw [ OK ] # 85.25 [+0.74] TEST: Add multipath route [ OK ] # 85.96 [+0.71] TEST: Attempt to add duplicate multipath route [ OK ] # 86.87 [+0.91] TEST: Route add with different metrics [ OK ] # 87.30 [+0.43] TEST: Route delete with metric [ OK ] # 87.30 [+0.00] # 87.30 [+0.00] IPv6 route replace tests # 88.23 [+0.93] TEST: Single path with single path [ OK ] # 89.20 [+0.97] TEST: Single path with multipath [ OK ] # 90.14 [+0.94] TEST: Single path with single path via multipath attribute [ OK ] # 91.08 [+0.95] TEST: Invalid nexthop [ OK ] # 91.82 [+0.74] TEST: Single path - replace of non-existent route [ OK ] # 92.76 [+0.94] TEST: Multipath with multipath [ OK ] # 93.69 [+0.93] TEST: Multipath with single path [ OK ] # 94.59 [+0.89] TEST: Multipath with single path via multipath attribute [ OK ] # 95.43 [+0.84] TEST: Multipath with dev-only [ OK ] # 96.35 [+0.92] TEST: Multipath - invalid first nexthop [ OK ] # 97.23 [+0.87] TEST: Multipath - invalid second nexthop [ OK ] # 97.93 [+0.70] TEST: Multipath - replace of non-existent route [ OK ] # 97.93 [+0.00] # 97.93 [+0.00] IPv6 route with dsfield tests # 98.30 [+0.36] TEST: Reject route with dsfield [ OK ] # 111.01 [+12.72] # 111.01 [+0.00] IPv4 route add / append tests # 111.80 [+0.78] TEST: Attempt to add duplicate route - gw [ OK ] # 112.54 [+0.74] TEST: Attempt to add duplicate route - dev only [ OK ] # 113.35 [+0.81] TEST: Attempt to add duplicate route - reject route [ OK ] # 114.25 [+0.90] TEST: Add new nexthop for existing prefix [ OK ] # 115.16 [+0.91] TEST: Append nexthop to existing route - gw [ OK ] # 116.05 [+0.89] TEST: Append nexthop to existing route - dev only [ OK ] # 117.04 [+0.99] TEST: Append nexthop to existing route - reject route [ OK ] # 117.77 [+0.73] TEST: Append nexthop to existing reject route - gw [ OK ] # 118.47 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 119.19 [+0.72] TEST: add multipath route [ OK ] # 119.88 [+0.70] TEST: Attempt to add duplicate multipath route [ OK ] # 120.76 [+0.88] TEST: Route add with different metrics [ OK ] # 121.12 [+0.36] TEST: Route delete with metric [ OK ] # 121.12 [+0.00] # 121.12 [+0.00] IPv4 route replace tests # 122.01 [+0.89] TEST: Single path with single path [ OK ] # 122.87 [+0.86] TEST: Single path with multipath [ OK ] # 123.71 [+0.84] TEST: Single path with reject route [ OK ] # 124.59 [+0.88] TEST: Single path with single path via multipath attribute [ OK ] # 125.44 [+0.85] TEST: Invalid nexthop [ OK ] # 126.13 [+0.69] TEST: Single path - replace of non-existent route [ OK ] # 127.01 [+0.88] TEST: Multipath with multipath [ OK ] # 127.85 [+0.84] TEST: Multipath with single path [ OK ] # 128.70 [+0.85] TEST: Multipath with single path via multipath attribute [ OK ] # 129.57 [+0.87] TEST: Multipath with reject route [ OK ] # 130.46 [+0.90] TEST: Multipath - invalid first nexthop [ OK ] # 131.33 [+0.87] TEST: Multipath - invalid second nexthop [ OK ] # 132.00 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 134.58 [+2.58] TEST: Cached route removed from VRF port device [ OK ] # 134.58 [+0.00] # 134.58 [+0.00] IPv4 route with dsfield tests # 134.98 [+0.40] TEST: Reject route with dsfield 0x01 [ OK ] # 135.16 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 135.36 [+0.20] TEST: Reject route with dsfield 0x03 [ OK ] # 135.90 [+0.54] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 136.04 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 136.18 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 136.33 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 136.47 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 136.64 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 136.79 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 136.95 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 137.08 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 137.23 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 137.37 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 137.51 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 140.36 [+2.85] # 140.36 [+0.00] IPv6 prefix route tests # 144.15 [+3.79] TEST: Default metric [ OK ] # 144.65 [+0.49] TEST: User specified metric on first device [ OK ] # 145.17 [+0.52] TEST: User specified metric on second device [ OK ] # 145.51 [+0.34] TEST: Delete of address on first device [ OK ] # 145.82 [+0.31] TEST: Modify metric of address [ OK ] # 146.47 [+0.65] TEST: Prefix route removed on link down [ OK ] # 146.81 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 147.29 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 147.46 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 147.84 [+0.39] TEST: Modify metric and peer address on local side [ OK ] # 148.01 [+0.16] TEST: Modify metric and peer address on peer side [ OK ] # 149.95 [+1.94] # 149.95 [+0.00] IPv4 prefix route tests # 153.80 [+3.85] TEST: Default metric [ OK ] # 154.33 [+0.53] TEST: User specified metric on first device [ OK ] # 154.88 [+0.55] TEST: User specified metric on second device [ OK ] # 155.22 [+0.33] TEST: Delete of address on first device [ OK ] # 155.56 [+0.35] TEST: Modify metric of address [ OK ] # 155.91 [+0.35] TEST: Prefix route removed on link down [ OK ] # 156.25 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 156.96 [+0.71] TEST: Modify metric of .0/24 address [ OK ] # 157.50 [+0.54] TEST: Set metric of address with peer route [ OK ] # 157.86 [+0.36] TEST: Modify metric and peer address for peer route [ OK ] # 159.65 [+1.79] # 159.65 [+0.00] IPv6 routes with metrics # 169.04 [+9.39] TEST: Single path route with mtu metric [ OK ] # 169.58 [+0.54] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 170.10 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 170.43 [+0.34] TEST: MTU of second leg [ OK ] # 170.78 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 171.28 [+0.50] TEST: Using route with mtu metric [ OK ] # 171.58 [+0.31] TEST: Invalid metric (fails metric_convert) [ OK ] # 174.53 [+2.95] # 174.53 [+0.00] IPv4 route add / append tests # 183.83 [+9.30] TEST: Single path route with mtu metric [ OK ] # 184.19 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 184.65 [+0.47] TEST: Using route with mtu metric [ OK ] # 184.94 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 187.84 [+2.90] # 187.84 [+0.00] IPv4 route with IPv6 gateway tests # 199.26 [+11.42] TEST: Single path route with IPv6 gateway [ OK ] # 199.74 [+0.48] TEST: Single path route with IPv6 gateway - ping [ OK ] # 199.92 [+0.18] TEST: Single path route delete [ OK ] # 200.26 [+0.33] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 200.59 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 200.77 [+0.18] TEST: Multipath route delete exact match [ OK ] # 200.95 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 201.31 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 201.49 [+0.18] TEST: Multipath route delete exact match [ OK ] # 204.35 [+2.87] # 204.35 [+0.00] IPv4 rp_filter tests # 216.45 [+12.10] TEST: rp_filter passes local packets [ OK ] # 216.78 [+0.32] TEST: rp_filter passes loopback packets [ OK ] # 218.21 [+1.44] # 218.21 [+0.00] IPv4 delete address route tests # 223.96 [+5.75] Regular FIB info # 224.26 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 224.39 [+0.13] TEST: Route in default VRF not removed [ OK ] # 225.04 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 225.16 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 225.17 [+0.00] Identical FIB info with different table ID # 225.48 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 225.61 [+0.13] TEST: Route in default VRF not removed [ OK ] # 226.27 [+0.66] TEST: Route removed in default VRF when source address deleted [ OK ] # 226.42 [+0.16] TEST: Route in VRF is not removed by address delete [ OK ] # 226.43 [+0.00] Table ID 0 # 226.72 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 228.56 [+1.84] # 228.56 [+0.00] IPv6 delete address route tests # 238.42 [+9.86] Single device using src address # 238.72 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 238.73 [+0.00] Two devices with the same source address # 239.06 [+0.33] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 239.40 [+0.34] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 239.40 [+0.00] VRF with single device using src address # 239.70 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 239.71 [+0.00] VRF with two devices using src address # 240.05 [+0.34] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 240.37 [+0.33] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 240.38 [+0.00] src address and nexthop dev in same VRF # 240.70 [+0.33] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 240.83 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 241.49 [+0.65] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 241.62 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 241.63 [+0.00] src address and nexthop device in different VRF # 241.93 [+0.30] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 242.08 [+0.16] TEST: Prefsrc not removed in default VRF [ OK ] # 242.56 [+0.48] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 242.70 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 242.70 [+0.00] Table ID 0 # 243.02 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 243.02 [+0.00] Link local source route # 243.33 [+0.32] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 243.66 [+0.33] TEST: Prefsrc removed when delete ll addr [ OK ] # 243.81 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 244.29 [+0.48] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 247.07 [+2.78] # 247.07 [+0.00] IPv4 mangling tests # 260.24 [+13.17] TEST: Connection with correct parameters [ OK ] # 260.58 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 262.06 [+1.48] TEST: Connection with correct parameters - mangling [ OK ] # 263.26 [+1.20] TEST: Connection with correct parameters - no mangling [ OK ] # 263.38 [+0.12] TEST: Connection check - server side [ OK ] # 266.93 [+3.55] # 266.93 [+0.00] IPv6 mangling tests # 279.85 [+12.91] TEST: Connection with correct parameters [ OK ] # 280.25 [+0.40] TEST: Connection with incorrect parameters [ OK ] # 281.50 [+1.25] TEST: Connection with correct parameters - mangling [ OK ] # 282.73 [+1.24] TEST: Connection with correct parameters - no mangling [ OK ] # 282.86 [+0.12] TEST: Connection check - server side [ OK ] # 286.43 [+3.58] # 286.43 [+0.00] IPv4 broadcast neighbour tests # 291.01 [+4.57] TEST: Resolved neighbour for broadcast address [ OK ] # 291.20 [+0.19] TEST: Resolved neighbour for network broadcast address [ OK ] # 291.38 [+0.18] TEST: Unresolved neighbour for broadcast address [ OK ] # 291.55 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 295.46 [+3.91] # 295.46 [+0.00] Fib6 garbage collection test # 310.02 [+14.56] TEST: ipv6 route garbage collection [ OK ] # 324.86 [+14.84] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 339.60 [+14.73] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 354.41 [+14.82] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 369.74 [+15.32] TEST: ipv6 route garbage collection (RA message) [ OK ] # 371.12 [+1.39] # 371.12 [+0.00] IPv4 multipath list receive tests # 395.28 [+24.15] TEST: Multipath route hit ratio (1.00) [ OK ] # 398.32 [+3.05] # 398.32 [+0.00] IPv6 multipath list receive tests # 421.12 [+22.80] TEST: Multipath route hit ratio (1.00) [ OK ] # 424.12 [+3.00] # 424.12 [+0.00] Tests passed: 229 # 424.12 [+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__->