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.53 [+0.53] # 0.53 [+0.00] Single path route test # 1.71 [+1.18] Start point # 1.80 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.92 [+0.12] TEST: IPv6 fibmatch [ OK ] # 2.06 [+0.15] Nexthop device deleted # 2.16 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.27 [+0.11] TEST: IPv6 fibmatch - no route [ OK ] # 2.96 [+0.70] # 2.96 [+0.00] Multipath route test # 5.04 [+2.08] Start point # 5.14 [+0.10] TEST: IPv4 fibmatch [ OK ] # 5.25 [+0.11] TEST: IPv6 fibmatch [ OK ] # 5.39 [+0.14] One nexthop device deleted # 5.50 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.61 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 5.76 [+0.15] Second nexthop device deleted # 5.85 [+0.09] TEST: IPv6 - no route [ OK ] # 6.53 [+0.68] # 6.53 [+0.00] Single path, admin down # 7.95 [+1.42] Start point # 8.06 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.17 [+0.11] TEST: IPv6 fibmatch [ OK ] # 8.28 [+0.11] Route deleted on down # 8.39 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.49 [+0.10] TEST: IPv6 fibmatch [ OK ] # 9.03 [+0.55] # 9.03 [+0.00] Admin down multipath # 11.17 [+2.14] Verify start point # 11.29 [+0.12] TEST: IPv4 fibmatch [ OK ] # 11.40 [+0.11] TEST: IPv6 fibmatch [ OK ] # 11.50 [+0.10] One device down, one up # 11.64 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 11.76 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 11.86 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 11.98 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.13 [+0.15] TEST: IPv4 flags on down device [ OK ] # 12.24 [+0.11] TEST: IPv6 flags on down device [ OK ] # 12.38 [+0.13] TEST: IPv4 flags on up device [ OK ] # 12.50 [+0.12] TEST: IPv6 flags on up device [ OK ] # 12.74 [+0.24] Other device down and up # 12.85 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 12.96 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 13.06 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 13.18 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 13.31 [+0.14] TEST: IPv4 flags on down device [ OK ] # 13.43 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.58 [+0.14] TEST: IPv4 flags on up device [ OK ] # 13.70 [+0.13] TEST: IPv6 flags on up device [ OK ] # 13.83 [+0.13] Both devices down # 13.95 [+0.12] TEST: IPv4 fibmatch [ OK ] # 14.06 [+0.11] TEST: IPv6 fibmatch [ OK ] # 14.83 [+0.77] # 14.83 [+0.00] Local carrier tests - single path # 16.42 [+1.58] Start point # 16.52 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.63 [+0.11] TEST: IPv6 fibmatch [ OK ] # 16.74 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 16.86 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 18.03 [+1.17] Carrier off on nexthop # 18.14 [+0.12] TEST: IPv4 fibmatch [ OK ] # 18.25 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.34 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 18.46 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 18.67 [+0.21] Route to local address with carrier down # 18.77 [+0.10] TEST: IPv4 fibmatch [ OK ] # 18.89 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.99 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 19.10 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 19.69 [+0.59] # 19.69 [+0.00] Single path route carrier test # 21.29 [+1.60] Start point # 21.40 [+0.10] TEST: IPv4 fibmatch [ OK ] # 21.51 [+0.11] TEST: IPv6 fibmatch [ OK ] # 21.62 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 21.71 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 22.87 [+1.16] Carrier down # 22.99 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.08 [+0.10] TEST: IPv6 fibmatch [ OK ] # 23.18 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 23.30 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 23.50 [+0.20] Second address added with carrier down # 23.60 [+0.10] TEST: IPv4 fibmatch [ OK ] # 23.71 [+0.11] TEST: IPv6 fibmatch [ OK ] # 23.83 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 23.92 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 29.05 [+5.12] # 29.05 [+0.00] IPv4 nexthop tests # 29.05 [+0.00] <<< write me >>> # 29.34 [+0.29] # 29.34 [+0.00] IPv6 nexthop tests # 29.46 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 29.59 [+0.13] TEST: Directly connected nexthop, unicast address with device [ OK ] # 29.70 [+0.11] TEST: Gateway is linklocal address [ OK ] # 29.84 [+0.14] TEST: Gateway is linklocal address, no device [ OK ] # 29.95 [+0.11] TEST: Gateway can not be local unicast address [ OK ] # 30.07 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 30.19 [+0.12] TEST: Gateway can not be a local linklocal address [ OK ] # 30.31 [+0.12] TEST: Gateway can be local address in a VRF [ OK ] # 30.43 [+0.12] TEST: Gateway can be local address in a VRF, with device [ OK ] # 30.56 [+0.14] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 30.67 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 30.80 [+0.13] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 30.92 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 31.04 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 32.13 [+1.09] # 32.13 [+0.00] FIB rule with suppress_prefixlength # 34.36 [+2.23] TEST: FIB rule suppress test [ OK ] # 36.39 [+2.03] # 36.39 [+0.00] Fib6 info length calculation in route notify test # 41.04 [+4.65] TEST: ipv6 route add notify [ OK ] # 43.12 [+2.08] # 43.12 [+0.00] Fib4 info length calculation in route notify test # 47.71 [+4.58] TEST: ipv4 route add notify [ OK ] # 53.26 [+5.55] # 53.26 [+0.00] IPv6 route add / append tests # 53.70 [+0.45] TEST: Attempt to add duplicate route - gw [ OK ] # 54.16 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 54.62 [+0.46] TEST: Attempt to add duplicate route - reject route [ OK ] # 55.20 [+0.58] TEST: Append nexthop to existing route - gw [ OK ] # 55.67 [+0.47] TEST: Add multipath route [ OK ] # 56.14 [+0.47] TEST: Attempt to add duplicate multipath route [ OK ] # 56.70 [+0.56] TEST: Route add with different metrics [ OK ] # 56.96 [+0.26] TEST: Route delete with metric [ OK ] # 56.96 [+0.00] # 56.96 [+0.00] IPv6 route replace tests # 57.55 [+0.59] TEST: Single path with single path [ OK ] # 58.14 [+0.59] TEST: Single path with multipath [ OK ] # 58.71 [+0.57] TEST: Single path with single path via multipath attribute [ OK ] # 59.30 [+0.59] TEST: Invalid nexthop [ OK ] # 59.74 [+0.44] TEST: Single path - replace of non-existent route [ OK ] # 60.34 [+0.59] TEST: Multipath with multipath [ OK ] # 60.91 [+0.58] TEST: Multipath with single path [ OK ] # 61.48 [+0.57] TEST: Multipath with single path via multipath attribute [ OK ] # 62.06 [+0.58] TEST: Multipath with dev-only [ OK ] # 62.65 [+0.60] TEST: Multipath - invalid first nexthop [ OK ] # 63.23 [+0.57] TEST: Multipath - invalid second nexthop [ OK ] # 63.67 [+0.45] TEST: Multipath - replace of non-existent route [ OK ] # 63.68 [+0.00] # 63.68 [+0.00] IPv6 route with dsfield tests # 63.92 [+0.24] TEST: Reject route with dsfield [ OK ] # 71.57 [+7.65] # 71.57 [+0.00] IPv4 route add / append tests # 72.02 [+0.45] TEST: Attempt to add duplicate route - gw [ OK ] # 72.47 [+0.45] TEST: Attempt to add duplicate route - dev only [ OK ] # 72.93 [+0.46] TEST: Attempt to add duplicate route - reject route [ OK ] # 73.50 [+0.57] TEST: Add new nexthop for existing prefix [ OK ] # 74.09 [+0.59] TEST: Append nexthop to existing route - gw [ OK ] # 74.67 [+0.58] TEST: Append nexthop to existing route - dev only [ OK ] # 75.24 [+0.57] TEST: Append nexthop to existing route - reject route [ OK ] # 75.72 [+0.48] TEST: Append nexthop to existing reject route - gw [ OK ] # 76.18 [+0.46] TEST: Append nexthop to existing reject route - dev only [ OK ] # 76.65 [+0.46] TEST: add multipath route [ OK ] # 77.08 [+0.44] TEST: Attempt to add duplicate multipath route [ OK ] # 77.67 [+0.59] TEST: Route add with different metrics [ OK ] # 77.90 [+0.23] TEST: Route delete with metric [ OK ] # 77.90 [+0.00] # 77.90 [+0.00] IPv4 route replace tests # 78.48 [+0.58] TEST: Single path with single path [ OK ] # 79.04 [+0.56] TEST: Single path with multipath [ OK ] # 79.64 [+0.59] TEST: Single path with reject route [ OK ] # 80.21 [+0.58] TEST: Single path with single path via multipath attribute [ OK ] # 80.80 [+0.59] TEST: Invalid nexthop [ OK ] # 81.25 [+0.44] TEST: Single path - replace of non-existent route [ OK ] # 81.84 [+0.59] TEST: Multipath with multipath [ OK ] # 82.42 [+0.59] TEST: Multipath with single path [ OK ] # 82.99 [+0.57] TEST: Multipath with single path via multipath attribute [ OK ] # 83.59 [+0.60] TEST: Multipath with reject route [ OK ] # 84.16 [+0.57] TEST: Multipath - invalid first nexthop [ OK ] # 84.75 [+0.59] TEST: Multipath - invalid second nexthop [ OK ] # 85.20 [+0.45] TEST: Multipath - replace of non-existent route [ OK ] # 87.08 [+1.88] TEST: Cached route removed from VRF port device [ OK ] # 87.08 [+0.00] # 87.08 [+0.00] IPv4 route with dsfield tests # 87.32 [+0.24] TEST: Reject route with dsfield 0x01 [ OK ] # 87.44 [+0.12] TEST: Reject route with dsfield 0x02 [ OK ] # 87.58 [+0.14] TEST: Reject route with dsfield 0x03 [ OK ] # 87.93 [+0.35] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 88.05 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 88.18 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 88.30 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 88.41 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 88.51 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 88.61 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 88.75 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 88.88 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 88.98 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 89.07 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 89.19 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 91.33 [+2.14] # 91.33 [+0.00] IPv6 prefix route tests # 93.75 [+2.42] TEST: Default metric [ OK ] # 94.11 [+0.36] TEST: User specified metric on first device [ OK ] # 94.48 [+0.37] TEST: User specified metric on second device [ OK ] # 94.72 [+0.24] TEST: Delete of address on first device [ OK ] # 94.96 [+0.24] TEST: Modify metric of address [ OK ] # 95.35 [+0.40] TEST: Prefix route removed on link down [ OK ] # 95.59 [+0.24] TEST: Prefix route with metric on link up [ OK ] # 95.96 [+0.36] TEST: Set metric with peer route on local side [ OK ] # 96.08 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 96.33 [+0.25] TEST: Modify metric and peer address on local side [ OK ] # 96.44 [+0.11] TEST: Modify metric and peer address on peer side [ OK ] # 97.68 [+1.24] # 97.68 [+0.00] IPv4 prefix route tests # 99.99 [+2.31] TEST: Default metric [ OK ] # 100.34 [+0.36] TEST: User specified metric on first device [ OK ] # 100.70 [+0.35] TEST: User specified metric on second device [ OK ] # 100.94 [+0.25] TEST: Delete of address on first device [ OK ] # 101.17 [+0.23] TEST: Modify metric of address [ OK ] # 101.39 [+0.21] TEST: Prefix route removed on link down [ OK ] # 101.63 [+0.24] TEST: Prefix route with metric on link up [ OK ] # 102.11 [+0.48] TEST: Modify metric of .0/24 address [ OK ] # 102.48 [+0.37] TEST: Set metric of address with peer route [ OK ] # 102.71 [+0.23] TEST: Modify metric and peer address for peer route [ OK ] # 103.90 [+1.19] # 103.90 [+0.00] IPv6 routes with metrics # 109.71 [+5.81] TEST: Single path route with mtu metric [ OK ] # 110.09 [+0.38] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 110.47 [+0.38] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 110.71 [+0.24] TEST: MTU of second leg [ OK ] # 110.96 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 111.26 [+0.30] TEST: Using route with mtu metric [ OK ] # 111.45 [+0.19] TEST: Invalid metric (fails metric_convert) [ OK ] # 113.56 [+2.11] # 113.56 [+0.00] IPv4 route add / append tests # 119.54 [+5.98] TEST: Single path route with mtu metric [ OK ] # 119.77 [+0.23] TEST: Multipath route with mtu metric [ OK ] # 120.06 [+0.29] TEST: Using route with mtu metric [ OK ] # 120.26 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 122.32 [+2.06] # 122.32 [+0.00] IPv4 route with IPv6 gateway tests # 130.30 [+7.98] TEST: Single path route with IPv6 gateway [ OK ] # 130.60 [+0.30] TEST: Single path route with IPv6 gateway - ping [ OK ] # 130.73 [+0.13] TEST: Single path route delete [ OK ] # 130.94 [+0.20] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 131.20 [+0.26] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 131.33 [+0.13] TEST: Multipath route delete exact match [ OK ] # 131.46 [+0.13] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 131.70 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 131.83 [+0.13] TEST: Multipath route delete exact match [ OK ] # 134.04 [+2.21] # 134.04 [+0.00] IPv4 rp_filter tests # 142.08 [+8.04] TEST: rp_filter passes local packets [ OK ] # 142.27 [+0.19] TEST: rp_filter passes loopback packets [ OK ] # 143.21 [+0.94] # 143.21 [+0.00] IPv4 delete address route tests # 146.82 [+3.61] Regular FIB info # 147.02 [+0.20] TEST: Route removed from VRF when source address deleted [ OK ] # 147.13 [+0.11] TEST: Route in default VRF not removed [ OK ] # 147.58 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 147.70 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 147.71 [+0.01] Identical FIB info with different table ID # 147.92 [+0.21] TEST: Route removed from VRF when source address deleted [ OK ] # 148.05 [+0.13] TEST: Route in default VRF not removed [ OK ] # 148.47 [+0.42] TEST: Route removed in default VRF when source address deleted [ OK ] # 148.58 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 148.58 [+0.00] Table ID 0 # 148.80 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 150.06 [+1.25] # 150.06 [+0.00] IPv6 delete address route tests # 156.41 [+6.35] Single device using src address # 156.64 [+0.23] TEST: Prefsrc removed when src address removed on other device [ OK ] # 156.65 [+0.00] Two devices with the same source address # 156.87 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 157.10 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 157.10 [+0.00] VRF with single device using src address # 157.31 [+0.21] TEST: Prefsrc removed when src address removed on other device [ OK ] # 157.31 [+0.00] VRF with two devices using src address # 157.53 [+0.22] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 157.77 [+0.24] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 157.77 [+0.00] src address and nexthop dev in same VRF # 158.00 [+0.22] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 158.10 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 158.56 [+0.46] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 158.69 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 158.70 [+0.00] src address and nexthop device in different VRF # 158.91 [+0.21] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 159.03 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 159.36 [+0.33] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 159.46 [+0.11] TEST: Prefsrc removed in default VRF [ OK ] # 159.46 [+0.00] Table ID 0 # 159.70 [+0.23] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 159.70 [+0.00] Link local source route # 159.91 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 160.13 [+0.22] TEST: Prefsrc removed when delete ll addr [ OK ] # 160.24 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 160.57 [+0.33] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 162.47 [+1.90] # 162.47 [+0.00] IPv4 mangling tests # 171.60 [+9.14] TEST: Connection with correct parameters [ OK ] # 171.85 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 172.90 [+1.05] TEST: Connection with correct parameters - mangling [ OK ] # 173.88 [+0.99] TEST: Connection with correct parameters - no mangling [ OK ] # 173.98 [+0.09] TEST: Connection check - server side [ OK ] # 176.48 [+2.50] # 176.48 [+0.00] IPv6 mangling tests # 185.60 [+9.12] TEST: Connection with correct parameters [ OK ] # 185.86 [+0.26] TEST: Connection with incorrect parameters [ OK ] # 186.84 [+0.97] TEST: Connection with correct parameters - mangling [ OK ] # 187.81 [+0.98] TEST: Connection with correct parameters - no mangling [ OK ] # 187.89 [+0.08] TEST: Connection check - server side [ OK ] # 190.47 [+2.57] # 190.47 [+0.00] IPv4 broadcast neighbour tests # 193.44 [+2.97] TEST: Resolved neighbour for broadcast address [ OK ] # 193.57 [+0.13] TEST: Resolved neighbour for network broadcast address [ OK ] # 193.70 [+0.13] TEST: Unresolved neighbour for broadcast address [ OK ] # 193.82 [+0.12] TEST: Unresolved neighbour for network broadcast address [ OK ] # 196.27 [+2.45] # 196.27 [+0.00] Fib6 garbage collection test # 209.87 [+13.60] TEST: ipv6 route garbage collection [ OK ] # 223.74 [+13.87] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 237.72 [+13.98] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 251.90 [+14.18] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 266.54 [+14.64] TEST: ipv6 route garbage collection (RA message) [ OK ] # 267.46 [+0.93] # 267.46 [+0.00] IPv4 multipath list receive tests # 286.30 [+18.83] TEST: Multipath route hit ratio (1.00) [ OK ] # 288.52 [+2.22] # 288.52 [+0.00] IPv6 multipath list receive tests # 307.29 [+18.78] TEST: Multipath route hit ratio (1.00) [ OK ] # 309.50 [+2.21] # 309.50 [+0.00] Tests passed: 229 # 309.50 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->