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.81 [+0.81] # 0.81 [+0.00] Single path route test # 2.97 [+2.16] Start point # 3.14 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.31 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.54 [+0.23] Nexthop device deleted # 3.71 [+0.18] TEST: IPv4 fibmatch - no route [ OK ] # 3.93 [+0.22] TEST: IPv6 fibmatch - no route [ OK ] # 5.07 [+1.13] # 5.07 [+0.00] Multipath route test # 8.83 [+3.77] Start point # 9.02 [+0.19] TEST: IPv4 fibmatch [ OK ] # 9.21 [+0.18] TEST: IPv6 fibmatch [ OK ] # 9.45 [+0.24] One nexthop device deleted # 9.63 [+0.18] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.83 [+0.20] TEST: IPv6 - multipath down to single path [ OK ] # 10.06 [+0.23] Second nexthop device deleted # 10.29 [+0.23] TEST: IPv6 - no route [ OK ] # 11.50 [+1.21] # 11.50 [+0.00] Single path, admin down # 14.01 [+2.51] Start point # 14.19 [+0.18] TEST: IPv4 fibmatch [ OK ] # 14.36 [+0.17] TEST: IPv6 fibmatch [ OK ] # 14.53 [+0.17] Route deleted on down # 14.70 [+0.17] TEST: IPv4 fibmatch [ OK ] # 14.87 [+0.17] TEST: IPv6 fibmatch [ OK ] # 15.77 [+0.89] # 15.77 [+0.00] Admin down multipath # 19.50 [+3.73] Verify start point # 19.65 [+0.16] TEST: IPv4 fibmatch [ OK ] # 19.82 [+0.16] TEST: IPv6 fibmatch [ OK ] # 20.01 [+0.19] One device down, one up # 20.19 [+0.19] TEST: IPv4 fibmatch on down device [ OK ] # 20.38 [+0.19] TEST: IPv6 fibmatch on down device [ OK ] # 20.58 [+0.20] TEST: IPv4 fibmatch on up device [ OK ] # 20.75 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.88 [+0.13] TEST: IPv4 flags on down device [ OK ] # 21.04 [+0.16] TEST: IPv6 flags on down device [ OK ] # 21.19 [+0.16] TEST: IPv4 flags on up device [ OK ] # 21.35 [+0.15] TEST: IPv6 flags on up device [ OK ] # 21.71 [+0.37] Other device down and up # 21.90 [+0.19] TEST: IPv4 fibmatch on down device [ OK ] # 22.08 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 22.25 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 22.46 [+0.21] TEST: IPv6 fibmatch on up device [ OK ] # 22.63 [+0.18] TEST: IPv4 flags on down device [ OK ] # 22.80 [+0.16] TEST: IPv6 flags on down device [ OK ] # 22.94 [+0.14] TEST: IPv4 flags on up device [ OK ] # 23.13 [+0.19] TEST: IPv6 flags on up device [ OK ] # 23.34 [+0.20] Both devices down # 23.54 [+0.21] TEST: IPv4 fibmatch [ OK ] # 23.72 [+0.18] TEST: IPv6 fibmatch [ OK ] # 24.85 [+1.13] # 24.85 [+0.00] Local carrier tests - single path # 27.89 [+3.03] Start point # 28.09 [+0.20] TEST: IPv4 fibmatch [ OK ] # 28.26 [+0.17] TEST: IPv6 fibmatch [ OK ] # 28.42 [+0.16] TEST: IPv4 - no linkdown flag [ OK ] # 28.59 [+0.17] TEST: IPv6 - no linkdown flag [ OK ] # 29.90 [+1.31] Carrier off on nexthop # 30.05 [+0.15] TEST: IPv4 fibmatch [ OK ] # 30.22 [+0.17] TEST: IPv6 fibmatch [ OK ] # 30.39 [+0.16] TEST: IPv4 - linkdown flag set [ OK ] # 30.56 [+0.18] TEST: IPv6 - linkdown flag set [ OK ] # 30.94 [+0.38] Route to local address with carrier down # 31.10 [+0.16] TEST: IPv4 fibmatch [ OK ] # 31.33 [+0.23] TEST: IPv6 fibmatch [ OK ] # 31.48 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 31.63 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 32.57 [+0.93] # 32.57 [+0.00] Single path route carrier test # 35.28 [+2.71] Start point # 35.48 [+0.21] TEST: IPv4 fibmatch [ OK ] # 35.70 [+0.21] TEST: IPv6 fibmatch [ OK ] # 35.85 [+0.15] TEST: IPv4 no linkdown flag [ OK ] # 36.02 [+0.17] TEST: IPv6 no linkdown flag [ OK ] # 37.30 [+1.28] Carrier down # 37.48 [+0.18] TEST: IPv4 fibmatch [ OK ] # 37.67 [+0.19] TEST: IPv6 fibmatch [ OK ] # 37.84 [+0.17] TEST: IPv4 linkdown flag set [ OK ] # 38.00 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 38.34 [+0.34] Second address added with carrier down # 38.52 [+0.18] TEST: IPv4 fibmatch [ OK ] # 38.70 [+0.18] TEST: IPv6 fibmatch [ OK ] # 38.85 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 39.00 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 47.31 [+8.31] # 47.31 [+0.00] IPv4 nexthop tests # 47.31 [+0.00] <<< write me >>> # 47.70 [+0.39] # 47.70 [+0.00] IPv6 nexthop tests # 47.91 [+0.20] TEST: Directly connected nexthop, unicast address [ OK ] # 48.12 [+0.21] TEST: Directly connected nexthop, unicast address with device [ OK ] # 48.34 [+0.22] TEST: Gateway is linklocal address [ OK ] # 48.58 [+0.24] TEST: Gateway is linklocal address, no device [ OK ] # 48.82 [+0.24] TEST: Gateway can not be local unicast address [ OK ] # 49.04 [+0.22] TEST: Gateway can not be local unicast address, with device [ OK ] # 49.26 [+0.22] TEST: Gateway can not be a local linklocal address [ OK ] # 49.46 [+0.20] TEST: Gateway can be local address in a VRF [ OK ] # 49.65 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 49.89 [+0.25] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 50.10 [+0.21] TEST: Redirect to VRF lookup [ OK ] # 50.33 [+0.23] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 50.53 [+0.20] TEST: VRF route, gateway can not be a local address [ OK ] # 50.74 [+0.22] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 52.77 [+2.03] # 52.77 [+0.00] FIB rule with suppress_prefixlength # 57.00 [+4.22] TEST: FIB rule suppress test [ OK ] # 60.84 [+3.84] # 60.84 [+0.00] Fib6 info length calculation in route notify test # 67.26 [+6.42] TEST: ipv6 route add notify [ OK ] # 70.75 [+3.49] # 70.75 [+0.00] Fib4 info length calculation in route notify test # 77.29 [+6.55] TEST: ipv4 route add notify [ OK ] # 87.63 [+10.34] # 87.63 [+0.00] IPv6 route add / append tests # 88.40 [+0.77] TEST: Attempt to add duplicate route - gw [ OK ] # 89.18 [+0.78] TEST: Attempt to add duplicate route - dev only [ OK ] # 89.90 [+0.72] TEST: Attempt to add duplicate route - reject route [ OK ] # 90.83 [+0.94] TEST: Append nexthop to existing route - gw [ OK ] # 91.61 [+0.78] TEST: Add multipath route [ OK ] # 92.38 [+0.77] TEST: Attempt to add duplicate multipath route [ OK ] # 93.30 [+0.92] TEST: Route add with different metrics [ OK ] # 93.70 [+0.39] TEST: Route delete with metric [ OK ] # 93.70 [+0.00] # 93.70 [+0.00] IPv6 route replace tests # 94.68 [+0.98] TEST: Single path with single path [ OK ] # 95.61 [+0.93] TEST: Single path with multipath [ OK ] # 96.63 [+1.02] TEST: Single path with single path via multipath attribute [ OK ] # 97.56 [+0.93] TEST: Invalid nexthop [ OK ] # 98.29 [+0.73] TEST: Single path - replace of non-existent route [ OK ] # 99.28 [+0.99] TEST: Multipath with multipath [ OK ] # 100.23 [+0.95] TEST: Multipath with single path [ OK ] # 101.21 [+0.98] TEST: Multipath with single path via multipath attribute [ OK ] # 102.06 [+0.85] TEST: Multipath with dev-only [ OK ] # 102.99 [+0.93] TEST: Multipath - invalid first nexthop [ OK ] # 103.92 [+0.93] TEST: Multipath - invalid second nexthop [ OK ] # 104.73 [+0.80] TEST: Multipath - replace of non-existent route [ OK ] # 104.73 [+0.00] # 104.73 [+0.00] IPv6 route with dsfield tests # 105.12 [+0.39] TEST: Reject route with dsfield [ OK ] # 118.27 [+13.15] # 118.27 [+0.00] IPv4 route add / append tests # 119.08 [+0.80] TEST: Attempt to add duplicate route - gw [ OK ] # 119.77 [+0.70] TEST: Attempt to add duplicate route - dev only [ OK ] # 120.57 [+0.80] TEST: Attempt to add duplicate route - reject route [ OK ] # 121.56 [+0.99] TEST: Add new nexthop for existing prefix [ OK ] # 122.47 [+0.91] TEST: Append nexthop to existing route - gw [ OK ] # 123.49 [+1.03] TEST: Append nexthop to existing route - dev only [ OK ] # 124.43 [+0.94] TEST: Append nexthop to existing route - reject route [ OK ] # 125.22 [+0.78] TEST: Append nexthop to existing reject route - gw [ OK ] # 125.94 [+0.72] TEST: Append nexthop to existing reject route - dev only [ OK ] # 126.64 [+0.70] TEST: add multipath route [ OK ] # 127.40 [+0.76] TEST: Attempt to add duplicate multipath route [ OK ] # 128.42 [+1.01] TEST: Route add with different metrics [ OK ] # 128.84 [+0.43] TEST: Route delete with metric [ OK ] # 128.85 [+0.00] # 128.85 [+0.00] IPv4 route replace tests # 129.74 [+0.89] TEST: Single path with single path [ OK ] # 130.62 [+0.88] TEST: Single path with multipath [ OK ] # 131.48 [+0.87] TEST: Single path with reject route [ OK ] # 132.47 [+0.98] TEST: Single path with single path via multipath attribute [ OK ] # 133.40 [+0.94] TEST: Invalid nexthop [ OK ] # 134.17 [+0.77] TEST: Single path - replace of non-existent route [ OK ] # 135.09 [+0.92] TEST: Multipath with multipath [ OK ] # 136.10 [+1.02] TEST: Multipath with single path [ OK ] # 137.08 [+0.98] TEST: Multipath with single path via multipath attribute [ OK ] # 138.13 [+1.05] TEST: Multipath with reject route [ OK ] # 139.27 [+1.14] TEST: Multipath - invalid first nexthop [ OK ] # 140.29 [+1.02] TEST: Multipath - invalid second nexthop [ OK ] # 141.10 [+0.81] TEST: Multipath - replace of non-existent route [ OK ] # 143.71 [+2.61] TEST: Cached route removed from VRF port device [ OK ] # 143.71 [+0.00] # 143.71 [+0.00] IPv4 route with dsfield tests # 144.11 [+0.39] TEST: Reject route with dsfield 0x01 [ OK ] # 144.28 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 144.46 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 145.00 [+0.53] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 145.19 [+0.19] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 145.34 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 145.52 [+0.18] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 145.68 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 145.82 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 145.97 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 146.11 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 146.30 [+0.19] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 146.49 [+0.20] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 146.66 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 146.83 [+0.17] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 150.02 [+3.20] # 150.02 [+0.00] IPv6 prefix route tests # 154.11 [+4.09] TEST: Default metric [ OK ] # 154.68 [+0.57] TEST: User specified metric on first device [ OK ] # 155.16 [+0.49] TEST: User specified metric on second device [ OK ] # 155.54 [+0.37] TEST: Delete of address on first device [ OK ] # 155.89 [+0.35] TEST: Modify metric of address [ OK ] # 156.64 [+0.75] TEST: Prefix route removed on link down [ OK ] # 157.00 [+0.37] TEST: Prefix route with metric on link up [ OK ] # 157.51 [+0.51] TEST: Set metric with peer route on local side [ OK ] # 157.73 [+0.22] TEST: Set metric with peer route on peer side [ OK ] # 158.07 [+0.34] TEST: Modify metric and peer address on local side [ OK ] # 158.21 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 160.21 [+2.00] # 160.21 [+0.00] IPv4 prefix route tests # 164.25 [+4.04] TEST: Default metric [ OK ] # 164.81 [+0.56] TEST: User specified metric on first device [ OK ] # 165.31 [+0.49] TEST: User specified metric on second device [ OK ] # 165.66 [+0.36] TEST: Delete of address on first device [ OK ] # 166.00 [+0.34] TEST: Modify metric of address [ OK ] # 166.33 [+0.33] TEST: Prefix route removed on link down [ OK ] # 166.71 [+0.37] TEST: Prefix route with metric on link up [ OK ] # 167.44 [+0.74] TEST: Modify metric of .0/24 address [ OK ] # 167.96 [+0.52] TEST: Set metric of address with peer route [ OK ] # 168.34 [+0.38] TEST: Modify metric and peer address for peer route [ OK ] # 170.18 [+1.83] # 170.18 [+0.00] IPv6 routes with metrics # 179.93 [+9.75] TEST: Single path route with mtu metric [ OK ] # 180.48 [+0.55] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 181.12 [+0.64] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 183.01 [+1.90] TEST: MTU of second leg [ OK ] # 184.82 [+1.80] TEST: Multipath route with mtu metric [ OK ] # 186.05 [+1.23] TEST: Using route with mtu metric [ OK ] # 186.61 [+0.56] TEST: Invalid metric (fails metric_convert) [ OK ] # 190.70 [+4.09] # 190.70 [+0.00] IPv4 route add / append tests # 201.56 [+10.85] TEST: Single path route with mtu metric [ OK ] # 201.94 [+0.38] TEST: Multipath route with mtu metric [ OK ] # 202.49 [+0.55] TEST: Using route with mtu metric [ OK ] # 202.79 [+0.30] TEST: Invalid metric (fails metric_convert) [ OK ] # 206.06 [+3.27] # 206.06 [+0.00] IPv4 route with IPv6 gateway tests # 218.52 [+12.46] TEST: Single path route with IPv6 gateway [ OK ] # 219.09 [+0.57] TEST: Single path route with IPv6 gateway - ping [ OK ] # 219.28 [+0.19] TEST: Single path route delete [ OK ] # 219.66 [+0.38] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 220.08 [+0.42] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 220.28 [+0.20] TEST: Multipath route delete exact match [ OK ] # 220.48 [+0.20] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 220.89 [+0.42] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 221.11 [+0.21] TEST: Multipath route delete exact match [ OK ] # 224.51 [+3.40] # 224.51 [+0.00] IPv4 rp_filter tests # 238.39 [+13.88] TEST: rp_filter passes local packets [ OK ] # 238.73 [+0.34] TEST: rp_filter passes loopback packets [ OK ] # 240.40 [+1.67] # 240.40 [+0.00] IPv4 delete address route tests # 247.14 [+6.74] Regular FIB info # 247.51 [+0.37] TEST: Route removed from VRF when source address deleted [ OK ] # 247.68 [+0.17] TEST: Route in default VRF not removed [ OK ] # 248.36 [+0.68] TEST: Route removed in default VRF when source address deleted [ OK ] # 248.54 [+0.18] TEST: Route in VRF is not removed by address delete [ OK ] # 248.54 [+0.00] Identical FIB info with different table ID # 248.90 [+0.35] TEST: Route removed from VRF when source address deleted [ OK ] # 249.05 [+0.16] TEST: Route in default VRF not removed [ OK ] # 249.82 [+0.77] TEST: Route removed in default VRF when source address deleted [ OK ] # 250.00 [+0.18] TEST: Route in VRF is not removed by address delete [ OK ] # 250.01 [+0.00] Table ID 0 # 250.45 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 252.50 [+2.05] # 252.50 [+0.00] IPv6 delete address route tests # 263.18 [+10.68] Single device using src address # 263.50 [+0.33] TEST: Prefsrc removed when src address removed on other device [ OK ] # 263.51 [+0.00] Two devices with the same source address # 263.83 [+0.33] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 264.12 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 264.13 [+0.00] VRF with single device using src address # 264.46 [+0.33] TEST: Prefsrc removed when src address removed on other device [ OK ] # 264.46 [+0.00] VRF with two devices using src address # 264.78 [+0.32] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 265.13 [+0.35] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 265.14 [+0.00] src address and nexthop dev in same VRF # 265.50 [+0.36] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 265.62 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 266.35 [+0.73] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 266.54 [+0.19] TEST: Prefsrc in default VRF removed [ OK ] # 266.54 [+0.00] src address and nexthop device in different VRF # 266.89 [+0.35] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 267.05 [+0.16] TEST: Prefsrc not removed in default VRF [ OK ] # 267.55 [+0.50] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 267.72 [+0.17] TEST: Prefsrc removed in default VRF [ OK ] # 267.72 [+0.00] Table ID 0 # 268.07 [+0.35] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 268.08 [+0.00] Link local source route # 268.45 [+0.37] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 268.81 [+0.37] TEST: Prefsrc removed when delete ll addr [ OK ] # 268.99 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 269.55 [+0.57] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 272.52 [+2.96] # 272.52 [+0.00] IPv4 mangling tests # 286.44 [+13.93] TEST: Connection with correct parameters [ OK ] # 286.80 [+0.35] TEST: Connection with incorrect parameters [ OK ] # 288.33 [+1.53] TEST: Connection with correct parameters - mangling [ OK ] # 289.61 [+1.28] TEST: Connection with correct parameters - no mangling [ OK ] # 289.73 [+0.12] TEST: Connection check - server side [ OK ] # 293.45 [+3.72] # 293.45 [+0.00] IPv6 mangling tests # 306.84 [+13.39] TEST: Connection with correct parameters [ OK ] # 307.22 [+0.38] TEST: Connection with incorrect parameters [ OK ] # 308.42 [+1.20] TEST: Connection with correct parameters - mangling [ OK ] # 309.68 [+1.26] TEST: Connection with correct parameters - no mangling [ OK ] # 309.81 [+0.12] TEST: Connection check - server side [ OK ] # 313.38 [+3.57] # 313.38 [+0.00] IPv4 broadcast neighbour tests # 318.03 [+4.65] TEST: Resolved neighbour for broadcast address [ OK ] # 318.24 [+0.21] TEST: Resolved neighbour for network broadcast address [ OK ] # 318.42 [+0.18] TEST: Unresolved neighbour for broadcast address [ OK ] # 318.60 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 322.58 [+3.98] # 322.58 [+0.00] Fib6 garbage collection test # 337.28 [+14.70] TEST: ipv6 route garbage collection [ OK ] # 352.44 [+15.16] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 367.41 [+14.96] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 382.52 [+15.11] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 397.91 [+15.40] TEST: ipv6 route garbage collection (RA message) [ OK ] # 399.38 [+1.46] # 399.38 [+0.00] IPv4 multipath list receive tests # 426.06 [+26.69] TEST: Multipath route hit ratio (1.00) [ OK ] # 429.58 [+3.52] # 429.58 [+0.00] IPv6 multipath list receive tests # 454.87 [+25.28] TEST: Multipath route hit ratio (1.00) [ OK ] # 458.00 [+3.13] # 458.00 [+0.00] Tests passed: 229 # 458.00 [+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__->