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.18 [+1.18] # 1.18 [+0.00] Single path route test # 3.14 [+1.95] Start point # 3.29 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.46 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.67 [+0.22] Nexthop device deleted # 3.83 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.99 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.97 [+0.98] # 4.97 [+0.00] Multipath route test # 8.28 [+3.31] Start point # 8.48 [+0.20] TEST: IPv4 fibmatch [ OK ] # 8.65 [+0.17] TEST: IPv6 fibmatch [ OK ] # 8.85 [+0.21] One nexthop device deleted # 9.02 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.18 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 9.37 [+0.20] Second nexthop device deleted # 9.53 [+0.15] TEST: IPv6 - no route [ OK ] # 10.49 [+0.96] # 10.49 [+0.00] Single path, admin down # 12.82 [+2.33] Start point # 12.98 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.13 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.30 [+0.16] Route deleted on down # 13.47 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.62 [+0.15] TEST: IPv6 fibmatch [ OK ] # 14.42 [+0.79] # 14.42 [+0.00] Admin down multipath # 17.81 [+3.39] Verify start point # 17.97 [+0.17] TEST: IPv4 fibmatch [ OK ] # 18.13 [+0.16] TEST: IPv6 fibmatch [ OK ] # 18.30 [+0.17] One device down, one up # 18.46 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.62 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.78 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.94 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 19.08 [+0.14] TEST: IPv4 flags on down device [ OK ] # 19.24 [+0.15] TEST: IPv6 flags on down device [ OK ] # 19.37 [+0.14] TEST: IPv4 flags on up device [ OK ] # 19.51 [+0.14] TEST: IPv6 flags on up device [ OK ] # 19.83 [+0.32] Other device down and up # 19.98 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 20.14 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 20.30 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.46 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 20.57 [+0.12] TEST: IPv4 flags on down device [ OK ] # 20.74 [+0.17] TEST: IPv6 flags on down device [ OK ] # 20.86 [+0.12] TEST: IPv4 flags on up device [ OK ] # 20.98 [+0.12] TEST: IPv6 flags on up device [ OK ] # 21.16 [+0.17] Both devices down # 21.32 [+0.16] TEST: IPv4 fibmatch [ OK ] # 21.47 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.43 [+0.95] # 22.43 [+0.00] Local carrier tests - single path # 24.91 [+2.48] Start point # 25.08 [+0.17] TEST: IPv4 fibmatch [ OK ] # 25.25 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.39 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 25.53 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 26.81 [+1.28] Carrier off on nexthop # 26.97 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.13 [+0.16] TEST: IPv6 fibmatch [ OK ] # 27.27 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 27.42 [+0.15] TEST: IPv6 - linkdown flag set [ OK ] # 27.75 [+0.33] Route to local address with carrier down # 27.91 [+0.16] TEST: IPv4 fibmatch [ OK ] # 28.09 [+0.18] TEST: IPv6 fibmatch [ OK ] # 28.22 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 28.37 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 29.17 [+0.80] # 29.17 [+0.00] Single path route carrier test # 31.65 [+2.47] Start point # 31.80 [+0.16] TEST: IPv4 fibmatch [ OK ] # 31.96 [+0.16] TEST: IPv6 fibmatch [ OK ] # 32.10 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 32.23 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 33.52 [+1.28] Carrier down # 33.67 [+0.15] TEST: IPv4 fibmatch [ OK ] # 33.83 [+0.17] TEST: IPv6 fibmatch [ OK ] # 33.99 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 34.11 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 34.44 [+0.33] Second address added with carrier down # 34.60 [+0.15] TEST: IPv4 fibmatch [ OK ] # 34.75 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.89 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 35.03 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 42.38 [+7.35] # 42.38 [+0.00] IPv4 nexthop tests # 42.38 [+0.00] <<< write me >>> # 42.70 [+0.32] # 42.70 [+0.00] IPv6 nexthop tests # 42.88 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 43.05 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 43.23 [+0.17] TEST: Gateway is linklocal address [ OK ] # 43.40 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 43.57 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 43.74 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.92 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 44.09 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 44.27 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 44.46 [+0.20] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.64 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 44.81 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.97 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 45.18 [+0.21] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.76 [+1.58] # 46.76 [+0.00] FIB rule with suppress_prefixlength # 50.24 [+3.48] TEST: FIB rule suppress test [ OK ] # 53.40 [+3.16] # 53.40 [+0.00] Fib6 info length calculation in route notify test # 59.21 [+5.81] TEST: ipv6 route add notify [ OK ] # 62.29 [+3.08] # 62.29 [+0.00] Fib4 info length calculation in route notify test # 68.08 [+5.79] TEST: ipv4 route add notify [ OK ] # 76.68 [+8.60] # 76.68 [+0.00] IPv6 route add / append tests # 77.34 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 78.03 [+0.69] TEST: Attempt to add duplicate route - dev only [ OK ] # 78.70 [+0.67] TEST: Attempt to add duplicate route - reject route [ OK ] # 79.55 [+0.85] TEST: Append nexthop to existing route - gw [ OK ] # 80.23 [+0.68] TEST: Add multipath route [ OK ] # 80.90 [+0.66] TEST: Attempt to add duplicate multipath route [ OK ] # 81.74 [+0.84] TEST: Route add with different metrics [ OK ] # 82.07 [+0.33] TEST: Route delete with metric [ OK ] # 82.07 [+0.00] # 82.07 [+0.00] IPv6 route replace tests # 82.90 [+0.83] TEST: Single path with single path [ OK ] # 83.75 [+0.85] TEST: Single path with multipath [ OK ] # 84.58 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 85.44 [+0.87] TEST: Invalid nexthop [ OK ] # 86.13 [+0.69] TEST: Single path - replace of non-existent route [ OK ] # 87.01 [+0.88] TEST: Multipath with multipath [ OK ] # 87.86 [+0.86] TEST: Multipath with single path [ OK ] # 88.73 [+0.87] TEST: Multipath with single path via multipath attribute [ OK ] # 89.58 [+0.85] TEST: Multipath with dev-only [ OK ] # 90.47 [+0.89] TEST: Multipath - invalid first nexthop [ OK ] # 91.36 [+0.89] TEST: Multipath - invalid second nexthop [ OK ] # 92.06 [+0.70] TEST: Multipath - replace of non-existent route [ OK ] # 92.06 [+0.00] # 92.06 [+0.00] IPv6 route with dsfield tests # 92.41 [+0.35] TEST: Reject route with dsfield [ OK ] # 104.10 [+11.69] # 104.10 [+0.00] IPv4 route add / append tests # 104.78 [+0.68] TEST: Attempt to add duplicate route - gw [ OK ] # 105.44 [+0.65] TEST: Attempt to add duplicate route - dev only [ OK ] # 106.12 [+0.69] TEST: Attempt to add duplicate route - reject route [ OK ] # 106.98 [+0.86] TEST: Add new nexthop for existing prefix [ OK ] # 107.82 [+0.84] TEST: Append nexthop to existing route - gw [ OK ] # 108.68 [+0.86] TEST: Append nexthop to existing route - dev only [ OK ] # 109.52 [+0.85] TEST: Append nexthop to existing route - reject route [ OK ] # 110.24 [+0.71] TEST: Append nexthop to existing reject route - gw [ OK ] # 110.94 [+0.71] TEST: Append nexthop to existing reject route - dev only [ OK ] # 111.64 [+0.70] TEST: add multipath route [ OK ] # 112.32 [+0.68] TEST: Attempt to add duplicate multipath route [ OK ] # 113.16 [+0.84] TEST: Route add with different metrics [ OK ] # 113.51 [+0.34] TEST: Route delete with metric [ OK ] # 113.51 [+0.00] # 113.51 [+0.00] IPv4 route replace tests # 114.35 [+0.84] TEST: Single path with single path [ OK ] # 115.19 [+0.84] TEST: Single path with multipath [ OK ] # 116.04 [+0.85] TEST: Single path with reject route [ OK ] # 116.91 [+0.86] TEST: Single path with single path via multipath attribute [ OK ] # 117.75 [+0.85] TEST: Invalid nexthop [ OK ] # 118.45 [+0.70] TEST: Single path - replace of non-existent route [ OK ] # 119.31 [+0.86] TEST: Multipath with multipath [ OK ] # 120.18 [+0.87] TEST: Multipath with single path [ OK ] # 121.03 [+0.85] TEST: Multipath with single path via multipath attribute [ OK ] # 121.88 [+0.85] TEST: Multipath with reject route [ OK ] # 122.75 [+0.88] TEST: Multipath - invalid first nexthop [ OK ] # 123.61 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 124.29 [+0.68] TEST: Multipath - replace of non-existent route [ OK ] # 126.81 [+2.52] TEST: Cached route removed from VRF port device [ OK ] # 126.82 [+0.00] # 126.82 [+0.00] IPv4 route with dsfield tests # 127.17 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 127.35 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 127.52 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 128.01 [+0.49] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 128.16 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 128.32 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 128.47 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 128.62 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 128.78 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 128.93 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 129.07 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 129.21 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 129.37 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 129.50 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 129.66 [+0.16] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 132.48 [+2.82] # 132.48 [+0.00] IPv6 prefix route tests # 136.00 [+3.52] TEST: Default metric [ OK ] # 136.49 [+0.50] TEST: User specified metric on first device [ OK ] # 136.98 [+0.48] TEST: User specified metric on second device [ OK ] # 137.30 [+0.33] TEST: Delete of address on first device [ OK ] # 137.65 [+0.34] TEST: Modify metric of address [ OK ] # 138.24 [+0.59] TEST: Prefix route removed on link down [ OK ] # 138.58 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 139.08 [+0.50] TEST: Set metric with peer route on local side [ OK ] # 139.24 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 139.57 [+0.33] TEST: Modify metric and peer address on local side [ OK ] # 139.73 [+0.16] TEST: Modify metric and peer address on peer side [ OK ] # 141.53 [+1.80] # 141.53 [+0.00] IPv4 prefix route tests # 145.16 [+3.62] TEST: Default metric [ OK ] # 145.67 [+0.51] TEST: User specified metric on first device [ OK ] # 146.16 [+0.49] TEST: User specified metric on second device [ OK ] # 146.49 [+0.33] TEST: Delete of address on first device [ OK ] # 146.83 [+0.34] TEST: Modify metric of address [ OK ] # 147.15 [+0.32] TEST: Prefix route removed on link down [ OK ] # 147.49 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 148.16 [+0.67] TEST: Modify metric of .0/24 address [ OK ] # 148.65 [+0.49] TEST: Set metric of address with peer route [ OK ] # 148.99 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 150.78 [+1.79] # 150.78 [+0.00] IPv6 routes with metrics # 159.73 [+8.95] TEST: Single path route with mtu metric [ OK ] # 160.26 [+0.53] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 160.80 [+0.54] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 161.11 [+0.32] TEST: MTU of second leg [ OK ] # 161.45 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 161.91 [+0.45] TEST: Using route with mtu metric [ OK ] # 162.19 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 165.01 [+2.82] # 165.01 [+0.00] IPv4 route add / append tests # 174.42 [+9.41] TEST: Single path route with mtu metric [ OK ] # 174.91 [+0.49] TEST: Multipath route with mtu metric [ OK ] # 175.48 [+0.57] TEST: Using route with mtu metric [ OK ] # 175.78 [+0.30] TEST: Invalid metric (fails metric_convert) [ OK ] # 178.69 [+2.91] # 178.69 [+0.00] IPv4 route with IPv6 gateway tests # 190.43 [+11.74] TEST: Single path route with IPv6 gateway [ OK ] # 190.99 [+0.56] TEST: Single path route with IPv6 gateway - ping [ OK ] # 191.18 [+0.19] TEST: Single path route delete [ OK ] # 191.54 [+0.35] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 191.91 [+0.38] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 192.11 [+0.20] TEST: Multipath route delete exact match [ OK ] # 192.31 [+0.20] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 192.76 [+0.45] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 192.99 [+0.23] TEST: Multipath route delete exact match [ OK ] # 196.27 [+3.28] # 196.27 [+0.00] IPv4 rp_filter tests # 210.49 [+14.22] TEST: rp_filter passes local packets [ OK ] # 210.85 [+0.35] TEST: rp_filter passes loopback packets [ OK ] # 212.53 [+1.68] # 212.53 [+0.00] IPv4 delete address route tests # 219.09 [+6.57] Regular FIB info # 219.39 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 219.56 [+0.17] TEST: Route in default VRF not removed [ OK ] # 220.22 [+0.66] TEST: Route removed in default VRF when source address deleted [ OK ] # 220.36 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 220.36 [+0.00] Identical FIB info with different table ID # 220.65 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 220.82 [+0.17] TEST: Route in default VRF not removed [ OK ] # 221.52 [+0.70] TEST: Route removed in default VRF when source address deleted [ OK ] # 221.66 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 221.66 [+0.00] Table ID 0 # 221.98 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 223.81 [+1.83] # 223.81 [+0.00] IPv6 delete address route tests # 233.29 [+9.48] Single device using src address # 233.56 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 233.56 [+0.00] Two devices with the same source address # 233.86 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 234.14 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 234.15 [+0.00] VRF with single device using src address # 234.44 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 234.44 [+0.00] VRF with two devices using src address # 234.73 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 235.03 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 235.04 [+0.00] src address and nexthop dev in same VRF # 235.34 [+0.30] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 235.46 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 236.08 [+0.62] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 236.22 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 236.22 [+0.00] src address and nexthop device in different VRF # 236.53 [+0.31] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 236.66 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 237.08 [+0.42] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 237.21 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 237.22 [+0.01] Table ID 0 # 237.53 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 237.53 [+0.00] Link local source route # 237.83 [+0.30] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 238.12 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 238.26 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 238.72 [+0.47] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 241.38 [+2.66] # 241.38 [+0.00] IPv4 mangling tests # 253.67 [+12.29] TEST: Connection with correct parameters [ OK ] # 253.98 [+0.31] TEST: Connection with incorrect parameters [ OK ] # 255.24 [+1.26] TEST: Connection with correct parameters - mangling [ OK ] # 256.38 [+1.14] TEST: Connection with correct parameters - no mangling [ OK ] # 256.50 [+0.12] TEST: Connection check - server side [ OK ] # 259.83 [+3.33] # 259.83 [+0.00] IPv6 mangling tests # 271.91 [+12.07] TEST: Connection with correct parameters [ OK ] # 272.25 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 273.43 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 274.61 [+1.18] TEST: Connection with correct parameters - no mangling [ OK ] # 274.75 [+0.13] TEST: Connection check - server side [ OK ] # 278.05 [+3.31] # 278.05 [+0.00] IPv4 broadcast neighbour tests # 282.21 [+4.16] TEST: Resolved neighbour for broadcast address [ OK ] # 282.38 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 282.55 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 282.71 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 286.33 [+3.62] # 286.33 [+0.00] Fib6 garbage collection test # 300.72 [+14.39] TEST: ipv6 route garbage collection [ OK ] # 315.54 [+14.82] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 330.32 [+14.78] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 345.14 [+14.83] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 360.46 [+15.32] TEST: ipv6 route garbage collection (RA message) [ OK ] # 361.80 [+1.34] # 361.80 [+0.00] IPv4 multipath list receive tests # 385.83 [+24.02] TEST: Multipath route hit ratio (1.00) [ OK ] # 388.80 [+2.97] # 388.80 [+0.00] IPv6 multipath list receive tests # 411.45 [+22.65] TEST: Multipath route hit ratio (1.00) [ OK ] # 414.55 [+3.09] # 414.55 [+0.00] Tests passed: 229 # 414.55 [+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__->