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.41 [+0.41] # 0.41 [+0.00] Single path route test # 1.30 [+0.89] Start point # 1.38 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.47 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.59 [+0.12] Nexthop device deleted # 1.68 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.75 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.29 [+0.53] # 2.29 [+0.00] Multipath route test # 3.91 [+1.62] Start point # 3.99 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.07 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.20 [+0.13] One nexthop device deleted # 4.29 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.37 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.48 [+0.12] Second nexthop device deleted # 4.56 [+0.08] TEST: IPv6 - no route [ OK ] # 5.09 [+0.53] # 5.09 [+0.00] Single path, admin down # 6.24 [+1.15] Start point # 6.32 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.42 [+0.10] TEST: IPv6 fibmatch [ OK ] # 6.50 [+0.08] Route deleted on down # 6.58 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.67 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.11 [+0.44] # 7.11 [+0.00] Admin down multipath # 8.74 [+1.63] Verify start point # 8.83 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.91 [+0.08] TEST: IPv6 fibmatch [ OK ] # 9.00 [+0.09] One device down, one up # 9.08 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.17 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 9.24 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.35 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 9.45 [+0.10] TEST: IPv4 flags on down device [ OK ] # 9.57 [+0.12] TEST: IPv6 flags on down device [ OK ] # 9.70 [+0.13] TEST: IPv4 flags on up device [ OK ] # 9.81 [+0.11] TEST: IPv6 flags on up device [ OK ] # 10.01 [+0.20] Other device down and up # 10.13 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 10.24 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 10.35 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 10.46 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 10.59 [+0.14] TEST: IPv4 flags on down device [ OK ] # 10.69 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.79 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.89 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.97 [+0.08] Both devices down # 11.06 [+0.09] TEST: IPv4 fibmatch [ OK ] # 11.14 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.70 [+0.55] # 11.70 [+0.00] Local carrier tests - single path # 12.92 [+1.23] Start point # 13.00 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.10 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.18 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 13.28 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 14.41 [+1.14] Carrier off on nexthop # 14.50 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.59 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.67 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 14.77 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 14.93 [+0.16] Route to local address with carrier down # 15.01 [+0.08] TEST: IPv4 fibmatch [ OK ] # 15.11 [+0.10] TEST: IPv6 fibmatch [ OK ] # 15.18 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 15.28 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 15.72 [+0.44] # 15.72 [+0.00] Single path route carrier test # 16.94 [+1.22] Start point # 17.03 [+0.09] TEST: IPv4 fibmatch [ OK ] # 17.11 [+0.09] TEST: IPv6 fibmatch [ OK ] # 17.21 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 17.29 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 18.42 [+1.13] Carrier down # 18.51 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.59 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.68 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.76 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 18.92 [+0.16] Second address added with carrier down # 19.00 [+0.08] TEST: IPv4 fibmatch [ OK ] # 19.08 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.17 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 19.29 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 23.52 [+4.23] # 23.52 [+0.00] IPv4 nexthop tests # 23.52 [+0.00] <<< write me >>> # 23.74 [+0.22] # 23.74 [+0.00] IPv6 nexthop tests # 23.85 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 23.94 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.04 [+0.10] TEST: Gateway is linklocal address [ OK ] # 24.13 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 24.22 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 24.31 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 24.41 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 24.51 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 24.60 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.70 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.80 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 24.88 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.99 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 25.07 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.10 [+1.02] # 26.10 [+0.00] FIB rule with suppress_prefixlength # 27.87 [+1.78] TEST: FIB rule suppress test [ OK ] # 29.47 [+1.60] # 29.48 [+0.00] Fib6 info length calculation in route notify test # 33.46 [+3.98] TEST: ipv6 route add notify [ OK ] # 35.12 [+1.66] # 35.12 [+0.00] Fib4 info length calculation in route notify test # 39.92 [+4.81] TEST: ipv4 route add notify [ OK ] # 44.61 [+4.68] # 44.61 [+0.00] IPv6 route add / append tests # 44.97 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 45.32 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 45.68 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 46.14 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 46.51 [+0.37] TEST: Add multipath route [ OK ] # 46.86 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 47.33 [+0.47] TEST: Route add with different metrics [ OK ] # 47.53 [+0.20] TEST: Route delete with metric [ OK ] # 47.53 [+0.00] # 47.53 [+0.00] IPv6 route replace tests # 47.98 [+0.45] TEST: Single path with single path [ OK ] # 48.46 [+0.48] TEST: Single path with multipath [ OK ] # 48.92 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 49.40 [+0.47] TEST: Invalid nexthop [ OK ] # 49.78 [+0.38] TEST: Single path - replace of non-existent route [ OK ] # 50.27 [+0.49] TEST: Multipath with multipath [ OK ] # 50.76 [+0.49] TEST: Multipath with single path [ OK ] # 51.23 [+0.48] TEST: Multipath with single path via multipath attribute [ OK ] # 51.76 [+0.52] TEST: Multipath with dev-only [ OK ] # 52.28 [+0.52] TEST: Multipath - invalid first nexthop [ OK ] # 52.76 [+0.49] TEST: Multipath - invalid second nexthop [ OK ] # 53.15 [+0.39] TEST: Multipath - replace of non-existent route [ OK ] # 53.16 [+0.00] # 53.16 [+0.00] IPv6 route with dsfield tests # 53.36 [+0.20] TEST: Reject route with dsfield [ OK ] # 61.00 [+7.65] # 61.00 [+0.00] IPv4 route add / append tests # 61.48 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 61.94 [+0.45] TEST: Attempt to add duplicate route - dev only [ OK ] # 62.39 [+0.46] TEST: Attempt to add duplicate route - reject route [ OK ] # 62.90 [+0.51] TEST: Add new nexthop for existing prefix [ OK ] # 63.45 [+0.55] TEST: Append nexthop to existing route - gw [ OK ] # 64.04 [+0.59] TEST: Append nexthop to existing route - dev only [ OK ] # 64.68 [+0.64] TEST: Append nexthop to existing route - reject route [ OK ] # 65.12 [+0.43] TEST: Append nexthop to existing reject route - gw [ OK ] # 65.54 [+0.42] TEST: Append nexthop to existing reject route - dev only [ OK ] # 65.92 [+0.38] TEST: add multipath route [ OK ] # 66.31 [+0.39] TEST: Attempt to add duplicate multipath route [ OK ] # 66.82 [+0.51] TEST: Route add with different metrics [ OK ] # 67.06 [+0.24] TEST: Route delete with metric [ OK ] # 67.07 [+0.00] # 67.07 [+0.00] IPv4 route replace tests # 67.58 [+0.51] TEST: Single path with single path [ OK ] # 68.10 [+0.51] TEST: Single path with multipath [ OK ] # 68.66 [+0.56] TEST: Single path with reject route [ OK ] # 69.24 [+0.59] TEST: Single path with single path via multipath attribute [ OK ] # 69.79 [+0.54] TEST: Invalid nexthop [ OK ] # 70.31 [+0.52] TEST: Single path - replace of non-existent route [ OK ] # 70.91 [+0.60] TEST: Multipath with multipath [ OK ] # 71.47 [+0.55] TEST: Multipath with single path [ OK ] # 72.01 [+0.54] TEST: Multipath with single path via multipath attribute [ OK ] # 72.56 [+0.55] TEST: Multipath with reject route [ OK ] # 73.10 [+0.54] TEST: Multipath - invalid first nexthop [ OK ] # 73.69 [+0.59] TEST: Multipath - invalid second nexthop [ OK ] # 74.13 [+0.44] TEST: Multipath - replace of non-existent route [ OK ] # 75.97 [+1.84] TEST: Cached route removed from VRF port device [ OK ] # 75.98 [+0.01] # 75.98 [+0.00] IPv4 route with dsfield tests # 76.23 [+0.26] TEST: Reject route with dsfield 0x01 [ OK ] # 76.37 [+0.14] TEST: Reject route with dsfield 0x02 [ OK ] # 76.49 [+0.12] TEST: Reject route with dsfield 0x03 [ OK ] # 76.87 [+0.38] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 76.99 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 77.11 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 77.22 [+0.11] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 77.34 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 77.44 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 77.54 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 77.66 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 77.76 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 77.88 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 78.04 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 78.15 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 80.34 [+2.19] # 80.34 [+0.00] IPv6 prefix route tests # 82.71 [+2.37] TEST: Default metric [ OK ] # 83.04 [+0.33] TEST: User specified metric on first device [ OK ] # 83.39 [+0.35] TEST: User specified metric on second device [ OK ] # 83.63 [+0.23] TEST: Delete of address on first device [ OK ] # 83.86 [+0.23] TEST: Modify metric of address [ OK ] # 84.18 [+0.32] TEST: Prefix route removed on link down [ OK ] # 84.43 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 84.78 [+0.35] TEST: Set metric with peer route on local side [ OK ] # 84.91 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 85.16 [+0.25] TEST: Modify metric and peer address on local side [ OK ] # 85.29 [+0.12] TEST: Modify metric and peer address on peer side [ OK ] # 86.63 [+1.34] # 86.63 [+0.00] IPv4 prefix route tests # 88.94 [+2.31] TEST: Default metric [ OK ] # 89.25 [+0.31] TEST: User specified metric on first device [ OK ] # 89.62 [+0.37] TEST: User specified metric on second device [ OK ] # 89.84 [+0.22] TEST: Delete of address on first device [ OK ] # 90.06 [+0.22] TEST: Modify metric of address [ OK ] # 90.30 [+0.24] TEST: Prefix route removed on link down [ OK ] # 90.50 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 90.89 [+0.39] TEST: Modify metric of .0/24 address [ OK ] # 91.23 [+0.34] TEST: Set metric of address with peer route [ OK ] # 91.47 [+0.24] TEST: Modify metric and peer address for peer route [ OK ] # 92.47 [+1.00] # 92.47 [+0.00] IPv6 routes with metrics # 97.02 [+4.55] TEST: Single path route with mtu metric [ OK ] # 97.30 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 97.58 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 97.77 [+0.19] TEST: MTU of second leg [ OK ] # 97.97 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 98.20 [+0.23] TEST: Using route with mtu metric [ OK ] # 98.35 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 100.10 [+1.74] # 100.10 [+0.00] IPv4 route add / append tests # 104.51 [+4.41] TEST: Single path route with mtu metric [ OK ] # 104.69 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 104.93 [+0.24] TEST: Using route with mtu metric [ OK ] # 105.10 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 106.86 [+1.76] # 106.86 [+0.00] IPv4 route with IPv6 gateway tests # 113.25 [+6.39] TEST: Single path route with IPv6 gateway [ OK ] # 113.49 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 113.58 [+0.09] TEST: Single path route delete [ OK ] # 113.75 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 113.94 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 114.02 [+0.09] TEST: Multipath route delete exact match [ OK ] # 114.12 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 114.31 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 114.40 [+0.09] TEST: Multipath route delete exact match [ OK ] # 116.09 [+1.70] # 116.09 [+0.00] IPv4 rp_filter tests # 121.83 [+5.73] TEST: rp_filter passes local packets [ OK ] # 121.96 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 122.71 [+0.75] # 122.72 [+0.00] IPv4 delete address route tests # 125.41 [+2.69] Regular FIB info # 125.58 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 125.67 [+0.09] TEST: Route in default VRF not removed [ OK ] # 125.99 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 126.08 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 126.09 [+0.00] Identical FIB info with different table ID # 126.25 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 126.33 [+0.08] TEST: Route in default VRF not removed [ OK ] # 126.67 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 126.76 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 126.77 [+0.00] Table ID 0 # 126.92 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 127.87 [+0.95] # 127.87 [+0.00] IPv6 delete address route tests # 132.54 [+4.67] Single device using src address # 132.70 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 132.70 [+0.00] Two devices with the same source address # 132.87 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 133.06 [+0.19] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 133.06 [+0.00] VRF with single device using src address # 133.23 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 133.23 [+0.00] VRF with two devices using src address # 133.39 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 133.56 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 133.57 [+0.00] src address and nexthop dev in same VRF # 133.73 [+0.16] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 133.81 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 134.13 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 134.23 [+0.10] TEST: Prefsrc in default VRF removed [ OK ] # 134.23 [+0.00] src address and nexthop device in different VRF # 134.42 [+0.19] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 134.50 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 134.75 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 134.83 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 134.83 [+0.00] Table ID 0 # 134.99 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 134.99 [+0.00] Link local source route # 135.15 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 135.33 [+0.18] TEST: Prefsrc removed when delete ll addr [ OK ] # 135.43 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 135.68 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 137.15 [+1.48] # 137.15 [+0.00] IPv4 mangling tests # 144.52 [+7.37] TEST: Connection with correct parameters [ OK ] # 144.70 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 145.62 [+0.92] TEST: Connection with correct parameters - mangling [ OK ] # 146.45 [+0.83] TEST: Connection with correct parameters - no mangling [ OK ] # 146.53 [+0.08] TEST: Connection check - server side [ OK ] # 148.48 [+1.96] # 148.48 [+0.00] IPv6 mangling tests # 155.79 [+7.31] TEST: Connection with correct parameters [ OK ] # 155.98 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 156.83 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 157.69 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 157.76 [+0.07] TEST: Connection check - server side [ OK ] # 159.69 [+1.93] # 159.69 [+0.00] IPv4 broadcast neighbour tests # 161.80 [+2.10] TEST: Resolved neighbour for broadcast address [ OK ] # 161.90 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 161.98 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 162.08 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 163.86 [+1.78] # 163.86 [+0.00] Fib6 garbage collection test # 177.03 [+13.17] TEST: ipv6 route garbage collection [ OK ] # 190.38 [+13.35] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 203.77 [+13.39] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 217.24 [+13.46] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 231.48 [+14.25] TEST: ipv6 route garbage collection (RA message) [ OK ] # 232.20 [+0.72] # 232.20 [+0.00] IPv4 multipath list receive tests # 248.77 [+16.57] TEST: Multipath route hit ratio (1.00) [ OK ] # 250.57 [+1.80] # 250.57 [+0.00] IPv6 multipath list receive tests # 266.77 [+16.20] TEST: Multipath route hit ratio (1.00) [ OK ] # 268.62 [+1.85] # 268.62 [+0.00] Tests passed: 229 # 268.62 [+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__->