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.42 [+0.42] # 0.42 [+0.00] Single path route test # 1.32 [+0.89] Start point # 1.40 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.47 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.63 [+0.15] Nexthop device deleted # 1.71 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.79 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.41 [+0.62] # 2.41 [+0.00] Multipath route test # 4.03 [+1.62] Start point # 4.12 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.20 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.31 [+0.11] One nexthop device deleted # 4.40 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.48 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.60 [+0.12] Second nexthop device deleted # 4.67 [+0.08] TEST: IPv6 - no route [ OK ] # 5.18 [+0.50] # 5.18 [+0.00] Single path, admin down # 6.28 [+1.10] Start point # 6.35 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.44 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.51 [+0.08] Route deleted on down # 6.59 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.68 [+0.09] TEST: IPv6 fibmatch [ OK ] # 7.09 [+0.41] # 7.09 [+0.00] Admin down multipath # 8.74 [+1.65] Verify start point # 8.83 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.91 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.99 [+0.09] One device down, one up # 9.07 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.16 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 9.24 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.32 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 9.43 [+0.11] TEST: IPv4 flags on down device [ OK ] # 9.51 [+0.08] TEST: IPv6 flags on down device [ OK ] # 9.65 [+0.14] TEST: IPv4 flags on up device [ OK ] # 9.75 [+0.10] TEST: IPv6 flags on up device [ OK ] # 9.92 [+0.17] Other device down and up # 10.00 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.09 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.17 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.26 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 10.35 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.44 [+0.09] TEST: IPv6 flags on down device [ OK ] # 10.52 [+0.08] TEST: IPv4 flags on up device [ OK ] # 10.60 [+0.08] TEST: IPv6 flags on up device [ OK ] # 10.69 [+0.09] Both devices down # 10.77 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.85 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.37 [+0.52] # 11.37 [+0.00] Local carrier tests - single path # 12.62 [+1.25] Start point # 12.71 [+0.09] TEST: IPv4 fibmatch [ OK ] # 12.79 [+0.09] TEST: IPv6 fibmatch [ OK ] # 12.88 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 12.96 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 14.10 [+1.13] Carrier off on nexthop # 14.20 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.29 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.40 [+0.11] TEST: IPv4 - linkdown flag set [ OK ] # 14.51 [+0.11] TEST: IPv6 - linkdown flag set [ OK ] # 14.66 [+0.16] Route to local address with carrier down # 14.75 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.82 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.92 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 15.00 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 15.43 [+0.43] # 15.43 [+0.00] Single path route carrier test # 16.65 [+1.23] Start point # 16.73 [+0.07] TEST: IPv4 fibmatch [ OK ] # 16.82 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.91 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 17.00 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 18.12 [+1.12] Carrier down # 18.20 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.29 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.39 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 18.47 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 18.64 [+0.17] Second address added with carrier down # 18.72 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.80 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.88 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.96 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 23.46 [+4.50] # 23.46 [+0.00] IPv4 nexthop tests # 23.46 [+0.00] <<< write me >>> # 23.78 [+0.32] # 23.78 [+0.00] IPv6 nexthop tests # 23.90 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 24.01 [+0.11] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.14 [+0.13] TEST: Gateway is linklocal address [ OK ] # 24.24 [+0.11] TEST: Gateway is linklocal address, no device [ OK ] # 24.34 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 24.44 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 24.53 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 24.63 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 24.72 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.81 [+0.08] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.90 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 25.03 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.14 [+0.11] TEST: VRF route, gateway can not be a local address [ OK ] # 25.23 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.32 [+1.08] # 26.32 [+0.00] FIB rule with suppress_prefixlength # 28.52 [+2.20] TEST: FIB rule suppress test [ OK ] # 30.44 [+1.92] # 30.44 [+0.00] Fib6 info length calculation in route notify test # 34.97 [+4.53] TEST: ipv6 route add notify [ OK ] # 37.01 [+2.05] # 37.01 [+0.00] Fib4 info length calculation in route notify test # 41.81 [+4.80] TEST: ipv4 route add notify [ OK ] # 48.29 [+6.48] # 48.29 [+0.00] IPv6 route add / append tests # 48.78 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 49.27 [+0.49] TEST: Attempt to add duplicate route - dev only [ OK ] # 49.73 [+0.45] TEST: Attempt to add duplicate route - reject route [ OK ] # 50.31 [+0.59] TEST: Append nexthop to existing route - gw [ OK ] # 50.80 [+0.49] TEST: Add multipath route [ OK ] # 51.28 [+0.48] TEST: Attempt to add duplicate multipath route [ OK ] # 51.81 [+0.53] TEST: Route add with different metrics [ OK ] # 52.03 [+0.22] TEST: Route delete with metric [ OK ] # 52.03 [+0.00] # 52.03 [+0.00] IPv6 route replace tests # 52.53 [+0.50] TEST: Single path with single path [ OK ] # 53.07 [+0.53] TEST: Single path with multipath [ OK ] # 53.54 [+0.47] TEST: Single path with single path via multipath attribute [ OK ] # 54.03 [+0.49] TEST: Invalid nexthop [ OK ] # 54.44 [+0.40] TEST: Single path - replace of non-existent route [ OK ] # 54.94 [+0.51] TEST: Multipath with multipath [ OK ] # 55.41 [+0.47] TEST: Multipath with single path [ OK ] # 55.91 [+0.50] TEST: Multipath with single path via multipath attribute [ OK ] # 56.38 [+0.47] TEST: Multipath with dev-only [ OK ] # 56.86 [+0.48] TEST: Multipath - invalid first nexthop [ OK ] # 57.34 [+0.48] TEST: Multipath - invalid second nexthop [ OK ] # 57.72 [+0.38] TEST: Multipath - replace of non-existent route [ OK ] # 57.72 [+0.00] # 57.72 [+0.00] IPv6 route with dsfield tests # 57.92 [+0.20] TEST: Reject route with dsfield [ OK ] # 64.08 [+6.16] # 64.08 [+0.00] IPv4 route add / append tests # 64.43 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 64.78 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 65.15 [+0.38] TEST: Attempt to add duplicate route - reject route [ OK ] # 65.59 [+0.44] TEST: Add new nexthop for existing prefix [ OK ] # 66.06 [+0.46] TEST: Append nexthop to existing route - gw [ OK ] # 66.51 [+0.46] TEST: Append nexthop to existing route - dev only [ OK ] # 66.96 [+0.45] TEST: Append nexthop to existing route - reject route [ OK ] # 67.33 [+0.37] TEST: Append nexthop to existing reject route - gw [ OK ] # 67.71 [+0.37] TEST: Append nexthop to existing reject route - dev only [ OK ] # 68.06 [+0.35] TEST: add multipath route [ OK ] # 68.41 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 68.85 [+0.44] TEST: Route add with different metrics [ OK ] # 69.03 [+0.18] TEST: Route delete with metric [ OK ] # 69.04 [+0.00] # 69.04 [+0.00] IPv4 route replace tests # 69.48 [+0.45] TEST: Single path with single path [ OK ] # 69.94 [+0.46] TEST: Single path with multipath [ OK ] # 70.38 [+0.44] TEST: Single path with reject route [ OK ] # 70.82 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 71.27 [+0.45] TEST: Invalid nexthop [ OK ] # 71.62 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 72.05 [+0.43] TEST: Multipath with multipath [ OK ] # 72.50 [+0.45] TEST: Multipath with single path [ OK ] # 72.94 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 73.38 [+0.43] TEST: Multipath with reject route [ OK ] # 73.82 [+0.44] TEST: Multipath - invalid first nexthop [ OK ] # 74.24 [+0.42] TEST: Multipath - invalid second nexthop [ OK ] # 74.59 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 75.96 [+1.37] TEST: Cached route removed from VRF port device [ OK ] # 75.97 [+0.00] # 75.97 [+0.00] IPv4 route with dsfield tests # 76.14 [+0.17] TEST: Reject route with dsfield 0x01 [ OK ] # 76.23 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 76.32 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 76.58 [+0.26] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 76.68 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 76.76 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 76.85 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 76.92 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 77.01 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 77.11 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 77.19 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 77.27 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 77.36 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 77.44 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 77.51 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 79.17 [+1.66] # 79.17 [+0.00] IPv6 prefix route tests # 80.97 [+1.80] TEST: Default metric [ OK ] # 81.25 [+0.28] TEST: User specified metric on first device [ OK ] # 81.54 [+0.29] TEST: User specified metric on second device [ OK ] # 81.73 [+0.18] TEST: Delete of address on first device [ OK ] # 81.90 [+0.17] TEST: Modify metric of address [ OK ] # 82.19 [+0.29] TEST: Prefix route removed on link down [ OK ] # 82.37 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 82.66 [+0.29] TEST: Set metric with peer route on local side [ OK ] # 82.76 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 82.94 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 83.05 [+0.11] TEST: Modify metric and peer address on peer side [ OK ] # 84.09 [+1.04] # 84.09 [+0.00] IPv4 prefix route tests # 85.92 [+1.83] TEST: Default metric [ OK ] # 86.20 [+0.28] TEST: User specified metric on first device [ OK ] # 86.49 [+0.29] TEST: User specified metric on second device [ OK ] # 86.69 [+0.20] TEST: Delete of address on first device [ OK ] # 86.86 [+0.17] TEST: Modify metric of address [ OK ] # 87.05 [+0.19] TEST: Prefix route removed on link down [ OK ] # 87.24 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 87.61 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 87.88 [+0.27] TEST: Set metric of address with peer route [ OK ] # 88.06 [+0.18] TEST: Modify metric and peer address for peer route [ OK ] # 88.97 [+0.91] # 88.97 [+0.00] IPv6 routes with metrics # 93.32 [+4.35] TEST: Single path route with mtu metric [ OK ] # 93.59 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 93.86 [+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.23 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 94.45 [+0.22] TEST: Using route with mtu metric [ OK ] # 94.62 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.26 [+1.64] # 96.26 [+0.00] IPv4 route add / append tests # 100.58 [+4.32] TEST: Single path route with mtu metric [ OK ] # 100.77 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 100.99 [+0.22] TEST: Using route with mtu metric [ OK ] # 101.15 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 102.80 [+1.65] # 102.80 [+0.00] IPv4 route with IPv6 gateway tests # 109.10 [+6.29] TEST: Single path route with IPv6 gateway [ OK ] # 109.33 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 109.41 [+0.08] TEST: Single path route delete [ OK ] # 109.59 [+0.18] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 109.77 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.86 [+0.10] TEST: Multipath route delete exact match [ OK ] # 109.95 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 110.14 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 110.24 [+0.10] TEST: Multipath route delete exact match [ OK ] # 111.93 [+1.69] # 111.93 [+0.00] IPv4 rp_filter tests # 117.72 [+5.80] TEST: rp_filter passes local packets [ OK ] # 117.86 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 118.61 [+0.76] # 118.61 [+0.00] IPv4 delete address route tests # 121.28 [+2.67] Regular FIB info # 121.43 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 121.49 [+0.07] TEST: Route in default VRF not removed [ OK ] # 121.80 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.90 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 121.90 [+0.00] Identical FIB info with different table ID # 122.05 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 122.11 [+0.07] TEST: Route in default VRF not removed [ OK ] # 122.45 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.54 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 122.54 [+0.00] Table ID 0 # 122.68 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.63 [+0.95] # 123.63 [+0.00] IPv6 delete address route tests # 128.15 [+4.52] Single device using src address # 128.32 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 128.32 [+0.00] Two devices with the same source address # 128.48 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.63 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 128.63 [+0.00] VRF with single device using src address # 128.80 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 128.80 [+0.00] VRF with two devices using src address # 128.97 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 129.15 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 129.15 [+0.00] src address and nexthop dev in same VRF # 129.30 [+0.16] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 129.39 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 129.70 [+0.31] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 129.78 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 129.78 [+0.00] src address and nexthop device in different VRF # 129.95 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 130.04 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 130.28 [+0.24] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 130.36 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 130.36 [+0.00] Table ID 0 # 130.53 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 130.53 [+0.00] Link local source route # 130.70 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.86 [+0.15] TEST: Prefsrc removed when delete ll addr [ OK ] # 130.96 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 131.20 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 132.61 [+1.42] # 132.61 [+0.00] IPv4 mangling tests # 140.09 [+7.47] TEST: Connection with correct parameters [ OK ] # 140.26 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 141.25 [+0.99] TEST: Connection with correct parameters - mangling [ OK ] # 142.07 [+0.83] TEST: Connection with correct parameters - no mangling [ OK ] # 142.13 [+0.06] TEST: Connection check - server side [ OK ] # 144.05 [+1.92] # 144.05 [+0.00] IPv6 mangling tests # 151.35 [+7.29] TEST: Connection with correct parameters [ OK ] # 151.54 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 152.38 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 153.25 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 153.31 [+0.06] TEST: Connection check - server side [ OK ] # 155.24 [+1.93] # 155.24 [+0.00] IPv4 broadcast neighbour tests # 157.43 [+2.19] TEST: Resolved neighbour for broadcast address [ OK ] # 157.52 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 157.62 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 157.71 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 159.54 [+1.83] # 159.54 [+0.00] Fib6 garbage collection test # 172.71 [+13.17] TEST: ipv6 route garbage collection [ OK ] # 186.10 [+13.39] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 199.47 [+13.37] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 212.93 [+13.46] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 227.20 [+14.27] TEST: ipv6 route garbage collection (RA message) [ OK ] # 227.86 [+0.66] # 227.86 [+0.00] IPv4 multipath list receive tests # 244.19 [+16.34] TEST: Multipath route hit ratio (1.00) [ OK ] # 245.97 [+1.78] # 245.97 [+0.00] IPv6 multipath list receive tests # 262.11 [+16.14] TEST: Multipath route hit ratio (1.00) [ OK ] # 263.93 [+1.82] # 263.93 [+0.00] Tests passed: 229 # 263.93 [+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__->