make -C tools/testing/selftests TARGETS="net" TEST_PROGS=fcnal-ipv4.sh TESST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: fcnal-ipv4.sh # 0.45 [+0.45] # 0.46 [+0.00] ########################################################################### # 0.46 [+0.01] IPv4 ping # 0.46 [+0.00] ########################################################################### # 0.47 [+0.01] # 0.47 [+0.00] # 0.47 [+0.00] ################################################################# # 0.47 [+0.00] No VRF # 0.48 [+0.00] # 9.20 [+8.73] SYSCTL: net.ipv4.raw_l3mdev_accept=0 # 9.20 [+0.00] # 10.13 [+0.93] TEST: ping out - ns-B IP [ OK ] # 11.36 [+1.23] TEST: ping out, device bind - ns-B IP [ OK ] # 12.59 [+1.23] TEST: ping out, address bind - ns-B IP [ OK ] # 13.75 [+1.16] TEST: ping out - ns-B loopback IP [ OK ] # 14.97 [+1.23] TEST: ping out, device bind - ns-B loopback IP [ OK ] # 16.10 [+1.13] TEST: ping out, address bind - ns-B loopback IP [ OK ] # 17.26 [+1.16] TEST: ping out (don't route), peer on link - ns-B IP [ OK ] # 19.51 [+2.25] TEST: ping out (don't route), peer not on link - ns-B loopback IP [ OK ] # 20.71 [+1.20] TEST: ping in - ns-A IP [ OK ] # 21.94 [+1.23] TEST: ping in - ns-A loopback IP [ OK ] # 23.16 [+1.22] TEST: ping local - ns-A IP [ OK ] # 24.29 [+1.14] TEST: ping local - ns-A loopback IP [ OK ] # 25.49 [+1.20] TEST: ping local - loopback [ OK ] # 26.72 [+1.22] TEST: ping local, device bind - ns-A IP [ OK ] # 28.97 [+2.25] TEST: ping local, device bind - ns-A loopback IP [ OK ] # 32.25 [+3.28] TEST: ping local, device bind - loopback [ OK ] # 34.45 [+2.19] TEST: ping out, blocked by rule - ns-B loopback IP [ OK ] # 35.69 [+1.24] TEST: ping in, blocked by rule - ns-A loopback IP [ OK ] # 38.32 [+2.63] TEST: ping out, blocked by route - ns-B loopback IP [ OK ] # 40.51 [+2.19] TEST: ping in, blocked by route - ns-A loopback IP [ OK ] # 42.09 [+1.58] TEST: ping out, unreachable default route - ns-B loopback IP [ OK ] # 53.84 [+11.75] SYSCTL: net.ipv4.raw_l3mdev_accept=1 # 53.84 [+0.00] # 54.77 [+0.93] TEST: ping out - ns-B IP [ OK ] # 56.07 [+1.30] TEST: ping out, device bind - ns-B IP [ OK ] # 57.31 [+1.24] TEST: ping out, address bind - ns-B IP [ OK ] # 58.50 [+1.19] TEST: ping out - ns-B loopback IP [ OK ] # 59.71 [+1.20] TEST: ping out, device bind - ns-B loopback IP [ OK ] # 60.86 [+1.16] TEST: ping out, address bind - ns-B loopback IP [ OK ] # 62.03 [+1.16] TEST: ping out (don't route), peer on link - ns-B IP [ OK ] # 64.19 [+2.16] TEST: ping out (don't route), peer not on link - ns-B loopback IP [ OK ] # 65.38 [+1.19] TEST: ping in - ns-A IP [ OK ] # 66.53 [+1.15] TEST: ping in - ns-A loopback IP [ OK ] # 67.72 [+1.18] TEST: ping local - ns-A IP [ OK ] # 68.94 [+1.22] TEST: ping local - ns-A loopback IP [ OK ] # 70.04 [+1.11] TEST: ping local - loopback [ OK ] # 71.17 [+1.13] TEST: ping local, device bind - ns-A IP [ OK ] # 73.31 [+2.14] TEST: ping local, device bind - ns-A loopback IP [ OK ] # 76.49 [+3.18] TEST: ping local, device bind - loopback [ OK ] # 78.65 [+2.16] TEST: ping out, blocked by rule - ns-B loopback IP [ OK ] # 79.86 [+1.21] TEST: ping in, blocked by rule - ns-A loopback IP [ OK ] # 82.49 [+2.63] TEST: ping out, blocked by route - ns-B loopback IP [ OK ] # 84.68 [+2.19] TEST: ping in, blocked by route - ns-A loopback IP [ OK ] # 86.21 [+1.52] TEST: ping out, unreachable default route - ns-B loopback IP [ OK ] # 98.76 [+12.56] TEST: ping out - ns-B IP [ OK ] # 100.14 [+1.38] TEST: ping out, device bind - ns-B IP [ OK ] # 101.39 [+1.25] TEST: ping out, address bind - ns-B IP [ OK ] # 102.62 [+1.23] TEST: ping out - ns-B loopback IP [ OK ] # 103.82 [+1.20] TEST: ping out, device bind - ns-B loopback IP [ OK ] # 105.06 [+1.24] TEST: ping out, address bind - ns-B loopback IP [ OK ] # 106.29 [+1.23] TEST: ping out (don't route), peer on link - ns-B IP [ OK ] # 108.48 [+2.19] TEST: ping out (don't route), peer not on link - ns-B loopback IP [ OK ] # 109.64 [+1.16] TEST: ping in - ns-A IP [ OK ] # 110.83 [+1.19] TEST: ping in - ns-A loopback IP [ OK ] # 112.00 [+1.17] TEST: ping local - ns-A IP [ OK ] # 113.16 [+1.16] TEST: ping local - ns-A loopback IP [ OK ] # 114.31 [+1.14] TEST: ping local - loopback [ OK ] # 115.45 [+1.15] TEST: ping local, device bind - ns-A IP [ OK ] # 117.66 [+2.21] TEST: ping local, device bind - ns-A loopback IP [ OK ] # 119.81 [+2.15] TEST: ping local, device bind - loopback [ OK ] # 121.92 [+2.12] TEST: ping out, blocked by rule - ns-B loopback IP [ OK ] # 123.10 [+1.17] TEST: ping in, blocked by rule - ns-A loopback IP [ OK ] # 125.70 [+2.61] TEST: ping out, blocked by route - ns-B loopback IP [ OK ] # 127.90 [+2.20] TEST: ping in, blocked by route - ns-A loopback IP [ OK ] # 129.26 [+1.36] TEST: ping out, unreachable default route - ns-B loopback IP [ OK ] # 129.77 [+0.50] # 129.77 [+0.00] ################################################################# # 129.77 [+0.00] With VRF # 129.77 [+0.00] # 142.53 [+12.76] SYSCTL: net.ipv4.raw_l3mdev_accept=1 # 142.53 [+0.00] # 143.54 [+1.01] TEST: ping out, VRF bind - ns-B IP [ OK ] # 144.79 [+1.25] TEST: ping out, device bind - ns-B IP [ OK ] # 146.17 [+1.38] TEST: ping out, vrf device + dev address bind - ns-B IP [ OK ] # 147.45 [+1.28] TEST: ping out, vrf device + vrf address bind - ns-B IP [ OK ] # 148.63 [+1.18] TEST: ping out, VRF bind - ns-B loopback IP [ OK ] # 149.78 [+1.15] TEST: ping out, device bind - ns-B loopback IP [ OK ] # 151.13 [+1.35] TEST: ping out, vrf device + dev address bind - ns-B loopback IP [ OK ] # 152.53 [+1.40] TEST: ping out, vrf device + vrf address bind - ns-B loopback IP [ OK ] # 153.70 [+1.17] TEST: ping in - ns-A IP [ OK ] # 154.89 [+1.19] TEST: ping in - VRF IP [ OK ] # 156.08 [+1.19] TEST: ping local, VRF bind - ns-A IP [ OK ] # 157.25 [+1.18] TEST: ping local, VRF bind - VRF IP [ OK ] # 158.53 [+1.28] TEST: ping local, VRF bind - loopback [ OK ] # 159.77 [+1.24] TEST: ping local, device bind - ns-A IP [ OK ] # 160.98 [+1.22] TEST: ping local, device bind - VRF IP [ OK ] # 162.14 [+1.15] TEST: ping local, device bind - loopback [ OK ] # 163.74 [+1.60] TEST: ping out, vrf bind, blocked by rule - ns-B loopback IP [ OK ] # 164.87 [+1.12] TEST: ping out, device bind, blocked by rule - ns-B loopback IP [ OK ] # 166.01 [+1.15] TEST: ping in, blocked by rule - ns-A loopback IP [ OK ] # 167.94 [+1.92] TEST: ping out, vrf bind, unreachable route - ns-B loopback IP [ OK ] # 169.08 [+1.14] TEST: ping out, device bind, unreachable route - ns-B loopback IP [ OK ] # 170.20 [+1.12] TEST: ping in, unreachable route - ns-A loopback IP [ OK ] # 183.42 [+13.21] SYSCTL: net.ipv4.raw_l3mdev_accept=1 # 183.42 [+0.00] # 184.28 [+0.86] TEST: ping out, VRF bind - ns-B IP [ OK ] # 185.44 [+1.16] TEST: ping out, device bind - ns-B IP [ OK ] # 186.69 [+1.24] TEST: ping out, vrf device + dev address bind - ns-B IP [ OK ] # 187.88 [+1.20] TEST: ping out, vrf device + vrf address bind - ns-B IP [ OK ] # 188.97 [+1.09] TEST: ping out, VRF bind - ns-B loopback IP [ OK ] # 190.08 [+1.11] TEST: ping out, device bind - ns-B loopback IP [ OK ] # 191.34 [+1.26] TEST: ping out, vrf device + dev address bind - ns-B loopback IP [ OK ] # 192.57 [+1.23] TEST: ping out, vrf device + vrf address bind - ns-B loopback IP [ OK ] # 193.66 [+1.09] TEST: ping in - ns-A IP [ OK ] # 194.74 [+1.08] TEST: ping in - VRF IP [ OK ] # 195.86 [+1.12] TEST: ping local, VRF bind - ns-A IP [ OK ] # 196.95 [+1.09] TEST: ping local, VRF bind - VRF IP [ OK ] # 198.01 [+1.06] TEST: ping local, VRF bind - loopback [ OK ] # 199.11 [+1.10] TEST: ping local, device bind - ns-A IP [ OK ] # 200.21 [+1.09] TEST: ping local, device bind - VRF IP [ OK ] # 201.29 [+1.08] TEST: ping local, device bind - loopback [ OK ] # 202.79 [+1.50] TEST: ping out, vrf bind, blocked by rule - ns-B loopback IP [ OK ] # 203.86 [+1.07] TEST: ping out, device bind, blocked by rule - ns-B loopback IP [ OK ] # 204.94 [+1.08] TEST: ping in, blocked by rule - ns-A loopback IP [ OK ] # 206.66 [+1.72] TEST: ping out, vrf bind, unreachable route - ns-B loopback IP [ OK ] # 207.77 [+1.11] TEST: ping out, device bind, unreachable route - ns-B loopback IP [ OK ] # 208.89 [+1.12] TEST: ping in, unreachable route - ns-A loopback IP [ OK ] # 209.34 [+0.45] # 209.34 [+0.00] ########################################################################### # 209.34 [+0.00] IPv4/TCP # 209.34 [+0.00] ########################################################################### # 209.35 [+0.00] # 209.35 [+0.00] # 209.35 [+0.00] ################################################################# # 209.35 [+0.00] No VRF # 209.35 [+0.00] # 219.51 [+10.16] # 219.51 [+0.00] ################################################################# # 219.52 [+0.00] tcp_l3mdev_accept disabled # 219.52 [+0.00] # 219.52 [+0.00] SYSCTL: net.ipv4.tcp_l3mdev_accept=0 # 219.52 [+0.00] # 220.68 [+1.16] TEST: Global server - ns-A IP [ OK ] # 222.10 [+1.42] TEST: Global server - ns-A loopback IP [ OK ] # 223.48 [+1.39] TEST: Device server - ns-A IP [ OK ] # 224.58 [+1.09] TEST: No server - ns-A IP [ OK ] # 225.64 [+1.06] TEST: No server - ns-A loopback IP [ OK ] # 227.02 [+1.38] TEST: Client - ns-B IP [ OK ] # 228.39 [+1.37] TEST: Client, device bind - ns-B IP [ OK ] # 229.47 [+1.08] TEST: No server, unbound client - ns-B IP [ OK ] # 230.55 [+1.08] TEST: No server, device client - ns-B IP [ OK ] # 231.89 [+1.34] TEST: Client - ns-B loopback IP [ OK ] # 233.29 [+1.40] TEST: Client, device bind - ns-B loopback IP [ OK ] # 234.36 [+1.07] TEST: No server, unbound client - ns-B loopback IP [ OK ] # 235.46 [+1.10] TEST: No server, device client - ns-B loopback IP [ OK ] # 236.86 [+1.40] TEST: Global server, local connection - ns-A IP [ OK ] # 238.26 [+1.40] TEST: Global server, local connection - ns-A loopback IP [ OK ] # 239.66 [+1.40] TEST: Global server, local connection - loopback [ OK ] # 241.09 [+1.43] TEST: Device server, unbound client, local connection - ns-A IP [ OK ] # 242.49 [+1.40] TEST: Device server, unbound client, local connection - ns-A loopback IP [ OK ] # 244.00 [+1.51] TEST: Device server, unbound client, local connection - loopback [ OK ] # 245.44 [+1.44] TEST: Global server, device client, local connection - ns-A IP [ OK ] # 250.07 [+4.63] TEST: Global server, device client, local connection - ns-A loopback IP [ OK ] # 254.55 [+4.48] TEST: Global server, device client, local connection - loopback [ OK ] # 256.07 [+1.53] TEST: Device server, device client, local connection - ns-A IP [ OK ] # 257.20 [+1.13] TEST: No server, device client, local conn - ns-A IP [ OK ] # 258.62 [+1.42] TEST: MD5: Single address config [ OK ] # 264.99 [+6.37] TEST: MD5: Server no config, client uses password [ OK ] # 271.37 [+6.37] TEST: MD5: Client uses wrong password [ OK ] # 277.87 [+6.51] TEST: MD5: Client address does not match address configured with password [ OK ] # 279.24 [+1.36] TEST: MD5: Prefix config [ OK ] # 285.55 [+6.32] TEST: MD5: Prefix config, client uses wrong password [ OK ] # 291.91 [+6.36] TEST: MD5: Prefix config, client address not in configured prefix [ OK ] # 293.56 [+1.64] TEST: SO_DONTROUTE client, syncookies=0 - ns-B IP [ OK ] # 294.55 [+0.99] TEST: SO_DONTROUTE server, syncookies=0 - ns-B IP [ OK ] # 295.57 [+1.03] TEST: SO_DONTROUTE client, syncookies=0 - ns-B loopback IP [ OK ] # 301.56 [+5.99] TEST: SO_DONTROUTE server, syncookies=0 - ns-B loopback IP [ OK ] # 303.48 [+1.92] TEST: SO_DONTROUTE client, syncookies=2 - ns-B IP [ OK ] # 304.45 [+0.97] TEST: SO_DONTROUTE server, syncookies=2 - ns-B IP [ OK ] # 305.44 [+0.98] TEST: SO_DONTROUTE client, syncookies=2 - ns-B loopback IP [ OK ] # 311.42 [+5.98] TEST: SO_DONTROUTE server, syncookies=2 - ns-B loopback IP [ OK ] # 312.17 [+0.75] # 312.17 [+0.00] ################################################################# # 312.17 [+0.00] tcp_l3mdev_accept enabled # 312.17 [+0.00] # 312.18 [+0.00] SYSCTL: net.ipv4.tcp_l3mdev_accept=1 # 312.18 [+0.00] # 313.27 [+1.10] TEST: Global server - ns-A IP [ OK ] # 314.64 [+1.37] TEST: Global server - ns-A loopback IP [ OK ] # 316.04 [+1.40] TEST: Device server - ns-A IP [ OK ] # 317.10 [+1.06] TEST: No server - ns-A IP [ OK ] # 318.17 [+1.06] TEST: No server - ns-A loopback IP [ OK ] # 319.57 [+1.40] TEST: Client - ns-B IP [ OK ] # 320.95 [+1.38] TEST: Client, device bind - ns-B IP [ OK ] # 322.06 [+1.11] TEST: No server, unbound client - ns-B IP [ OK ] # 323.14 [+1.08] TEST: No server, device client - ns-B IP [ OK ] # 324.54 [+1.40] TEST: Client - ns-B loopback IP [ OK ] # 325.91 [+1.37] TEST: Client, device bind - ns-B loopback IP [ OK ] # 326.98 [+1.07] TEST: No server, unbound client - ns-B loopback IP [ OK ] # 328.06 [+1.08] TEST: No server, device client - ns-B loopback IP [ OK ] # 329.46 [+1.40] TEST: Global server, local connection - ns-A IP [ OK ] # 330.83 [+1.38] TEST: Global server, local connection - ns-A loopback IP [ OK ] # 332.24 [+1.40] TEST: Global server, local connection - loopback [ OK ] # 333.64 [+1.40] TEST: Device server, unbound client, local connection - ns-A IP [ OK ] # 335.00 [+1.37] TEST: Device server, unbound client, local connection - ns-A loopback IP [ OK ] # 336.41 [+1.41] TEST: Device server, unbound client, local connection - loopback [ OK ] # 337.80 [+1.39] TEST: Global server, device client, local connection - ns-A IP [ OK ] # 342.24 [+4.44] TEST: Global server, device client, local connection - ns-A loopback IP [ OK ] # 346.69 [+4.45] TEST: Global server, device client, local connection - loopback [ OK ] # 348.08 [+1.40] TEST: Device server, device client, local connection - ns-A IP [ OK ] # 349.17 [+1.09] TEST: No server, device client, local conn - ns-A IP [ OK ] # 350.55 [+1.38] TEST: MD5: Single address config [ OK ] # 356.92 [+6.37] TEST: MD5: Server no config, client uses password [ OK ] # 363.31 [+6.39] TEST: MD5: Client uses wrong password [ OK ] # 369.71 [+6.41] TEST: MD5: Client address does not match address configured with password [ OK ] # 371.04 [+1.33] TEST: MD5: Prefix config [ OK ] # 377.39 [+6.34] TEST: MD5: Prefix config, client uses wrong password [ OK ] # 383.76 [+6.38] TEST: MD5: Prefix config, client address not in configured prefix [ OK ] # 385.53 [+1.76] TEST: SO_DONTROUTE client, syncookies=0 - ns-B IP [ OK ] # 386.55 [+1.03] TEST: SO_DONTROUTE server, syncookies=0 - ns-B IP [ OK ] # 387.55 [+0.99] TEST: SO_DONTROUTE client, syncookies=0 - ns-B loopback IP [ OK ] # 393.57 [+6.02] TEST: SO_DONTROUTE server, syncookies=0 - ns-B loopback IP [ OK ] # 395.56 [+1.99] TEST: SO_DONTROUTE client, syncookies=2 - ns-B IP [ OK ] # 396.53 [+0.97] TEST: SO_DONTROUTE server, syncookies=2 - ns-B IP [ OK ] # 397.53 [+1.00] TEST: SO_DONTROUTE client, syncookies=2 - ns-B loopback IP [ OK ] # 403.50 [+5.97] TEST: SO_DONTROUTE server, syncookies=2 - ns-B loopback IP [ OK ] # 404.25 [+0.75] # 404.26 [+0.00] ################################################################# # 404.26 [+0.00] With VRF # 404.26 [+0.00] # 416.19 [+11.93] # 416.19 [+0.00] ################################################################# # 416.19 [+0.00] Global server disabled # 416.20 [+0.00] # 416.20 [+0.00] SYSCTL: net.ipv4.tcp_l3mdev_accept=0 # 416.20 [+0.00] # 417.33 [+1.14] TEST: Global server - ns-A IP [ OK ] # 418.77 [+1.43] TEST: VRF server - ns-A IP [ OK ] # 420.16 [+1.40] TEST: Device server - ns-A IP [ OK ] # 421.23 [+1.07] TEST: No server - ns-A IP [ OK ] # 422.63 [+1.40] TEST: Global server - VRF IP [ OK ] # 424.01 [+1.38] TEST: VRF server - VRF IP [ OK ] # 425.42 [+1.41] TEST: Device server - VRF IP [ OK ] # 426.49 [+1.07] TEST: No server - VRF IP [ OK ] # 427.87 [+1.39] TEST: Global server, local connection - ns-A IP [ OK ] # 431.88 [+4.01] TEST: MD5: VRF: Single address config [ OK ] # 438.24 [+6.36] TEST: MD5: VRF: Server no config, client uses password [ OK ] # 444.65 [+6.40] TEST: MD5: VRF: Client uses wrong password [ OK ] # 451.01 [+6.36] TEST: MD5: VRF: Client address does not match address configured with password [ OK ] # 452.34 [+1.33] TEST: MD5: VRF: Prefix config [ OK ] # 458.70 [+6.36] TEST: MD5: VRF: Prefix config, client uses wrong password [ OK ] # 465.05 [+6.35] TEST: MD5: VRF: Prefix config, client address not in configured prefix [ OK ] # 466.44 [+1.39] TEST: MD5: VRF: Single address config in default VRF and VRF, conn in VRF [ OK ] # 467.85 [+1.41] TEST: MD5: VRF: Single address config in default VRF and VRF, conn in default VRF [ OK ] # 474.27 [+6.42] TEST: MD5: VRF: Single address config in default VRF and VRF, conn in default VRF with VRF pw [ OK ] # 480.68 [+6.41] TEST: MD5: VRF: Single address config in default VRF and VRF, conn in VRF with default VRF pw [ OK ] # 482.08 [+1.41] TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in VRF [ OK ] # 483.48 [+1.39] TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in default VRF [ OK ] # 489.89 [+6.41] TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in default VRF with VRF pw [ OK ] # 496.29 [+6.40] TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in VRF with default VRF pw [ OK ] # 497.35 [+1.06] TEST: MD5: VRF: Device must be a VRF - single address [ OK ] # 498.49 [+1.15] TEST: MD5: VRF: Device must be a VRF - prefix [ OK ] # 499.98 [+1.49] TEST: MD5: VRF: VRF-bound server, unbound key accepts connection [ OK ] # 501.35 [+1.37] TEST: MD5: VRF: VRF-bound server, bound key accepts connection [ OK ] # 501.96 [+0.60] SYSCTL: net.ipv4.tcp_l3mdev_accept=1 # 501.96 [+0.00] # 508.10 [+6.15] TEST: MD5: VRF: Global server, Key bound to ifindex=0 rejects VRF connection [ OK ] # 509.51 [+1.40] TEST: MD5: VRF: Global server, key bound to ifindex=0 accepts non-VRF connection [ OK ] # 510.89 [+1.38] TEST: MD5: VRF: Global server, key not bound to ifindex accepts VRF connection [ OK ] # 512.32 [+1.42] TEST: MD5: VRF: Global server, key not bound to ifindex accepts non-VRF connection [ OK ] # 512.80 [+0.49] SYSCTL: net.ipv4.tcp_l3mdev_accept=0 # 512.80 [+0.00] # 513.56 [+0.75] # 513.57 [+0.02] ################################################################# # 513.58 [+0.00] VRF Global server enabled # 513.58 [+0.00] # 513.58 [+0.00] SYSCTL: net.ipv4.tcp_l3mdev_accept=1 # 513.58 [+0.00] # 514.72 [+1.14] TEST: Global server - ns-A IP [ OK ] # 516.16 [+1.44] TEST: VRF server - ns-A IP [ OK ] # 517.28 [+1.12] TEST: No server - ns-A IP [ OK ] # 518.74 [+1.47] TEST: Global server - VRF IP [ OK ] # 520.19 [+1.45] TEST: VRF server - VRF IP [ OK ] # 521.31 [+1.12] TEST: No server - VRF IP [ OK ] # 522.68 [+1.37] TEST: Device server - ns-A IP [ OK ] # 524.14 [+1.45] TEST: Global server, local connection - ns-A IP [ OK ] # 525.60 [+1.46] TEST: Global server, local connection - VRF IP [ OK ] # 527.11 [+1.51] TEST: Client, VRF bind - ns-B IP [ OK ] # 528.65 [+1.54] TEST: Client, device bind - ns-B IP [ OK ] # 529.77 [+1.12] TEST: No server, VRF client - ns-B IP [ OK ] # 530.94 [+1.17] TEST: No server, device client - ns-B IP [ OK ] # 532.41 [+1.47] TEST: Client, VRF bind - ns-B loopback IP [ OK ] # 533.86 [+1.45] TEST: Client, device bind - ns-B loopback IP [ OK ] # 534.93 [+1.07] TEST: No server, VRF client - ns-B loopback IP [ OK ] # 536.01 [+1.08] TEST: No server, device client - ns-B loopback IP [ OK ] # 537.42 [+1.41] TEST: VRF server, VRF client, local connection - ns-A IP [ OK ] # 538.89 [+1.47] TEST: VRF server, VRF client, local connection - VRF IP [ OK ] # 540.35 [+1.47] TEST: VRF server, VRF client, local connection - loopback [ OK ] # 541.81 [+1.46] TEST: VRF server, device client, local connection - ns-A IP [ OK ] # 543.33 [+1.51] TEST: VRF server, unbound client, local connection - ns-A IP [ OK ] # 544.70 [+1.38] TEST: Device server, VRF client, local connection - ns-A IP [ OK ] # 546.15 [+1.45] TEST: Device server, device client, local connection - ns-A IP [ OK ] # 546.59 [+0.44] # 546.59 [+0.00] ########################################################################### # 546.60 [+0.00] IPv4/UDP # 546.60 [+0.00] ########################################################################### # 546.60 [+0.00] # 546.60 [+0.00] # 546.60 [+0.00] ################################################################# # 546.60 [+0.00] No VRF # 546.60 [+0.00] # 557.05 [+10.44] # 557.05 [+0.00] ################################################################# # 557.05 [+0.00] udp_l3mdev_accept disabled # 557.05 [+0.00] # 557.05 [+0.00] SYSCTL: net.ipv4.udp_l3mdev_accept=0 # 557.06 [+0.00] # 558.19 [+1.14] TEST: Global server - ns-A IP [ OK ] # 559.26 [+1.07] TEST: No server - ns-A IP [ OK ] # 560.64 [+1.38] TEST: Global server - ns-A loopback IP [ OK ] # 561.69 [+1.05] TEST: No server - ns-A loopback IP [ OK ] # 563.04 [+1.36] TEST: Device server - ns-A IP [ OK ] # 564.39 [+1.35] TEST: Client - ns-B IP [ OK ] # 565.75 [+1.36] TEST: Client, device bind - ns-B IP [ OK ] # 567.13 [+1.38] TEST: Client, device send via cmsg - ns-B IP [ OK ] # 568.51 [+1.38] TEST: Client, device bind via IP_UNICAST_IF - ns-B IP [ OK ] # 569.96 [+1.44] TEST: Client, device bind via IP_UNICAST_IF, with connect() - ns-B IP [ OK ] # 571.11 [+1.15] TEST: No server, unbound client - ns-B IP [ OK ] # 572.20 [+1.10] TEST: No server, device client - ns-B IP [ OK ] # 573.62 [+1.41] TEST: Client - ns-B loopback IP [ OK ] # 575.09 [+1.47] TEST: Client, device bind - ns-B loopback IP [ OK ] # 576.47 [+1.38] TEST: Client, device send via cmsg - ns-B loopback IP [ OK ] # 577.83 [+1.36] TEST: Client, device bind via IP_UNICAST_IF - ns-B loopback IP [ OK ] # 579.23 [+1.40] TEST: Client, device bind via IP_UNICAST_IF, with connect() - ns-B loopback IP [ OK ] # 580.30 [+1.08] TEST: No server, unbound client - ns-B loopback IP [ OK ] # 581.35 [+1.05] TEST: No server, device client - ns-B loopback IP [ OK ] # 582.72 [+1.37] TEST: Global server, local connection - ns-A IP [ OK ] # 584.06 [+1.34] TEST: Global server, local connection - ns-A loopback IP [ OK ] # 585.40 [+1.35] TEST: Global server, local connection - loopback [ OK ] # 586.76 [+1.36] TEST: Device server, unbound client, local connection - ns-A IP [ OK ] # 588.13 [+1.37] TEST: Device server, unbound client, local connection - ns-A loopback IP [ OK ] # 589.50 [+1.36] TEST: Device server, unbound client, local connection - loopback [ OK ] # 590.86 [+1.37] TEST: Global server, device client, local connection - ns-A IP [ OK ] # 592.24 [+1.38] TEST: Global server, device send via cmsg, local connection - ns-A IP [ OK ] # 593.58 [+1.34] TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A IP [ OK ] # 594.93 [+1.36] TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A IP [ OK ] # 601.28 [+6.35] TEST: Global server, device client, local connection - ns-A loopback IP [ OK ] # 605.83 [+4.55] TEST: Global server, device send via cmsg, local connection - ns-A loopback IP [ OK ] # 610.37 [+4.54] TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A loopback IP [ OK ] # 614.85 [+4.48] TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A loopback IP [ OK ] # 621.29 [+6.45] TEST: Global server, device client, local connection - loopback [ OK ] # 625.80 [+4.51] TEST: Global server, device send via cmsg, local connection - loopback [ OK ] # 630.28 [+4.47] TEST: Global server, device client via IP_UNICAST_IF, local connection - loopback [ OK ] # 634.75 [+4.47] TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - loopback [ OK ] # 636.24 [+1.49] TEST: Device server, device client, local conn - ns-A IP [ OK ] # 642.37 [+6.13] TEST: No server, device client, local conn - ns-A IP [ OK ] # 643.51 [+1.14] TEST: SO_DONTROUTE client - ns-B IP [ OK ] # 644.60 [+1.09] TEST: SO_DONTROUTE client - ns-B loopback IP [ OK ] # 645.07 [+0.47] # 645.07 [+0.00] ################################################################# # 645.07 [+0.00] udp_l3mdev_accept enabled # 645.07 [+0.00] # 645.07 [+0.00] SYSCTL: net.ipv4.udp_l3mdev_accept=1 # 645.07 [+0.00] # 646.28 [+1.20] TEST: Global server - ns-A IP [ OK ] # 647.36 [+1.09] TEST: No server - ns-A IP [ OK ] # 648.79 [+1.42] TEST: Global server - ns-A loopback IP [ OK ] # 649.86 [+1.08] TEST: No server - ns-A loopback IP [ OK ] # 651.35 [+1.48] TEST: Device server - ns-A IP [ OK ] # 652.92 [+1.57] TEST: Client - ns-B IP [ OK ] # 654.43 [+1.51] TEST: Client, device bind - ns-B IP [ OK ] # 655.92 [+1.49] TEST: Client, device send via cmsg - ns-B IP [ OK ] # 657.48 [+1.56] TEST: Client, device bind via IP_UNICAST_IF - ns-B IP [ OK ] # 659.02 [+1.55] TEST: Client, device bind via IP_UNICAST_IF, with connect() - ns-B IP [ OK ] # 660.13 [+1.11] TEST: No server, unbound client - ns-B IP [ OK ] # 661.19 [+1.06] TEST: No server, device client - ns-B IP [ OK ] # 662.61 [+1.42] TEST: Client - ns-B loopback IP [ OK ] # 663.98 [+1.37] TEST: Client, device bind - ns-B loopback IP [ OK ] # 665.41 [+1.43] TEST: Client, device send via cmsg - ns-B loopback IP [ OK ] # 666.76 [+1.35] TEST: Client, device bind via IP_UNICAST_IF - ns-B loopback IP [ OK ] # 668.18 [+1.42] TEST: Client, device bind via IP_UNICAST_IF, with connect() - ns-B loopback IP [ OK ] # 669.26 [+1.08] TEST: No server, unbound client - ns-B loopback IP [ OK ] # 670.38 [+1.12] TEST: No server, device client - ns-B loopback IP [ OK ] # 671.85 [+1.47] TEST: Global server, local connection - ns-A IP [ OK ] # 673.26 [+1.42] TEST: Global server, local connection - ns-A loopback IP [ OK ] # 674.62 [+1.36] TEST: Global server, local connection - loopback [ OK ] # 676.01 [+1.39] TEST: Device server, unbound client, local connection - ns-A IP [ OK ] # 677.37 [+1.36] TEST: Device server, unbound client, local connection - ns-A loopback IP [ OK ] # 678.77 [+1.39] TEST: Device server, unbound client, local connection - loopback [ OK ] # 680.14 [+1.37] TEST: Global server, device client, local connection - ns-A IP [ OK ] # 681.52 [+1.38] TEST: Global server, device send via cmsg, local connection - ns-A IP [ OK ] # 682.95 [+1.43] TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A IP [ OK ] # 684.34 [+1.39] TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A IP [ OK ] # 690.73 [+6.39] TEST: Global server, device client, local connection - ns-A loopback IP [ OK ] # 695.17 [+4.44] TEST: Global server, device send via cmsg, local connection - ns-A loopback IP [ OK ] # 699.65 [+4.48] TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A loopback IP [ OK ] # 704.14 [+4.49] TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A loopback IP [ OK ] # 710.53 [+6.40] TEST: Global server, device client, local connection - loopback [ OK ] # 715.01 [+4.47] TEST: Global server, device send via cmsg, local connection - loopback [ OK ] # 719.49 [+4.48] TEST: Global server, device client via IP_UNICAST_IF, local connection - loopback [ OK ] # 724.03 [+4.54] TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - loopback [ OK ] # 725.42 [+1.39] TEST: Device server, device client, local conn - ns-A IP [ OK ] # 731.51 [+6.09] TEST: No server, device client, local conn - ns-A IP [ OK ] # 732.49 [+0.98] TEST: SO_DONTROUTE client - ns-B IP [ OK ] # 733.48 [+0.99] TEST: SO_DONTROUTE client - ns-B loopback IP [ OK ] # 733.94 [+0.46] # 733.94 [+0.00] ################################################################# # 733.95 [+0.00] With VRF # 733.95 [+0.00] # 746.28 [+12.33] # 746.28 [+0.00] ################################################################# # 746.29 [+0.01] Global server disabled # 746.29 [+0.00] # 746.29 [+0.00] SYSCTL: net.ipv4.udp_l3mdev_accept=0 # 746.29 [+0.00] # 747.49 [+1.20] TEST: Global server - ns-A IP [ OK ] # 748.96 [+1.47] TEST: VRF server - ns-A IP [ OK ] # 750.35 [+1.40] TEST: Enslaved device server - ns-A IP [ OK ] # 751.43 [+1.08] TEST: No server - ns-A IP [ OK ] # 752.81 [+1.37] TEST: Global server, VRF client, local connection - ns-A IP [ OK ] # 754.19 [+1.38] TEST: Global server - VRF IP [ OK ] # 755.59 [+1.40] TEST: VRF server - VRF IP [ OK ] # 756.97 [+1.38] TEST: Enslaved device server - VRF IP [ OK ] # 758.06 [+1.10] TEST: No server - VRF IP [ OK ] # 759.48 [+1.42] TEST: Global server, VRF client, local connection - VRF IP [ OK ] # 760.85 [+1.37] TEST: VRF server, VRF client, local conn - ns-A IP [ OK ] # 762.27 [+1.42] TEST: VRF server, enslaved device client, local connection - ns-A IP [ OK ] # 763.63 [+1.35] TEST: Enslaved device server, VRF client, local conn - ns-A IP [ OK ] # 765.01 [+1.38] TEST: Enslaved device server, device client, local conn - ns-A IP [ OK ] # 765.46 [+0.45] # 765.46 [+0.00] ################################################################# # 765.46 [+0.00] Global server enabled # 765.46 [+0.00] # 765.46 [+0.00] SYSCTL: net.ipv4.udp_l3mdev_accept=1 # 765.47 [+0.00] # 766.59 [+1.13] TEST: Global server - ns-A IP [ OK ] # 768.03 [+1.44] TEST: VRF server - ns-A IP [ OK ] # 769.44 [+1.41] TEST: Enslaved device server - ns-A IP [ OK ] # 770.56 [+1.12] TEST: No server - ns-A IP [ OK ] # 771.92 [+1.37] TEST: Global server - VRF IP [ OK ] # 773.31 [+1.39] TEST: VRF server - VRF IP [ OK ] # 774.74 [+1.43] TEST: Enslaved device server - VRF IP [ OK ] # 775.81 [+1.08] TEST: No server - VRF IP [ OK ] # 777.18 [+1.37] TEST: VRF client [ OK ] # 778.58 [+1.39] TEST: Enslaved device client [ OK ] # 779.69 [+1.11] TEST: No server, VRF client [ OK ] # 780.76 [+1.07] TEST: No server, enslaved device client [ OK ] # 782.14 [+1.38] TEST: Global server, VRF client, local conn - ns-A IP [ OK ] # 783.51 [+1.37] TEST: VRF server, VRF client, local conn - ns-A IP [ OK ] # 784.88 [+1.37] TEST: VRF server, device client, local conn - ns-A IP [ OK ] # 786.31 [+1.43] TEST: Enslaved device server, VRF client, local conn - ns-A IP [ OK ] # 787.73 [+1.42] TEST: Enslaved device server, device client, local conn - ns-A IP [ OK ] # 789.10 [+1.37] TEST: Global server, VRF client, local conn - VRF IP [ OK ] # 790.51 [+1.41] TEST: Global server, VRF client, local conn - loopback [ OK ] # 791.90 [+1.38] TEST: VRF server, VRF client, local conn - VRF IP [ OK ] # 793.29 [+1.39] TEST: VRF server, VRF client, local conn - loopback [ OK ] # 794.36 [+1.07] TEST: No server, VRF client, local conn - ns-A IP [ OK ] # 795.43 [+1.08] TEST: No server, VRF client, local conn - VRF IP [ OK ] # 796.50 [+1.06] TEST: No server, VRF client, local conn - loopback [ OK ] # 796.95 [+0.45] # 796.95 [+0.00] ########################################################################### # 796.95 [+0.00] IPv4 address binds # 796.95 [+0.00] ########################################################################### # 796.96 [+0.00] # 796.96 [+0.00] # 796.96 [+0.00] ################################################################# # 796.96 [+0.00] No VRF # 796.96 [+0.00] # 808.39 [+11.43] TEST: Raw socket bind to local address - ns-A IP [ OK ] # 809.50 [+1.11] TEST: Raw socket bind to local address after device bind - ns-A IP [ OK ] # 810.60 [+1.10] TEST: Raw socket bind to local address - ns-A loopback IP [ OK ] # 811.70 [+1.10] TEST: Raw socket bind to local address after device bind - ns-A loopback IP [ OK ] # 812.74 [+1.05] TEST: Raw socket bind to nonlocal address - nonlocal IP [ OK ] # 813.82 [+1.07] TEST: TCP socket bind to nonlocal address - nonlocal IP [ OK ] # 814.87 [+1.05] TEST: ICMP socket bind to nonlocal address - nonlocal IP [ OK ] # 815.99 [+1.12] TEST: ICMP socket bind to broadcast address - broadcast [ OK ] # 817.06 [+1.07] TEST: ICMP socket bind to multicast address - multicast [ OK ] # 818.14 [+1.08] TEST: TCP socket bind to local address - ns-A IP [ OK ] # 819.20 [+1.05] TEST: TCP socket bind to local address after device bind - ns-A IP [ OK ] # 819.63 [+0.44] # 819.63 [+0.00] ################################################################# # 819.64 [+0.00] With VRF # 819.64 [+0.00] # 833.01 [+13.37] TEST: Raw socket bind to local address - ns-A IP [ OK ] # 834.10 [+1.09] TEST: Raw socket bind to local address after device bind - ns-A IP [ OK ] # 835.19 [+1.09] TEST: Raw socket bind to local address after VRF bind - ns-A IP [ OK ] # 836.28 [+1.09] TEST: Raw socket bind to local address - VRF IP [ OK ] # 837.35 [+1.07] TEST: Raw socket bind to local address after device bind - VRF IP [ OK ] # 838.42 [+1.07] TEST: Raw socket bind to local address after VRF bind - VRF IP [ OK ] # 839.48 [+1.06] TEST: Raw socket bind to out of scope address after VRF bind - ns-A loopback IP [ OK ] # 840.55 [+1.07] TEST: Raw socket bind to nonlocal address after VRF bind - nonlocal IP [ OK ] # 841.68 [+1.14] TEST: TCP socket bind to nonlocal address after VRF bind - nonlocal IP [ OK ] # 842.73 [+1.05] TEST: ICMP socket bind to nonlocal address after VRF bind - nonlocal IP [ OK ] # 843.82 [+1.08] TEST: ICMP socket bind to broadcast address after VRF bind - broadcast [ OK ] # 844.87 [+1.06] TEST: ICMP socket bind to multicast address after VRF bind - multicast [ OK ] # 845.91 [+1.03] TEST: TCP socket bind to local address - ns-A IP [ OK ] # 846.96 [+1.06] TEST: TCP socket bind to local address after device bind - ns-A IP [ OK ] # 848.03 [+1.06] TEST: TCP socket bind to local address - VRF IP [ OK ] # 849.09 [+1.07] TEST: TCP socket bind to local address after device bind - VRF IP [ OK ] # 850.15 [+1.06] TEST: TCP socket bind to invalid local address for VRF - ns-A loopback IP [ OK ] # 851.24 [+1.09] TEST: TCP socket bind to invalid local address for device bind - ns-A loopback IP [ OK ] # 851.69 [+0.45] # 851.70 [+0.00] ########################################################################### # 851.70 [+0.01] Run time tests - ipv4 # 851.70 [+0.00] ########################################################################### # 851.71 [+0.00] # 868.78 [+17.07] TEST: Device delete with active traffic - ping in - ns-A IP [ OK ] # 886.47 [+17.69] TEST: Device delete with active traffic - ping in - VRF IP [ OK ] # 904.11 [+17.64] TEST: Device delete with active traffic - ping out - ns-B IP [ OK ] # 922.26 [+18.15] TEST: TCP active socket, global server - ns-A IP [ OK ] # 940.32 [+18.06] TEST: TCP active socket, global server - VRF IP [ OK ] # 958.31 [+17.99] TEST: TCP active socket, VRF server - ns-A IP [ OK ] # 976.35 [+18.03] TEST: TCP active socket, VRF server - VRF IP [ OK ] # 994.69 [+18.34] TEST: TCP active socket, enslaved device server - ns-A IP [ OK ] # 1012.97 [+18.28] TEST: TCP active socket, VRF client - ns-A IP [ OK ] # 1031.00 [+18.04] TEST: TCP active socket, enslaved device client - ns-A IP [ OK ] # 1049.25 [+18.24] TEST: TCP active socket, global server, VRF client, local - ns-A IP [ OK ] # 1067.41 [+18.16] TEST: TCP active socket, global server, VRF client, local - VRF IP [ OK ] # 1085.37 [+17.96] TEST: TCP active socket, VRF server and client, local - ns-A IP [ OK ] # 1103.51 [+18.15] TEST: TCP active socket, VRF server and client, local - VRF IP [ OK ] # 1121.21 [+17.70] TEST: TCP active socket, global server, enslaved device client, local - ns-A IP [ OK ] # 1138.84 [+17.63] TEST: TCP active socket, VRF server, enslaved device client, local - ns-A IP [ OK ] # 1156.55 [+17.71] TEST: TCP active socket, enslaved device server and client, local - ns-A IP [ OK ] # 1174.36 [+17.81] TEST: TCP passive socket, global server - ns-A IP [ OK ] # 1192.08 [+17.72] TEST: TCP passive socket, global server - VRF IP [ OK ] # 1209.99 [+17.91] TEST: TCP passive socket, VRF server - ns-A IP [ OK ] # 1227.89 [+17.90] TEST: TCP passive socket, VRF server - VRF IP [ OK ] # 1245.57 [+17.68] TEST: TCP passive socket, enslaved device server - ns-A IP [ OK ] # 1263.19 [+17.62] TEST: TCP passive socket, VRF client - ns-A IP [ OK ] # 1280.85 [+17.66] TEST: TCP passive socket, enslaved device client - ns-A IP [ OK ] # 1298.56 [+17.71] TEST: TCP passive socket, global server, VRF client, local - ns-A IP [ OK ] # 1316.21 [+17.65] TEST: TCP passive socket, global server, VRF client, local - VRF IP [ OK ] # 1333.76 [+17.55] TEST: TCP passive socket, VRF server and client, local - ns-A IP [ OK ] # 1351.49 [+17.73] TEST: TCP passive socket, VRF server and client, local - VRF IP [ OK ] # 1369.28 [+17.78] TEST: TCP passive socket, global server, enslaved device client, local - ns-A IP [ OK ] # 1386.94 [+17.66] TEST: TCP passive socket, VRF server, enslaved device client, local - ns-A IP [ OK ] # 1404.62 [+17.68] TEST: TCP passive socket, enslaved device server and client, local - ns-A IP [ OK ] # 1405.08 [+0.46] # 1405.08 [+0.00] ########################################################################### # 1405.08 [+0.00] IPv4 Netfilter # 1405.08 [+0.00] ########################################################################### # 1405.09 [+0.00] # 1405.09 [+0.00] # 1405.09 [+0.00] ################################################################# # 1405.09 [+0.00] TCP reset # 1405.09 [+0.00] # 1418.54 [+13.45] TEST: Global server, reject with TCP-reset on Rx - ns-A IP [ OK ] # 1419.89 [+1.35] TEST: Global server, reject with TCP-reset on Rx - VRF IP [ OK ] # 1420.76 [+0.87] # 1420.76 [+0.00] ################################################################# # 1420.77 [+0.00] ICMP unreachable # 1420.77 [+0.00] # 1422.77 [+2.00] TEST: Global TCP server, Rx reject icmp-port-unreach - ns-A IP [ OK ] # 1424.08 [+1.31] TEST: Global TCP server, Rx reject icmp-port-unreach - VRF IP [ OK ] # 1428.87 [+4.79] TEST: Global UDP server, Rx reject icmp-port-unreach - ns-A IP [ OK ] # 1433.73 [+4.86] TEST: Global UDP server, Rx reject icmp-port-unreach - VRF IP [ OK ] # 1437.30 [+3.57] # 1437.30 [+0.00] Tests passed: 427 # 1437.30 [+0.00] Tests failed: 0 ok 1 selftests: net: fcnal-ipv4.sh make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->