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.26 [+0.83] Start point # 1.33 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.42 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.54 [+0.12] Nexthop device deleted # 1.61 [+0.07] TEST: IPv4 fibmatch - no route [ OK ] # 1.69 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.20 [+0.51] # 2.20 [+0.00] Multipath route test # 3.79 [+1.59] Start point # 3.88 [+0.09] TEST: IPv4 fibmatch [ OK ] # 3.97 [+0.09] TEST: IPv6 fibmatch [ OK ] # 4.08 [+0.12] One nexthop device deleted # 4.17 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.24 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 4.38 [+0.14] Second nexthop device deleted # 4.46 [+0.08] TEST: IPv6 - no route [ OK ] # 4.97 [+0.51] # 4.97 [+0.00] Single path, admin down # 6.10 [+1.13] Start point # 6.17 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.25 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.34 [+0.10] Route deleted on down # 6.42 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.50 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.92 [+0.42] # 6.92 [+0.00] Admin down multipath # 8.61 [+1.69] Verify start point # 8.70 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.78 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.86 [+0.08] One device down, one up # 8.93 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 9.02 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 9.10 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.18 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.28 [+0.10] TEST: IPv4 flags on down device [ OK ] # 9.36 [+0.08] TEST: IPv6 flags on down device [ OK ] # 9.46 [+0.10] TEST: IPv4 flags on up device [ OK ] # 9.56 [+0.10] TEST: IPv6 flags on up device [ OK ] # 9.72 [+0.16] Other device down and up # 9.80 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.89 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 9.96 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 10.04 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.14 [+0.10] TEST: IPv4 flags on down device [ OK ] # 10.24 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.33 [+0.09] TEST: IPv4 flags on up device [ OK ] # 10.43 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.51 [+0.08] Both devices down # 10.60 [+0.09] TEST: IPv4 fibmatch [ OK ] # 10.68 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.24 [+0.56] # 11.24 [+0.00] Local carrier tests - single path # 12.45 [+1.22] Start point # 12.53 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.62 [+0.09] TEST: IPv6 fibmatch [ OK ] # 12.68 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 12.76 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 13.89 [+1.12] Carrier off on nexthop # 13.97 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.05 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.14 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 14.21 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 14.37 [+0.16] Route to local address with carrier down # 14.44 [+0.07] TEST: IPv4 fibmatch [ OK ] # 14.52 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.60 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 14.67 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 15.05 [+0.38] # 15.05 [+0.00] Single path route carrier test # 16.23 [+1.17] Start point # 16.30 [+0.07] TEST: IPv4 fibmatch [ OK ] # 16.38 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.46 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 16.54 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 17.67 [+1.13] Carrier down # 17.76 [+0.09] TEST: IPv4 fibmatch [ OK ] # 17.84 [+0.08] TEST: IPv6 fibmatch [ OK ] # 17.92 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 17.99 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 18.15 [+0.16] Second address added with carrier down # 18.25 [+0.10] TEST: IPv4 fibmatch [ OK ] # 18.35 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.42 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 18.51 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 22.90 [+4.39] # 22.90 [+0.00] IPv4 nexthop tests # 22.90 [+0.00] <<< write me >>> # 23.13 [+0.23] # 23.13 [+0.00] IPv6 nexthop tests # 23.23 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 23.31 [+0.08] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.43 [+0.12] TEST: Gateway is linklocal address [ OK ] # 23.54 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 23.63 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 23.71 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 23.80 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 23.90 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 23.98 [+0.08] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.08 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.18 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 24.29 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.39 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 24.47 [+0.08] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 25.43 [+0.96] # 25.44 [+0.00] FIB rule with suppress_prefixlength # 27.85 [+2.41] TEST: FIB rule suppress test [ OK ] # 29.65 [+1.80] # 29.65 [+0.00] Fib6 info length calculation in route notify test # 33.83 [+4.18] TEST: ipv6 route add notify [ OK ] # 36.07 [+2.24] # 36.07 [+0.00] Fib4 info length calculation in route notify test # 40.37 [+4.31] TEST: ipv4 route add notify [ OK ] # 45.11 [+4.73] # 45.11 [+0.00] IPv6 route add / append tests # 45.47 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 45.90 [+0.44] TEST: Attempt to add duplicate route - dev only [ OK ] # 46.33 [+0.43] TEST: Attempt to add duplicate route - reject route [ OK ] # 47.01 [+0.68] TEST: Append nexthop to existing route - gw [ OK ] # 47.42 [+0.41] TEST: Add multipath route [ OK ] # 47.79 [+0.37] TEST: Attempt to add duplicate multipath route [ OK ] # 48.22 [+0.43] TEST: Route add with different metrics [ OK ] # 48.40 [+0.18] TEST: Route delete with metric [ OK ] # 48.40 [+0.00] # 48.40 [+0.00] IPv6 route replace tests # 48.91 [+0.50] TEST: Single path with single path [ OK ] # 49.49 [+0.58] TEST: Single path with multipath [ OK ] # 50.08 [+0.59] TEST: Single path with single path via multipath attribute [ OK ] # 50.55 [+0.46] TEST: Invalid nexthop [ OK ] # 50.91 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 51.37 [+0.46] TEST: Multipath with multipath [ OK ] # 51.81 [+0.44] TEST: Multipath with single path [ OK ] # 52.38 [+0.57] TEST: Multipath with single path via multipath attribute [ OK ] # 52.96 [+0.58] TEST: Multipath with dev-only [ OK ] # 53.43 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 53.90 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 54.36 [+0.46] TEST: Multipath - replace of non-existent route [ OK ] # 54.36 [+0.00] # 54.36 [+0.00] IPv6 route with dsfield tests # 54.59 [+0.23] TEST: Reject route with dsfield [ OK ] # 61.44 [+6.85] # 61.44 [+0.00] IPv4 route add / append tests # 61.83 [+0.39] TEST: Attempt to add duplicate route - gw [ OK ] # 62.20 [+0.37] TEST: Attempt to add duplicate route - dev only [ OK ] # 62.57 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 63.05 [+0.49] TEST: Add new nexthop for existing prefix [ OK ] # 63.57 [+0.52] TEST: Append nexthop to existing route - gw [ OK ] # 64.08 [+0.51] TEST: Append nexthop to existing route - dev only [ OK ] # 64.51 [+0.43] TEST: Append nexthop to existing route - reject route [ OK ] # 64.88 [+0.37] TEST: Append nexthop to existing reject route - gw [ OK ] # 65.25 [+0.37] TEST: Append nexthop to existing reject route - dev only [ OK ] # 65.60 [+0.34] TEST: add multipath route [ OK ] # 66.01 [+0.41] TEST: Attempt to add duplicate multipath route [ OK ] # 66.52 [+0.51] TEST: Route add with different metrics [ OK ] # 66.71 [+0.19] TEST: Route delete with metric [ OK ] # 66.71 [+0.00] # 66.71 [+0.00] IPv4 route replace tests # 67.17 [+0.46] TEST: Single path with single path [ OK ] # 67.65 [+0.48] TEST: Single path with multipath [ OK ] # 68.10 [+0.45] TEST: Single path with reject route [ OK ] # 68.58 [+0.48] TEST: Single path with single path via multipath attribute [ OK ] # 69.09 [+0.51] TEST: Invalid nexthop [ OK ] # 69.50 [+0.41] TEST: Single path - replace of non-existent route [ OK ] # 70.04 [+0.54] TEST: Multipath with multipath [ OK ] # 70.52 [+0.48] TEST: Multipath with single path [ OK ] # 70.98 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 71.43 [+0.45] TEST: Multipath with reject route [ OK ] # 71.88 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 72.33 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 72.68 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 74.30 [+1.62] TEST: Cached route removed from VRF port device [ OK ] # 74.30 [+0.00] # 74.30 [+0.00] IPv4 route with dsfield tests # 74.48 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 74.57 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 74.67 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 74.94 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 75.02 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 75.10 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 75.20 [+0.10] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 75.29 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 75.37 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 75.47 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 75.56 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 75.65 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 75.73 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 75.83 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 75.94 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 77.76 [+1.82] # 77.76 [+0.00] IPv6 prefix route tests # 79.85 [+2.09] TEST: Default metric [ OK ] # 80.13 [+0.28] TEST: User specified metric on first device [FAIL] # 80.47 [+0.34] TEST: User specified metric on second device [FAIL] # 80.70 [+0.23] TEST: Delete of address on first device [FAIL] # 80.92 [+0.22] TEST: Modify metric of address [FAIL] # 81.31 [+0.40] TEST: Prefix route removed on link down [FAIL] # 81.56 [+0.25] TEST: Prefix route with metric on link up [FAIL] # 81.89 [+0.33] TEST: Set metric with peer route on local side [FAIL] # 82.00 [+0.11] TEST: Set metric with peer route on peer side [FAIL] # 82.23 [+0.23] TEST: Modify metric and peer address on local side [FAIL] # 82.35 [+0.11] TEST: Modify metric and peer address on peer side [FAIL] # 83.44 [+1.09] # 83.44 [+0.00] IPv4 prefix route tests # 85.37 [+1.93] TEST: Default metric [ OK ] # 85.72 [+0.35] TEST: User specified metric on first device [ OK ] # 86.05 [+0.33] TEST: User specified metric on second device [ OK ] # 86.26 [+0.21] TEST: Delete of address on first device [ OK ] # 86.49 [+0.23] TEST: Modify metric of address [ OK ] # 86.70 [+0.21] TEST: Prefix route removed on link down [ OK ] # 86.94 [+0.24] TEST: Prefix route with metric on link up [ OK ] # 87.37 [+0.43] TEST: Modify metric of .0/24 address [ OK ] # 87.67 [+0.31] TEST: Set metric of address with peer route [ OK ] # 87.86 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 88.82 [+0.96] # 88.82 [+0.00] IPv6 routes with metrics # 93.75 [+4.92] TEST: Single path route with mtu metric [ OK ] # 94.08 [+0.33] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 94.40 [+0.32] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 94.62 [+0.23] TEST: MTU of second leg [ OK ] # 94.86 [+0.23] TEST: Multipath route with mtu metric [ OK ] # 95.12 [+0.26] TEST: Using route with mtu metric [ OK ] # 95.30 [+0.18] TEST: Invalid metric (fails metric_convert) [ OK ] # 97.11 [+1.81] # 97.11 [+0.00] IPv4 route add / append tests # 102.02 [+4.91] TEST: Single path route with mtu metric [ OK ] # 102.21 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 102.43 [+0.23] TEST: Using route with mtu metric [ OK ] # 102.59 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 104.40 [+1.82] # 104.40 [+0.00] IPv4 route with IPv6 gateway tests # 111.20 [+6.79] TEST: Single path route with IPv6 gateway [ OK ] # 111.48 [+0.28] TEST: Single path route with IPv6 gateway - ping [ OK ] # 111.57 [+0.09] TEST: Single path route delete [ OK ] # 111.75 [+0.19] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 111.94 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 112.04 [+0.10] TEST: Multipath route delete exact match [ OK ] # 112.14 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 112.32 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 112.41 [+0.09] TEST: Multipath route delete exact match [ OK ] # 114.16 [+1.75] # 114.16 [+0.00] IPv4 rp_filter tests # 120.51 [+6.35] TEST: rp_filter passes local packets [ OK ] # 120.68 [+0.17] TEST: rp_filter passes loopback packets [ OK ] # 121.49 [+0.81] # 121.49 [+0.00] IPv4 delete address route tests # 124.54 [+3.04] Regular FIB info # 124.75 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 124.87 [+0.12] TEST: Route in default VRF not removed [ OK ] # 125.26 [+0.39] TEST: Route removed in default VRF when source address deleted [ OK ] # 125.34 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 125.34 [+0.00] Identical FIB info with different table ID # 125.53 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 125.61 [+0.08] TEST: Route in default VRF not removed [ OK ] # 125.94 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 126.04 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 126.05 [+0.00] Table ID 0 # 126.20 [+0.16] TEST: Route removed in default VRF when source address deleted [ OK ] # 127.17 [+0.97] # 127.17 [+0.00] IPv6 delete address route tests # 131.84 [+4.67] Single device using src address # 132.03 [+0.19] TEST: Prefsrc removed when src address removed on other device [ OK ] # 132.04 [+0.00] Two devices with the same source address # 132.21 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 132.37 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 132.38 [+0.00] VRF with single device using src address # 132.55 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 132.55 [+0.00] VRF with two devices using src address # 132.71 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 132.87 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 132.87 [+0.00] src address and nexthop dev in same VRF # 133.05 [+0.18] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 133.15 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 133.47 [+0.33] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 133.55 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 133.55 [+0.00] src address and nexthop device in different VRF # 133.72 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 133.81 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 134.06 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 134.13 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 134.14 [+0.00] Table ID 0 # 134.33 [+0.20] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 134.33 [+0.00] Link local source route # 134.49 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 134.67 [+0.19] TEST: Prefsrc removed when delete ll addr [ OK ] # 134.78 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 135.02 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 136.54 [+1.52] # 136.54 [+0.00] IPv4 mangling tests # 144.12 [+7.58] TEST: Connection with correct parameters [ OK ] # 144.30 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 145.29 [+0.99] TEST: Connection with correct parameters - mangling [ OK ] # 146.15 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 146.20 [+0.05] TEST: Connection check - server side [ OK ] # 148.20 [+2.00] # 148.20 [+0.00] IPv6 mangling tests # 155.79 [+7.59] TEST: Connection with correct parameters [ OK ] # 156.01 [+0.22] TEST: Connection with incorrect parameters [ OK ] # 156.87 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 157.74 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 157.81 [+0.07] TEST: Connection check - server side [ OK ] # 159.88 [+2.07] # 159.88 [+0.00] IPv4 broadcast neighbour tests # 162.03 [+2.15] TEST: Resolved neighbour for broadcast address [ OK ] # 162.12 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 162.22 [+0.11] TEST: Unresolved neighbour for broadcast address [ OK ] # 162.31 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 164.15 [+1.85] # 164.15 [+0.00] Fib6 garbage collection test # 177.34 [+13.19] TEST: ipv6 route garbage collection [ OK ] # 190.72 [+13.38] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 204.21 [+13.49] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 217.81 [+13.60] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 232.28 [+14.47] TEST: ipv6 route garbage collection (RA message) [ OK ] # 233.05 [+0.77] # 233.05 [+0.00] IPv4 multipath list receive tests # 251.87 [+18.82] TEST: Multipath route hit ratio (1.00) [ OK ] # 253.76 [+1.89] # 253.76 [+0.00] IPv6 multipath list receive tests # 271.00 [+17.24] TEST: Multipath route hit ratio (1.00) [ OK ] # 273.33 [+2.33] # 273.33 [+0.00] Tests passed: 219 # 273.33 [+0.00] Tests failed: 10 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__->