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 # 1.02 [+1.02] # 1.02 [+0.00] Single path route test # 2.93 [+1.91] Start point # 3.09 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.25 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.47 [+0.22] Nexthop device deleted # 3.62 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.79 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.78 [+0.99] # 4.78 [+0.00] Multipath route test # 8.08 [+3.29] Start point # 8.24 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.39 [+0.15] TEST: IPv6 fibmatch [ OK ] # 8.59 [+0.20] One nexthop device deleted # 8.74 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.90 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.12 [+0.21] Second nexthop device deleted # 9.27 [+0.15] TEST: IPv6 - no route [ OK ] # 10.25 [+0.98] # 10.25 [+0.00] Single path, admin down # 12.55 [+2.30] Start point # 12.70 [+0.16] TEST: IPv4 fibmatch [ OK ] # 12.86 [+0.15] TEST: IPv6 fibmatch [ OK ] # 13.02 [+0.16] Route deleted on down # 13.17 [+0.15] TEST: IPv4 fibmatch [ OK ] # 13.33 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.11 [+0.77] # 14.11 [+0.00] Admin down multipath # 17.38 [+3.27] Verify start point # 17.54 [+0.16] TEST: IPv4 fibmatch [ OK ] # 17.69 [+0.15] TEST: IPv6 fibmatch [ OK ] # 17.86 [+0.17] One device down, one up # 18.01 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.17 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.33 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.50 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 18.63 [+0.12] TEST: IPv4 flags on down device [ OK ] # 18.77 [+0.14] TEST: IPv6 flags on down device [ OK ] # 18.91 [+0.15] TEST: IPv4 flags on up device [ OK ] # 19.04 [+0.13] TEST: IPv6 flags on up device [ OK ] # 19.37 [+0.32] Other device down and up # 19.52 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 19.66 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 19.82 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.98 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.13 [+0.14] TEST: IPv4 flags on down device [ OK ] # 20.31 [+0.18] TEST: IPv6 flags on down device [ OK ] # 20.43 [+0.12] TEST: IPv4 flags on up device [ OK ] # 20.56 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.72 [+0.16] Both devices down # 20.88 [+0.16] TEST: IPv4 fibmatch [ OK ] # 21.03 [+0.15] TEST: IPv6 fibmatch [ OK ] # 21.99 [+0.96] # 21.99 [+0.00] Local carrier tests - single path # 24.39 [+2.40] Start point # 24.55 [+0.17] TEST: IPv4 fibmatch [ OK ] # 24.71 [+0.16] TEST: IPv6 fibmatch [ OK ] # 24.84 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 24.97 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 26.24 [+1.27] Carrier off on nexthop # 26.39 [+0.15] TEST: IPv4 fibmatch [ OK ] # 26.55 [+0.16] TEST: IPv6 fibmatch [ OK ] # 26.71 [+0.16] TEST: IPv4 - linkdown flag set [ OK ] # 26.85 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 27.16 [+0.31] Route to local address with carrier down # 27.32 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.49 [+0.16] TEST: IPv6 fibmatch [ OK ] # 27.60 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 27.74 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 28.52 [+0.77] # 28.52 [+0.00] Single path route carrier test # 30.94 [+2.42] Start point # 31.09 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.25 [+0.16] TEST: IPv6 fibmatch [ OK ] # 31.39 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 31.52 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 32.77 [+1.26] Carrier down # 32.93 [+0.15] TEST: IPv4 fibmatch [ OK ] # 33.08 [+0.15] TEST: IPv6 fibmatch [ OK ] # 33.21 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 33.35 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 33.65 [+0.31] Second address added with carrier down # 33.80 [+0.15] TEST: IPv4 fibmatch [ OK ] # 33.97 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.09 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 34.22 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 41.39 [+7.17] # 41.39 [+0.00] IPv4 nexthop tests # 41.40 [+0.00] <<< write me >>> # 41.71 [+0.32] # 41.71 [+0.00] IPv6 nexthop tests # 41.88 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 42.05 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 42.21 [+0.17] TEST: Gateway is linklocal address [ OK ] # 42.39 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 42.57 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 42.73 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 42.89 [+0.16] TEST: Gateway can not be a local linklocal address [ OK ] # 43.06 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 43.24 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 43.41 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 43.57 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 43.74 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 43.90 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 44.07 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 45.57 [+1.50] # 45.57 [+0.00] FIB rule with suppress_prefixlength # 48.93 [+3.36] TEST: FIB rule suppress test [ OK ] # 51.94 [+3.01] # 51.94 [+0.00] Fib6 info length calculation in route notify test # 57.58 [+5.64] TEST: ipv6 route add notify [ OK ] # 60.58 [+3.00] # 60.58 [+0.00] Fib4 info length calculation in route notify test # 66.27 [+5.69] TEST: ipv4 route add notify [ OK ] # 74.69 [+8.42] # 74.69 [+0.00] IPv6 route add / append tests # 75.36 [+0.67] TEST: Attempt to add duplicate route - gw [ OK ] # 76.00 [+0.64] TEST: Attempt to add duplicate route - dev only [ OK ] # 76.65 [+0.65] TEST: Attempt to add duplicate route - reject route [ OK ] # 77.46 [+0.81] TEST: Append nexthop to existing route - gw [ OK ] # 78.10 [+0.64] TEST: Add multipath route [ OK ] # 78.74 [+0.64] TEST: Attempt to add duplicate multipath route [ OK ] # 79.57 [+0.83] TEST: Route add with different metrics [ OK ] # 79.88 [+0.30] TEST: Route delete with metric [ OK ] # 79.88 [+0.00] # 79.88 [+0.00] IPv6 route replace tests # 80.71 [+0.83] TEST: Single path with single path [ OK ] # 81.52 [+0.81] TEST: Single path with multipath [ OK ] # 82.32 [+0.80] TEST: Single path with single path via multipath attribute [ OK ] # 83.10 [+0.77] TEST: Invalid nexthop [ OK ] # 83.74 [+0.64] TEST: Single path - replace of non-existent route [ OK ] # 84.57 [+0.83] TEST: Multipath with multipath [ OK ] # 85.37 [+0.81] TEST: Multipath with single path [ OK ] # 86.18 [+0.81] TEST: Multipath with single path via multipath attribute [ OK ] # 87.02 [+0.83] TEST: Multipath with dev-only [ OK ] # 87.86 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 88.68 [+0.82] TEST: Multipath - invalid second nexthop [ OK ] # 89.32 [+0.64] TEST: Multipath - replace of non-existent route [ OK ] # 89.32 [+0.00] # 89.32 [+0.00] IPv6 route with dsfield tests # 89.65 [+0.33] TEST: Reject route with dsfield [ OK ] # 101.20 [+11.55] # 101.20 [+0.00] IPv4 route add / append tests # 101.88 [+0.68] TEST: Attempt to add duplicate route - gw [ OK ] # 102.54 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 103.21 [+0.67] TEST: Attempt to add duplicate route - reject route [ OK ] # 104.07 [+0.86] TEST: Add new nexthop for existing prefix [ OK ] # 104.94 [+0.87] TEST: Append nexthop to existing route - gw [ OK ] # 105.82 [+0.88] TEST: Append nexthop to existing route - dev only [ OK ] # 106.70 [+0.89] TEST: Append nexthop to existing route - reject route [ OK ] # 107.42 [+0.71] TEST: Append nexthop to existing reject route - gw [ OK ] # 108.08 [+0.66] TEST: Append nexthop to existing reject route - dev only [ OK ] # 108.76 [+0.68] TEST: add multipath route [ OK ] # 109.43 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 110.24 [+0.81] TEST: Route add with different metrics [ OK ] # 110.58 [+0.35] TEST: Route delete with metric [ OK ] # 110.59 [+0.00] # 110.59 [+0.00] IPv4 route replace tests # 111.48 [+0.89] TEST: Single path with single path [ OK ] # 112.32 [+0.85] TEST: Single path with multipath [ OK ] # 113.23 [+0.91] TEST: Single path with reject route [ OK ] # 114.15 [+0.91] TEST: Single path with single path via multipath attribute [ OK ] # 115.02 [+0.87] TEST: Invalid nexthop [ OK ] # 115.73 [+0.71] TEST: Single path - replace of non-existent route [ OK ] # 116.58 [+0.85] TEST: Multipath with multipath [ OK ] # 117.46 [+0.88] TEST: Multipath with single path [ OK ] # 118.37 [+0.91] TEST: Multipath with single path via multipath attribute [ OK ] # 119.26 [+0.89] TEST: Multipath with reject route [ OK ] # 120.12 [+0.86] TEST: Multipath - invalid first nexthop [ OK ] # 120.99 [+0.88] TEST: Multipath - invalid second nexthop [ OK ] # 121.69 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 124.06 [+2.38] TEST: Cached route removed from VRF port device [ OK ] # 124.07 [+0.00] # 124.07 [+0.00] IPv4 route with dsfield tests # 124.39 [+0.33] TEST: Reject route with dsfield 0x01 [ OK ] # 124.56 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 124.73 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 125.22 [+0.49] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 125.36 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 125.50 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 125.64 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 125.77 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 125.91 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 126.05 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 126.17 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 126.31 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 126.44 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 126.58 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 126.71 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 129.61 [+2.91] # 129.61 [+0.00] IPv6 prefix route tests # 133.27 [+3.66] TEST: Default metric [ OK ] # 133.77 [+0.50] TEST: User specified metric on first device [ OK ] # 134.27 [+0.50] TEST: User specified metric on second device [ OK ] # 134.63 [+0.36] TEST: Delete of address on first device [ OK ] # 134.96 [+0.33] TEST: Modify metric of address [ OK ] # 135.59 [+0.62] TEST: Prefix route removed on link down [ OK ] # 135.92 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 136.42 [+0.50] TEST: Set metric with peer route on local side [ OK ] # 136.60 [+0.18] TEST: Set metric with peer route on peer side [ OK ] # 136.92 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 137.06 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 138.84 [+1.79] # 138.84 [+0.00] IPv4 prefix route tests # 142.47 [+3.63] TEST: Default metric [ OK ] # 143.05 [+0.57] TEST: User specified metric on first device [ OK ] # 143.53 [+0.49] TEST: User specified metric on second device [ OK ] # 143.87 [+0.34] TEST: Delete of address on first device [ OK ] # 144.19 [+0.32] TEST: Modify metric of address [ OK ] # 144.51 [+0.32] TEST: Prefix route removed on link down [ OK ] # 144.86 [+0.35] TEST: Prefix route with metric on link up [ OK ] # 145.54 [+0.67] TEST: Modify metric of .0/24 address [ OK ] # 146.05 [+0.51] TEST: Set metric of address with peer route [ OK ] # 146.38 [+0.33] TEST: Modify metric and peer address for peer route [ OK ] # 148.13 [+1.76] # 148.13 [+0.00] IPv6 routes with metrics # 157.03 [+8.89] TEST: Single path route with mtu metric [ OK ] # 157.53 [+0.50] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 158.02 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 158.33 [+0.31] TEST: MTU of second leg [ OK ] # 158.66 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 159.10 [+0.44] TEST: Using route with mtu metric [ OK ] # 159.39 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 162.09 [+2.69] # 162.09 [+0.00] IPv4 route add / append tests # 170.96 [+8.88] TEST: Single path route with mtu metric [ OK ] # 171.30 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 171.76 [+0.45] TEST: Using route with mtu metric [ OK ] # 172.03 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 174.81 [+2.78] # 174.81 [+0.00] IPv4 route with IPv6 gateway tests # 185.73 [+10.92] TEST: Single path route with IPv6 gateway [ OK ] # 186.18 [+0.45] TEST: Single path route with IPv6 gateway - ping [ OK ] # 186.36 [+0.18] TEST: Single path route delete [ OK ] # 186.69 [+0.33] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 187.00 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 187.17 [+0.17] TEST: Multipath route delete exact match [ OK ] # 187.34 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 187.69 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 187.86 [+0.17] TEST: Multipath route delete exact match [ OK ] # 190.79 [+2.93] # 190.79 [+0.00] IPv4 rp_filter tests # 202.55 [+11.75] TEST: rp_filter passes local packets [ OK ] # 202.84 [+0.30] TEST: rp_filter passes loopback packets [ OK ] # 204.22 [+1.38] # 204.22 [+0.00] IPv4 delete address route tests # 209.70 [+5.48] Regular FIB info # 210.00 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 210.14 [+0.14] TEST: Route in default VRF not removed [ OK ] # 210.76 [+0.62] TEST: Route removed in default VRF when source address deleted [ OK ] # 210.91 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 210.91 [+0.01] Identical FIB info with different table ID # 211.19 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 211.31 [+0.12] TEST: Route in default VRF not removed [ OK ] # 211.94 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 212.07 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 212.07 [+0.00] Table ID 0 # 212.36 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 214.07 [+1.71] # 214.07 [+0.00] IPv6 delete address route tests # 223.21 [+9.14] Single device using src address # 223.53 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 223.53 [+0.00] Two devices with the same source address # 223.80 [+0.27] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 224.09 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 224.09 [+0.00] VRF with single device using src address # 224.40 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 224.40 [+0.00] VRF with two devices using src address # 224.68 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 225.00 [+0.32] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 225.00 [+0.00] src address and nexthop dev in same VRF # 225.31 [+0.31] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 225.45 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 226.08 [+0.62] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 226.21 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 226.21 [+0.00] src address and nexthop device in different VRF # 226.52 [+0.31] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 226.67 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 227.10 [+0.43] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 227.23 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 227.23 [+0.00] Table ID 0 # 227.54 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 227.54 [+0.00] Link local source route # 227.84 [+0.29] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 228.13 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 228.27 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 228.73 [+0.46] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 231.42 [+2.68] # 231.42 [+0.00] IPv4 mangling tests # 243.73 [+12.31] TEST: Connection with correct parameters [ OK ] # 244.05 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 245.33 [+1.29] TEST: Connection with correct parameters - mangling [ OK ] # 246.51 [+1.18] TEST: Connection with correct parameters - no mangling [ OK ] # 246.64 [+0.13] TEST: Connection check - server side [ OK ] # 250.04 [+3.40] # 250.04 [+0.00] IPv6 mangling tests # 262.50 [+12.46] TEST: Connection with correct parameters [ OK ] # 262.86 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 264.05 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 265.26 [+1.22] TEST: Connection with correct parameters - no mangling [ OK ] # 265.38 [+0.12] TEST: Connection check - server side [ OK ] # 268.86 [+3.48] # 268.86 [+0.00] IPv4 broadcast neighbour tests # 273.48 [+4.63] TEST: Resolved neighbour for broadcast address [ OK ] # 273.66 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 273.84 [+0.18] TEST: Unresolved neighbour for broadcast address [ OK ] # 274.06 [+0.22] TEST: Unresolved neighbour for network broadcast address [ OK ] # 277.91 [+3.85] # 277.91 [+0.00] Fib6 garbage collection test # 292.43 [+14.52] TEST: ipv6 route garbage collection [ OK ] # 307.30 [+14.88] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 322.23 [+14.93] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 337.23 [+15.00] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 352.62 [+15.39] TEST: ipv6 route garbage collection (RA message) [ OK ] # 354.01 [+1.39] # 354.01 [+0.00] IPv4 multipath list receive tests # 378.73 [+24.72] TEST: Multipath route hit ratio (1.00) [ OK ] # 381.89 [+3.15] # 381.89 [+0.00] IPv6 multipath list receive tests # 405.41 [+23.52] TEST: Multipath route hit ratio (1.00) [ OK ] # 408.44 [+3.03] # 408.44 [+0.00] Tests passed: 229 # 408.45 [+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__->