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.59 [+0.59] # 0.59 [+0.00] Single path route test # 1.79 [+1.20] Start point # 1.90 [+0.11] TEST: IPv4 fibmatch [ OK ] # 2.01 [+0.11] TEST: IPv6 fibmatch [ OK ] # 2.19 [+0.18] Nexthop device deleted # 2.29 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.41 [+0.13] TEST: IPv6 fibmatch - no route [ OK ] # 3.10 [+0.69] # 3.10 [+0.00] Multipath route test # 5.29 [+2.19] Start point # 5.40 [+0.11] TEST: IPv4 fibmatch [ OK ] # 5.52 [+0.12] TEST: IPv6 fibmatch [ OK ] # 5.67 [+0.15] One nexthop device deleted # 5.78 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.92 [+0.14] TEST: IPv6 - multipath down to single path [ OK ] # 6.09 [+0.17] Second nexthop device deleted # 6.19 [+0.10] TEST: IPv6 - no route [ OK ] # 6.93 [+0.74] # 6.93 [+0.00] Single path, admin down # 8.47 [+1.54] Start point # 8.57 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.69 [+0.12] TEST: IPv6 fibmatch [ OK ] # 8.80 [+0.11] Route deleted on down # 8.92 [+0.12] TEST: IPv4 fibmatch [ OK ] # 9.01 [+0.09] TEST: IPv6 fibmatch [ OK ] # 9.59 [+0.58] # 9.59 [+0.00] Admin down multipath # 11.79 [+2.19] Verify start point # 11.90 [+0.12] TEST: IPv4 fibmatch [ OK ] # 12.02 [+0.11] TEST: IPv6 fibmatch [ OK ] # 12.15 [+0.13] One device down, one up # 12.26 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 12.42 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 12.52 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 12.65 [+0.13] TEST: IPv6 fibmatch on up device [ OK ] # 12.77 [+0.12] TEST: IPv4 flags on down device [ OK ] # 12.90 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.03 [+0.13] TEST: IPv4 flags on up device [ OK ] # 13.14 [+0.12] TEST: IPv6 flags on up device [ OK ] # 13.36 [+0.21] Other device down and up # 13.50 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 13.60 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 13.71 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 13.83 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 13.97 [+0.13] TEST: IPv4 flags on down device [ OK ] # 14.10 [+0.13] TEST: IPv6 flags on down device [ OK ] # 14.22 [+0.12] TEST: IPv4 flags on up device [ OK ] # 14.34 [+0.12] TEST: IPv6 flags on up device [ OK ] # 14.46 [+0.12] Both devices down # 14.56 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.68 [+0.11] TEST: IPv6 fibmatch [ OK ] # 15.45 [+0.78] # 15.45 [+0.00] Local carrier tests - single path # 17.10 [+1.65] Start point # 17.20 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.33 [+0.12] TEST: IPv6 fibmatch [ OK ] # 17.47 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 17.57 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 18.76 [+1.19] Carrier off on nexthop # 18.86 [+0.10] TEST: IPv4 fibmatch [ OK ] # 18.99 [+0.13] TEST: IPv6 fibmatch [ OK ] # 19.09 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 19.23 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 19.45 [+0.22] Route to local address with carrier down # 19.56 [+0.11] TEST: IPv4 fibmatch [ OK ] # 19.67 [+0.11] TEST: IPv6 fibmatch [ OK ] # 19.78 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 19.93 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 20.49 [+0.57] # 20.50 [+0.00] Single path route carrier test # 22.11 [+1.61] Start point # 22.22 [+0.12] TEST: IPv4 fibmatch [ OK ] # 22.34 [+0.12] TEST: IPv6 fibmatch [ OK ] # 22.47 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 22.59 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 23.77 [+1.19] Carrier down # 23.89 [+0.11] TEST: IPv4 fibmatch [ OK ] # 24.00 [+0.11] TEST: IPv6 fibmatch [ OK ] # 24.11 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 24.23 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 24.45 [+0.21] Second address added with carrier down # 24.55 [+0.10] TEST: IPv4 fibmatch [ OK ] # 24.65 [+0.11] TEST: IPv6 fibmatch [ OK ] # 24.78 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 24.89 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 30.31 [+5.42] # 30.31 [+0.00] IPv4 nexthop tests # 30.31 [+0.00] <<< write me >>> # 30.66 [+0.34] # 30.66 [+0.00] IPv6 nexthop tests # 30.80 [+0.14] TEST: Directly connected nexthop, unicast address [ OK ] # 30.92 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 31.06 [+0.14] TEST: Gateway is linklocal address [ OK ] # 31.17 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 31.30 [+0.13] TEST: Gateway can not be local unicast address [ OK ] # 31.42 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.62 [+0.20] TEST: Gateway can not be a local linklocal address [ OK ] # 31.75 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 31.92 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 32.04 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 32.18 [+0.14] TEST: Redirect to VRF lookup [ OK ] # 32.30 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 32.43 [+0.13] TEST: VRF route, gateway can not be a local address [ OK ] # 32.56 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 33.82 [+1.26] # 33.82 [+0.00] FIB rule with suppress_prefixlength # 36.15 [+2.33] TEST: FIB rule suppress test [ OK ] # 38.19 [+2.05] # 38.20 [+0.00] Fib6 info length calculation in route notify test # 42.88 [+4.69] TEST: ipv6 route add notify [ OK ] # 44.98 [+2.10] # 44.98 [+0.00] Fib4 info length calculation in route notify test # 49.61 [+4.63] TEST: ipv4 route add notify [ OK ] # 55.51 [+5.90] # 55.52 [+0.00] IPv6 route add / append tests # 55.99 [+0.47] TEST: Attempt to add duplicate route - gw [ OK ] # 56.47 [+0.48] TEST: Attempt to add duplicate route - dev only [ OK ] # 56.93 [+0.46] TEST: Attempt to add duplicate route - reject route [ OK ] # 57.53 [+0.60] TEST: Append nexthop to existing route - gw [ OK ] # 58.03 [+0.49] TEST: Add multipath route [ OK ] # 58.49 [+0.46] TEST: Attempt to add duplicate multipath route [ OK ] # 59.09 [+0.60] TEST: Route add with different metrics [ OK ] # 59.36 [+0.27] TEST: Route delete with metric [ OK ] # 59.37 [+0.00] # 59.37 [+0.00] IPv6 route replace tests # 59.97 [+0.60] TEST: Single path with single path [ OK ] # 60.58 [+0.61] TEST: Single path with multipath [ OK ] # 61.19 [+0.61] TEST: Single path with single path via multipath attribute [ OK ] # 61.80 [+0.61] TEST: Invalid nexthop [ OK ] # 62.28 [+0.47] TEST: Single path - replace of non-existent route [ OK ] # 62.89 [+0.62] TEST: Multipath with multipath [ OK ] # 63.49 [+0.59] TEST: Multipath with single path [ OK ] # 64.11 [+0.62] TEST: Multipath with single path via multipath attribute [ OK ] # 64.73 [+0.62] TEST: Multipath with dev-only [ OK ] # 65.34 [+0.62] TEST: Multipath - invalid first nexthop [ OK ] # 65.97 [+0.63] TEST: Multipath - invalid second nexthop [ OK ] # 66.45 [+0.47] TEST: Multipath - replace of non-existent route [ OK ] # 66.45 [+0.00] # 66.45 [+0.00] IPv6 route with dsfield tests # 66.71 [+0.26] TEST: Reject route with dsfield [ OK ] # 74.59 [+7.88] # 74.59 [+0.00] IPv4 route add / append tests # 75.06 [+0.47] TEST: Attempt to add duplicate route - gw [ OK ] # 75.54 [+0.47] TEST: Attempt to add duplicate route - dev only [ OK ] # 76.02 [+0.48] TEST: Attempt to add duplicate route - reject route [ OK ] # 76.60 [+0.58] TEST: Add new nexthop for existing prefix [ OK ] # 77.18 [+0.58] TEST: Append nexthop to existing route - gw [ OK ] # 77.78 [+0.59] TEST: Append nexthop to existing route - dev only [ OK ] # 78.37 [+0.59] TEST: Append nexthop to existing route - reject route [ OK ] # 78.87 [+0.50] TEST: Append nexthop to existing reject route - gw [ OK ] # 79.36 [+0.49] TEST: Append nexthop to existing reject route - dev only [ OK ] # 79.82 [+0.46] TEST: add multipath route [ OK ] # 80.28 [+0.46] TEST: Attempt to add duplicate multipath route [ OK ] # 80.89 [+0.61] TEST: Route add with different metrics [ OK ] # 81.16 [+0.27] TEST: Route delete with metric [ OK ] # 81.16 [+0.00] # 81.16 [+0.00] IPv4 route replace tests # 81.78 [+0.61] TEST: Single path with single path [ OK ] # 82.39 [+0.61] TEST: Single path with multipath [ OK ] # 83.01 [+0.62] TEST: Single path with reject route [ OK ] # 83.63 [+0.62] TEST: Single path with single path via multipath attribute [ OK ] # 84.25 [+0.62] TEST: Invalid nexthop [ OK ] # 84.73 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 85.34 [+0.61] TEST: Multipath with multipath [ OK ] # 85.97 [+0.64] TEST: Multipath with single path [ OK ] # 86.56 [+0.59] TEST: Multipath with single path via multipath attribute [ OK ] # 87.20 [+0.64] TEST: Multipath with reject route [ OK ] # 87.82 [+0.62] TEST: Multipath - invalid first nexthop [ OK ] # 88.42 [+0.60] TEST: Multipath - invalid second nexthop [ OK ] # 88.93 [+0.50] TEST: Multipath - replace of non-existent route [ OK ] # 90.79 [+1.86] TEST: Cached route removed from VRF port device [ OK ] # 90.79 [+0.00] # 90.79 [+0.00] IPv4 route with dsfield tests # 91.04 [+0.25] TEST: Reject route with dsfield 0x01 [ OK ] # 91.17 [+0.13] TEST: Reject route with dsfield 0x02 [ OK ] # 91.30 [+0.13] TEST: Reject route with dsfield 0x03 [ OK ] # 91.67 [+0.37] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 91.79 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 91.90 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 92.04 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 92.15 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 92.28 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 92.42 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 92.52 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 92.63 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 92.73 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 92.83 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 92.96 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 95.21 [+2.25] # 95.21 [+0.00] IPv6 prefix route tests # 97.71 [+2.51] TEST: Default metric [ OK ] # 98.10 [+0.38] TEST: User specified metric on first device [ OK ] # 98.49 [+0.40] TEST: User specified metric on second device [ OK ] # 98.78 [+0.28] TEST: Delete of address on first device [ OK ] # 99.01 [+0.23] TEST: Modify metric of address [ OK ] # 99.44 [+0.43] TEST: Prefix route removed on link down [ OK ] # 99.70 [+0.27] TEST: Prefix route with metric on link up [ OK ] # 100.08 [+0.37] TEST: Set metric with peer route on local side [ OK ] # 100.22 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 100.48 [+0.27] TEST: Modify metric and peer address on local side [ OK ] # 100.62 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 101.85 [+1.24] # 101.85 [+0.00] IPv4 prefix route tests # 104.30 [+2.45] TEST: Default metric [ OK ] # 104.70 [+0.40] TEST: User specified metric on first device [ OK ] # 105.07 [+0.37] TEST: User specified metric on second device [ OK ] # 105.32 [+0.25] TEST: Delete of address on first device [ OK ] # 105.57 [+0.24] TEST: Modify metric of address [ OK ] # 105.79 [+0.23] TEST: Prefix route removed on link down [ OK ] # 106.05 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 106.53 [+0.48] TEST: Modify metric of .0/24 address [ OK ] # 106.92 [+0.39] TEST: Set metric of address with peer route [ OK ] # 107.15 [+0.23] TEST: Modify metric and peer address for peer route [ OK ] # 108.37 [+1.22] # 108.37 [+0.00] IPv6 routes with metrics # 114.55 [+6.18] TEST: Single path route with mtu metric [ OK ] # 114.96 [+0.40] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 115.34 [+0.38] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 115.58 [+0.25] TEST: MTU of second leg [ OK ] # 115.85 [+0.27] TEST: Multipath route with mtu metric [ OK ] # 116.16 [+0.31] TEST: Using route with mtu metric [ OK ] # 116.36 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 118.46 [+2.10] # 118.46 [+0.00] IPv4 route add / append tests # 124.57 [+6.11] TEST: Single path route with mtu metric [ OK ] # 124.83 [+0.26] TEST: Multipath route with mtu metric [ OK ] # 125.14 [+0.31] TEST: Using route with mtu metric [ OK ] # 125.34 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 127.50 [+2.16] # 127.50 [+0.00] IPv4 route with IPv6 gateway tests # 135.59 [+8.09] TEST: Single path route with IPv6 gateway [ OK ] # 135.89 [+0.31] TEST: Single path route with IPv6 gateway - ping [ OK ] # 136.03 [+0.14] TEST: Single path route delete [ OK ] # 136.26 [+0.23] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 136.51 [+0.25] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 136.64 [+0.12] TEST: Multipath route delete exact match [ OK ] # 136.76 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 137.00 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 137.12 [+0.11] TEST: Multipath route delete exact match [ OK ] # 139.23 [+2.11] # 139.23 [+0.00] IPv4 rp_filter tests # 146.94 [+7.72] TEST: rp_filter passes local packets [ OK ] # 147.16 [+0.21] TEST: rp_filter passes loopback packets [ OK ] # 148.23 [+1.07] # 148.23 [+0.00] IPv4 delete address route tests # 152.11 [+3.87] Regular FIB info # 152.33 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 152.44 [+0.11] TEST: Route in default VRF not removed [ OK ] # 152.92 [+0.48] TEST: Route removed in default VRF when source address deleted [ OK ] # 153.03 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 153.03 [+0.00] Identical FIB info with different table ID # 153.25 [+0.21] TEST: Route removed from VRF when source address deleted [ OK ] # 153.36 [+0.11] TEST: Route in default VRF not removed [ OK ] # 153.81 [+0.45] TEST: Route removed in default VRF when source address deleted [ OK ] # 153.92 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 153.92 [+0.00] Table ID 0 # 154.16 [+0.25] TEST: Route removed in default VRF when source address deleted [ OK ] # 155.46 [+1.29] # 155.46 [+0.00] IPv6 delete address route tests # 161.87 [+6.41] Single device using src address # 162.09 [+0.23] TEST: Prefsrc removed when src address removed on other device [ OK ] # 162.10 [+0.00] Two devices with the same source address # 162.34 [+0.24] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 162.55 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 162.55 [+0.00] VRF with single device using src address # 162.78 [+0.23] TEST: Prefsrc removed when src address removed on other device [ OK ] # 162.78 [+0.00] VRF with two devices using src address # 163.02 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 163.27 [+0.25] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 163.27 [+0.00] src address and nexthop dev in same VRF # 163.52 [+0.25] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 163.64 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 164.08 [+0.44] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 164.21 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 164.21 [+0.00] src address and nexthop device in different VRF # 164.44 [+0.23] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 164.56 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 164.88 [+0.32] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 165.02 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 165.02 [+0.00] Table ID 0 # 165.23 [+0.21] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 165.24 [+0.00] Link local source route # 165.47 [+0.24] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 165.68 [+0.21] TEST: Prefsrc removed when delete ll addr [ OK ] # 165.80 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 166.14 [+0.35] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 168.05 [+1.90] # 168.05 [+0.00] IPv4 mangling tests # 177.23 [+9.19] TEST: Connection with correct parameters [ OK ] # 177.46 [+0.22] TEST: Connection with incorrect parameters [ OK ] # 178.53 [+1.07] TEST: Connection with correct parameters - mangling [ OK ] # 179.50 [+0.98] TEST: Connection with correct parameters - no mangling [ OK ] # 179.60 [+0.09] TEST: Connection check - server side [ OK ] # 182.17 [+2.57] # 182.17 [+0.00] IPv6 mangling tests # 191.37 [+9.19] TEST: Connection with correct parameters [ OK ] # 191.63 [+0.26] TEST: Connection with incorrect parameters [ OK ] # 192.61 [+0.98] TEST: Connection with correct parameters - mangling [ OK ] # 193.60 [+0.99] TEST: Connection with correct parameters - no mangling [ OK ] # 193.69 [+0.10] TEST: Connection check - server side [ OK ] # 196.29 [+2.60] # 196.29 [+0.00] IPv4 broadcast neighbour tests # 199.28 [+2.98] TEST: Resolved neighbour for broadcast address [ OK ] # 199.41 [+0.13] TEST: Resolved neighbour for network broadcast address [ OK ] # 199.54 [+0.13] TEST: Unresolved neighbour for broadcast address [ OK ] # 199.66 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 202.09 [+2.43] # 202.09 [+0.00] Fib6 garbage collection test # 215.68 [+13.59] TEST: ipv6 route garbage collection [ OK ] # 229.59 [+13.91] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 243.48 [+13.89] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 257.51 [+14.03] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 272.20 [+14.69] TEST: ipv6 route garbage collection (RA message) [ OK ] # 273.19 [+0.99] # 273.19 [+0.00] IPv4 multipath list receive tests # 292.96 [+19.77] TEST: Multipath route hit ratio (1.00) [ OK ] # 295.26 [+2.30] # 295.26 [+0.00] IPv6 multipath list receive tests # 314.43 [+19.16] TEST: Multipath route hit ratio (1.00) [ OK ] # 316.69 [+2.26] # 316.69 [+0.00] Tests passed: 229 # 316.69 [+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__->