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.57 [+0.57] # 0.57 [+0.00] Single path route test # 1.85 [+1.28] Start point # 2.00 [+0.15] TEST: IPv4 fibmatch [ OK ] # 2.11 [+0.11] TEST: IPv6 fibmatch [ OK ] # 2.26 [+0.16] Nexthop device deleted # 2.36 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.50 [+0.13] TEST: IPv6 fibmatch - no route [ OK ] # 3.24 [+0.74] # 3.24 [+0.00] Multipath route test # 5.49 [+2.26] Start point # 5.61 [+0.11] TEST: IPv4 fibmatch [ OK ] # 5.72 [+0.12] TEST: IPv6 fibmatch [ OK ] # 5.89 [+0.16] One nexthop device deleted # 5.99 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 6.10 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 6.29 [+0.18] Second nexthop device deleted # 6.42 [+0.13] TEST: IPv6 - no route [ OK ] # 7.17 [+0.75] # 7.17 [+0.00] Single path, admin down # 8.74 [+1.57] Start point # 8.88 [+0.14] TEST: IPv4 fibmatch [ OK ] # 8.97 [+0.10] TEST: IPv6 fibmatch [ OK ] # 9.10 [+0.13] Route deleted on down # 9.22 [+0.12] TEST: IPv4 fibmatch [ OK ] # 9.32 [+0.10] TEST: IPv6 fibmatch [ OK ] # 9.87 [+0.55] # 9.87 [+0.00] Admin down multipath # 12.06 [+2.19] Verify start point # 12.20 [+0.14] TEST: IPv4 fibmatch [ OK ] # 12.32 [+0.12] TEST: IPv6 fibmatch [ OK ] # 12.45 [+0.13] One device down, one up # 12.57 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 12.68 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 12.77 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 12.92 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 13.04 [+0.12] TEST: IPv4 flags on down device [ OK ] # 13.18 [+0.13] TEST: IPv6 flags on down device [ OK ] # 13.27 [+0.10] TEST: IPv4 flags on up device [ OK ] # 13.39 [+0.12] TEST: IPv6 flags on up device [ OK ] # 13.59 [+0.20] Other device down and up # 13.70 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 13.80 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 13.90 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 14.00 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 14.10 [+0.10] TEST: IPv4 flags on down device [ OK ] # 14.23 [+0.13] TEST: IPv6 flags on down device [ OK ] # 14.33 [+0.10] TEST: IPv4 flags on up device [ OK ] # 14.45 [+0.12] TEST: IPv6 flags on up device [ OK ] # 14.56 [+0.11] Both devices down # 14.67 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.77 [+0.10] TEST: IPv6 fibmatch [ OK ] # 15.46 [+0.69] # 15.46 [+0.00] Local carrier tests - single path # 17.22 [+1.76] Start point # 17.35 [+0.13] TEST: IPv4 fibmatch [ OK ] # 17.45 [+0.10] TEST: IPv6 fibmatch [ OK ] # 17.58 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 17.68 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 18.87 [+1.19] Carrier off on nexthop # 19.01 [+0.14] TEST: IPv4 fibmatch [ OK ] # 19.13 [+0.12] TEST: IPv6 fibmatch [ OK ] # 19.29 [+0.16] TEST: IPv4 - linkdown flag set [ OK ] # 19.44 [+0.15] TEST: IPv6 - linkdown flag set [ OK ] # 19.67 [+0.23] Route to local address with carrier down # 19.81 [+0.14] TEST: IPv4 fibmatch [ OK ] # 19.91 [+0.11] TEST: IPv6 fibmatch [ OK ] # 20.07 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 20.19 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 20.84 [+0.66] # 20.84 [+0.00] Single path route carrier test # 22.53 [+1.68] Start point # 22.64 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.74 [+0.10] TEST: IPv6 fibmatch [ OK ] # 22.83 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 22.95 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 24.16 [+1.21] Carrier down # 24.32 [+0.16] TEST: IPv4 fibmatch [ OK ] # 24.47 [+0.14] TEST: IPv6 fibmatch [ OK ] # 24.62 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 24.78 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 25.08 [+0.30] Second address added with carrier down # 25.20 [+0.12] TEST: IPv4 fibmatch [ OK ] # 25.36 [+0.16] TEST: IPv6 fibmatch [ OK ] # 25.47 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 25.57 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 30.49 [+4.92] # 30.49 [+0.00] IPv4 nexthop tests # 30.49 [+0.00] <<< write me >>> # 30.78 [+0.29] # 30.78 [+0.00] IPv6 nexthop tests # 30.88 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 31.01 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 31.14 [+0.13] TEST: Gateway is linklocal address [ OK ] # 31.23 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 31.33 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 31.45 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.55 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 31.67 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 31.78 [+0.12] TEST: Gateway can be local address in a VRF, with device [ OK ] # 31.90 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 32.01 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 32.12 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 32.23 [+0.11] TEST: VRF route, gateway can not be a local address [ OK ] # 32.34 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 33.49 [+1.15] # 33.49 [+0.00] FIB rule with suppress_prefixlength # 35.43 [+1.94] TEST: FIB rule suppress test [ OK ] # 37.11 [+1.68] # 37.11 [+0.00] Fib6 info length calculation in route notify test # 41.15 [+4.04] TEST: ipv6 route add notify [ OK ] # 42.84 [+1.69] # 42.84 [+0.00] Fib4 info length calculation in route notify test # 46.85 [+4.01] TEST: ipv4 route add notify [ OK ] # 51.22 [+4.37] # 51.22 [+0.00] IPv6 route add / append tests # 51.57 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 51.93 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 52.30 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 52.76 [+0.46] TEST: Append nexthop to existing route - gw [ OK ] # 53.13 [+0.37] TEST: Add multipath route [ OK ] # 53.49 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 53.94 [+0.45] TEST: Route add with different metrics [ OK ] # 54.13 [+0.19] TEST: Route delete with metric [ OK ] # 54.14 [+0.00] # 54.14 [+0.00] IPv6 route replace tests # 54.59 [+0.46] TEST: Single path with single path [ OK ] # 55.06 [+0.46] TEST: Single path with multipath [ OK ] # 55.53 [+0.47] TEST: Single path with single path via multipath attribute [ OK ] # 55.98 [+0.45] TEST: Invalid nexthop [ OK ] # 56.35 [+0.37] TEST: Single path - replace of non-existent route [ OK ] # 56.81 [+0.46] TEST: Multipath with multipath [ OK ] # 57.29 [+0.48] TEST: Multipath with single path [ OK ] # 57.74 [+0.45] TEST: Multipath with single path via multipath attribute [ OK ] # 58.20 [+0.47] TEST: Multipath with dev-only [ OK ] # 58.67 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 59.15 [+0.48] TEST: Multipath - invalid second nexthop [ OK ] # 59.52 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 59.52 [+0.00] # 59.52 [+0.00] IPv6 route with dsfield tests # 59.70 [+0.18] TEST: Reject route with dsfield [ OK ] # 65.83 [+6.13] # 65.83 [+0.00] IPv4 route add / append tests # 66.18 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 66.55 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 66.90 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 67.35 [+0.45] TEST: Add new nexthop for existing prefix [ OK ] # 67.80 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 68.25 [+0.45] TEST: Append nexthop to existing route - dev only [ OK ] # 68.70 [+0.46] TEST: Append nexthop to existing route - reject route [ OK ] # 69.10 [+0.39] TEST: Append nexthop to existing reject route - gw [ OK ] # 69.47 [+0.38] TEST: Append nexthop to existing reject route - dev only [ OK ] # 69.89 [+0.41] TEST: add multipath route [ OK ] # 70.26 [+0.38] TEST: Attempt to add duplicate multipath route [ OK ] # 70.72 [+0.46] TEST: Route add with different metrics [ OK ] # 70.90 [+0.18] TEST: Route delete with metric [ OK ] # 70.90 [+0.00] # 70.90 [+0.00] IPv4 route replace tests # 71.36 [+0.46] TEST: Single path with single path [ OK ] # 71.82 [+0.47] TEST: Single path with multipath [ OK ] # 72.28 [+0.46] TEST: Single path with reject route [ OK ] # 72.72 [+0.43] TEST: Single path with single path via multipath attribute [ OK ] # 73.20 [+0.49] TEST: Invalid nexthop [ OK ] # 73.55 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 74.00 [+0.45] TEST: Multipath with multipath [ OK ] # 74.48 [+0.48] TEST: Multipath with single path [ OK ] # 74.96 [+0.47] TEST: Multipath with single path via multipath attribute [ OK ] # 75.44 [+0.49] TEST: Multipath with reject route [ OK ] # 75.91 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 76.41 [+0.50] TEST: Multipath - invalid second nexthop [ OK ] # 76.78 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 78.22 [+1.44] TEST: Cached route removed from VRF port device [ OK ] # 78.22 [+0.00] # 78.22 [+0.00] IPv4 route with dsfield tests # 78.40 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 78.49 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 78.58 [+0.10] TEST: Reject route with dsfield 0x03 [ OK ] # 78.86 [+0.28] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 78.95 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 79.03 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 79.11 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 79.19 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 79.28 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 79.36 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 79.46 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 79.54 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 79.62 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 79.70 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 79.78 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 81.49 [+1.72] # 81.49 [+0.00] IPv6 prefix route tests # 83.40 [+1.90] TEST: Default metric [ OK ] # 83.70 [+0.30] TEST: User specified metric on first device [ OK ] # 84.01 [+0.31] TEST: User specified metric on second device [ OK ] # 84.19 [+0.18] TEST: Delete of address on first device [ OK ] # 84.37 [+0.18] TEST: Modify metric of address [ OK ] # 84.69 [+0.31] TEST: Prefix route removed on link down [ OK ] # 84.87 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 85.15 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 85.24 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 85.42 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 85.52 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 86.48 [+0.96] # 86.48 [+0.00] IPv4 prefix route tests # 88.33 [+1.85] TEST: Default metric [ OK ] # 88.60 [+0.27] TEST: User specified metric on first device [ OK ] # 88.88 [+0.28] TEST: User specified metric on second device [ OK ] # 89.07 [+0.19] TEST: Delete of address on first device [ OK ] # 89.26 [+0.19] TEST: Modify metric of address [ OK ] # 89.44 [+0.18] TEST: Prefix route removed on link down [ OK ] # 89.62 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 90.00 [+0.37] TEST: Modify metric of .0/24 address [ OK ] # 90.26 [+0.26] TEST: Set metric of address with peer route [ OK ] # 90.46 [+0.20] TEST: Modify metric and peer address for peer route [ OK ] # 91.41 [+0.96] # 91.41 [+0.00] IPv6 routes with metrics # 95.95 [+4.53] TEST: Single path route with mtu metric [ OK ] # 96.28 [+0.34] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 96.57 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 96.74 [+0.17] TEST: MTU of second leg [ OK ] # 96.94 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 97.17 [+0.23] TEST: Using route with mtu metric [ OK ] # 97.34 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 99.05 [+1.71] # 99.05 [+0.00] IPv4 route add / append tests # 103.58 [+4.53] TEST: Single path route with mtu metric [ OK ] # 103.76 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 103.98 [+0.22] TEST: Using route with mtu metric [ OK ] # 104.14 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 105.85 [+1.71] # 105.85 [+0.00] IPv4 route with IPv6 gateway tests # 112.30 [+6.45] TEST: Single path route with IPv6 gateway [ OK ] # 112.56 [+0.26] TEST: Single path route with IPv6 gateway - ping [ OK ] # 112.66 [+0.10] TEST: Single path route delete [ OK ] # 112.84 [+0.18] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 113.03 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 113.12 [+0.09] TEST: Multipath route delete exact match [ OK ] # 113.22 [+0.11] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 113.42 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 113.53 [+0.11] TEST: Multipath route delete exact match [ OK ] # 115.26 [+1.73] # 115.26 [+0.00] IPv4 rp_filter tests # 121.06 [+5.80] TEST: rp_filter passes local packets [ OK ] # 121.20 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 121.97 [+0.77] # 121.97 [+0.00] IPv4 delete address route tests # 124.70 [+2.73] Regular FIB info # 124.87 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 124.97 [+0.09] TEST: Route in default VRF not removed [ OK ] # 125.32 [+0.36] TEST: Route removed in default VRF when source address deleted [ OK ] # 125.41 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 125.42 [+0.00] Identical FIB info with different table ID # 125.58 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 125.65 [+0.07] TEST: Route in default VRF not removed [ OK ] # 125.98 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 126.06 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 126.07 [+0.00] Table ID 0 # 126.24 [+0.17] TEST: Route removed in default VRF when source address deleted [ OK ] # 127.20 [+0.96] # 127.20 [+0.00] IPv6 delete address route tests # 131.82 [+4.62] Single device using src address # 131.98 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 131.98 [+0.00] Two devices with the same source address # 132.14 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 132.30 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 132.30 [+0.00] VRF with single device using src address # 132.47 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 132.48 [+0.00] VRF with two devices using src address # 132.65 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 132.82 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 132.83 [+0.00] src address and nexthop dev in same VRF # 132.99 [+0.16] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 133.08 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 133.39 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 133.48 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 133.49 [+0.00] src address and nexthop device in different VRF # 133.66 [+0.18] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 133.76 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 133.99 [+0.23] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 134.08 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 134.09 [+0.00] Table ID 0 # 134.25 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 134.25 [+0.00] Link local source route # 134.42 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 134.58 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 134.67 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 134.92 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 136.47 [+1.55] # 136.47 [+0.00] IPv4 mangling tests # 143.87 [+7.40] TEST: Connection with correct parameters [ OK ] # 144.03 [+0.16] TEST: Connection with incorrect parameters [ OK ] # 144.97 [+0.94] TEST: Connection with correct parameters - mangling [ OK ] # 145.83 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 145.89 [+0.07] TEST: Connection check - server side [ OK ] # 148.21 [+2.32] # 148.21 [+0.00] IPv6 mangling tests # 156.91 [+8.70] TEST: Connection with correct parameters [ OK ] # 157.12 [+0.21] TEST: Connection with incorrect parameters [ OK ] # 157.97 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 158.82 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 158.88 [+0.05] TEST: Connection check - server side [ OK ] # 160.83 [+1.96] # 160.83 [+0.00] IPv4 broadcast neighbour tests # 162.98 [+2.15] TEST: Resolved neighbour for broadcast address [ OK ] # 163.07 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 163.15 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 163.25 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 165.38 [+2.14] # 165.38 [+0.00] Fib6 garbage collection test # 178.87 [+13.49] TEST: ipv6 route garbage collection [ OK ] # 192.42 [+13.55] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 206.40 [+13.98] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 219.92 [+13.52] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 234.53 [+14.61] TEST: ipv6 route garbage collection (RA message) [ OK ] # 235.22 [+0.70] # 235.22 [+0.00] IPv4 multipath list receive tests # 250.57 [+15.35] TEST: Multipath route hit ratio (1.00) [ OK ] # 252.35 [+1.78] # 252.35 [+0.00] IPv6 multipath list receive tests # 267.05 [+14.70] TEST: Multipath route hit ratio (1.00) [ OK ] # 268.97 [+1.92] # 268.97 [+0.00] Tests passed: 229 # 268.97 [+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__->