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.05 [+1.05] # 1.05 [+0.00] Single path route test # 2.92 [+1.87] Start point # 3.07 [+0.15] TEST: IPv4 fibmatch [ OK ] # 3.22 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.40 [+0.18] Nexthop device deleted # 3.57 [+0.17] TEST: IPv4 fibmatch - no route [ OK ] # 3.73 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.71 [+0.98] # 4.71 [+0.00] Multipath route test # 8.09 [+3.37] Start point # 8.26 [+0.17] TEST: IPv4 fibmatch [ OK ] # 8.42 [+0.17] TEST: IPv6 fibmatch [ OK ] # 8.62 [+0.20] One nexthop device deleted # 8.79 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.94 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 9.12 [+0.18] Second nexthop device deleted # 9.29 [+0.17] TEST: IPv6 - no route [ OK ] # 10.27 [+0.98] # 10.27 [+0.00] Single path, admin down # 12.61 [+2.34] Start point # 12.77 [+0.16] TEST: IPv4 fibmatch [ OK ] # 12.94 [+0.17] TEST: IPv6 fibmatch [ OK ] # 13.11 [+0.17] Route deleted on down # 13.26 [+0.15] TEST: IPv4 fibmatch [ OK ] # 13.43 [+0.17] TEST: IPv6 fibmatch [ OK ] # 14.25 [+0.82] # 14.25 [+0.00] Admin down multipath # 17.82 [+3.57] Verify start point # 17.98 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.15 [+0.17] TEST: IPv6 fibmatch [ OK ] # 18.36 [+0.21] One device down, one up # 18.53 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 18.69 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.86 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.01 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 19.14 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.31 [+0.18] TEST: IPv6 flags on down device [ OK ] # 19.43 [+0.12] TEST: IPv4 flags on up device [ OK ] # 19.57 [+0.14] TEST: IPv6 flags on up device [ OK ] # 19.90 [+0.33] Other device down and up # 20.05 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 20.24 [+0.19] TEST: IPv6 fibmatch on down device [ OK ] # 20.42 [+0.18] TEST: IPv4 fibmatch on up device [ OK ] # 20.58 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.74 [+0.16] TEST: IPv4 flags on down device [ OK ] # 20.90 [+0.16] TEST: IPv6 flags on down device [ OK ] # 21.05 [+0.15] TEST: IPv4 flags on up device [ OK ] # 21.18 [+0.13] TEST: IPv6 flags on up device [ OK ] # 21.34 [+0.17] Both devices down # 21.51 [+0.16] TEST: IPv4 fibmatch [ OK ] # 21.66 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.72 [+1.05] # 22.72 [+0.00] Local carrier tests - single path # 25.52 [+2.81] Start point # 25.74 [+0.22] TEST: IPv4 fibmatch [ OK ] # 25.93 [+0.19] TEST: IPv6 fibmatch [ OK ] # 26.13 [+0.20] TEST: IPv4 - no linkdown flag [ OK ] # 26.29 [+0.16] TEST: IPv6 - no linkdown flag [ OK ] # 27.63 [+1.34] Carrier off on nexthop # 27.81 [+0.18] TEST: IPv4 fibmatch [ OK ] # 27.97 [+0.16] TEST: IPv6 fibmatch [ OK ] # 28.13 [+0.16] TEST: IPv4 - linkdown flag set [ OK ] # 28.29 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 28.69 [+0.40] Route to local address with carrier down # 28.92 [+0.22] TEST: IPv4 fibmatch [ OK ] # 29.16 [+0.24] TEST: IPv6 fibmatch [ OK ] # 29.35 [+0.19] TEST: IPv4 linkdown flag set [ OK ] # 29.54 [+0.19] TEST: IPv6 linkdown flag set [ OK ] # 30.54 [+1.00] # 30.54 [+0.00] Single path route carrier test # 33.73 [+3.19] Start point # 33.92 [+0.19] TEST: IPv4 fibmatch [ OK ] # 34.14 [+0.22] TEST: IPv6 fibmatch [ OK ] # 34.30 [+0.16] TEST: IPv4 no linkdown flag [ OK ] # 34.49 [+0.19] TEST: IPv6 no linkdown flag [ OK ] # 35.81 [+1.32] Carrier down # 36.07 [+0.26] TEST: IPv4 fibmatch [ OK ] # 36.34 [+0.27] TEST: IPv6 fibmatch [ OK ] # 36.51 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 36.72 [+0.21] TEST: IPv6 linkdown flag set [ OK ] # 37.13 [+0.42] Second address added with carrier down # 37.31 [+0.18] TEST: IPv4 fibmatch [ OK ] # 37.51 [+0.19] TEST: IPv6 fibmatch [ OK ] # 37.73 [+0.22] TEST: IPv4 linkdown flag set [ OK ] # 37.90 [+0.17] TEST: IPv6 linkdown flag set [ OK ] # 47.27 [+9.37] # 47.27 [+0.00] IPv4 nexthop tests # 47.27 [+0.00] <<< write me >>> # 47.74 [+0.47] # 47.74 [+0.00] IPv6 nexthop tests # 47.97 [+0.24] TEST: Directly connected nexthop, unicast address [ OK ] # 48.22 [+0.25] TEST: Directly connected nexthop, unicast address with device [ OK ] # 48.45 [+0.23] TEST: Gateway is linklocal address [ OK ] # 48.70 [+0.25] TEST: Gateway is linklocal address, no device [ OK ] # 48.93 [+0.22] TEST: Gateway can not be local unicast address [ OK ] # 49.17 [+0.24] TEST: Gateway can not be local unicast address, with device [ OK ] # 49.39 [+0.22] TEST: Gateway can not be a local linklocal address [ OK ] # 49.62 [+0.22] TEST: Gateway can be local address in a VRF [ OK ] # 49.89 [+0.27] TEST: Gateway can be local address in a VRF, with device [ OK ] # 50.13 [+0.24] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 50.33 [+0.20] TEST: Redirect to VRF lookup [ OK ] # 50.58 [+0.25] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 50.78 [+0.20] TEST: VRF route, gateway can not be a local address [ OK ] # 51.01 [+0.22] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 52.92 [+1.91] # 52.92 [+0.00] FIB rule with suppress_prefixlength # 57.46 [+4.54] TEST: FIB rule suppress test [ OK ] # 61.32 [+3.86] # 61.32 [+0.00] Fib6 info length calculation in route notify test # 67.71 [+6.39] TEST: ipv6 route add notify [ OK ] # 71.09 [+3.39] # 71.09 [+0.00] Fib4 info length calculation in route notify test # 76.95 [+5.86] TEST: ipv4 route add notify [ OK ] # 85.81 [+8.86] # 85.81 [+0.00] IPv6 route add / append tests # 86.47 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 87.16 [+0.69] TEST: Attempt to add duplicate route - dev only [ OK ] # 87.84 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 88.69 [+0.84] TEST: Append nexthop to existing route - gw [ OK ] # 89.32 [+0.64] TEST: Add multipath route [ OK ] # 89.98 [+0.66] TEST: Attempt to add duplicate multipath route [ OK ] # 90.81 [+0.83] TEST: Route add with different metrics [ OK ] # 91.11 [+0.30] TEST: Route delete with metric [ OK ] # 91.12 [+0.00] # 91.12 [+0.00] IPv6 route replace tests # 91.93 [+0.81] TEST: Single path with single path [ OK ] # 92.73 [+0.80] TEST: Single path with multipath [ OK ] # 93.51 [+0.79] TEST: Single path with single path via multipath attribute [ OK ] # 94.33 [+0.82] TEST: Invalid nexthop [ OK ] # 94.99 [+0.66] TEST: Single path - replace of non-existent route [ OK ] # 95.79 [+0.81] TEST: Multipath with multipath [ OK ] # 96.58 [+0.79] TEST: Multipath with single path [ OK ] # 97.38 [+0.80] TEST: Multipath with single path via multipath attribute [ OK ] # 98.24 [+0.86] TEST: Multipath with dev-only [ OK ] # 99.12 [+0.88] TEST: Multipath - invalid first nexthop [ OK ] # 99.97 [+0.85] TEST: Multipath - invalid second nexthop [ OK ] # 100.64 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 100.64 [+0.00] # 100.64 [+0.00] IPv6 route with dsfield tests # 100.98 [+0.34] TEST: Reject route with dsfield [ OK ] # 112.38 [+11.41] # 112.38 [+0.00] IPv4 route add / append tests # 113.06 [+0.68] TEST: Attempt to add duplicate route - gw [ OK ] # 113.73 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 114.39 [+0.65] TEST: Attempt to add duplicate route - reject route [ OK ] # 115.22 [+0.83] TEST: Add new nexthop for existing prefix [ OK ] # 116.04 [+0.82] TEST: Append nexthop to existing route - gw [ OK ] # 116.88 [+0.84] TEST: Append nexthop to existing route - dev only [ OK ] # 117.69 [+0.81] TEST: Append nexthop to existing route - reject route [ OK ] # 118.37 [+0.68] TEST: Append nexthop to existing reject route - gw [ OK ] # 119.07 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 119.77 [+0.71] TEST: add multipath route [ OK ] # 120.43 [+0.66] TEST: Attempt to add duplicate multipath route [ OK ] # 121.28 [+0.84] TEST: Route add with different metrics [ OK ] # 121.63 [+0.35] TEST: Route delete with metric [ OK ] # 121.63 [+0.00] # 121.63 [+0.00] IPv4 route replace tests # 122.46 [+0.83] TEST: Single path with single path [ OK ] # 123.30 [+0.85] TEST: Single path with multipath [ OK ] # 124.15 [+0.85] TEST: Single path with reject route [ OK ] # 124.96 [+0.81] TEST: Single path with single path via multipath attribute [ OK ] # 125.80 [+0.84] TEST: Invalid nexthop [ OK ] # 126.46 [+0.66] TEST: Single path - replace of non-existent route [ OK ] # 127.32 [+0.86] TEST: Multipath with multipath [ OK ] # 128.15 [+0.82] TEST: Multipath with single path [ OK ] # 128.98 [+0.84] TEST: Multipath with single path via multipath attribute [ OK ] # 129.83 [+0.85] TEST: Multipath with reject route [ OK ] # 130.69 [+0.86] TEST: Multipath - invalid first nexthop [ OK ] # 131.55 [+0.87] TEST: Multipath - invalid second nexthop [ OK ] # 132.22 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 134.87 [+2.65] TEST: Cached route removed from VRF port device [ OK ] # 134.87 [+0.00] # 134.87 [+0.00] IPv4 route with dsfield tests # 135.23 [+0.36] TEST: Reject route with dsfield 0x01 [ OK ] # 135.40 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 135.58 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 136.09 [+0.51] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 136.26 [+0.17] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 136.38 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 136.53 [+0.16] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 136.67 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 136.82 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 136.94 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 137.07 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 137.23 [+0.16] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 137.38 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 137.52 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 137.67 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 140.69 [+3.02] # 140.69 [+0.00] IPv6 prefix route tests # 144.28 [+3.59] TEST: Default metric [ OK ] # 144.77 [+0.49] TEST: User specified metric on first device [ OK ] # 145.25 [+0.48] TEST: User specified metric on second device [ OK ] # 145.57 [+0.32] TEST: Delete of address on first device [ OK ] # 145.89 [+0.33] TEST: Modify metric of address [ OK ] # 146.51 [+0.62] TEST: Prefix route removed on link down [ OK ] # 146.81 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 147.30 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 147.46 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 147.78 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 147.92 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 149.70 [+1.78] # 149.70 [+0.00] IPv4 prefix route tests # 153.31 [+3.60] TEST: Default metric [ OK ] # 153.83 [+0.53] TEST: User specified metric on first device [ OK ] # 154.35 [+0.52] TEST: User specified metric on second device [ OK ] # 154.69 [+0.34] TEST: Delete of address on first device [ OK ] # 155.07 [+0.38] TEST: Modify metric of address [ OK ] # 155.39 [+0.32] TEST: Prefix route removed on link down [ OK ] # 155.73 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 156.41 [+0.68] TEST: Modify metric of .0/24 address [ OK ] # 156.93 [+0.51] TEST: Set metric of address with peer route [ OK ] # 157.27 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 159.06 [+1.79] # 159.06 [+0.00] IPv6 routes with metrics # 168.29 [+9.23] TEST: Single path route with mtu metric [ OK ] # 168.80 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 169.31 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 169.64 [+0.33] TEST: MTU of second leg [ OK ] # 169.97 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 170.43 [+0.46] TEST: Using route with mtu metric [ OK ] # 170.72 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 173.63 [+2.91] # 173.63 [+0.00] IPv4 route add / append tests # 182.70 [+9.08] TEST: Single path route with mtu metric [ OK ] # 183.04 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 183.48 [+0.45] TEST: Using route with mtu metric [ OK ] # 183.77 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 186.54 [+2.78] # 186.54 [+0.00] IPv4 route with IPv6 gateway tests # 197.44 [+10.90] TEST: Single path route with IPv6 gateway [ OK ] # 197.89 [+0.45] TEST: Single path route with IPv6 gateway - ping [ OK ] # 198.06 [+0.17] TEST: Single path route delete [ OK ] # 198.39 [+0.34] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 198.72 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 198.90 [+0.17] TEST: Multipath route delete exact match [ OK ] # 199.08 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 199.40 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 199.58 [+0.18] TEST: Multipath route delete exact match [ OK ] # 202.52 [+2.94] # 202.52 [+0.00] IPv4 rp_filter tests # 214.47 [+11.95] TEST: rp_filter passes local packets [ OK ] # 214.77 [+0.30] TEST: rp_filter passes loopback packets [ OK ] # 216.20 [+1.43] # 216.20 [+0.00] IPv4 delete address route tests # 221.67 [+5.47] Regular FIB info # 221.96 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 222.10 [+0.14] TEST: Route in default VRF not removed [ OK ] # 222.70 [+0.61] TEST: Route removed in default VRF when source address deleted [ OK ] # 222.84 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 222.84 [+0.00] Identical FIB info with different table ID # 223.15 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 223.29 [+0.14] TEST: Route in default VRF not removed [ OK ] # 223.91 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 224.07 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 224.07 [+0.00] Table ID 0 # 224.37 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 226.14 [+1.77] # 226.14 [+0.00] IPv6 delete address route tests # 235.60 [+9.47] Single device using src address # 235.92 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 235.92 [+0.00] Two devices with the same source address # 236.21 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 236.51 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 236.51 [+0.00] VRF with single device using src address # 236.82 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 236.82 [+0.00] VRF with two devices using src address # 237.11 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 237.41 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 237.41 [+0.00] src address and nexthop dev in same VRF # 237.72 [+0.31] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 237.87 [+0.15] TEST: Prefsrc in default VRF not removed [ OK ] # 238.46 [+0.59] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 238.61 [+0.15] TEST: Prefsrc in default VRF removed [ OK ] # 238.62 [+0.00] src address and nexthop device in different VRF # 238.91 [+0.30] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 239.06 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 239.50 [+0.44] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 239.67 [+0.17] TEST: Prefsrc removed in default VRF [ OK ] # 239.67 [+0.00] Table ID 0 # 239.97 [+0.30] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 239.98 [+0.00] Link local source route # 240.28 [+0.30] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 240.58 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 240.70 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 241.17 [+0.46] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 243.91 [+2.74] # 243.91 [+0.00] IPv4 mangling tests # 256.45 [+12.54] TEST: Connection with correct parameters [ OK ] # 256.79 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 258.09 [+1.30] TEST: Connection with correct parameters - mangling [ OK ] # 259.25 [+1.16] TEST: Connection with correct parameters - no mangling [ OK ] # 259.36 [+0.10] TEST: Connection check - server side [ OK ] # 262.76 [+3.41] # 262.76 [+0.00] IPv6 mangling tests # 275.30 [+12.53] TEST: Connection with correct parameters [ OK ] # 275.66 [+0.36] TEST: Connection with incorrect parameters [ OK ] # 276.84 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 278.02 [+1.18] TEST: Connection with correct parameters - no mangling [ OK ] # 278.16 [+0.14] TEST: Connection check - server side [ OK ] # 281.57 [+3.41] # 281.57 [+0.00] IPv4 broadcast neighbour tests # 285.88 [+4.31] TEST: Resolved neighbour for broadcast address [ OK ] # 286.04 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 286.21 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 286.38 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 289.99 [+3.61] # 289.99 [+0.00] Fib6 garbage collection test # 304.38 [+14.39] TEST: ipv6 route garbage collection [ OK ] # 319.09 [+14.72] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 333.95 [+14.85] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 348.90 [+14.95] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 364.26 [+15.36] TEST: ipv6 route garbage collection (RA message) [ OK ] # 365.63 [+1.37] # 365.63 [+0.00] IPv4 multipath list receive tests # 389.82 [+24.19] TEST: Multipath route hit ratio (1.00) [ OK ] # 392.84 [+3.02] # 392.84 [+0.00] IPv6 multipath list receive tests # 415.71 [+22.87] TEST: Multipath route hit ratio (1.00) [ OK ] # 418.83 [+3.12] # 418.83 [+0.00] Tests passed: 229 # 418.83 [+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__->