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.35 [+0.35] # 0.35 [+0.00] Single path route test # 1.07 [+0.72] Start point # 1.14 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.21 [+0.06] TEST: IPv6 fibmatch [ OK ] # 1.30 [+0.09] Nexthop device deleted # 1.38 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.44 [+0.06] TEST: IPv6 fibmatch - no route [ OK ] # 1.88 [+0.45] # 1.88 [+0.00] Multipath route test # 3.22 [+1.34] Start point # 3.29 [+0.06] TEST: IPv4 fibmatch [ OK ] # 3.36 [+0.07] TEST: IPv6 fibmatch [ OK ] # 3.47 [+0.11] One nexthop device deleted # 3.54 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 3.60 [+0.06] TEST: IPv6 - multipath down to single path [ OK ] # 3.72 [+0.12] Second nexthop device deleted # 3.78 [+0.06] TEST: IPv6 - no route [ OK ] # 4.20 [+0.42] # 4.20 [+0.00] Single path, admin down # 5.26 [+1.07] Start point # 5.34 [+0.08] TEST: IPv4 fibmatch [ OK ] # 5.41 [+0.07] TEST: IPv6 fibmatch [ OK ] # 5.49 [+0.08] Route deleted on down # 5.57 [+0.07] TEST: IPv4 fibmatch [ OK ] # 5.67 [+0.10] TEST: IPv6 fibmatch [ OK ] # 6.03 [+0.35] # 6.03 [+0.00] Admin down multipath # 7.47 [+1.44] Verify start point # 7.55 [+0.08] TEST: IPv4 fibmatch [ OK ] # 7.62 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.69 [+0.07] One device down, one up # 7.76 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 7.83 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 7.90 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 7.97 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 8.06 [+0.10] TEST: IPv4 flags on down device [ OK ] # 8.14 [+0.08] TEST: IPv6 flags on down device [ OK ] # 8.23 [+0.08] TEST: IPv4 flags on up device [ OK ] # 8.31 [+0.08] TEST: IPv6 flags on up device [ OK ] # 8.45 [+0.13] Other device down and up # 8.53 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 8.61 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 8.68 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 8.75 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 8.83 [+0.08] TEST: IPv4 flags on down device [ OK ] # 8.92 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.02 [+0.10] TEST: IPv4 flags on up device [ OK ] # 9.10 [+0.08] TEST: IPv6 flags on up device [ OK ] # 9.17 [+0.08] Both devices down # 9.24 [+0.07] TEST: IPv4 fibmatch [ OK ] # 9.31 [+0.07] TEST: IPv6 fibmatch [ OK ] # 9.78 [+0.47] # 9.78 [+0.00] Local carrier tests - single path # 10.80 [+1.02] Start point # 10.87 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.94 [+0.07] TEST: IPv6 fibmatch [ OK ] # 11.02 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 11.08 [+0.07] TEST: IPv6 - no linkdown flag [ OK ] # 12.19 [+1.11] Carrier off on nexthop # 12.27 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.34 [+0.07] TEST: IPv6 fibmatch [ OK ] # 12.40 [+0.06] TEST: IPv4 - linkdown flag set [ OK ] # 12.49 [+0.08] TEST: IPv6 - linkdown flag set [ OK ] # 12.62 [+0.13] Route to local address with carrier down # 12.69 [+0.07] TEST: IPv4 fibmatch [ OK ] # 12.77 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.84 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 12.91 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 13.33 [+0.42] # 13.33 [+0.00] Single path route carrier test # 14.41 [+1.08] Start point # 14.47 [+0.07] TEST: IPv4 fibmatch [ OK ] # 14.54 [+0.07] TEST: IPv6 fibmatch [ OK ] # 14.61 [+0.07] TEST: IPv4 no linkdown flag [ OK ] # 14.68 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 15.79 [+1.10] Carrier down # 15.86 [+0.08] TEST: IPv4 fibmatch [ OK ] # 15.94 [+0.07] TEST: IPv6 fibmatch [ OK ] # 16.01 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 16.07 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 16.20 [+0.13] Second address added with carrier down # 16.27 [+0.06] TEST: IPv4 fibmatch [ OK ] # 16.34 [+0.07] TEST: IPv6 fibmatch [ OK ] # 16.40 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 16.46 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 20.16 [+3.70] # 20.16 [+0.00] IPv4 nexthop tests # 20.16 [+0.00] <<< write me >>> # 20.35 [+0.19] # 20.35 [+0.00] IPv6 nexthop tests # 20.43 [+0.08] TEST: Directly connected nexthop, unicast address [ OK ] # 20.50 [+0.08] TEST: Directly connected nexthop, unicast address with device [ OK ] # 20.58 [+0.08] TEST: Gateway is linklocal address [ OK ] # 20.66 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 20.74 [+0.08] TEST: Gateway can not be local unicast address [ OK ] # 20.82 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 20.90 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 20.97 [+0.08] TEST: Gateway can be local address in a VRF [ OK ] # 21.06 [+0.08] TEST: Gateway can be local address in a VRF, with device [ OK ] # 21.13 [+0.08] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 21.21 [+0.08] TEST: Redirect to VRF lookup [ OK ] # 21.29 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 21.38 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 21.45 [+0.07] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 22.29 [+0.84] # 22.29 [+0.00] FIB rule with suppress_prefixlength # 23.76 [+1.46] TEST: FIB rule suppress test [ OK ] # 25.05 [+1.30] # 25.05 [+0.00] Fib6 info length calculation in route notify test # 28.69 [+3.63] TEST: ipv6 route add notify [ OK ] # 30.02 [+1.34] # 30.02 [+0.00] Fib4 info length calculation in route notify test # 33.72 [+3.69] TEST: ipv4 route add notify [ OK ] # 37.37 [+3.66] # 37.37 [+0.00] IPv6 route add / append tests # 37.69 [+0.31] TEST: Attempt to add duplicate route - gw [ OK ] # 37.99 [+0.30] TEST: Attempt to add duplicate route - dev only [ OK ] # 38.29 [+0.30] TEST: Attempt to add duplicate route - reject route [ OK ] # 38.67 [+0.38] TEST: Append nexthop to existing route - gw [ OK ] # 38.99 [+0.32] TEST: Add multipath route [ OK ] # 39.30 [+0.31] TEST: Attempt to add duplicate multipath route [ OK ] # 39.69 [+0.38] TEST: Route add with different metrics [ OK ] # 39.85 [+0.16] TEST: Route delete with metric [ OK ] # 39.85 [+0.00] # 39.85 [+0.00] IPv6 route replace tests # 40.25 [+0.40] TEST: Single path with single path [ OK ] # 40.64 [+0.39] TEST: Single path with multipath [ OK ] # 41.05 [+0.41] TEST: Single path with single path via multipath attribute [ OK ] # 41.43 [+0.38] TEST: Invalid nexthop [ OK ] # 41.73 [+0.30] TEST: Single path - replace of non-existent route [ OK ] # 42.11 [+0.39] TEST: Multipath with multipath [ OK ] # 42.50 [+0.38] TEST: Multipath with single path [ OK ] # 42.88 [+0.38] TEST: Multipath with single path via multipath attribute [ OK ] # 43.26 [+0.38] TEST: Multipath with dev-only [ OK ] # 43.64 [+0.39] TEST: Multipath - invalid first nexthop [ OK ] # 44.05 [+0.41] TEST: Multipath - invalid second nexthop [ OK ] # 44.36 [+0.31] TEST: Multipath - replace of non-existent route [ OK ] # 44.36 [+0.00] # 44.36 [+0.00] IPv6 route with dsfield tests # 44.51 [+0.15] TEST: Reject route with dsfield [ OK ] # 49.64 [+5.13] # 49.64 [+0.00] IPv4 route add / append tests # 49.94 [+0.29] TEST: Attempt to add duplicate route - gw [ OK ] # 50.24 [+0.30] TEST: Attempt to add duplicate route - dev only [ OK ] # 50.55 [+0.31] TEST: Attempt to add duplicate route - reject route [ OK ] # 50.93 [+0.38] TEST: Add new nexthop for existing prefix [ OK ] # 51.32 [+0.38] TEST: Append nexthop to existing route - gw [ OK ] # 51.70 [+0.38] TEST: Append nexthop to existing route - dev only [ OK ] # 52.07 [+0.37] TEST: Append nexthop to existing route - reject route [ OK ] # 52.40 [+0.32] TEST: Append nexthop to existing reject route - gw [ OK ] # 52.71 [+0.32] TEST: Append nexthop to existing reject route - dev only [ OK ] # 53.01 [+0.30] TEST: add multipath route [ OK ] # 53.30 [+0.29] TEST: Attempt to add duplicate multipath route [ OK ] # 53.69 [+0.38] TEST: Route add with different metrics [ OK ] # 53.84 [+0.15] TEST: Route delete with metric [ OK ] # 53.84 [+0.00] # 53.84 [+0.00] IPv4 route replace tests # 54.22 [+0.38] TEST: Single path with single path [ OK ] # 54.59 [+0.38] TEST: Single path with multipath [ OK ] # 54.98 [+0.39] TEST: Single path with reject route [ OK ] # 55.37 [+0.39] TEST: Single path with single path via multipath attribute [ OK ] # 55.76 [+0.39] TEST: Invalid nexthop [ OK ] # 56.05 [+0.29] TEST: Single path - replace of non-existent route [ OK ] # 56.43 [+0.38] TEST: Multipath with multipath [ OK ] # 56.82 [+0.39] TEST: Multipath with single path [ OK ] # 57.19 [+0.37] TEST: Multipath with single path via multipath attribute [ OK ] # 57.58 [+0.39] TEST: Multipath with reject route [ OK ] # 57.95 [+0.37] TEST: Multipath - invalid first nexthop [ OK ] # 58.32 [+0.38] TEST: Multipath - invalid second nexthop [ OK ] # 58.62 [+0.30] TEST: Multipath - replace of non-existent route [ OK ] # 59.84 [+1.21] TEST: Cached route removed from VRF port device [ OK ] # 59.84 [+0.00] # 59.84 [+0.00] IPv4 route with dsfield tests # 59.99 [+0.15] TEST: Reject route with dsfield 0x01 [ OK ] # 60.07 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 60.15 [+0.07] TEST: Reject route with dsfield 0x03 [ OK ] # 60.39 [+0.24] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 60.47 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 60.55 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 60.62 [+0.07] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 60.70 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 60.77 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 60.84 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 60.94 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 61.02 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 61.09 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 61.16 [+0.06] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 61.23 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 62.74 [+1.51] # 62.74 [+0.00] IPv6 prefix route tests # 64.30 [+1.56] TEST: Default metric [ OK ] # 64.54 [+0.24] TEST: User specified metric on first device [ OK ] # 64.78 [+0.24] TEST: User specified metric on second device [ OK ] # 64.93 [+0.16] TEST: Delete of address on first device [ OK ] # 65.11 [+0.18] TEST: Modify metric of address [ OK ] # 65.39 [+0.27] TEST: Prefix route removed on link down [ OK ] # 65.54 [+0.16] TEST: Prefix route with metric on link up [ OK ] # 65.79 [+0.24] TEST: Set metric with peer route on local side [ OK ] # 65.88 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 66.04 [+0.15] TEST: Modify metric and peer address on local side [ OK ] # 66.11 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 66.95 [+0.84] # 66.95 [+0.00] IPv4 prefix route tests # 68.47 [+1.52] TEST: Default metric [ OK ] # 68.72 [+0.25] TEST: User specified metric on first device [ OK ] # 68.95 [+0.24] TEST: User specified metric on second device [ OK ] # 69.10 [+0.15] TEST: Delete of address on first device [ OK ] # 69.26 [+0.16] TEST: Modify metric of address [ OK ] # 69.41 [+0.15] TEST: Prefix route removed on link down [ OK ] # 69.57 [+0.16] TEST: Prefix route with metric on link up [ OK ] # 69.88 [+0.31] TEST: Modify metric of .0/24 address [ OK ] # 70.11 [+0.24] TEST: Set metric of address with peer route [ OK ] # 70.26 [+0.15] TEST: Modify metric and peer address for peer route [ OK ] # 71.10 [+0.84] # 71.10 [+0.00] IPv6 routes with metrics # 74.90 [+3.80] TEST: Single path route with mtu metric [ OK ] # 75.15 [+0.24] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 75.40 [+0.25] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 75.55 [+0.15] TEST: MTU of second leg [ OK ] # 75.71 [+0.17] TEST: Multipath route with mtu metric [ OK ] # 75.90 [+0.19] TEST: Using route with mtu metric [ OK ] # 76.04 [+0.13] TEST: Invalid metric (fails metric_convert) [ OK ] # 77.45 [+1.42] # 77.45 [+0.00] IPv4 route add / append tests # 81.12 [+3.67] TEST: Single path route with mtu metric [ OK ] # 81.28 [+0.16] TEST: Multipath route with mtu metric [ OK ] # 81.47 [+0.19] TEST: Using route with mtu metric [ OK ] # 81.60 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 83.06 [+1.46] # 83.06 [+0.00] IPv4 route with IPv6 gateway tests # 88.87 [+5.81] TEST: Single path route with IPv6 gateway [ OK ] # 89.08 [+0.21] TEST: Single path route with IPv6 gateway - ping [ OK ] # 89.17 [+0.09] TEST: Single path route delete [ OK ] # 89.32 [+0.16] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 89.49 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 89.56 [+0.07] TEST: Multipath route delete exact match [ OK ] # 89.65 [+0.08] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 89.82 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 89.90 [+0.08] TEST: Multipath route delete exact match [ OK ] # 91.40 [+1.50] # 91.40 [+0.00] IPv4 rp_filter tests # 96.58 [+5.18] TEST: rp_filter passes local packets [ OK ] # 96.71 [+0.12] TEST: rp_filter passes loopback packets [ OK ] # 97.39 [+0.68] # 97.39 [+0.00] IPv4 delete address route tests # 99.79 [+2.41] Regular FIB info # 99.94 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 100.02 [+0.08] TEST: Route in default VRF not removed [ OK ] # 100.30 [+0.28] TEST: Route removed in default VRF when source address deleted [ OK ] # 100.38 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 100.38 [+0.00] Identical FIB info with different table ID # 100.54 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 100.60 [+0.07] TEST: Route in default VRF not removed [ OK ] # 100.87 [+0.26] TEST: Route removed in default VRF when source address deleted [ OK ] # 100.94 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 100.94 [+0.00] Table ID 0 # 101.07 [+0.13] TEST: Route removed in default VRF when source address deleted [ OK ] # 101.92 [+0.85] # 101.92 [+0.00] IPv6 delete address route tests # 105.88 [+3.96] Single device using src address # 106.02 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 106.03 [+0.00] Two devices with the same source address # 106.17 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 106.31 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 106.32 [+0.00] VRF with single device using src address # 106.45 [+0.14] TEST: Prefsrc removed when src address removed on other device [ OK ] # 106.46 [+0.00] VRF with two devices using src address # 106.60 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 106.74 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 106.74 [+0.00] src address and nexthop dev in same VRF # 106.90 [+0.16] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 106.97 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 107.25 [+0.28] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 107.32 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 107.32 [+0.00] src address and nexthop device in different VRF # 107.47 [+0.15] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 107.54 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 107.76 [+0.22] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 107.82 [+0.06] TEST: Prefsrc removed in default VRF [ OK ] # 107.82 [+0.00] Table ID 0 # 107.96 [+0.14] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 107.96 [+0.00] Link local source route # 108.11 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 108.26 [+0.15] TEST: Prefsrc removed when delete ll addr [ OK ] # 108.34 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 108.55 [+0.21] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 109.89 [+1.34] # 109.89 [+0.00] IPv4 mangling tests # 116.67 [+6.78] TEST: Connection with correct parameters [ OK ] # 116.81 [+0.15] TEST: Connection with incorrect parameters [ OK ] # 117.71 [+0.89] TEST: Connection with correct parameters - mangling [ OK ] # 118.55 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 118.60 [+0.06] TEST: Connection check - server side [ OK ] # 120.38 [+1.77] # 120.38 [+0.00] IPv6 mangling tests # 127.08 [+6.70] TEST: Connection with correct parameters [ OK ] # 127.26 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 128.06 [+0.80] TEST: Connection with correct parameters - mangling [ OK ] # 128.86 [+0.80] TEST: Connection with correct parameters - no mangling [ OK ] # 128.91 [+0.05] TEST: Connection check - server side [ OK ] # 130.58 [+1.67] # 130.58 [+0.00] IPv4 broadcast neighbour tests # 132.45 [+1.87] TEST: Resolved neighbour for broadcast address [ OK ] # 132.53 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 132.61 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 132.69 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 134.23 [+1.55] # 134.23 [+0.00] Fib6 garbage collection test # 147.22 [+12.99] TEST: ipv6 route garbage collection [ OK ] # 160.47 [+13.25] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 174.01 [+13.53] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 187.43 [+13.42] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 201.64 [+14.21] TEST: ipv6 route garbage collection (RA message) [ OK ] # 202.26 [+0.62] # 202.26 [+0.00] IPv4 multipath list receive tests # 214.24 [+11.98] TEST: Multipath route hit ratio (1.00) [ OK ] # 215.84 [+1.59] # 215.84 [+0.00] IPv6 multipath list receive tests # 227.46 [+11.62] TEST: Multipath route hit ratio (1.00) [ OK ] # 228.94 [+1.48] # 228.94 [+0.00] Tests passed: 229 # 228.94 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->