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.08 [+1.08] # 1.08 [+0.00] Single path route test # 2.87 [+1.79] Start point # 3.03 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.18 [+0.15] TEST: IPv6 fibmatch [ OK ] # 3.38 [+0.20] Nexthop device deleted # 3.54 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.71 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.66 [+0.95] # 4.66 [+0.00] Multipath route test # 7.88 [+3.22] Start point # 8.02 [+0.14] TEST: IPv4 fibmatch [ OK ] # 8.18 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.37 [+0.19] One nexthop device deleted # 8.53 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.68 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 8.88 [+0.20] Second nexthop device deleted # 9.03 [+0.16] TEST: IPv6 - no route [ OK ] # 10.00 [+0.97] # 10.00 [+0.00] Single path, admin down # 12.30 [+2.30] Start point # 12.45 [+0.15] TEST: IPv4 fibmatch [ OK ] # 12.60 [+0.16] TEST: IPv6 fibmatch [ OK ] # 12.75 [+0.15] Route deleted on down # 12.91 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.10 [+0.18] TEST: IPv6 fibmatch [ OK ] # 13.86 [+0.77] # 13.87 [+0.00] Admin down multipath # 17.10 [+3.23] Verify start point # 17.26 [+0.16] TEST: IPv4 fibmatch [ OK ] # 17.43 [+0.17] TEST: IPv6 fibmatch [ OK ] # 17.60 [+0.17] One device down, one up # 17.75 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 17.91 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.06 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.21 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 18.35 [+0.14] TEST: IPv4 flags on down device [ OK ] # 18.47 [+0.11] TEST: IPv6 flags on down device [ OK ] # 18.62 [+0.15] TEST: IPv4 flags on up device [ OK ] # 18.74 [+0.12] TEST: IPv6 flags on up device [ OK ] # 19.07 [+0.33] Other device down and up # 19.24 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 19.40 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.56 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.72 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 19.85 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.98 [+0.13] TEST: IPv6 flags on down device [ OK ] # 20.12 [+0.14] TEST: IPv4 flags on up device [ OK ] # 20.26 [+0.14] TEST: IPv6 flags on up device [ OK ] # 20.43 [+0.17] Both devices down # 20.60 [+0.17] TEST: IPv4 fibmatch [ OK ] # 20.77 [+0.16] TEST: IPv6 fibmatch [ OK ] # 21.76 [+1.00] # 21.76 [+0.00] Local carrier tests - single path # 24.34 [+2.58] Start point # 24.50 [+0.16] TEST: IPv4 fibmatch [ OK ] # 24.67 [+0.17] TEST: IPv6 fibmatch [ OK ] # 24.81 [+0.15] TEST: IPv4 - no linkdown flag [ OK ] # 24.98 [+0.16] TEST: IPv6 - no linkdown flag [ OK ] # 26.26 [+1.28] Carrier off on nexthop # 26.41 [+0.16] TEST: IPv4 fibmatch [ OK ] # 26.58 [+0.17] TEST: IPv6 fibmatch [ OK ] # 26.72 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 26.85 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 27.20 [+0.34] Route to local address with carrier down # 27.36 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.53 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.68 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 27.82 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 28.61 [+0.79] # 28.61 [+0.00] Single path route carrier test # 31.13 [+2.52] Start point # 31.29 [+0.16] TEST: IPv4 fibmatch [ OK ] # 31.45 [+0.16] TEST: IPv6 fibmatch [ OK ] # 31.58 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 31.72 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 32.99 [+1.27] Carrier down # 33.16 [+0.17] TEST: IPv4 fibmatch [ OK ] # 33.36 [+0.19] TEST: IPv6 fibmatch [ OK ] # 33.49 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 33.62 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 33.97 [+0.35] Second address added with carrier down # 34.13 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.29 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.44 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 34.58 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 42.03 [+7.45] # 42.03 [+0.00] IPv4 nexthop tests # 42.04 [+0.00] <<< write me >>> # 42.35 [+0.32] # 42.35 [+0.00] IPv6 nexthop tests # 42.53 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 42.70 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 42.87 [+0.17] TEST: Gateway is linklocal address [ OK ] # 43.06 [+0.18] TEST: Gateway is linklocal address, no device [ OK ] # 43.23 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 43.41 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.58 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 43.77 [+0.19] TEST: Gateway can be local address in a VRF [ OK ] # 43.95 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 44.13 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.30 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 44.46 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.64 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 44.81 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.34 [+1.53] # 46.34 [+0.00] FIB rule with suppress_prefixlength # 49.74 [+3.40] TEST: FIB rule suppress test [ OK ] # 52.88 [+3.13] # 52.88 [+0.00] Fib6 info length calculation in route notify test # 58.63 [+5.76] TEST: ipv6 route add notify [ OK ] # 61.72 [+3.09] # 61.72 [+0.00] Fib4 info length calculation in route notify test # 67.45 [+5.73] TEST: ipv4 route add notify [ OK ] # 75.88 [+8.43] # 75.88 [+0.00] IPv6 route add / append tests # 76.62 [+0.74] TEST: Attempt to add duplicate route - gw [ OK ] # 77.35 [+0.73] TEST: Attempt to add duplicate route - dev only [ OK ] # 78.04 [+0.69] TEST: Attempt to add duplicate route - reject route [ OK ] # 78.87 [+0.84] TEST: Append nexthop to existing route - gw [ OK ] # 79.54 [+0.67] TEST: Add multipath route [ OK ] # 80.21 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 81.08 [+0.87] TEST: Route add with different metrics [ OK ] # 81.43 [+0.35] TEST: Route delete with metric [ OK ] # 81.43 [+0.00] # 81.43 [+0.00] IPv6 route replace tests # 82.27 [+0.84] TEST: Single path with single path [ OK ] # 83.13 [+0.85] TEST: Single path with multipath [ OK ] # 83.98 [+0.86] TEST: Single path with single path via multipath attribute [ OK ] # 84.83 [+0.84] TEST: Invalid nexthop [ OK ] # 85.50 [+0.67] TEST: Single path - replace of non-existent route [ OK ] # 86.38 [+0.88] TEST: Multipath with multipath [ OK ] # 87.20 [+0.83] TEST: Multipath with single path [ OK ] # 88.05 [+0.85] TEST: Multipath with single path via multipath attribute [ OK ] # 88.91 [+0.85] TEST: Multipath with dev-only [ OK ] # 89.75 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 90.63 [+0.88] TEST: Multipath - invalid second nexthop [ OK ] # 91.33 [+0.70] TEST: Multipath - replace of non-existent route [ OK ] # 91.33 [+0.00] # 91.33 [+0.00] IPv6 route with dsfield tests # 91.69 [+0.36] TEST: Reject route with dsfield [ OK ] # 103.63 [+11.93] # 103.63 [+0.00] IPv4 route add / append tests # 104.29 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 104.96 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 105.66 [+0.71] TEST: Attempt to add duplicate route - reject route [ OK ] # 106.53 [+0.87] TEST: Add new nexthop for existing prefix [ OK ] # 107.40 [+0.88] TEST: Append nexthop to existing route - gw [ OK ] # 108.33 [+0.93] TEST: Append nexthop to existing route - dev only [ OK ] # 109.23 [+0.90] TEST: Append nexthop to existing route - reject route [ OK ] # 109.97 [+0.73] TEST: Append nexthop to existing reject route - gw [ OK ] # 110.69 [+0.72] TEST: Append nexthop to existing reject route - dev only [ OK ] # 111.36 [+0.68] TEST: add multipath route [ OK ] # 112.05 [+0.69] TEST: Attempt to add duplicate multipath route [ OK ] # 112.89 [+0.84] TEST: Route add with different metrics [ OK ] # 113.23 [+0.33] TEST: Route delete with metric [ OK ] # 113.23 [+0.00] # 113.23 [+0.00] IPv4 route replace tests # 114.06 [+0.83] TEST: Single path with single path [ OK ] # 114.90 [+0.84] TEST: Single path with multipath [ OK ] # 115.73 [+0.83] TEST: Single path with reject route [ OK ] # 116.59 [+0.85] TEST: Single path with single path via multipath attribute [ OK ] # 117.44 [+0.85] TEST: Invalid nexthop [ OK ] # 118.10 [+0.66] TEST: Single path - replace of non-existent route [ OK ] # 118.96 [+0.86] TEST: Multipath with multipath [ OK ] # 119.82 [+0.86] TEST: Multipath with single path [ OK ] # 120.71 [+0.89] TEST: Multipath with single path via multipath attribute [ OK ] # 121.57 [+0.86] TEST: Multipath with reject route [ OK ] # 122.42 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 123.30 [+0.87] TEST: Multipath - invalid second nexthop [ OK ] # 124.00 [+0.70] TEST: Multipath - replace of non-existent route [ OK ] # 126.47 [+2.47] TEST: Cached route removed from VRF port device [ OK ] # 126.48 [+0.00] # 126.48 [+0.00] IPv4 route with dsfield tests # 126.82 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 127.00 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 127.18 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 127.65 [+0.47] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 127.78 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 127.93 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 128.08 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 128.23 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 128.39 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 128.55 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 128.67 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 128.82 [+0.16] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 128.97 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 129.12 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 129.26 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 132.34 [+3.08] # 132.34 [+0.00] IPv6 prefix route tests # 136.37 [+4.03] TEST: Default metric [ OK ] # 136.88 [+0.51] TEST: User specified metric on first device [ OK ] # 137.44 [+0.56] TEST: User specified metric on second device [ OK ] # 137.85 [+0.41] TEST: Delete of address on first device [ OK ] # 138.19 [+0.34] TEST: Modify metric of address [ OK ] # 138.82 [+0.63] TEST: Prefix route removed on link down [ OK ] # 139.17 [+0.35] TEST: Prefix route with metric on link up [ OK ] # 139.74 [+0.58] TEST: Set metric with peer route on local side [ OK ] # 139.91 [+0.17] TEST: Set metric with peer route on peer side [ OK ] # 140.31 [+0.40] TEST: Modify metric and peer address on local side [ OK ] # 140.51 [+0.20] TEST: Modify metric and peer address on peer side [ OK ] # 142.71 [+2.20] # 142.71 [+0.00] IPv4 prefix route tests # 147.66 [+4.95] TEST: Default metric [ OK ] # 148.37 [+0.71] TEST: User specified metric on first device [ OK ] # 149.02 [+0.65] TEST: User specified metric on second device [ OK ] # 149.46 [+0.44] TEST: Delete of address on first device [ OK ] # 149.94 [+0.48] TEST: Modify metric of address [ OK ] # 150.34 [+0.40] TEST: Prefix route removed on link down [ OK ] # 150.82 [+0.48] TEST: Prefix route with metric on link up [ OK ] # 151.72 [+0.90] TEST: Modify metric of .0/24 address [ OK ] # 152.41 [+0.68] TEST: Set metric of address with peer route [ OK ] # 152.88 [+0.47] TEST: Modify metric and peer address for peer route [ OK ] # 155.22 [+2.34] # 155.22 [+0.00] IPv6 routes with metrics # 166.53 [+11.32] TEST: Single path route with mtu metric [ OK ] # 167.16 [+0.63] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 167.70 [+0.54] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 168.11 [+0.40] TEST: MTU of second leg [ OK ] # 168.47 [+0.36] TEST: Multipath route with mtu metric [ OK ] # 168.98 [+0.51] TEST: Using route with mtu metric [ OK ] # 169.30 [+0.32] TEST: Invalid metric (fails metric_convert) [ OK ] # 172.41 [+3.11] # 172.41 [+0.00] IPv4 route add / append tests # 181.75 [+9.34] TEST: Single path route with mtu metric [ OK ] # 182.10 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 182.55 [+0.45] TEST: Using route with mtu metric [ OK ] # 182.85 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 185.69 [+2.85] # 185.69 [+0.00] IPv4 route with IPv6 gateway tests # 196.78 [+11.08] TEST: Single path route with IPv6 gateway [ OK ] # 197.25 [+0.47] TEST: Single path route with IPv6 gateway - ping [ OK ] # 197.41 [+0.16] TEST: Single path route delete [ OK ] # 197.76 [+0.35] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 198.11 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 198.27 [+0.16] TEST: Multipath route delete exact match [ OK ] # 198.46 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 198.80 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 198.97 [+0.17] TEST: Multipath route delete exact match [ OK ] # 201.83 [+2.86] # 201.83 [+0.00] IPv4 rp_filter tests # 213.98 [+12.15] TEST: rp_filter passes local packets [ OK ] # 214.27 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 215.72 [+1.44] # 215.72 [+0.00] IPv4 delete address route tests # 221.49 [+5.78] Regular FIB info # 221.80 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 221.94 [+0.15] TEST: Route in default VRF not removed [ OK ] # 222.57 [+0.62] TEST: Route removed in default VRF when source address deleted [ OK ] # 222.70 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 222.71 [+0.00] Identical FIB info with different table ID # 223.00 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 223.13 [+0.13] TEST: Route in default VRF not removed [ OK ] # 223.78 [+0.65] TEST: Route removed in default VRF when source address deleted [ OK ] # 223.91 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 223.91 [+0.00] Table ID 0 # 224.22 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 226.09 [+1.86] # 226.09 [+0.00] IPv6 delete address route tests # 235.77 [+9.68] Single device using src address # 236.06 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 236.07 [+0.00] Two devices with the same source address # 236.37 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 236.68 [+0.31] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 236.68 [+0.00] VRF with single device using src address # 236.99 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 236.99 [+0.00] VRF with two devices using src address # 237.31 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 237.63 [+0.32] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 237.63 [+0.00] src address and nexthop dev in same VRF # 237.96 [+0.33] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 238.10 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 238.73 [+0.63] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 238.86 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 238.86 [+0.00] src address and nexthop device in different VRF # 239.17 [+0.31] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 239.31 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 239.79 [+0.48] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 239.92 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 239.92 [+0.00] Table ID 0 # 240.24 [+0.32] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 240.25 [+0.00] Link local source route # 240.54 [+0.30] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 240.85 [+0.31] TEST: Prefsrc removed when delete ll addr [ OK ] # 241.02 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 241.50 [+0.49] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 244.54 [+3.04] # 244.54 [+0.00] IPv4 mangling tests # 257.20 [+12.66] TEST: Connection with correct parameters [ OK ] # 257.55 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 258.88 [+1.33] TEST: Connection with correct parameters - mangling [ OK ] # 260.07 [+1.20] TEST: Connection with correct parameters - no mangling [ OK ] # 260.22 [+0.15] TEST: Connection check - server side [ OK ] # 263.83 [+3.61] # 263.83 [+0.00] IPv6 mangling tests # 276.71 [+12.88] TEST: Connection with correct parameters [ OK ] # 277.08 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 278.33 [+1.25] TEST: Connection with correct parameters - mangling [ OK ] # 279.56 [+1.23] TEST: Connection with correct parameters - no mangling [ OK ] # 279.67 [+0.11] TEST: Connection check - server side [ OK ] # 283.30 [+3.63] # 283.30 [+0.00] IPv4 broadcast neighbour tests # 287.78 [+4.47] TEST: Resolved neighbour for broadcast address [ OK ] # 287.95 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 288.12 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 288.30 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 292.17 [+3.88] # 292.17 [+0.00] Fib6 garbage collection test # 306.75 [+14.58] TEST: ipv6 route garbage collection [ OK ] # 321.54 [+14.79] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 336.31 [+14.77] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 351.31 [+15.00] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 366.64 [+15.33] TEST: ipv6 route garbage collection (RA message) [ OK ] # 368.03 [+1.39] # 368.03 [+0.00] IPv4 multipath list receive tests # 392.77 [+24.73] TEST: Multipath route hit ratio (1.00) [ OK ] # 395.81 [+3.04] # 395.81 [+0.00] IPv6 multipath list receive tests # 418.71 [+22.90] TEST: Multipath route hit ratio (1.00) [ OK ] # 421.74 [+3.03] # 421.74 [+0.00] Tests passed: 229 # 421.75 [+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__->