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.57 [+0.57] # 0.57 [+0.00] Single path route test # 1.71 [+1.14] Start point # 1.84 [+0.13] TEST: IPv4 fibmatch [ OK ] # 1.94 [+0.10] TEST: IPv6 fibmatch [ OK ] # 2.10 [+0.16] Nexthop device deleted # 2.21 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.30 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.97 [+0.67] # 2.97 [+0.00] Multipath route test # 5.11 [+2.14] Start point # 5.22 [+0.11] TEST: IPv4 fibmatch [ OK ] # 5.33 [+0.11] TEST: IPv6 fibmatch [ OK ] # 5.47 [+0.14] One nexthop device deleted # 5.61 [+0.14] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.71 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 5.90 [+0.19] Second nexthop device deleted # 6.01 [+0.11] TEST: IPv6 - no route [ OK ] # 6.71 [+0.70] # 6.71 [+0.00] Single path, admin down # 8.22 [+1.51] Start point # 8.33 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.43 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.53 [+0.11] Route deleted on down # 8.64 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.75 [+0.11] TEST: IPv6 fibmatch [ OK ] # 9.34 [+0.59] # 9.34 [+0.00] Admin down multipath # 11.49 [+2.14] Verify start point # 11.60 [+0.11] TEST: IPv4 fibmatch [ OK ] # 11.74 [+0.14] TEST: IPv6 fibmatch [ OK ] # 11.87 [+0.13] One device down, one up # 12.01 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 12.14 [+0.13] TEST: IPv6 fibmatch on down device [ OK ] # 12.28 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 12.41 [+0.13] TEST: IPv6 fibmatch on up device [ OK ] # 12.60 [+0.19] TEST: IPv4 flags on down device [ OK ] # 12.77 [+0.17] TEST: IPv6 flags on down device [ OK ] # 12.96 [+0.19] TEST: IPv4 flags on up device [ OK ] # 13.14 [+0.18] TEST: IPv6 flags on up device [ OK ] # 13.37 [+0.24] Other device down and up # 13.47 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 13.56 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 13.70 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 13.82 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 13.95 [+0.14] TEST: IPv4 flags on down device [ OK ] # 14.09 [+0.13] TEST: IPv6 flags on down device [ OK ] # 14.25 [+0.16] TEST: IPv4 flags on up device [ OK ] # 14.36 [+0.11] TEST: IPv6 flags on up device [ OK ] # 14.50 [+0.14] Both devices down # 14.62 [+0.12] TEST: IPv4 fibmatch [ OK ] # 14.74 [+0.11] TEST: IPv6 fibmatch [ OK ] # 15.39 [+0.66] # 15.39 [+0.00] Local carrier tests - single path # 17.09 [+1.70] Start point # 17.21 [+0.12] TEST: IPv4 fibmatch [ OK ] # 17.32 [+0.10] TEST: IPv6 fibmatch [ OK ] # 17.42 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 17.56 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 18.72 [+1.17] Carrier off on nexthop # 18.84 [+0.12] TEST: IPv4 fibmatch [ OK ] # 18.94 [+0.10] TEST: IPv6 fibmatch [ OK ] # 19.04 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 19.14 [+0.11] TEST: IPv6 - linkdown flag set [ OK ] # 19.37 [+0.23] Route to local address with carrier down # 19.48 [+0.12] TEST: IPv4 fibmatch [ OK ] # 19.58 [+0.09] TEST: IPv6 fibmatch [ OK ] # 19.70 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 19.82 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 20.35 [+0.53] # 20.35 [+0.00] Single path route carrier test # 22.01 [+1.66] Start point # 22.16 [+0.15] TEST: IPv4 fibmatch [ OK ] # 22.26 [+0.10] TEST: IPv6 fibmatch [ OK ] # 22.38 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 22.50 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 23.66 [+1.16] Carrier down # 23.78 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.89 [+0.11] TEST: IPv6 fibmatch [ OK ] # 24.01 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 24.10 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 24.31 [+0.21] Second address added with carrier down # 24.40 [+0.09] TEST: IPv4 fibmatch [ OK ] # 24.52 [+0.12] TEST: IPv6 fibmatch [ OK ] # 24.63 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 24.73 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 29.95 [+5.22] # 29.96 [+0.00] IPv4 nexthop tests # 29.96 [+0.00] <<< write me >>> # 30.28 [+0.33] # 30.28 [+0.00] IPv6 nexthop tests # 30.42 [+0.13] TEST: Directly connected nexthop, unicast address [ OK ] # 30.53 [+0.11] TEST: Directly connected nexthop, unicast address with device [ OK ] # 30.64 [+0.12] TEST: Gateway is linklocal address [ OK ] # 30.75 [+0.11] TEST: Gateway is linklocal address, no device [ OK ] # 30.87 [+0.11] TEST: Gateway can not be local unicast address [ OK ] # 31.01 [+0.14] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.16 [+0.14] TEST: Gateway can not be a local linklocal address [ OK ] # 31.27 [+0.12] TEST: Gateway can be local address in a VRF [ OK ] # 31.40 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 31.51 [+0.11] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 31.62 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 31.77 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 31.88 [+0.11] TEST: VRF route, gateway can not be a local address [ OK ] # 32.02 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 33.21 [+1.20] # 33.21 [+0.00] FIB rule with suppress_prefixlength # 35.53 [+2.31] TEST: FIB rule suppress test [ OK ] # 37.60 [+2.07] # 37.60 [+0.00] Fib6 info length calculation in route notify test # 42.10 [+4.51] TEST: ipv6 route add notify [ OK ] # 44.09 [+1.98] # 44.09 [+0.00] Fib4 info length calculation in route notify test # 48.54 [+4.46] TEST: ipv4 route add notify [ OK ] # 54.09 [+5.55] # 54.09 [+0.00] IPv6 route add / append tests # 54.53 [+0.44] TEST: Attempt to add duplicate route - gw [ OK ] # 55.03 [+0.50] TEST: Attempt to add duplicate route - dev only [ OK ] # 55.50 [+0.47] TEST: Attempt to add duplicate route - reject route [ OK ] # 56.08 [+0.58] TEST: Append nexthop to existing route - gw [ OK ] # 56.60 [+0.51] TEST: Add multipath route [ OK ] # 57.05 [+0.45] TEST: Attempt to add duplicate multipath route [ OK ] # 57.61 [+0.56] TEST: Route add with different metrics [ OK ] # 57.86 [+0.25] TEST: Route delete with metric [ OK ] # 57.86 [+0.00] # 57.86 [+0.00] IPv6 route replace tests # 58.43 [+0.57] TEST: Single path with single path [ OK ] # 59.08 [+0.65] TEST: Single path with multipath [ OK ] # 59.63 [+0.55] TEST: Single path with single path via multipath attribute [ OK ] # 60.23 [+0.60] TEST: Invalid nexthop [ OK ] # 60.66 [+0.43] TEST: Single path - replace of non-existent route [ OK ] # 61.27 [+0.61] TEST: Multipath with multipath [ OK ] # 61.88 [+0.61] TEST: Multipath with single path [ OK ] # 62.44 [+0.56] TEST: Multipath with single path via multipath attribute [ OK ] # 63.06 [+0.62] TEST: Multipath with dev-only [ OK ] # 63.70 [+0.63] TEST: Multipath - invalid first nexthop [ OK ] # 64.27 [+0.58] TEST: Multipath - invalid second nexthop [ OK ] # 64.70 [+0.42] TEST: Multipath - replace of non-existent route [ OK ] # 64.70 [+0.00] # 64.70 [+0.00] IPv6 route with dsfield tests # 64.95 [+0.25] TEST: Reject route with dsfield [ OK ] # 72.41 [+7.45] # 72.41 [+0.00] IPv4 route add / append tests # 72.84 [+0.43] TEST: Attempt to add duplicate route - gw [ OK ] # 73.27 [+0.43] TEST: Attempt to add duplicate route - dev only [ OK ] # 73.65 [+0.38] TEST: Attempt to add duplicate route - reject route [ OK ] # 74.27 [+0.62] TEST: Add new nexthop for existing prefix [ OK ] # 74.80 [+0.53] TEST: Append nexthop to existing route - gw [ OK ] # 75.30 [+0.50] TEST: Append nexthop to existing route - dev only [ OK ] # 75.82 [+0.51] TEST: Append nexthop to existing route - reject route [ OK ] # 76.32 [+0.50] TEST: Append nexthop to existing reject route - gw [ OK ] # 76.80 [+0.48] TEST: Append nexthop to existing reject route - dev only [ OK ] # 77.20 [+0.40] TEST: add multipath route [ OK ] # 77.66 [+0.46] TEST: Attempt to add duplicate multipath route [ OK ] # 78.19 [+0.54] TEST: Route add with different metrics [ OK ] # 78.45 [+0.25] TEST: Route delete with metric [ OK ] # 78.45 [+0.00] # 78.45 [+0.00] IPv4 route replace tests # 79.03 [+0.58] TEST: Single path with single path [ OK ] # 79.54 [+0.51] TEST: Single path with multipath [ OK ] # 80.06 [+0.53] TEST: Single path with reject route [ OK ] # 80.66 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 81.28 [+0.62] TEST: Invalid nexthop [ OK ] # 81.70 [+0.43] TEST: Single path - replace of non-existent route [ OK ] # 82.25 [+0.55] TEST: Multipath with multipath [ OK ] # 82.80 [+0.55] TEST: Multipath with single path [ OK ] # 83.43 [+0.62] TEST: Multipath with single path via multipath attribute [ OK ] # 84.03 [+0.60] TEST: Multipath with reject route [ OK ] # 84.59 [+0.56] TEST: Multipath - invalid first nexthop [ OK ] # 85.17 [+0.58] TEST: Multipath - invalid second nexthop [ OK ] # 85.69 [+0.52] TEST: Multipath - replace of non-existent route [ OK ] # 87.67 [+1.98] TEST: Cached route removed from VRF port device [ OK ] # 87.67 [+0.00] # 87.67 [+0.00] IPv4 route with dsfield tests # 87.89 [+0.22] TEST: Reject route with dsfield 0x01 [ OK ] # 88.01 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 88.13 [+0.12] TEST: Reject route with dsfield 0x03 [ OK ] # 88.53 [+0.40] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 88.63 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 88.74 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 88.86 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 88.96 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 89.07 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 89.18 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 89.27 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 89.40 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 89.50 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 89.65 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 89.75 [+0.10] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 91.99 [+2.24] # 91.99 [+0.00] IPv6 prefix route tests # 94.42 [+2.43] TEST: Default metric [ OK ] # 94.75 [+0.33] TEST: User specified metric on first device [ OK ] # 95.09 [+0.34] TEST: User specified metric on second device [ OK ] # 95.31 [+0.22] TEST: Delete of address on first device [ OK ] # 95.55 [+0.24] TEST: Modify metric of address [ OK ] # 95.93 [+0.38] TEST: Prefix route removed on link down [ OK ] # 96.18 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 96.55 [+0.37] TEST: Set metric with peer route on local side [ OK ] # 96.67 [+0.12] TEST: Set metric with peer route on peer side [ OK ] # 96.91 [+0.24] TEST: Modify metric and peer address on local side [ OK ] # 97.04 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 98.30 [+1.26] # 98.30 [+0.00] IPv4 prefix route tests # 100.60 [+2.31] TEST: Default metric [ OK ] # 100.95 [+0.35] TEST: User specified metric on first device [ OK ] # 101.31 [+0.35] TEST: User specified metric on second device [ OK ] # 101.52 [+0.22] TEST: Delete of address on first device [ OK ] # 101.75 [+0.23] TEST: Modify metric of address [ OK ] # 101.94 [+0.20] TEST: Prefix route removed on link down [ OK ] # 102.16 [+0.22] TEST: Prefix route with metric on link up [ OK ] # 102.62 [+0.45] TEST: Modify metric of .0/24 address [ OK ] # 102.94 [+0.32] TEST: Set metric of address with peer route [ OK ] # 103.16 [+0.22] TEST: Modify metric and peer address for peer route [ OK ] # 104.39 [+1.24] # 104.40 [+0.00] IPv6 routes with metrics # 110.09 [+5.70] TEST: Single path route with mtu metric [ OK ] # 110.47 [+0.38] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 110.79 [+0.31] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 111.07 [+0.28] TEST: MTU of second leg [ OK ] # 111.36 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 111.67 [+0.31] TEST: Using route with mtu metric [ OK ] # 111.87 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 113.99 [+2.12] # 113.99 [+0.00] IPv4 route add / append tests # 119.63 [+5.64] TEST: Single path route with mtu metric [ OK ] # 119.85 [+0.22] TEST: Multipath route with mtu metric [ OK ] # 120.12 [+0.26] TEST: Using route with mtu metric [ OK ] # 120.32 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 122.42 [+2.10] # 122.42 [+0.00] IPv4 route with IPv6 gateway tests # 130.02 [+7.61] TEST: Single path route with IPv6 gateway [ OK ] # 130.35 [+0.33] TEST: Single path route with IPv6 gateway - ping [ OK ] # 130.46 [+0.10] TEST: Single path route delete [ OK ] # 130.67 [+0.21] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 130.90 [+0.23] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 131.01 [+0.11] TEST: Multipath route delete exact match [ OK ] # 131.13 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 131.39 [+0.26] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 131.51 [+0.12] TEST: Multipath route delete exact match [ OK ] # 133.65 [+2.14] # 133.65 [+0.00] IPv4 rp_filter tests # 141.18 [+7.53] TEST: rp_filter passes local packets [ OK ] # 141.36 [+0.18] TEST: rp_filter passes loopback packets [ OK ] # 142.29 [+0.93] # 142.29 [+0.00] IPv4 delete address route tests # 145.68 [+3.40] Regular FIB info # 145.87 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 145.96 [+0.10] TEST: Route in default VRF not removed [ OK ] # 146.40 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 146.52 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 146.53 [+0.00] Identical FIB info with different table ID # 146.69 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 146.81 [+0.11] TEST: Route in default VRF not removed [ OK ] # 147.22 [+0.41] TEST: Route removed in default VRF when source address deleted [ OK ] # 147.32 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 147.32 [+0.00] Table ID 0 # 147.51 [+0.20] TEST: Route removed in default VRF when source address deleted [ OK ] # 148.70 [+1.19] # 148.70 [+0.00] IPv6 delete address route tests # 154.24 [+5.54] Single device using src address # 154.44 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 154.44 [+0.00] Two devices with the same source address # 154.63 [+0.19] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 154.82 [+0.19] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 154.83 [+0.00] VRF with single device using src address # 155.01 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 155.01 [+0.00] VRF with two devices using src address # 155.17 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 155.36 [+0.19] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 155.37 [+0.00] src address and nexthop dev in same VRF # 155.55 [+0.18] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 155.69 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 156.14 [+0.45] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 156.24 [+0.10] TEST: Prefsrc in default VRF removed [ OK ] # 156.24 [+0.00] src address and nexthop device in different VRF # 156.44 [+0.20] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 156.55 [+0.11] TEST: Prefsrc not removed in default VRF [ OK ] # 156.86 [+0.31] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 157.00 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 157.00 [+0.00] Table ID 0 # 157.20 [+0.20] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 157.20 [+0.00] Link local source route # 157.43 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 157.65 [+0.23] TEST: Prefsrc removed when delete ll addr [ OK ] # 157.75 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 158.08 [+0.33] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 159.84 [+1.76] # 159.84 [+0.00] IPv4 mangling tests # 168.53 [+8.69] TEST: Connection with correct parameters [ OK ] # 168.74 [+0.21] TEST: Connection with incorrect parameters [ OK ] # 169.80 [+1.06] TEST: Connection with correct parameters - mangling [ OK ] # 170.70 [+0.91] TEST: Connection with correct parameters - no mangling [ OK ] # 170.76 [+0.06] TEST: Connection check - server side [ OK ] # 173.12 [+2.35] # 173.12 [+0.00] IPv6 mangling tests # 181.60 [+8.48] TEST: Connection with correct parameters [ OK ] # 181.85 [+0.26] TEST: Connection with incorrect parameters [ OK ] # 182.75 [+0.90] TEST: Connection with correct parameters - mangling [ OK ] # 183.69 [+0.93] TEST: Connection with correct parameters - no mangling [ OK ] # 183.75 [+0.07] TEST: Connection check - server side [ OK ] # 186.12 [+2.36] # 186.12 [+0.00] IPv4 broadcast neighbour tests # 191.73 [+5.61] TEST: Resolved neighbour for broadcast address [ OK ] # 191.99 [+0.26] TEST: Resolved neighbour for network broadcast address [ OK ] # 192.20 [+0.21] TEST: Unresolved neighbour for broadcast address [ OK ] # 192.39 [+0.19] TEST: Unresolved neighbour for network broadcast address [ OK ] # 195.99 [+3.60] # 195.99 [+0.00] Fib6 garbage collection test # 209.75 [+13.76] TEST: ipv6 route garbage collection [ OK ] # 223.49 [+13.75] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 237.17 [+13.67] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 250.95 [+13.78] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 265.55 [+14.60] TEST: ipv6 route garbage collection (RA message) [ OK ] # 266.45 [+0.90] # 266.45 [+0.00] IPv4 multipath list receive tests # 287.62 [+21.17] TEST: Multipath route hit ratio (1.00) [ OK ] # 289.83 [+2.21] # 289.83 [+0.00] IPv6 multipath list receive tests # 309.70 [+19.86] TEST: Multipath route hit ratio (1.00) [ OK ] # 311.88 [+2.19] # 311.88 [+0.00] Tests passed: 229 # 311.89 [+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__->