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.31 [+0.90] Start point # 1.39 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.47 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.60 [+0.12] Nexthop device deleted # 1.68 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.75 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.30 [+0.54] # 2.30 [+0.00] Multipath route test # 4.00 [+1.70] Start point # 4.08 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.17 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.30 [+0.14] One nexthop device deleted # 4.38 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.48 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 4.61 [+0.12] Second nexthop device deleted # 4.70 [+0.09] TEST: IPv6 - no route [ OK ] # 5.24 [+0.54] # 5.24 [+0.00] Single path, admin down # 6.35 [+1.11] Start point # 6.42 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.51 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.59 [+0.08] Route deleted on down # 6.66 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.76 [+0.09] TEST: IPv6 fibmatch [ OK ] # 7.17 [+0.41] # 7.17 [+0.00] Admin down multipath # 8.70 [+1.53] Verify start point # 8.78 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.85 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.94 [+0.08] One device down, one up # 9.01 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 9.09 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.17 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.26 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 9.35 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.44 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.54 [+0.09] TEST: IPv4 flags on up device [ OK ] # 9.61 [+0.08] TEST: IPv6 flags on up device [ OK ] # 9.77 [+0.16] Other device down and up # 9.86 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 9.93 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 10.01 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.10 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.20 [+0.11] TEST: IPv4 flags on down device [ OK ] # 10.32 [+0.11] TEST: IPv6 flags on down device [ OK ] # 10.42 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.50 [+0.08] TEST: IPv6 flags on up device [ OK ] # 10.60 [+0.10] Both devices down # 10.67 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.75 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.33 [+0.58] # 11.33 [+0.00] Local carrier tests - single path # 12.56 [+1.23] Start point # 12.63 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.72 [+0.09] TEST: IPv6 fibmatch [ OK ] # 12.80 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 12.89 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 14.02 [+1.12] Carrier off on nexthop # 14.13 [+0.12] TEST: IPv4 fibmatch [ OK ] # 14.23 [+0.10] TEST: IPv6 fibmatch [ OK ] # 14.32 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 14.41 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 14.60 [+0.19] Route to local address with carrier down # 14.69 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.81 [+0.11] TEST: IPv6 fibmatch [ OK ] # 14.91 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 15.00 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 15.46 [+0.46] # 15.46 [+0.00] Single path route carrier test # 16.66 [+1.20] Start point # 16.76 [+0.09] TEST: IPv4 fibmatch [ OK ] # 16.85 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.94 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 17.03 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 18.16 [+1.12] Carrier down # 18.26 [+0.10] TEST: IPv4 fibmatch [ OK ] # 18.34 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.45 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 18.54 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 18.74 [+0.20] Second address added with carrier down # 18.85 [+0.11] TEST: IPv4 fibmatch [ OK ] # 18.94 [+0.09] TEST: IPv6 fibmatch [ OK ] # 19.03 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 19.13 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 23.91 [+4.78] # 23.91 [+0.00] IPv4 nexthop tests # 23.91 [+0.00] <<< write me >>> # 24.23 [+0.32] # 24.23 [+0.00] IPv6 nexthop tests # 24.35 [+0.11] TEST: Directly connected nexthop, unicast address [ OK ] # 24.45 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.57 [+0.12] TEST: Gateway is linklocal address [ OK ] # 24.67 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 24.79 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 24.89 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.00 [+0.11] TEST: Gateway can not be a local linklocal address [ OK ] # 25.11 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 25.22 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 25.32 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 25.44 [+0.12] TEST: Redirect to VRF lookup [ OK ] # 25.55 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.64 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 25.75 [+0.11] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.93 [+1.18] # 26.93 [+0.00] FIB rule with suppress_prefixlength # 29.14 [+2.21] TEST: FIB rule suppress test [ OK ] # 31.23 [+2.09] # 31.23 [+0.00] Fib6 info length calculation in route notify test # 35.95 [+4.72] TEST: ipv6 route add notify [ OK ] # 38.12 [+2.17] # 38.12 [+0.00] Fib4 info length calculation in route notify test # 42.76 [+4.64] TEST: ipv4 route add notify [ OK ] # 47.66 [+4.90] # 47.66 [+0.00] IPv6 route add / append tests # 48.05 [+0.38] TEST: Attempt to add duplicate route - gw [ OK ] # 48.44 [+0.39] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.81 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 49.29 [+0.49] TEST: Append nexthop to existing route - gw [ OK ] # 49.68 [+0.39] TEST: Add multipath route [ OK ] # 50.06 [+0.38] TEST: Attempt to add duplicate multipath route [ OK ] # 50.53 [+0.47] TEST: Route add with different metrics [ OK ] # 50.73 [+0.20] TEST: Route delete with metric [ OK ] # 50.74 [+0.00] # 50.74 [+0.00] IPv6 route replace tests # 51.22 [+0.48] TEST: Single path with single path [ OK ] # 51.71 [+0.49] TEST: Single path with multipath [ OK ] # 52.18 [+0.47] TEST: Single path with single path via multipath attribute [ OK ] # 52.65 [+0.48] TEST: Invalid nexthop [ OK ] # 53.04 [+0.38] TEST: Single path - replace of non-existent route [ OK ] # 53.51 [+0.47] TEST: Multipath with multipath [ OK ] # 53.98 [+0.46] TEST: Multipath with single path [ OK ] # 54.45 [+0.48] TEST: Multipath with single path via multipath attribute [ OK ] # 54.95 [+0.50] TEST: Multipath with dev-only [ OK ] # 55.43 [+0.48] TEST: Multipath - invalid first nexthop [ OK ] # 55.91 [+0.48] TEST: Multipath - invalid second nexthop [ OK ] # 56.27 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 56.27 [+0.00] # 56.27 [+0.00] IPv6 route with dsfield tests # 56.47 [+0.20] TEST: Reject route with dsfield [ OK ] # 62.94 [+6.47] # 62.94 [+0.00] IPv4 route add / append tests # 63.31 [+0.37] TEST: Attempt to add duplicate route - gw [ OK ] # 63.69 [+0.38] TEST: Attempt to add duplicate route - dev only [ OK ] # 64.06 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 64.53 [+0.47] TEST: Add new nexthop for existing prefix [ OK ] # 65.01 [+0.48] TEST: Append nexthop to existing route - gw [ OK ] # 65.48 [+0.47] TEST: Append nexthop to existing route - dev only [ OK ] # 65.96 [+0.48] TEST: Append nexthop to existing route - reject route [ OK ] # 66.33 [+0.37] TEST: Append nexthop to existing reject route - gw [ OK ] # 66.70 [+0.37] TEST: Append nexthop to existing reject route - dev only [ OK ] # 67.08 [+0.39] TEST: add multipath route [ OK ] # 67.44 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 67.90 [+0.47] TEST: Route add with different metrics [ OK ] # 68.09 [+0.19] TEST: Route delete with metric [ OK ] # 68.09 [+0.00] # 68.09 [+0.00] IPv4 route replace tests # 68.54 [+0.45] TEST: Single path with single path [ OK ] # 68.99 [+0.45] TEST: Single path with multipath [ OK ] # 69.45 [+0.46] TEST: Single path with reject route [ OK ] # 69.91 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 70.37 [+0.45] TEST: Invalid nexthop [ OK ] # 70.72 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 71.17 [+0.44] TEST: Multipath with multipath [ OK ] # 71.64 [+0.47] TEST: Multipath with single path [ OK ] # 72.11 [+0.47] TEST: Multipath with single path via multipath attribute [ OK ] # 72.61 [+0.50] TEST: Multipath with reject route [ OK ] # 73.11 [+0.50] TEST: Multipath - invalid first nexthop [ OK ] # 73.60 [+0.48] TEST: Multipath - invalid second nexthop [ OK ] # 73.98 [+0.38] TEST: Multipath - replace of non-existent route [ OK ] # 75.49 [+1.51] TEST: Cached route removed from VRF port device [ OK ] # 75.49 [+0.00] # 75.49 [+0.00] IPv4 route with dsfield tests # 75.67 [+0.17] TEST: Reject route with dsfield 0x01 [ OK ] # 75.76 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 75.84 [+0.08] TEST: Reject route with dsfield 0x03 [ OK ] # 76.09 [+0.25] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 76.18 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 76.25 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 76.32 [+0.07] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 76.41 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 76.50 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 76.60 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 76.69 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 76.77 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 76.85 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 76.93 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 77.02 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 78.61 [+1.59] # 78.61 [+0.00] IPv6 prefix route tests # 80.42 [+1.82] TEST: Default metric [ OK ] # 80.70 [+0.28] TEST: User specified metric on first device [ OK ] # 80.99 [+0.29] TEST: User specified metric on second device [ OK ] # 81.19 [+0.20] TEST: Delete of address on first device [ OK ] # 81.37 [+0.18] TEST: Modify metric of address [ OK ] # 81.68 [+0.32] TEST: Prefix route removed on link down [ OK ] # 81.89 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 82.18 [+0.30] TEST: Set metric with peer route on local side [ OK ] # 82.27 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 82.45 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 82.54 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 83.53 [+0.99] # 83.53 [+0.00] IPv4 prefix route tests # 85.49 [+1.96] TEST: Default metric [ OK ] # 85.78 [+0.29] TEST: User specified metric on first device [ OK ] # 86.07 [+0.29] TEST: User specified metric on second device [ OK ] # 86.26 [+0.20] TEST: Delete of address on first device [ OK ] # 86.46 [+0.19] TEST: Modify metric of address [ OK ] # 86.62 [+0.17] TEST: Prefix route removed on link down [ OK ] # 86.80 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 87.18 [+0.37] TEST: Modify metric of .0/24 address [ OK ] # 87.49 [+0.31] TEST: Set metric of address with peer route [ OK ] # 87.68 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 88.73 [+1.04] # 88.73 [+0.00] IPv6 routes with metrics # 93.33 [+4.61] TEST: Single path route with mtu metric [ OK ] # 93.60 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 93.87 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 94.05 [+0.19] TEST: MTU of second leg [ OK ] # 94.27 [+0.21] TEST: Multipath route with mtu metric [ OK ] # 94.48 [+0.21] TEST: Using route with mtu metric [ OK ] # 94.63 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.30 [+1.66] # 96.30 [+0.00] IPv4 route add / append tests # 100.62 [+4.32] TEST: Single path route with mtu metric [ OK ] # 100.79 [+0.17] TEST: Multipath route with mtu metric [ OK ] # 101.00 [+0.21] TEST: Using route with mtu metric [ OK ] # 101.16 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 102.82 [+1.66] # 102.82 [+0.00] IPv4 route with IPv6 gateway tests # 109.07 [+6.25] TEST: Single path route with IPv6 gateway [ OK ] # 109.29 [+0.21] TEST: Single path route with IPv6 gateway - ping [ OK ] # 109.38 [+0.09] TEST: Single path route delete [ OK ] # 109.55 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 109.73 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.82 [+0.09] TEST: Multipath route delete exact match [ OK ] # 109.90 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 110.11 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 110.20 [+0.09] TEST: Multipath route delete exact match [ OK ] # 111.84 [+1.64] # 111.84 [+0.00] IPv4 rp_filter tests # 117.51 [+5.67] TEST: rp_filter passes local packets [ OK ] # 117.65 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 118.36 [+0.71] # 118.36 [+0.00] IPv4 delete address route tests # 121.07 [+2.71] Regular FIB info # 121.22 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 121.30 [+0.08] TEST: Route in default VRF not removed [ OK ] # 121.61 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.67 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 121.68 [+0.00] Identical FIB info with different table ID # 121.84 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 121.92 [+0.09] TEST: Route in default VRF not removed [ OK ] # 122.24 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.32 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 122.32 [+0.00] Table ID 0 # 122.47 [+0.14] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.38 [+0.91] # 123.38 [+0.00] IPv6 delete address route tests # 127.81 [+4.43] Single device using src address # 127.98 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 127.99 [+0.00] Two devices with the same source address # 128.16 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.33 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 128.33 [+0.00] VRF with single device using src address # 128.48 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 128.48 [+0.00] VRF with two devices using src address # 128.64 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.81 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 128.81 [+0.00] src address and nexthop dev in same VRF # 128.98 [+0.16] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 129.07 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 129.39 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 129.48 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 129.48 [+0.00] src address and nexthop device in different VRF # 129.63 [+0.15] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 129.71 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 129.95 [+0.23] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 130.03 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 130.04 [+0.00] Table ID 0 # 130.20 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 130.20 [+0.00] Link local source route # 130.38 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.54 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 130.63 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.88 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 132.35 [+1.47] # 132.35 [+0.00] IPv4 mangling tests # 139.65 [+7.31] TEST: Connection with correct parameters [ OK ] # 139.82 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 140.75 [+0.93] TEST: Connection with correct parameters - mangling [ OK ] # 141.60 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 141.66 [+0.06] TEST: Connection check - server side [ OK ] # 143.58 [+1.92] # 143.58 [+0.00] IPv6 mangling tests # 150.85 [+7.27] TEST: Connection with correct parameters [ OK ] # 151.05 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 151.89 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 152.75 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 152.80 [+0.05] TEST: Connection check - server side [ OK ] # 154.80 [+2.00] # 154.80 [+0.00] IPv4 broadcast neighbour tests # 156.98 [+2.18] TEST: Resolved neighbour for broadcast address [ OK ] # 157.07 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 157.16 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 157.25 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 158.99 [+1.74] # 158.99 [+0.00] Fib6 garbage collection test # 172.12 [+13.13] TEST: ipv6 route garbage collection [ OK ] # 185.49 [+13.37] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 198.88 [+13.39] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 212.40 [+13.52] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 226.67 [+14.27] TEST: ipv6 route garbage collection (RA message) [ OK ] # 227.39 [+0.72] # 227.39 [+0.00] IPv4 multipath list receive tests # 243.92 [+16.54] TEST: Multipath route hit ratio (1.00) [ OK ] # 245.75 [+1.82] # 245.75 [+0.00] IPv6 multipath list receive tests # 262.04 [+16.29] TEST: Multipath route hit ratio (1.00) [ OK ] # 263.82 [+1.78] # 263.82 [+0.00] Tests passed: 229 # 263.82 [+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__->