(This page was automatically generated by the tools in the opsboy project on 18:35:17 22-Apr-2018 GMT.)

Detailed Test Report for ngx_lua in linux i386 (r)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
91a0ad23 2018-04-15 17:46:04 GMT 10 768 194 19947 4439 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 617f118

OpenSSL

LuaJIT 1.1.0h 27 Mar 2018

Compilation Errors

Unexpected Failures

File Name Details
104-req-raw-header.t ERROR: client socket timed out - TEST 13: large header, multi-line header '
104-req-raw-header.t TEST 13: large header, multi-line header - status code ok got: ''
expected: '200'
104-req-raw-header.t TEST 13: large header, multi-line header - response_body - response is expected (repeated req 0, req 0) @@ -1,1028 +0,0 @@
-GET /t HTTP/1.1
-Host: localhost
-Connection: close
-Header1: value-1
- hello 1 world blah blah
-Header2: value-2
- hello 2 world blah blah
-Header3: value-3
- hello 3 world blah blah
-Header4: value-4
- hello 4 world blah blah
-Header5: value-5
- hello 5 world blah blah
-Header6: value-6
- hello 6 world blah blah
-Header7: value-7
- hello 7 world blah blah
-Header8: value-8
- hello 8 world blah blah
-Header9: value-9
- hello 9 world blah blah
-Header10: value-10
- hello 10 world blah blah
-Header11: value-11
- hello 11 world blah blah
-Header12: value-12
- hello 12 world blah blah
-Header13: value-13
- hello 13 world blah blah
-Header14: value-14
- hello 14 world blah blah
-Header15: value-15
- hello 15 world blah blah
-Header16: value-16
- hello 16 world blah blah
-Header17: value-17
- hello 17 world blah blah
-Header18: value-18
- hello 18 world blah blah
-Header19: value-19
- hello 19 world blah blah
-Header20: value-20
- hello 20 world blah blah
-Header21: value-21
- hello 21 world blah blah
-Header22: value-22
- hello 22 world blah blah
-Header23: value-23
- hello 23 world blah blah
-Header24: value-24
- hello 24 world blah blah
-Header25: value-25
- hello 25 world blah blah
-Header26: value-26
- hello 26 world blah blah
-Header27: value-27
- hello 27 world blah blah
-Header28: value-28
- hello 28 world blah blah
-Header29: value-29
- hello 29 world blah blah
-Header30: value-30
- hello 30 world blah blah
-Header31: value-31
- hello 31 world blah blah
-Header32: value-32
- hello 32 world blah blah
-Header33: value-33
- hello 33 world blah blah
-Header34: value-34
- hello 34 world blah blah
-Header35: value-35
- hello 35 world blah blah
-Header36: value-36
- hello 36 world blah blah
-Header37: value-37
- hello 37 world blah blah
-Header38: value-38
- hello 38 world blah blah
-Header39: value-39
- hello 39 world blah blah
-Header40: value-40
- hello 40 world blah blah
-Header41: value-41
- hello 41 world blah blah
-Header42: value-42
- hello 42 world blah blah
-Header43: value-43
- hello 43 world blah blah
-Header44: value-44
- hello 44 world blah blah
-Header45: value-45
- hello 45 world blah blah
-Header46: value-46
- hello 46 world blah blah
-Header47: value-47
- hello 47 world blah blah
-Header48: value-48
- hello 48 world blah blah
-Header49: value-49
- hello 49 world blah blah
-Header50: value-50
- hello 50 world blah blah
-Header51: value-51
- hello 51 world blah blah
-Header52: value-52
- hello 52 world blah blah
-Header53: value-53
- hello 53 world blah blah
-Header54: value-54
- hello 54 world blah blah
-Header55: value-55
- hello 55 world blah blah
-Header56: value-56
- hello 56 world blah blah
-Header57: value-57
- hello 57 world blah blah
-Header58: value-58
- hello 58 world blah blah
-Header59: value-59
- hello 59 world blah blah
-Header60: value-60
- hello 60 world blah blah
-Header61: value-61
- hello 61 world blah blah
-Header62: value-62
- hello 62 world blah blah
-Header63: value-63
- hello 63 world blah blah
-Header64: value-64
- hello 64 world blah blah
-Header65: value-65
- hello 65 world blah blah
-Header66: value-66
- hello 66 world blah blah
-Header67: value-67
- hello 67 world blah blah
-Header68: value-68
- hello 68 world blah blah
-Header69: value-69
- hello 69 world blah blah
-Header70: value-70
- hello 70 world blah blah
-Header71: value-71
- hello 71 world blah blah
-Header72: value-72
- hello 72 world blah blah
-Header73: value-73
- hello 73 world blah blah
-Header74: value-74
- hello 74 world blah blah
-Header75: value-75
- hello 75 world blah blah
-Header76: value-76
- hello 76 world blah blah
-Header77: value-77
- hello 77 world blah blah
-Header78: value-78
- hello 78 world blah blah
-Header79: value-79
- hello 79 world blah blah
-Header80: value-80
- hello 80 world blah blah
-Header81: value-81
- hello 81 world blah blah
-Header82: value-82
- hello 82 world blah blah
-Header83: value-83
- hello 83 world blah blah
-Header84: value-84
- hello 84 world blah blah
-Header85: value-85
- hello 85 world blah blah
-Header86: value-86
- hello 86 world blah blah
-Header87: value-87
- hello 87 world blah blah
-Header88: value-88
- hello 88 world blah blah
-Header89: value-89
- hello 89 world blah blah
-Header90: value-90
- hello 90 world blah blah
-Header91: value-91
- hello 91 world blah blah
-Header92: value-92
- hello 92 world blah blah
-Header93: value-93
- hello 93 world blah blah
-Header94: value-94
- hello 94 world blah blah
-Header95: value-95
- hello 95 world blah blah
-Header96: value-96
- hello 96 world blah blah
-Header97: value-97
- hello 97 world blah blah
-Header98: value-98
- hello 98 world blah blah
-Header99: value-99
- hello 99 world blah blah
-Header100: value-100
- hello 100 world blah blah
-Header101: value-101
- hello 101 world blah blah
-Header102: value-102
- hello 102 world blah blah
-Header103: value-103
- hello 103 world blah blah
-Header104: value-104
- hello 104 world blah blah
-Header105: value-105
- hello 105 world blah blah
-Header106: value-106
- hello 106 world blah blah
-Header107: value-107
- hello 107 world blah blah
-Header108: value-108
- hello 108 world blah blah
-Header109: value-109
- hello 109 world blah blah
-Header110: value-110
- hello 110 world blah blah
-Header111: value-111
- hello 111 world blah blah
-Header112: value-112
- hello 112 world blah blah
-Header113: value-113
- hello 113 world blah blah
-Header114: value-114
- hello 114 world blah blah
-Header115: value-115
- hello 115 world blah blah
-Header116: value-116
- hello 116 world blah blah
-Header117: value-117
- hello 117 world blah blah
-Header118: value-118
- hello 118 world blah blah
-Header119: value-119
- hello 119 world blah blah
-Header120: value-120
- hello 120 world blah blah
-Header121: value-121
- hello 121 world blah blah
-Header122: value-122
- hello 122 world blah blah
-Header123: value-123
- hello 123 world blah blah
-Header124: value-124
- hello 124 world blah blah
-Header125: value-125
- hello 125 world blah blah
-Header126: value-126
- hello 126 world blah blah
-Header127: value-127
- hello 127 world blah blah
-Header128: value-128
- hello 128 world blah blah
-Header129: value-129
- hello 129 world blah blah
-Header130: value-130
- hello 130 world blah blah
-Header131: value-131
- hello 131 world blah blah
-Header132: value-132
- hello 132 world blah blah
-Header133: value-133
- hello 133 world blah blah
-Header134: value-134
- hello 134 world blah blah
-Header135: value-135
- hello 135 world blah blah
-Header136: value-136
- hello 136 world blah blah
-Header137: value-137
- hello 137 world blah blah
-Header138: value-138
- hello 138 world blah blah
-Header139: value-139
- hello 139 world blah blah
-Header140: value-140
- hello 140 world blah blah
-Header141: value-141
- hello 141 world blah blah
-Header142: value-142
- hello 142 world blah blah
-Header143: value-143
- hello 143 world blah blah
-Header144: value-144
- hello 144 world blah blah
-Header145: value-145
- hello 145 world blah blah
-Header146: value-146
- hello 146 world blah blah
-Header147: value-147
- hello 147 world blah blah
-Header148: value-148
- hello 148 world blah blah
-Header149: value-149
- hello 149 world blah blah
-Header150: value-150
- hello 150 world blah blah
-Header151: value-151
- hello 151 world blah blah
-Header152: value-152
- hello 152 world blah blah
-Header153: value-153
- hello 153 world blah blah
-Header154: value-154
- hello 154 world blah blah
-Header155: value-155
- hello 155 world blah blah
-Header156: value-156
- hello 156 world blah blah
-Header157: value-157
- hello 157 world blah blah
-Header158: value-158
- hello 158 world blah blah
-Header159: value-159
- hello 159 world blah blah
-Header160: value-160
- hello 160 world blah blah
-Header161: value-161
- hello 161 world blah blah
-Header162: value-162
- hello 162 world blah blah
-Header163: value-163
- hello 163 world blah blah
-Header164: value-164
- hello 164 world blah blah
-Header165: value-165
- hello 165 world blah blah
-Header166: value-166
- hello 166 world blah blah
-Header167: value-167
- hello 167 world blah blah
-Header168: value-168
- hello 168 world blah blah
-Header169: value-169
- hello 169 world blah blah
-Header170: value-170
- hello 170 world blah blah
-Header171: value-171
- hello 171 world blah blah
-Header172: value-172
- hello 172 world blah blah
-Header173: value-173
- hello 173 world blah blah
-Header174: value-174
- hello 174 world blah blah
-Header175: value-175
- hello 175 world blah blah
-Header176: value-176
- hello 176 world blah blah
-Header177: value-177
- hello 177 world blah blah
-Header178: value-178
- hello 178 world blah blah
-Header179: value-179
- hello 179 world blah blah
-Header180: value-180
- hello 180 world blah blah
-Header181: value-181
- hello 181 world blah blah
-Header182: value-182
- hello 182 world blah blah
-Header183: value-183
- hello 183 world blah blah
-Header184: value-184
- hello 184 world blah blah
-Header185: value-185
- hello 185 world blah blah
-Header186: value-186
- hello 186 world blah blah
-Header187: value-187
- hello 187 world blah blah
-Header188: value-188
- hello 188 world blah blah
-Header189: value-189
- hello 189 world blah blah
-Header190: value-190
- hello 190 world blah blah
-Header191: value-191
- hello 191 world blah blah
-Header192: value-192
- hello 192 world blah blah
-Header193: value-193
- hello 193 world blah blah
-Header194: value-194
- hello 194 world blah blah
-Header195: value-195
- hello 195 world blah blah
-Header196: value-196
- hello 196 world blah blah
-Header197: value-197
- hello 197 world blah blah
-Header198: value-198
- hello 198 world blah blah
-Header199: value-199
- hello 199 world blah blah
-Header200: value-200
- hello 200 world blah blah
-Header201: value-201
- hello 201 world blah blah
-Header202: value-202
- hello 202 world blah blah
-Header203: value-203
- hello 203 world blah blah
-Header204: value-204
- hello 204 world blah blah
-Header205: value-205
- hello 205 world blah blah
-Header206: value-206
- hello 206 world blah blah
-Header207: value-207
- hello 207 world blah blah
-Header208: value-208
- hello 208 world blah blah
-Header209: value-209
- hello 209 world blah blah
-Header210: value-210
- hello 210 world blah blah
-Header211: value-211
- hello 211 world blah blah
-Header212: value-212
- hello 212 world blah blah
-Header213: value-213
- hello 213 world blah blah
-Header214: value-214
- hello 214 world blah blah
-Header215: value-215
- hello 215 world blah blah
-Header216: value-216
- hello 216 world blah blah
-Header217: value-217
- hello 217 world blah blah
-Header218: value-218
- hello 218 world blah blah
-Header219: value-219
- hello 219 world blah blah
-Header220: value-220
- hello 220 world blah blah
-Header221: value-221
- hello 221 world blah blah
-Header222: value-222
- hello 222 world blah blah
-Header223: value-223
- hello 223 world blah blah
-Header224: value-224
- hello 224 world blah blah
-Header225: value-225
- hello 225 world blah blah
-Header226: value-226
- hello 226 world blah blah
-Header227: value-227
- hello 227 world blah blah
-Header228: value-228
- hello 228 world blah blah
-Header229: value-229
- hello 229 world blah blah
-Header230: value-230
- hello 230 world blah blah
-Header231: value-231
- hello 231 world blah blah
-Header232: value-232
- hello 232 world blah blah
-Header233: value-233
- hello 233 world blah blah
-Header234: value-234
- hello 234 world blah blah
-Header235: value-235
- hello 235 world blah blah
-Header236: value-236
- hello 236 world blah blah
-Header237: value-237
- hello 237 world blah blah
-Header238: value-238
- hello 238 world blah blah
-Header239: value-239
- hello 239 world blah blah
-Header240: value-240
- hello 240 world blah blah
-Header241: value-241
- hello 241 world blah blah
-Header242: value-242
- hello 242 world blah blah
-Header243: value-243
- hello 243 world blah blah
-Header244: value-244
- hello 244 world blah blah
-Header245: value-245
- hello 245 world blah blah
-Header246: value-246
- hello 246 world blah blah
-Header247: value-247
- hello 247 world blah blah
-Header248: value-248
- hello 248 world blah blah
-Header249: value-249
- hello 249 world blah blah
-Header250: value-250
- hello 250 world blah blah
-Header251: value-251
- hello 251 world blah blah
-Header252: value-252
- hello 252 world blah blah
-Header253: value-253
- hello 253 world blah blah
-Header254: value-254
- hello 254 world blah blah
-Header255: value-255
- hello 255 world blah blah
-Header256: value-256
- hello 256 world blah blah
-Header257: value-257
- hello 257 world blah blah
-Header258: value-258
- hello 258 world blah blah
-Header259: value-259
- hello 259 world blah blah
-Header260: value-260
- hello 260 world blah blah
-Header261: value-261
- hello 261 world blah blah
-Header262: value-262
- hello 262 world blah blah
-Header263: value-263
- hello 263 world blah blah
-Header264: value-264
- hello 264 world blah blah
-Header265: value-265
- hello 265 world blah blah
-Header266: value-266
- hello 266 world blah blah
-Header267: value-267
- hello 267 world blah blah
-Header268: value-268
- hello 268 world blah blah
-Header269: value-269
- hello 269 world blah blah
-Header270: value-270
- hello 270 world blah blah
-Header271: value-271
- hello 271 world blah blah
-Header272: value-272
- hello 272 world blah blah
-Header273: value-273
- hello 273 world blah blah
-Header274: value-274
- hello 274 world blah blah
-Header275: value-275
- hello 275 world blah blah
-Header276: value-276
- hello 276 world blah blah
-Header277: value-277
- hello 277 world blah blah
-Header278: value-278
- hello 278 world blah blah
-Header279: value-279
- hello 279 world blah blah
-Header280: value-280
- hello 280 world blah blah
-Header281: value-281
- hello 281 world blah blah
-Header282: value-282
- hello 282 world blah blah
-Header283: value-283
- hello 283 world blah blah
-Header284: value-284
- hello 284 world blah blah
-Header285: value-285
- hello 285 world blah blah
-Header286: value-286
- hello 286 world blah blah
-Header287: value-287
- hello 287 world blah blah
-Header288: value-288
- hello 288 world blah blah
-Header289: value-289
- hello 289 world blah blah
-Header290: value-290
- hello 290 world blah blah
-Header291: value-291
- hello 291 world blah blah
-Header292: value-292
- hello 292 world blah blah
-Header293: value-293
- hello 293 world blah blah
-Header294: value-294
- hello 294 world blah blah
-Header295: value-295
- hello 295 world blah blah
-Header296: value-296
- hello 296 world blah blah
-Header297: value-297
- hello 297 world blah blah
-Header298: value-298
- hello 298 world blah blah
-Header299: value-299
- hello 299 world blah blah
-Header300: value-300
- hello 300 world blah blah
-Header301: value-301
- hello 301 world blah blah
-Header302: value-302
- hello 302 world blah blah
-Header303: value-303
- hello 303 world blah blah
-Header304: value-304
- hello 304 world blah blah
-Header305: value-305
- hello 305 world blah blah
-Header306: value-306
- hello 306 world blah blah
-Header307: value-307
- hello 307 world blah blah
-Header308: value-308
- hello 308 world blah blah
-Header309: value-309
- hello 309 world blah blah
-Header310: value-310
- hello 310 world blah blah
-Header311: value-311
- hello 311 world blah blah
-Header312: value-312
- hello 312 world blah blah
-Header313: value-313
- hello 313 world blah blah
-Header314: value-314
- hello 314 world blah blah
-Header315: value-315
- hello 315 world blah blah
-Header316: value-316
- hello 316 world blah blah
-Header317: value-317
- hello 317 world blah blah
-Header318: value-318
- hello 318 world blah blah
-Header319: value-319
- hello 319 world blah blah
-Header320: value-320
- hello 320 world blah blah
-Header321: value-321
- hello 321 world blah blah
-Header322: value-322
- hello 322 world blah blah
-Header323: value-323
- hello 323 world blah blah
-Header324: value-324
- hello 324 world blah blah
-Header325: value-325
- hello 325 world blah blah
-Header326: value-326
- hello 326 world blah blah
-Header327: value-327
- hello 327 world blah blah
-Header328: value-328
- hello 328 world blah blah
-Header329: value-329
- hello 329 world blah blah
-Header330: value-330
- hello 330 world blah blah
-Header331: value-331
- hello 331 world blah blah
-Header332: value-332
- hello 332 world blah blah
-Header333: value-333
- hello 333 world blah blah
-Header334: value-334
- hello 334 world blah blah
-Header335: value-335
- hello 335 world blah blah
-Header336: value-336
- hello 336 world blah blah
-Header337: value-337
- hello 337 world blah blah
-Header338: value-338
- hello 338 world blah blah
-Header339: value-339
- hello 339 world blah blah
-Header340: value-340
- hello 340 world blah blah
-Header341: value-341
- hello 341 world blah blah
-Header342: value-342
- hello 342 world blah blah
-Header343: value-343
- hello 343 world blah blah
-Header344: value-344
- hello 344 world blah blah
-Header345: value-345
- hello 345 world blah blah
-Header346: value-346
- hello 346 world blah blah
-Header347: value-347
- hello 347 world blah blah
-Header348: value-348
- hello 348 world blah blah
-Header349: value-349
- hello 349 world blah blah
-Header350: value-350
- hello 350 world blah blah
-Header351: value-351
- hello 351 world blah blah
-Header352: value-352
- hello 352 world blah blah
-Header353: value-353
- hello 353 world blah blah
-Header354: value-354
- hello 354 world blah blah
-Header355: value-355
- hello 355 world blah blah
-Header356: value-356
- hello 356 world blah blah
-Header357: value-357
- hello 357 world blah blah
-Header358: value-358
- hello 358 world blah blah
-Header359: value-359
- hello 359 world blah blah
-Header360: value-360
- hello 360 world blah blah
-Header361: value-361
- hello 361 world blah blah
-Header362: value-362
- hello 362 world blah blah
-Header363: value-363
- hello 363 world blah blah
-Header364: value-364
- hello 364 world blah blah
-Header365: value-365
- hello 365 world blah blah
-Header366: value-366
- hello 366 world blah blah
-Header367: value-367
- hello 367 world blah blah
-Header368: value-368
- hello 368 world blah blah
-Header369: value-369
- hello 369 world blah blah
-Header370: value-370
- hello 370 world blah blah
-Header371: value-371
- hello 371 world blah blah
-Header372: value-372
- hello 372 world blah blah
-Header373: value-373
- hello 373 world blah blah
-Header374: value-374
- hello 374 world blah blah
-Header375: value-375
- hello 375 world blah blah
-Header376: value-376
- hello 376 world blah blah
-Header377: value-377
- hello 377 world blah blah
-Header378: value-378
- hello 378 world blah blah
-Header379: value-379
- hello 379 world blah blah
-Header380: value-380
- hello 380 world blah blah
-Header381: value-381
- hello 381 world blah blah
-Header382: value-382
- hello 382 world blah blah
-Header383: value-383
- hello 383 world blah blah
-Header384: value-384
- hello 384 world blah blah
-Header385: value-385
- hello 385 world blah blah
-Header386: value-386
- hello 386 world blah blah
-Header387: value-387
- hello 387 world blah blah
-Header388: value-388
- hello 388 world blah blah
-Header389: value-389
- hello 389 world blah blah
-Header390: value-390
- hello 390 world blah blah
-Header391: value-391
- hello 391 world blah blah
-Header392: value-392
- hello 392 world blah blah
-Header393: value-393
- hello 393 world blah blah
-Header394: value-394
- hello 394 world blah blah
-Header395: value-395
- hello 395 world blah blah
-Header396: value-396
- hello 396 world blah blah
-Header397: value-397
- hello 397 world blah blah
-Header398: value-398
- hello 398 world blah blah
-Header399: value-399
- hello 399 world blah blah
-Header400: value-400
- hello 400 world blah blah
-Header401: value-401
- hello 401 world blah blah
-Header402: value-402
- hello 402 world blah blah
-Header403: value-403
- hello 403 world blah blah
-Header404: value-404
- hello 404 world blah blah
-Header405: value-405
- hello 405 world blah blah
-Header406: value-406
- hello 406 world blah blah
-Header407: value-407
- hello 407 world blah blah
-Header408: value-408
- hello 408 world blah blah
-Header409: value-409
- hello 409 world blah blah
-Header410: value-410
- hello 410 world blah blah
-Header411: value-411
- hello 411 world blah blah
-Header412: value-412
- hello 412 world blah blah
-Header413: value-413
- hello 413 world blah blah
-Header414: value-414
- hello 414 world blah blah
-Header415: value-415
- hello 415 world blah blah
-Header416: value-416
- hello 416 world blah blah
-Header417: value-417
- hello 417 world blah blah
-Header418: value-418
- hello 418 world blah blah
-Header419: value-419
- hello 419 world blah blah
-Header420: value-420
- hello 420 world blah blah
-Header421: value-421
- hello 421 world blah blah
-Header422: value-422
- hello 422 world blah blah
-Header423: value-423
- hello 423 world blah blah
-Header424: value-424
- hello 424 world blah blah
-Header425: value-425
- hello 425 world blah blah
-Header426: value-426
- hello 426 world blah blah
-Header427: value-427
- hello 427 world blah blah
-Header428: value-428
- hello 428 world blah blah
-Header429: value-429
- hello 429 world blah blah
-Header430: value-430
- hello 430 world blah blah
-Header431: value-431
- hello 431 world blah blah
-Header432: value-432
- hello 432 world blah blah
-Header433: value-433
- hello 433 world blah blah
-Header434: value-434
- hello 434 world blah blah
-Header435: value-435
- hello 435 world blah blah
-Header436: value-436
- hello 436 world blah blah
-Header437: value-437
- hello 437 world blah blah
-Header438: value-438
- hello 438 world blah blah
-Header439: value-439
- hello 439 world blah blah
-Header440: value-440
- hello 440 world blah blah
-Header441: value-441
- hello 441 world blah blah
-Header442: value-442
- hello 442 world blah blah
-Header443: value-443
- hello 443 world blah blah
-Header444: value-444
- hello 444 world blah blah
-Header445: value-445
- hello 445 world blah blah
-Header446: value-446
- hello 446 world blah blah
-Header447: value-447
- hello 447 world blah blah
-Header448: value-448
- hello 448 world blah blah
-Header449: value-449
- hello 449 world blah blah
-Header450: value-450
- hello 450 world blah blah
-Header451: value-451
- hello 451 world blah blah
-Header452: value-452
- hello 452 world blah blah
-Header453: value-453
- hello 453 world blah blah
-Header454: value-454
- hello 454 world blah blah
-Header455: value-455
- hello 455 world blah blah
-Header456: value-456
- hello 456 world blah blah
-Header457: value-457
- hello 457 world blah blah
-Header458: value-458
- hello 458 world blah blah
-Header459: value-459
- hello 459 world blah blah
-Header460: value-460
- hello 460 world blah blah
-Header461: value-461
- hello 461 world blah blah
-Header462: value-462
- hello 462 world blah blah
-Header463: value-463
- hello 463 world blah blah
-Header464: value-464
- hello 464 world blah blah
-Header465: value-465
- hello 465 world blah blah
-Header466: value-466
- hello 466 world blah blah
-Header467: value-467
- hello 467 world blah blah
-Header468: value-468
- hello 468 world blah blah
-Header469: value-469
- hello 469 world blah blah
-Header470: value-470
- hello 470 world blah blah
-Header471: value-471
- hello 471 world blah blah
-Header472: value-472
- hello 472 world blah blah
-Header473: value-473
- hello 473 world blah blah
-Header474: value-474
- hello 474 world blah blah
-Header475: value-475
- hello 475 world blah blah
-Header476: value-476
- hello 476 world blah blah
-Header477: value-477
- hello 477 world blah blah
-Header478: value-478
- hello 478 world blah blah
-Header479: value-479
- hello 479 world blah blah
-Header480: value-480
- hello 480 world blah blah
-Header481: value-481
- hello 481 world blah blah
-Header482: value-482
- hello 482 world blah blah
-Header483: value-483
- hello 483 world blah blah
-Header484: value-484
- hello 484 world blah blah
-Header485: value-485
- hello 485 world blah blah
-Header486: value-486
- hello 486 world blah blah
-Header487: value-487
- hello 487 world blah blah
-Header488: value-488
- hello 488 world blah blah
-Header489: value-489
- hello 489 world blah blah
-Header490: value-490
- hello 490 world blah blah
-Header491: value-491
- hello 491 world blah blah
-Header492: value-492
- hello 492 world blah blah
-Header493: value-493
- hello 493 world blah blah
-Header494: value-494
- hello 494 world blah blah
-Header495: value-495
- hello 495 world blah blah
-Header496: value-496
- hello 496 world blah blah
-Header497: value-497
- hello 497 world blah blah
-Header498: value-498
- hello 498 world blah blah
-Header499: value-499
- hello 499 world blah blah
-Header500: value-500
- hello 500 world blah blah
-Header501: value-501
- hello 501 world blah blah
-Header502: value-502
- hello 502 world blah blah
-Header503: value-503
- hello 503 world blah blah
-Header504: value-504
- hello 504 world blah blah
-Header505: value-505
- hello 505 world blah blah
-Header506: value-506
- hello 506 world blah blah
-Header507: value-507
- hello 507 world blah blah
-Header508: value-508
- hello 508 world blah blah
-Header509: value-509
- hello 509 world blah blah
-Header510: value-510
- hello 510 world blah blah
-Header511: value-511
- hello 511 world blah blah
-Header512: value-512
- hello 512 world blah blah
-
'
104-req-raw-header.t ERROR: client socket timed out - TEST 13: large header, multi-line header '
104-req-raw-header.t TEST 13: large header, multi-line header - status code ok got: ''
expected: '200'
104-req-raw-header.t TEST 13: large header, multi-line header - response_body - response is expected (repeated req 1, req 0) @@ -1,1028 +0,0 @@
-GET /t HTTP/1.1
-Host: localhost
-Connection: close
-Header1: value-1
- hello 1 world blah blah
-Header2: value-2
- hello 2 world blah blah
-Header3: value-3
- hello 3 world blah blah
-Header4: value-4
- hello 4 world blah blah
-Header5: value-5
- hello 5 world blah blah
-Header6: value-6
- hello 6 world blah blah
-Header7: value-7
- hello 7 world blah blah
-Header8: value-8
- hello 8 world blah blah
-Header9: value-9
- hello 9 world blah blah
-Header10: value-10
- hello 10 world blah blah
-Header11: value-11
- hello 11 world blah blah
-Header12: value-12
- hello 12 world blah blah
-Header13: value-13
- hello 13 world blah blah
-Header14: value-14
- hello 14 world blah blah
-Header15: value-15
- hello 15 world blah blah
-Header16: value-16
- hello 16 world blah blah
-Header17: value-17
- hello 17 world blah blah
-Header18: value-18
- hello 18 world blah blah
-Header19: value-19
- hello 19 world blah blah
-Header20: value-20
- hello 20 world blah blah
-Header21: value-21
- hello 21 world blah blah
-Header22: value-22
- hello 22 world blah blah
-Header23: value-23
- hello 23 world blah blah
-Header24: value-24
- hello 24 world blah blah
-Header25: value-25
- hello 25 world blah blah
-Header26: value-26
- hello 26 world blah blah
-Header27: value-27
- hello 27 world blah blah
-Header28: value-28
- hello 28 world blah blah
-Header29: value-29
- hello 29 world blah blah
-Header30: value-30
- hello 30 world blah blah
-Header31: value-31
- hello 31 world blah blah
-Header32: value-32
- hello 32 world blah blah
-Header33: value-33
- hello 33 world blah blah
-Header34: value-34
- hello 34 world blah blah
-Header35: value-35
- hello 35 world blah blah
-Header36: value-36
- hello 36 world blah blah
-Header37: value-37
- hello 37 world blah blah
-Header38: value-38
- hello 38 world blah blah
-Header39: value-39
- hello 39 world blah blah
-Header40: value-40
- hello 40 world blah blah
-Header41: value-41
- hello 41 world blah blah
-Header42: value-42
- hello 42 world blah blah
-Header43: value-43
- hello 43 world blah blah
-Header44: value-44
- hello 44 world blah blah
-Header45: value-45
- hello 45 world blah blah
-Header46: value-46
- hello 46 world blah blah
-Header47: value-47
- hello 47 world blah blah
-Header48: value-48
- hello 48 world blah blah
-Header49: value-49
- hello 49 world blah blah
-Header50: value-50
- hello 50 world blah blah
-Header51: value-51
- hello 51 world blah blah
-Header52: value-52
- hello 52 world blah blah
-Header53: value-53
- hello 53 world blah blah
-Header54: value-54
- hello 54 world blah blah
-Header55: value-55
- hello 55 world blah blah
-Header56: value-56
- hello 56 world blah blah
-Header57: value-57
- hello 57 world blah blah
-Header58: value-58
- hello 58 world blah blah
-Header59: value-59
- hello 59 world blah blah
-Header60: value-60
- hello 60 world blah blah
-Header61: value-61
- hello 61 world blah blah
-Header62: value-62
- hello 62 world blah blah
-Header63: value-63
- hello 63 world blah blah
-Header64: value-64
- hello 64 world blah blah
-Header65: value-65
- hello 65 world blah blah
-Header66: value-66
- hello 66 world blah blah
-Header67: value-67
- hello 67 world blah blah
-Header68: value-68
- hello 68 world blah blah
-Header69: value-69
- hello 69 world blah blah
-Header70: value-70
- hello 70 world blah blah
-Header71: value-71
- hello 71 world blah blah
-Header72: value-72
- hello 72 world blah blah
-Header73: value-73
- hello 73 world blah blah
-Header74: value-74
- hello 74 world blah blah
-Header75: value-75
- hello 75 world blah blah
-Header76: value-76
- hello 76 world blah blah
-Header77: value-77
- hello 77 world blah blah
-Header78: value-78
- hello 78 world blah blah
-Header79: value-79
- hello 79 world blah blah
-Header80: value-80
- hello 80 world blah blah
-Header81: value-81
- hello 81 world blah blah
-Header82: value-82
- hello 82 world blah blah
-Header83: value-83
- hello 83 world blah blah
-Header84: value-84
- hello 84 world blah blah
-Header85: value-85
- hello 85 world blah blah
-Header86: value-86
- hello 86 world blah blah
-Header87: value-87
- hello 87 world blah blah
-Header88: value-88
- hello 88 world blah blah
-Header89: value-89
- hello 89 world blah blah
-Header90: value-90
- hello 90 world blah blah
-Header91: value-91
- hello 91 world blah blah
-Header92: value-92
- hello 92 world blah blah
-Header93: value-93
- hello 93 world blah blah
-Header94: value-94
- hello 94 world blah blah
-Header95: value-95
- hello 95 world blah blah
-Header96: value-96
- hello 96 world blah blah
-Header97: value-97
- hello 97 world blah blah
-Header98: value-98
- hello 98 world blah blah
-Header99: value-99
- hello 99 world blah blah
-Header100: value-100
- hello 100 world blah blah
-Header101: value-101
- hello 101 world blah blah
-Header102: value-102
- hello 102 world blah blah
-Header103: value-103
- hello 103 world blah blah
-Header104: value-104
- hello 104 world blah blah
-Header105: value-105
- hello 105 world blah blah
-Header106: value-106
- hello 106 world blah blah
-Header107: value-107
- hello 107 world blah blah
-Header108: value-108
- hello 108 world blah blah
-Header109: value-109
- hello 109 world blah blah
-Header110: value-110
- hello 110 world blah blah
-Header111: value-111
- hello 111 world blah blah
-Header112: value-112
- hello 112 world blah blah
-Header113: value-113
- hello 113 world blah blah
-Header114: value-114
- hello 114 world blah blah
-Header115: value-115
- hello 115 world blah blah
-Header116: value-116
- hello 116 world blah blah
-Header117: value-117
- hello 117 world blah blah
-Header118: value-118
- hello 118 world blah blah
-Header119: value-119
- hello 119 world blah blah
-Header120: value-120
- hello 120 world blah blah
-Header121: value-121
- hello 121 world blah blah
-Header122: value-122
- hello 122 world blah blah
-Header123: value-123
- hello 123 world blah blah
-Header124: value-124
- hello 124 world blah blah
-Header125: value-125
- hello 125 world blah blah
-Header126: value-126
- hello 126 world blah blah
-Header127: value-127
- hello 127 world blah blah
-Header128: value-128
- hello 128 world blah blah
-Header129: value-129
- hello 129 world blah blah
-Header130: value-130
- hello 130 world blah blah
-Header131: value-131
- hello 131 world blah blah
-Header132: value-132
- hello 132 world blah blah
-Header133: value-133
- hello 133 world blah blah
-Header134: value-134
- hello 134 world blah blah
-Header135: value-135
- hello 135 world blah blah
-Header136: value-136
- hello 136 world blah blah
-Header137: value-137
- hello 137 world blah blah
-Header138: value-138
- hello 138 world blah blah
-Header139: value-139
- hello 139 world blah blah
-Header140: value-140
- hello 140 world blah blah
-Header141: value-141
- hello 141 world blah blah
-Header142: value-142
- hello 142 world blah blah
-Header143: value-143
- hello 143 world blah blah
-Header144: value-144
- hello 144 world blah blah
-Header145: value-145
- hello 145 world blah blah
-Header146: value-146
- hello 146 world blah blah
-Header147: value-147
- hello 147 world blah blah
-Header148: value-148
- hello 148 world blah blah
-Header149: value-149
- hello 149 world blah blah
-Header150: value-150
- hello 150 world blah blah
-Header151: value-151
- hello 151 world blah blah
-Header152: value-152
- hello 152 world blah blah
-Header153: value-153
- hello 153 world blah blah
-Header154: value-154
- hello 154 world blah blah
-Header155: value-155
- hello 155 world blah blah
-Header156: value-156
- hello 156 world blah blah
-Header157: value-157
- hello 157 world blah blah
-Header158: value-158
- hello 158 world blah blah
-Header159: value-159
- hello 159 world blah blah
-Header160: value-160
- hello 160 world blah blah
-Header161: value-161
- hello 161 world blah blah
-Header162: value-162
- hello 162 world blah blah
-Header163: value-163
- hello 163 world blah blah
-Header164: value-164
- hello 164 world blah blah
-Header165: value-165
- hello 165 world blah blah
-Header166: value-166
- hello 166 world blah blah
-Header167: value-167
- hello 167 world blah blah
-Header168: value-168
- hello 168 world blah blah
-Header169: value-169
- hello 169 world blah blah
-Header170: value-170
- hello 170 world blah blah
-Header171: value-171
- hello 171 world blah blah
-Header172: value-172
- hello 172 world blah blah
-Header173: value-173
- hello 173 world blah blah
-Header174: value-174
- hello 174 world blah blah
-Header175: value-175
- hello 175 world blah blah
-Header176: value-176
- hello 176 world blah blah
-Header177: value-177
- hello 177 world blah blah
-Header178: value-178
- hello 178 world blah blah
-Header179: value-179
- hello 179 world blah blah
-Header180: value-180
- hello 180 world blah blah
-Header181: value-181
- hello 181 world blah blah
-Header182: value-182
- hello 182 world blah blah
-Header183: value-183
- hello 183 world blah blah
-Header184: value-184
- hello 184 world blah blah
-Header185: value-185
- hello 185 world blah blah
-Header186: value-186
- hello 186 world blah blah
-Header187: value-187
- hello 187 world blah blah
-Header188: value-188
- hello 188 world blah blah
-Header189: value-189
- hello 189 world blah blah
-Header190: value-190
- hello 190 world blah blah
-Header191: value-191
- hello 191 world blah blah
-Header192: value-192
- hello 192 world blah blah
-Header193: value-193
- hello 193 world blah blah
-Header194: value-194
- hello 194 world blah blah
-Header195: value-195
- hello 195 world blah blah
-Header196: value-196
- hello 196 world blah blah
-Header197: value-197
- hello 197 world blah blah
-Header198: value-198
- hello 198 world blah blah
-Header199: value-199
- hello 199 world blah blah
-Header200: value-200
- hello 200 world blah blah
-Header201: value-201
- hello 201 world blah blah
-Header202: value-202
- hello 202 world blah blah
-Header203: value-203
- hello 203 world blah blah
-Header204: value-204
- hello 204 world blah blah
-Header205: value-205
- hello 205 world blah blah
-Header206: value-206
- hello 206 world blah blah
-Header207: value-207
- hello 207 world blah blah
-Header208: value-208
- hello 208 world blah blah
-Header209: value-209
- hello 209 world blah blah
-Header210: value-210
- hello 210 world blah blah
-Header211: value-211
- hello 211 world blah blah
-Header212: value-212
- hello 212 world blah blah
-Header213: value-213
- hello 213 world blah blah
-Header214: value-214
- hello 214 world blah blah
-Header215: value-215
- hello 215 world blah blah
-Header216: value-216
- hello 216 world blah blah
-Header217: value-217
- hello 217 world blah blah
-Header218: value-218
- hello 218 world blah blah
-Header219: value-219
- hello 219 world blah blah
-Header220: value-220
- hello 220 world blah blah
-Header221: value-221
- hello 221 world blah blah
-Header222: value-222
- hello 222 world blah blah
-Header223: value-223
- hello 223 world blah blah
-Header224: value-224
- hello 224 world blah blah
-Header225: value-225
- hello 225 world blah blah
-Header226: value-226
- hello 226 world blah blah
-Header227: value-227
- hello 227 world blah blah
-Header228: value-228
- hello 228 world blah blah
-Header229: value-229
- hello 229 world blah blah
-Header230: value-230
- hello 230 world blah blah
-Header231: value-231
- hello 231 world blah blah
-Header232: value-232
- hello 232 world blah blah
-Header233: value-233
- hello 233 world blah blah
-Header234: value-234
- hello 234 world blah blah
-Header235: value-235
- hello 235 world blah blah
-Header236: value-236
- hello 236 world blah blah
-Header237: value-237
- hello 237 world blah blah
-Header238: value-238
- hello 238 world blah blah
-Header239: value-239
- hello 239 world blah blah
-Header240: value-240
- hello 240 world blah blah
-Header241: value-241
- hello 241 world blah blah
-Header242: value-242
- hello 242 world blah blah
-Header243: value-243
- hello 243 world blah blah
-Header244: value-244
- hello 244 world blah blah
-Header245: value-245
- hello 245 world blah blah
-Header246: value-246
- hello 246 world blah blah
-Header247: value-247
- hello 247 world blah blah
-Header248: value-248
- hello 248 world blah blah
-Header249: value-249
- hello 249 world blah blah
-Header250: value-250
- hello 250 world blah blah
-Header251: value-251
- hello 251 world blah blah
-Header252: value-252
- hello 252 world blah blah
-Header253: value-253
- hello 253 world blah blah
-Header254: value-254
- hello 254 world blah blah
-Header255: value-255
- hello 255 world blah blah
-Header256: value-256
- hello 256 world blah blah
-Header257: value-257
- hello 257 world blah blah
-Header258: value-258
- hello 258 world blah blah
-Header259: value-259
- hello 259 world blah blah
-Header260: value-260
- hello 260 world blah blah
-Header261: value-261
- hello 261 world blah blah
-Header262: value-262
- hello 262 world blah blah
-Header263: value-263
- hello 263 world blah blah
-Header264: value-264
- hello 264 world blah blah
-Header265: value-265
- hello 265 world blah blah
-Header266: value-266
- hello 266 world blah blah
-Header267: value-267
- hello 267 world blah blah
-Header268: value-268
- hello 268 world blah blah
-Header269: value-269
- hello 269 world blah blah
-Header270: value-270
- hello 270 world blah blah
-Header271: value-271
- hello 271 world blah blah
-Header272: value-272
- hello 272 world blah blah
-Header273: value-273
- hello 273 world blah blah
-Header274: value-274
- hello 274 world blah blah
-Header275: value-275
- hello 275 world blah blah
-Header276: value-276
- hello 276 world blah blah
-Header277: value-277
- hello 277 world blah blah
-Header278: value-278
- hello 278 world blah blah
-Header279: value-279
- hello 279 world blah blah
-Header280: value-280
- hello 280 world blah blah
-Header281: value-281
- hello 281 world blah blah
-Header282: value-282
- hello 282 world blah blah
-Header283: value-283
- hello 283 world blah blah
-Header284: value-284
- hello 284 world blah blah
-Header285: value-285
- hello 285 world blah blah
-Header286: value-286
- hello 286 world blah blah
-Header287: value-287
- hello 287 world blah blah
-Header288: value-288
- hello 288 world blah blah
-Header289: value-289
- hello 289 world blah blah
-Header290: value-290
- hello 290 world blah blah
-Header291: value-291
- hello 291 world blah blah
-Header292: value-292
- hello 292 world blah blah
-Header293: value-293
- hello 293 world blah blah
-Header294: value-294
- hello 294 world blah blah
-Header295: value-295
- hello 295 world blah blah
-Header296: value-296
- hello 296 world blah blah
-Header297: value-297
- hello 297 world blah blah
-Header298: value-298
- hello 298 world blah blah
-Header299: value-299
- hello 299 world blah blah
-Header300: value-300
- hello 300 world blah blah
-Header301: value-301
- hello 301 world blah blah
-Header302: value-302
- hello 302 world blah blah
-Header303: value-303
- hello 303 world blah blah
-Header304: value-304
- hello 304 world blah blah
-Header305: value-305
- hello 305 world blah blah
-Header306: value-306
- hello 306 world blah blah
-Header307: value-307
- hello 307 world blah blah
-Header308: value-308
- hello 308 world blah blah
-Header309: value-309
- hello 309 world blah blah
-Header310: value-310
- hello 310 world blah blah
-Header311: value-311
- hello 311 world blah blah
-Header312: value-312
- hello 312 world blah blah
-Header313: value-313
- hello 313 world blah blah
-Header314: value-314
- hello 314 world blah blah
-Header315: value-315
- hello 315 world blah blah
-Header316: value-316
- hello 316 world blah blah
-Header317: value-317
- hello 317 world blah blah
-Header318: value-318
- hello 318 world blah blah
-Header319: value-319
- hello 319 world blah blah
-Header320: value-320
- hello 320 world blah blah
-Header321: value-321
- hello 321 world blah blah
-Header322: value-322
- hello 322 world blah blah
-Header323: value-323
- hello 323 world blah blah
-Header324: value-324
- hello 324 world blah blah
-Header325: value-325
- hello 325 world blah blah
-Header326: value-326
- hello 326 world blah blah
-Header327: value-327
- hello 327 world blah blah
-Header328: value-328
- hello 328 world blah blah
-Header329: value-329
- hello 329 world blah blah
-Header330: value-330
- hello 330 world blah blah
-Header331: value-331
- hello 331 world blah blah
-Header332: value-332
- hello 332 world blah blah
-Header333: value-333
- hello 333 world blah blah
-Header334: value-334
- hello 334 world blah blah
-Header335: value-335
- hello 335 world blah blah
-Header336: value-336
- hello 336 world blah blah
-Header337: value-337
- hello 337 world blah blah
-Header338: value-338
- hello 338 world blah blah
-Header339: value-339
- hello 339 world blah blah
-Header340: value-340
- hello 340 world blah blah
-Header341: value-341
- hello 341 world blah blah
-Header342: value-342
- hello 342 world blah blah
-Header343: value-343
- hello 343 world blah blah
-Header344: value-344
- hello 344 world blah blah
-Header345: value-345
- hello 345 world blah blah
-Header346: value-346
- hello 346 world blah blah
-Header347: value-347
- hello 347 world blah blah
-Header348: value-348
- hello 348 world blah blah
-Header349: value-349
- hello 349 world blah blah
-Header350: value-350
- hello 350 world blah blah
-Header351: value-351
- hello 351 world blah blah
-Header352: value-352
- hello 352 world blah blah
-Header353: value-353
- hello 353 world blah blah
-Header354: value-354
- hello 354 world blah blah
-Header355: value-355
- hello 355 world blah blah
-Header356: value-356
- hello 356 world blah blah
-Header357: value-357
- hello 357 world blah blah
-Header358: value-358
- hello 358 world blah blah
-Header359: value-359
- hello 359 world blah blah
-Header360: value-360
- hello 360 world blah blah
-Header361: value-361
- hello 361 world blah blah
-Header362: value-362
- hello 362 world blah blah
-Header363: value-363
- hello 363 world blah blah
-Header364: value-364
- hello 364 world blah blah
-Header365: value-365
- hello 365 world blah blah
-Header366: value-366
- hello 366 world blah blah
-Header367: value-367
- hello 367 world blah blah
-Header368: value-368
- hello 368 world blah blah
-Header369: value-369
- hello 369 world blah blah
-Header370: value-370
- hello 370 world blah blah
-Header371: value-371
- hello 371 world blah blah
-Header372: value-372
- hello 372 world blah blah
-Header373: value-373
- hello 373 world blah blah
-Header374: value-374
- hello 374 world blah blah
-Header375: value-375
- hello 375 world blah blah
-Header376: value-376
- hello 376 world blah blah
-Header377: value-377
- hello 377 world blah blah
-Header378: value-378
- hello 378 world blah blah
-Header379: value-379
- hello 379 world blah blah
-Header380: value-380
- hello 380 world blah blah
-Header381: value-381
- hello 381 world blah blah
-Header382: value-382
- hello 382 world blah blah
-Header383: value-383
- hello 383 world blah blah
-Header384: value-384
- hello 384 world blah blah
-Header385: value-385
- hello 385 world blah blah
-Header386: value-386
- hello 386 world blah blah
-Header387: value-387
- hello 387 world blah blah
-Header388: value-388
- hello 388 world blah blah
-Header389: value-389
- hello 389 world blah blah
-Header390: value-390
- hello 390 world blah blah
-Header391: value-391
- hello 391 world blah blah
-Header392: value-392
- hello 392 world blah blah
-Header393: value-393
- hello 393 world blah blah
-Header394: value-394
- hello 394 world blah blah
-Header395: value-395
- hello 395 world blah blah
-Header396: value-396
- hello 396 world blah blah
-Header397: value-397
- hello 397 world blah blah
-Header398: value-398
- hello 398 world blah blah
-Header399: value-399
- hello 399 world blah blah
-Header400: value-400
- hello 400 world blah blah
-Header401: value-401
- hello 401 world blah blah
-Header402: value-402
- hello 402 world blah blah
-Header403: value-403
- hello 403 world blah blah
-Header404: value-404
- hello 404 world blah blah
-Header405: value-405
- hello 405 world blah blah
-Header406: value-406
- hello 406 world blah blah
-Header407: value-407
- hello 407 world blah blah
-Header408: value-408
- hello 408 world blah blah
-Header409: value-409
- hello 409 world blah blah
-Header410: value-410
- hello 410 world blah blah
-Header411: value-411
- hello 411 world blah blah
-Header412: value-412
- hello 412 world blah blah
-Header413: value-413
- hello 413 world blah blah
-Header414: value-414
- hello 414 world blah blah
-Header415: value-415
- hello 415 world blah blah
-Header416: value-416
- hello 416 world blah blah
-Header417: value-417
- hello 417 world blah blah
-Header418: value-418
- hello 418 world blah blah
-Header419: value-419
- hello 419 world blah blah
-Header420: value-420
- hello 420 world blah blah
-Header421: value-421
- hello 421 world blah blah
-Header422: value-422
- hello 422 world blah blah
-Header423: value-423
- hello 423 world blah blah
-Header424: value-424
- hello 424 world blah blah
-Header425: value-425
- hello 425 world blah blah
-Header426: value-426
- hello 426 world blah blah
-Header427: value-427
- hello 427 world blah blah
-Header428: value-428
- hello 428 world blah blah
-Header429: value-429
- hello 429 world blah blah
-Header430: value-430
- hello 430 world blah blah
-Header431: value-431
- hello 431 world blah blah
-Header432: value-432
- hello 432 world blah blah
-Header433: value-433
- hello 433 world blah blah
-Header434: value-434
- hello 434 world blah blah
-Header435: value-435
- hello 435 world blah blah
-Header436: value-436
- hello 436 world blah blah
-Header437: value-437
- hello 437 world blah blah
-Header438: value-438
- hello 438 world blah blah
-Header439: value-439
- hello 439 world blah blah
-Header440: value-440
- hello 440 world blah blah
-Header441: value-441
- hello 441 world blah blah
-Header442: value-442
- hello 442 world blah blah
-Header443: value-443
- hello 443 world blah blah
-Header444: value-444
- hello 444 world blah blah
-Header445: value-445
- hello 445 world blah blah
-Header446: value-446
- hello 446 world blah blah
-Header447: value-447
- hello 447 world blah blah
-Header448: value-448
- hello 448 world blah blah
-Header449: value-449
- hello 449 world blah blah
-Header450: value-450
- hello 450 world blah blah
-Header451: value-451
- hello 451 world blah blah
-Header452: value-452
- hello 452 world blah blah
-Header453: value-453
- hello 453 world blah blah
-Header454: value-454
- hello 454 world blah blah
-Header455: value-455
- hello 455 world blah blah
-Header456: value-456
- hello 456 world blah blah
-Header457: value-457
- hello 457 world blah blah
-Header458: value-458
- hello 458 world blah blah
-Header459: value-459
- hello 459 world blah blah
-Header460: value-460
- hello 460 world blah blah
-Header461: value-461
- hello 461 world blah blah
-Header462: value-462
- hello 462 world blah blah
-Header463: value-463
- hello 463 world blah blah
-Header464: value-464
- hello 464 world blah blah
-Header465: value-465
- hello 465 world blah blah
-Header466: value-466
- hello 466 world blah blah
-Header467: value-467
- hello 467 world blah blah
-Header468: value-468
- hello 468 world blah blah
-Header469: value-469
- hello 469 world blah blah
-Header470: value-470
- hello 470 world blah blah
-Header471: value-471
- hello 471 world blah blah
-Header472: value-472
- hello 472 world blah blah
-Header473: value-473
- hello 473 world blah blah
-Header474: value-474
- hello 474 world blah blah
-Header475: value-475
- hello 475 world blah blah
-Header476: value-476
- hello 476 world blah blah
-Header477: value-477
- hello 477 world blah blah
-Header478: value-478
- hello 478 world blah blah
-Header479: value-479
- hello 479 world blah blah
-Header480: value-480
- hello 480 world blah blah
-Header481: value-481
- hello 481 world blah blah
-Header482: value-482
- hello 482 world blah blah
-Header483: value-483
- hello 483 world blah blah
-Header484: value-484
- hello 484 world blah blah
-Header485: value-485
- hello 485 world blah blah
-Header486: value-486
- hello 486 world blah blah
-Header487: value-487
- hello 487 world blah blah
-Header488: value-488
- hello 488 world blah blah
-Header489: value-489
- hello 489 world blah blah
-Header490: value-490
- hello 490 world blah blah
-Header491: value-491
- hello 491 world blah blah
-Header492: value-492
- hello 492 world blah blah
-Header493: value-493
- hello 493 world blah blah
-Header494: value-494
- hello 494 world blah blah
-Header495: value-495
- hello 495 world blah blah
-Header496: value-496
- hello 496 world blah blah
-Header497: value-497
- hello 497 world blah blah
-Header498: value-498
- hello 498 world blah blah
-Header499: value-499
- hello 499 world blah blah
-Header500: value-500
- hello 500 world blah blah
-Header501: value-501
- hello 501 world blah blah
-Header502: value-502
- hello 502 world blah blah
-Header503: value-503
- hello 503 world blah blah
-Header504: value-504
- hello 504 world blah blah
-Header505: value-505
- hello 505 world blah blah
-Header506: value-506
- hello 506 world blah blah
-Header507: value-507
- hello 507 world blah blah
-Header508: value-508
- hello 508 world blah blah
-Header509: value-509
- hello 509 world blah blah
-Header510: value-510
- hello 510 world blah blah
-Header511: value-511
- hello 511 world blah blah
-Header512: value-512
- hello 512 world blah blah
-
'
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8188 pending timers
'
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'lua found 8189 pending timers
'
expected: 'lua found 8191 pending timers
'
152-timer-every.t TEST 6: memory leak check - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-growth1 == growth2: true
+growth1 == growth2: false
'

Expected Failures

File Name Details
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - status code ok got: '502'
expected: '200'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - stap output expected @@ -1,2 +1,2 @@
read timer set: 0
-write timer set: 1
+write timer set: 0
'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 20:43:05 [alert] 4571\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock:/foo\", host: \"localhost\"" (req 0)
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - status code ok got: '502'
expected: '200'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - stap output expected @@ -1,2 +1,2 @@
read timer set: 0
-write timer set: 1
+write timer set: 0
'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - status code ok got: '502'
expected: '200'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - stap output expected @@ -1,2 +1,2 @@
read timer set: 0
-write timer set: 1
+write timer set: 0
'
023-rewrite/client-abort.t TEST 23: exec (named location) to proxy + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
lua req cleanup
-delete thread 1
+delete thread 2
'
023-rewrite/client-abort.t TEST 5: subrequest + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: fail
lua req cleanup
-delete thread 1
+delete thread 2
'
023-rewrite/client-abort.t TEST 21: exec to lua + ignore - stap output expected @@ -1,6 +1,6 @@
terminate 1: ok
lua req cleanup
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
lua req cleanup
'
023-rewrite/client-abort.t TEST 12: ngx.req.socket + receive(n) + sleep + stop - stap output should match the pattern 'lua check broken conn
terminate 1: ok
delete thread 2
terminate 3: ok
delete thread 4
lua req cleanup
'
doesn't match '(?^ms:^(?:lua check broken conn
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2
lua req cleanup|lua check broken conn
lua req cleanup
delete thread 1)$
)'
023-rewrite/client-abort.t TEST 3: sleep + ignore - stap output expected @@ -1,5 +1,5 @@
terminate 1: ok
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
lua req cleanup
'
023-rewrite/client-abort.t TEST 22: exec to proxy + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
lua req cleanup
-delete thread 1
+delete thread 2
'
023-rewrite/client-abort.t TEST 19: ngx.req.socket + receive n == content-length + ignore - stap output expected @@ -1,5 +1,5 @@
terminate 1: ok
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
lua req cleanup
'
023-rewrite/client-abort.t TEST 20: ngx.req.read_body + sleep + stop (log handler still gets called) - stap output expected @@ -1,5 +1,5 @@
terminate 1: ok
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
lua req cleanup
'
023-rewrite/client-abort.t TEST 17: ngx.req.socket + receive n < content-length + stop - stap output expected @@ -1,5 +1,5 @@
terminate 1: ok
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
lua req cleanup
'
023-rewrite/on-abort.t TEST 8: ignore the client abort event in the user callback (no check) - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
-delete thread 1
+delete thread 2
lua req cleanup
'
023-rewrite/on-abort.t TEST 5: ngx.exit(-1) with pending subrequest - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/on-abort.t TEST 10: ignore the client abort event in the user callback (uthread) - stap output expected @@ -1,13 +1,13 @@
create 2 in 1
create 3 in 1
-spawn user thread 3 in 1
+spawn user thread 4 in 1
terminate 1: ok
-delete thread 1
+delete thread 5
lua check broken conn
terminate 2: ok
-delete thread 2
+delete thread 6
terminate 3: ok
-delete thread 3
-terminate 4: ok
delete thread 4
+terminate 7: ok
+delete thread 8
lua req cleanup
'
023-rewrite/on-abort.t TEST 11: abort in the user callback (uthread) - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
create 3 in 1
-spawn user thread 3 in 1
+spawn user thread 4 in 1
terminate 1: ok
-delete thread 1
+delete thread 5
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 6
-delete thread 3
+delete thread 4
'
023-rewrite/on-abort.t TEST 3: ngx.exit(499) with pending subrequest - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/on-abort.t TEST 7: accessing cosocket in callback - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/on-abort.t TEST 6: ngx.exit(0) with pending subrequest - stap output should match the pattern 'create 2 in 1
lua check broken conn
terminate 2: fail
terminate 1: ok
delete thread 3
delete thread 4
terminate 5: ok
delete thread 6
lua req cleanup
'
doesn't match '(?^:^create 2 in 1
lua check broken conn
terminate 2: fail
(?:lua check broken conn
)?terminate 1: ok
delete thread 2
delete thread 1
terminate 3: ok
delete thread 3
lua req cleanup
$)'
023-rewrite/on-abort.t TEST 2: abort in the user callback - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/on-abort.t TEST 13: regsiter on_abort callback multiple times - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
lua req cleanup
-delete thread 2
+delete thread 4
'
023-rewrite/on-abort.t TEST 4: ngx.exit(408) with pending subrequest - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/on-abort.t TEST 1: ignore the client abort event in the user callback - stap output expected @@ -2,8 +2,8 @@
lua check broken conn
terminate 2: ok
terminate 1: ok
-delete thread 2
-delete thread 1
-terminate 3: ok
delete thread 3
+delete thread 4
+terminate 5: ok
+delete thread 6
lua req cleanup
'
023-rewrite/on-abort.t TEST 12: regsiter on_abort callback but no client abortion (uthread) - stap output expected @@ -1,9 +1,9 @@
create 2 in 1
create 3 in 1
-spawn user thread 3 in 1
+spawn user thread 4 in 1
terminate 1: ok
-delete thread 1
+delete thread 5
terminate 3: ok
-delete thread 3
+delete thread 4
lua req cleanup
-delete thread 2
+delete thread 6
'
023-rewrite/on-abort.t TEST 9: regsiter on_abort callback but no client abortion - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
lua req cleanup
-delete thread 2
+delete thread 4
'
023-rewrite/uthread-exec.t TEST 4: exec in a user thread (another user thread is still pending on ngx.sleep) - stap output expected @@ -1,15 +1,14 @@
create 2 in 1
-spawn user thread 2 in 1
-add timer 100
-create 3 in 1
spawn user thread 3 in 1
+add timer 100
+create 4 in 1
+spawn user thread 5 in 1
add timer 1000
terminate 1: ok
-delete thread 1
-expire timer 100
+delete thread 6
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 3
+delete thread 5
free request
'
023-rewrite/uthread-exec.t TEST 2: exec in user thread (entry already quits) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
023-rewrite/uthread-exec.t TEST 3: exec in user thread (entry thread is still pending on ngx.sleep) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 1000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 1
+delete thread 4
free request
'
023-rewrite/uthread-exec.t TEST 1: exec in user thread (entry still pending) - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/uthread-exec.t TEST 5: exec in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected @@ -1,11 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 1: exit in user thread (entry thread is still pending to run) - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/uthread-exit.t TEST 14: exit in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected @@ -1,12 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
post subreq /sleep
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 6: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.udp) - stap output expected @@ -1,13 +1,12 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 1
resolver started
resolving agentzh.org
add timer 12000
-expire timer 1
terminate 2: ok
-delete thread 2
+delete thread 3
lua udp resolve cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 5: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.tcp) - stap output expected @@ -1,13 +1,12 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 1
resolver started
resolving agentzh.org
add timer 12000
-expire timer 1
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp resolve cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 3: exit in a user thread (another user thread is still pending on ngx.sleep) - stap output expected @@ -1,15 +1,14 @@
create 2 in 1
-spawn user thread 2 in 1
-add timer 100
-create 3 in 1
spawn user thread 3 in 1
+add timer 100
+create 4 in 1
+spawn user thread 5 in 1
add timer 1000
terminate 1: ok
-delete thread 1
-expire timer 100
+delete thread 6
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 3
+delete thread 5
free request
'
023-rewrite/uthread-exit.t TEST 12: exit in user thread (entry thread is still pending on ngx.req.read_body) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua req body cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 4: exit in user thread (entry already quits) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
023-rewrite/uthread-exit.t TEST 10: exit in user thread (entry thread is still pending on udpsock:receive) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua udp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 11: exit in user thread (entry thread is still pending on reqsock:receive) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 15: exit in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected @@ -1,13 +1,11 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
post subreq /echo
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
post subreq /sleep
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 13: exit in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected @@ -1,11 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
023-rewrite/uthread-exit.t TEST 2: exit in user thread (entry thread is still pending on ngx.sleep) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 1000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 1
+delete thread 4
free request
'
023-rewrite/uthread-redirect.t TEST 1: ngx.redirect() in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected @@ -1,13 +1,11 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
post subreq /echo
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
post subreq /sleep
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
023-rewrite/uthread-redirect.t TEST 2: redirect in user thread (entry thread is still pending on ngx.sleep) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 1000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 1
+delete thread 4
free request
'
023-rewrite/uthread-spawn.t TEST 27: multiple user threads + subrequests returning 204 immediately - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
create 4 in 1
spawn user thread 5 in 1
terminate 1: ok
delete thread 6
terminate 7: ok
delete thread 8
finalize request /proxy/1: rc:204 c:3 a:0
post subreq: /proxy/1 rc=204, status=204 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 3
terminate 9: ok
delete thread a
finalize request /proxy/2: rc:204 c:2 a:0
post subreq: /proxy/2 rc=204, status=204 a=0
subrequest /proxy/2 done
terminate 4: ok
delete thread 5
finalize request /t: rc:200 c:1 a:1
'
doesn't match '(?^ms:^create 2 in 1
spawn user thread 2 in 1
create 3 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 1
terminate 4: ok
delete thread 4
finalize request /proxy/1: rc:204 c:3 a:0
post subreq: /proxy/1 rc=204, status=204 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 2
terminate 5: ok
delete thread 5
finalize request /proxy/2: rc:204 c:2 a:0
post subreq: /proxy/2 rc=204, status=204 a=0
subrequest /proxy/2 done
terminate 3: ok
delete thread 3
finalize request /t: rc:200 c:1 a:1
(?:finalize request /t: rc:0 c:1 a:1)?$)'
023-rewrite/uthread-spawn.t TEST 11: nested user threads (with I/O) - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 2
-spawn user thread 3 in 2
+spawn user thread 3 in 1
+create 4 in 2
+spawn user thread 5 in 2
terminate 1: ok
-delete thread 1
+delete thread 6
terminate 2: ok
-delete thread 2
-terminate 3: ok
delete thread 3
+terminate 4: ok
+delete thread 5
'
023-rewrite/uthread-spawn.t TEST 7: simple user threads doing a single subrequest (entry also does a subrequest and quits early) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
023-rewrite/uthread-spawn.t TEST 12: coroutine status of a running user thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
023-rewrite/uthread-spawn.t TEST 13: coroutine status of a dead user thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/uthread-spawn.t TEST 1: simple user thread without I/O - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/uthread-spawn.t TEST 3: simple user thread with sleep - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
023-rewrite/uthread-spawn.t TEST 25: multiple user threads + subrequests returning 404 remotely (no wait) - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
create 4 in 1
spawn user thread 5 in 1
create 6 in 1
spawn user thread 7 in 1
create 8 in 1
spawn user thread 9 in 1
create a in 1
spawn user thread b in 1
terminate 1: ok
delete thread c
terminate 2: ok
delete thread 3
terminate 4: ok
delete thread 5
terminate 6: ok
delete thread 7
terminate 8: ok
delete thread 9
terminate 10: ok
delete thread b
'
doesn't match '(?^ms:^create 2 in 1
spawn user thread 2 in 1
create 3 in 1
spawn user thread 3 in 1
create 4 in 1
spawn user thread 4 in 1
create 5 in 1
spawn user thread 5 in 1
create 6 in 1
spawn user thread 6 in 1
terminate 1: ok
delete thread 1
(?:terminate 2: ok
delete thread 2
terminate 3: ok
delete thread 3
terminate 4: ok
delete thread 4
terminate 5: ok
delete thread 5
terminate 6: ok
delete thread 6|terminate 6: ok
delete thread 6
terminate 5: ok
delete thread 5
terminate 4: ok
delete thread 4
terminate 3: ok
delete thread 3
terminate 2: ok
delete thread 2)$)'
023-rewrite/uthread-spawn.t TEST 18: entry thread and a user thread flushing at the same time - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
023-rewrite/uthread-spawn.t TEST 19: two user threads flushing at the same time - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 2: ok
create 4 in 1
spawn user thread 5 in 1
terminate 4: ok
terminate 1: ok
delete thread 3
delete thread 5
delete thread 6
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
create 3 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2
terminate 3: ok
delete thread 3|create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
create 3 in 1
spawn user thread 3 in 1
terminate 3: ok
terminate 1: ok
delete thread 2
delete thread 3
delete thread 1)$
)'
023-rewrite/uthread-spawn.t TEST 23: simple user thread with ngx.req.socket() - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 4
terminate 2: ok
delete thread 3
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
terminate 1: ok
delete thread 2
delete thread 1|create 2 in 1
spawn user thread 2 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2)$)'
023-rewrite/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
023-rewrite/uthread-spawn.t TEST 21: user threads + ngx.socket.udp - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 4
terminate 2: ok
delete thread 3
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2
|create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
terminate 1: ok
delete thread 2
delete thread 1)$)'
023-rewrite/uthread-spawn.t TEST 5: error in user thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: fail
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/uthread-spawn.t TEST 14: coroutine status of a "normal" user thread - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 2
+spawn user thread 3 in 1
+create 4 in 2
terminate 1: ok
-delete thread 1
-terminate 3: ok
+delete thread 5
+terminate 4: ok
terminate 2: ok
-delete thread 2
+delete thread 3
'
023-rewrite/uthread-spawn.t TEST 9: two simple user threads doing single subrequests (entry also does a subrequest and quits between) - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
-delete thread 1
-terminate 3: ok
delete thread 3
+delete thread 6
+terminate 4: ok
+delete thread 5
'
023-rewrite/uthread-spawn.t TEST 6: simple user threads doing a single subrequest (entry quits early) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
023-rewrite/uthread-spawn.t TEST 24: multiple user threads + subrequests returning 404 immediately - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
create 4 in 1
spawn user thread 5 in 1
terminate 1: ok
delete thread 6
finalize request /proxy/1: rc:404 c:3 a:0
post subreq: /proxy/1 rc=404, status=0 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 3
finalize request /proxy/2: rc:404 c:2 a:0
post subreq: /proxy/2 rc=404, status=0 a=0
subrequest /proxy/2 done
terminate 4: ok
delete thread 5
finalize request /t: rc:200 c:1 a:1
'
doesn't match '(?^ms:^create 2 in 1
spawn user thread 2 in 1
create 3 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 1
finalize request /proxy/1: rc:404 c:3 a:0
post subreq: /proxy/1 rc=404, status=0 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 2
finalize request /proxy/2: rc:404 c:2 a:0
post subreq: /proxy/2 rc=404, status=0 a=0
subrequest /proxy/2 done
terminate 3: ok
delete thread 3
finalize request /t: rc:200 c:1 a:1
(?:finalize request /t: rc:0 c:1 a:1)?$)'
023-rewrite/uthread-spawn.t TEST 4: two simple user threads with sleep - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 1: ok
-delete thread 1
-terminate 3: ok
-delete thread 3
+delete thread 6
+terminate 4: ok
+delete thread 5
terminate 2: ok
-delete thread 2
+delete thread 3
'
023-rewrite/uthread-spawn.t TEST 15: creating user threads in a user coroutine - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
create 3 in 2
-spawn user thread 3 in 2
+spawn user thread 4 in 2
terminate 3: ok
terminate 2: ok
-delete thread 3
+delete thread 4
terminate 1: ok
-delete thread 1
+delete thread 5
'
023-rewrite/uthread-spawn.t TEST 26: multiple user threads + subrequests returning 201 immediately - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
create 4 in 1
spawn user thread 5 in 1
terminate 1: ok
delete thread 6
terminate 7: ok
delete thread 8
finalize request /proxy/1: rc:0 c:3 a:0
post subreq: /proxy/1 rc=0, status=201 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 3
terminate 9: ok
delete thread a
finalize request /proxy/2: rc:0 c:2 a:0
post subreq: /proxy/2 rc=0, status=201 a=0
subrequest /proxy/2 done
terminate 4: ok
delete thread 5
finalize request /t: rc:200 c:1 a:1
'
doesn't match '(?^ms:^create 2 in 1
spawn user thread 2 in 1
create 3 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 1
terminate 4: ok
delete thread 4
finalize request /proxy/1: rc:0 c:3 a:0
post subreq: /proxy/1 rc=0, status=201 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 2
terminate 5: ok
delete thread 5
finalize request /proxy/2: rc:0 c:2 a:0
post subreq: /proxy/2 rc=0, status=201 a=0
subrequest /proxy/2 done
terminate 3: ok
delete thread 3
finalize request /t: rc:200 c:1 a:1
(?:finalize request /t: rc:0 c:1 a:1)?$)'
023-rewrite/uthread-spawn.t TEST 16: manual time slicing between a user thread and the entry thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/uthread-spawn.t TEST 2: two simple user threads without I/O - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-terminate 2: ok
-create 3 in 1
spawn user thread 3 in 1
-terminate 3: ok
+terminate 2: ok
+create 4 in 1
+spawn user thread 5 in 1
+terminate 4: ok
terminate 1: ok
-delete thread 2
delete thread 3
-delete thread 1
+delete thread 5
+delete thread 6
'
023-rewrite/uthread-spawn.t TEST 17: manual time slicing between two user threads - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 1: ok
-delete thread 1
+delete thread 6
terminate 2: ok
-delete thread 2
-terminate 3: ok
delete thread 3
+terminate 4: ok
+delete thread 5
'
023-rewrite/uthread-spawn.t TEST 22: simple user thread with ngx.req.read_body() - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 4
terminate 2: ok
delete thread 3
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
terminate 1: ok
delete thread 2
delete thread 1|create 2 in 1
spawn user thread 2 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2)$)'
023-rewrite/uthread-spawn.t TEST 8: simple user threads doing a single subrequest (entry also does a subrequest and quits late) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
023-rewrite/uthread-spawn.t TEST 10: nested user threads - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 2
-spawn user thread 3 in 2
-terminate 3: ok
+spawn user thread 3 in 1
+create 4 in 2
+spawn user thread 5 in 2
+terminate 4: ok
terminate 1: ok
-delete thread 1
+delete thread 6
terminate 2: ok
+delete thread 5
delete thread 3
-delete thread 2
'
024-access/client-abort.t TEST 20: ngx.req.read_body + sleep + stop (log handler still gets called) - stap output expected @@ -1,5 +1,5 @@
terminate 1: ok
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
lua req cleanup
'
024-access/client-abort.t TEST 21: exec to lua + ignore - stap output expected @@ -1,6 +1,6 @@
terminate 1: ok
lua req cleanup
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
lua req cleanup
'
024-access/client-abort.t TEST 3: sleep + ignore - stap output expected @@ -1,5 +1,5 @@
terminate 1: ok
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
lua req cleanup
'
024-access/client-abort.t TEST 12: ngx.req.socket + receive(n) + sleep + stop - stap output should match the pattern 'lua check broken conn
terminate 1: ok
delete thread 2
terminate 3: ok
delete thread 4
lua req cleanup
'
doesn't match '(?^ms:^(?:lua check broken conn
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2
lua req cleanup|lua check broken conn
lua req cleanup
delete thread 1)$
)'
024-access/client-abort.t TEST 19: ngx.req.socket + receive n == content-length + ignore - stap output expected @@ -1,5 +1,5 @@
terminate 1: ok
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
lua req cleanup
'
024-access/client-abort.t TEST 5: subrequest + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: fail
lua req cleanup
-delete thread 1
+delete thread 2
'
024-access/client-abort.t TEST 23: exec (named location) to proxy + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
lua req cleanup
-delete thread 1
+delete thread 2
'
024-access/client-abort.t TEST 17: ngx.req.socket + receive n < content-length + stop - stap output expected @@ -1,5 +1,5 @@
terminate 1: ok
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
lua req cleanup
'
024-access/client-abort.t TEST 22: exec to proxy + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
lua req cleanup
-delete thread 1
+delete thread 2
'
024-access/on-abort.t TEST 1: ignore the client abort event in the user callback - stap output expected @@ -2,8 +2,8 @@
lua check broken conn
terminate 2: ok
terminate 1: ok
-delete thread 2
-delete thread 1
-terminate 3: ok
delete thread 3
+delete thread 4
+terminate 5: ok
+delete thread 6
lua req cleanup
'
024-access/on-abort.t TEST 8: ignore the client abort event in the user callback (no check) - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
-delete thread 1
+delete thread 2
lua req cleanup
'
024-access/on-abort.t TEST 4: ngx.exit(408) with pending subrequest - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
024-access/on-abort.t TEST 5: ngx.exit(-1) with pending subrequest - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
024-access/on-abort.t TEST 13: regsiter on_abort callback multiple times - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
lua req cleanup
-delete thread 2
+delete thread 4
'
024-access/on-abort.t TEST 12: regsiter on_abort callback but no client abortion (uthread) - stap output expected @@ -1,9 +1,9 @@
create 2 in 1
create 3 in 1
-spawn user thread 3 in 1
+spawn user thread 4 in 1
terminate 1: ok
-delete thread 1
+delete thread 5
terminate 3: ok
-delete thread 3
+delete thread 4
lua req cleanup
-delete thread 2
+delete thread 6
'
024-access/on-abort.t TEST 10: ignore the client abort event in the user callback (uthread) - stap output expected @@ -1,13 +1,13 @@
create 2 in 1
create 3 in 1
-spawn user thread 3 in 1
+spawn user thread 4 in 1
terminate 1: ok
-delete thread 1
+delete thread 5
lua check broken conn
terminate 2: ok
-delete thread 2
+delete thread 6
terminate 3: ok
-delete thread 3
-terminate 4: ok
delete thread 4
+terminate 7: ok
+delete thread 8
lua req cleanup
'
024-access/on-abort.t TEST 11: abort in the user callback (uthread) - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
create 3 in 1
-spawn user thread 3 in 1
+spawn user thread 4 in 1
terminate 1: ok
-delete thread 1
+delete thread 5
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 6
-delete thread 3
+delete thread 4
'
024-access/on-abort.t TEST 3: ngx.exit(499) with pending subrequest - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
024-access/on-abort.t TEST 6: ngx.exit(0) with pending subrequest - stap output expected @@ -2,8 +2,8 @@
lua check broken conn
terminate 2: fail
terminate 1: ok
-delete thread 2
-delete thread 1
-terminate 3: ok
delete thread 3
+delete thread 4
+terminate 5: ok
+delete thread 6
lua req cleanup
'
024-access/on-abort.t TEST 2: abort in the user callback - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
024-access/on-abort.t TEST 7: accessing cosocket in callback - stap output should match the pattern 'create 2 in 1
lua check broken conn
terminate 2: ok
lua req cleanup
delete thread 3
delete thread 4
'
doesn't match '(?^ms:^create 2 in 1
lua check broken conn
(?:lua check broken conn
)?terminate 2: ok
lua req cleanup
delete thread 2
delete thread 1
$)'
024-access/on-abort.t TEST 9: regsiter on_abort callback but no client abortion - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
lua req cleanup
-delete thread 2
+delete thread 4
'
024-access/uthread-exec.t TEST 5: exec in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected @@ -1,11 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
024-access/uthread-exec.t TEST 1: exec in user thread (entry still pending) - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
024-access/uthread-exec.t TEST 3: exec in user thread (entry thread is still pending on ngx.sleep) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 1000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 1
+delete thread 4
free request
'
024-access/uthread-exec.t TEST 2: exec in user thread (entry already quits) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
024-access/uthread-exec.t TEST 4: exec in a user thread (another user thread is still pending on ngx.sleep) - stap output expected @@ -1,15 +1,14 @@
create 2 in 1
-spawn user thread 2 in 1
-add timer 100
-create 3 in 1
spawn user thread 3 in 1
+add timer 100
+create 4 in 1
+spawn user thread 5 in 1
add timer 1000
terminate 1: ok
-delete thread 1
-expire timer 100
+delete thread 6
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 3
+delete thread 5
free request
'
024-access/uthread-exit.t TEST 13: exit in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected @@ -1,11 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
024-access/uthread-exit.t TEST 3: exit in a user thread (another user thread is still pending on ngx.sleep) - stap output expected @@ -1,15 +1,14 @@
create 2 in 1
-spawn user thread 2 in 1
-add timer 100
-create 3 in 1
spawn user thread 3 in 1
+add timer 100
+create 4 in 1
+spawn user thread 5 in 1
add timer 1000
terminate 1: ok
-delete thread 1
-expire timer 100
+delete thread 6
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 3
+delete thread 5
free request
'
024-access/uthread-exit.t TEST 2: exit in user thread (entry thread is still pending on ngx.sleep) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 1000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 1
+delete thread 4
free request
'
024-access/uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
024-access/uthread-exit.t TEST 5: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.tcp) - stap output expected @@ -1,12 +1,11 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 1
resolving agentzh.org
add timer 12000
-expire timer 1
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp resolve cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
024-access/uthread-exit.t TEST 12: exit in user thread (entry thread is still pending on ngx.req.read_body) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua req body cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
024-access/uthread-exit.t TEST 11: exit in user thread (entry thread is still pending on reqsock:receive) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
024-access/uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
024-access/uthread-exit.t TEST 14: exit in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected @@ -1,12 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
post subreq /sleep
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
024-access/uthread-exit.t TEST 4: exit in user thread (entry already quits) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
024-access/uthread-exit.t TEST 10: exit in user thread (entry thread is still pending on udpsock:receive) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua udp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
024-access/uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
024-access/uthread-exit.t TEST 1: exit in user thread (entry thread is still pending to run) - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
024-access/uthread-exit.t TEST 15: exit in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected @@ -1,13 +1,11 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
post subreq /echo
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
post subreq /sleep
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
024-access/uthread-exit.t TEST 6: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.udp) - stap output expected @@ -1,12 +1,11 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 1
resolving agentzh.org
add timer 12000
-expire timer 1
terminate 2: ok
-delete thread 2
+delete thread 3
lua udp resolve cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
024-access/uthread-redirect.t TEST 2: redirect in user thread (entry thread is still pending on ngx.sleep) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 1000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 1
+delete thread 4
free request
'
024-access/uthread-redirect.t TEST 1: ngx.redirect() in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected @@ -1,13 +1,11 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
post subreq /echo
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
post subreq /sleep
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
024-access/uthread-spawn.t TEST 6: simple user threads doing a single subrequest (entry quits early) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
024-access/uthread-spawn.t TEST 10: nested user threads - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 2
-spawn user thread 3 in 2
-terminate 3: ok
+spawn user thread 3 in 1
+create 4 in 2
+spawn user thread 5 in 2
+terminate 4: ok
terminate 1: ok
-delete thread 1
+delete thread 6
terminate 2: ok
+delete thread 5
delete thread 3
-delete thread 2
'
024-access/uthread-spawn.t TEST 15: creating user threads in a user coroutine - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
create 3 in 2
-spawn user thread 3 in 2
+spawn user thread 4 in 2
terminate 3: ok
terminate 2: ok
-delete thread 3
+delete thread 4
terminate 1: ok
-delete thread 1
+delete thread 5
'
024-access/uthread-spawn.t TEST 8: simple user threads doing a single subrequest (entry also does a subrequest and quits late) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
024-access/uthread-spawn.t TEST 21: user threads + ngx.socket.udp - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 4
terminate 2: ok
delete thread 3
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2
|create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
terminate 1: ok
delete thread 2
delete thread 1)$)'
024-access/uthread-spawn.t TEST 18: entry thread and a user thread flushing at the same time - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
024-access/uthread-spawn.t TEST 13: coroutine status of a dead user thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
024-access/uthread-spawn.t TEST 1: simple user thread without I/O - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
024-access/uthread-spawn.t TEST 2: two simple user threads without I/O - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-terminate 2: ok
-create 3 in 1
spawn user thread 3 in 1
-terminate 3: ok
+terminate 2: ok
+create 4 in 1
+spawn user thread 5 in 1
+terminate 4: ok
terminate 1: ok
-delete thread 2
delete thread 3
-delete thread 1
+delete thread 5
+delete thread 6
'
024-access/uthread-spawn.t TEST 16: manual time slicing between a user thread and the entry thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
024-access/uthread-spawn.t TEST 5: error in user thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: fail
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
024-access/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
024-access/uthread-spawn.t TEST 14: coroutine status of a "normal" user thread - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 2
+spawn user thread 3 in 1
+create 4 in 2
terminate 1: ok
-delete thread 1
-terminate 3: ok
+delete thread 5
+terminate 4: ok
terminate 2: ok
-delete thread 2
+delete thread 3
'
024-access/uthread-spawn.t TEST 7: simple user threads doing a single subrequest (entry also does a subrequest and quits early) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
024-access/uthread-spawn.t TEST 17: manual time slicing between two user threads - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 1: ok
-delete thread 1
+delete thread 6
terminate 2: ok
-delete thread 2
-terminate 3: ok
delete thread 3
+terminate 4: ok
+delete thread 5
'
024-access/uthread-spawn.t TEST 12: coroutine status of a running user thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
024-access/uthread-spawn.t TEST 22: simple user thread with ngx.req.read_body() - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 4
terminate 2: ok
delete thread 3
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
terminate 1: ok
delete thread 2
delete thread 1|create 2 in 1
spawn user thread 2 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2)$)'
024-access/uthread-spawn.t TEST 11: nested user threads (with I/O) - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 2
-spawn user thread 3 in 2
+spawn user thread 3 in 1
+create 4 in 2
+spawn user thread 5 in 2
terminate 1: ok
-delete thread 1
+delete thread 6
terminate 2: ok
-delete thread 2
-terminate 3: ok
delete thread 3
+terminate 4: ok
+delete thread 5
'
024-access/uthread-spawn.t TEST 4: two simple user threads with sleep - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 1: ok
-delete thread 1
-terminate 3: ok
-delete thread 3
+delete thread 6
+terminate 4: ok
+delete thread 5
terminate 2: ok
-delete thread 2
+delete thread 3
'
024-access/uthread-spawn.t TEST 19: two user threads flushing at the same time - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 2: ok
create 4 in 1
spawn user thread 5 in 1
terminate 4: ok
terminate 1: ok
delete thread 3
delete thread 5
delete thread 6
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
create 3 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2
terminate 3: ok
delete thread 3|create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
create 3 in 1
spawn user thread 3 in 1
terminate 3: ok
terminate 1: ok
delete thread 2
delete thread 3
delete thread 1)$
)'
024-access/uthread-spawn.t TEST 23: simple user thread with ngx.req.socket() - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 4
terminate 2: ok
delete thread 3
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
terminate 1: ok
delete thread 2
delete thread 1|create 2 in 1
spawn user thread 2 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2)$)'
024-access/uthread-spawn.t TEST 9: two simple user threads doing single subrequests (entry also does a subrequest and quits between) - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
-delete thread 1
-terminate 3: ok
delete thread 3
+delete thread 6
+terminate 4: ok
+delete thread 5
'
024-access/uthread-spawn.t TEST 3: simple user thread with sleep - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
043-shdict.t nginx: [emerg] lua_shared_dict "dogs" is already defined as "dogs" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
057-flush-timeout.t TEST 3: exit in user thread (entry thread is still pending on ngx.flush) - stap output expected @@ -1,13 +1,11 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua flush cleanup
delete timer 200
-delete thread 1
+delete thread 4
add timer 200
-expire timer 200
free request
'
065-tcp-socket-timeout.t TEST 16: exit in user thread (entry thread is still pending on tcpsock:send) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
072-conditional-get.t TEST 3: If-Unmodified-Since false - stap output expected got: "terminate 1: ok\x{0a}delete thread 2\x{0a}"
length: 32
expected: "terminate 1: ok\x{0a}delete thread 1\x{0a}"
length: 32
strings begin to differ at char 31 (line 2 column 15)
086-init-by.t nginx: [error] init_by_lua error: init_by_lua:2: failed to init
091-coroutine.t TEST 14: using ngx.exit in user coroutines - stap output expected @@ -1,11 +1,11 @@
create 2 in 1
resume 2 in 1
create 3 in 2
-yield 2 in 1
+yield 2 in 4
resume 2 in 1
resume 3 in 2
-yield 3 in 2
-yield 2 in 1
+yield 3 in 5
+yield 2 in 4
resume 2 in 1
resume 3 in 2
exit
'
091-coroutine.t TEST 15: using ngx.exec in user coroutines - stap output expected @@ -1,11 +1,11 @@
create 2 in 1
resume 2 in 1
create 3 in 2
-yield 2 in 1
+yield 2 in 4
resume 2 in 1
resume 3 in 2
-yield 3 in 2
-yield 2 in 1
+yield 3 in 5
+yield 2 in 4
resume 2 in 1
resume 3 in 2
exec
'
093-uthread-spawn.t TEST 23: simple user thread with ngx.req.socket() - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 4
terminate 2: ok
delete thread 3
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
terminate 1: ok
delete thread 2
delete thread 1|create 2 in 1
spawn user thread 2 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2)$)'
093-uthread-spawn.t TEST 8: simple user threads doing a single subrequest (entry also does a subrequest and quits late) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
093-uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
093-uthread-spawn.t TEST 26: multiple user threads + subrequests returning 404 remotely (no wait) - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
create 4 in 1
spawn user thread 5 in 1
create 6 in 1
spawn user thread 7 in 1
create 8 in 1
spawn user thread 9 in 1
create a in 1
spawn user thread b in 1
terminate 1: ok
delete thread c
terminate 2: ok
delete thread 3
terminate 4: ok
delete thread 5
terminate 6: ok
delete thread 7
terminate 8: ok
delete thread 9
terminate 10: ok
delete thread b
'
doesn't match '(?^ms:^create 2 in 1
spawn user thread 2 in 1
create 3 in 1
spawn user thread 3 in 1
create 4 in 1
spawn user thread 4 in 1
create 5 in 1
spawn user thread 5 in 1
create 6 in 1
spawn user thread 6 in 1
terminate 1: ok
delete thread 1
(?:terminate 2: ok
delete thread 2
terminate 3: ok
delete thread 3
terminate 4: ok
delete thread 4
terminate 5: ok
delete thread 5
terminate 6: ok
delete thread 6
|terminate 6: ok
delete thread 6
terminate 5: ok
delete thread 5
terminate 4: ok
delete thread 4
terminate 3: ok
delete thread 3
terminate 2: ok
delete thread 2)$)'
093-uthread-spawn.t TEST 22: simple user thread with ngx.req.read_body() - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 4
terminate 2: ok
delete thread 3
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
terminate 1: ok
delete thread 2
delete thread 1|create 2 in 1
spawn user thread 2 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2)$)'
093-uthread-spawn.t TEST 25: multiple user threads + subrequests returning 404 immediately - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
create 4 in 1
spawn user thread 5 in 1
terminate 1: ok
delete thread 6
finalize request /t: rc:-4 c:4 a:1
finalize request /proxy/1: rc:404 c:3 a:0
post subreq: /proxy/1 rc=404, status=0 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 3
finalize request /proxy/2: rc:404 c:2 a:0
post subreq: /proxy/2 rc=404, status=0 a=0
subrequest /proxy/2 done
terminate 4: ok
delete thread 5
finalize request /t: rc:0 c:1 a:1
'
doesn't match '(?^ms:^create 2 in 1
spawn user thread 2 in 1
create 3 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 1
finalize request /t: rc:-4 c:4 a:1
finalize request /proxy/1: rc:404 c:3 a:0
post subreq: /proxy/1 rc=404, status=0 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 2
finalize request /proxy/2: rc:404 c:2 a:0
post subreq: /proxy/2 rc=404, status=0 a=0
subrequest /proxy/2 done
terminate 3: ok
delete thread 3
finalize request /t: rc:0 c:1 a:1
(?:finalize request /t: rc:0 c:1 a:1)?$)'
093-uthread-spawn.t TEST 17: manual time slicing between two user threads - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 1: ok
-delete thread 1
+delete thread 6
terminate 2: ok
-delete thread 2
-terminate 3: ok
delete thread 3
+terminate 4: ok
+delete thread 5
'
093-uthread-spawn.t TEST 10: nested user threads - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 2
-spawn user thread 3 in 2
-terminate 3: ok
+spawn user thread 3 in 1
+create 4 in 2
+spawn user thread 5 in 2
+terminate 4: ok
terminate 1: ok
-delete thread 1
+delete thread 6
terminate 2: ok
+delete thread 5
delete thread 3
-delete thread 2
'
093-uthread-spawn.t TEST 5: error in user thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: fail
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
093-uthread-spawn.t TEST 18: entry thread and a user thread flushing at the same time - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
093-uthread-spawn.t TEST 13: coroutine status of a dead user thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
093-uthread-spawn.t TEST 9: two simple user threads doing single subrequests (entry also does a subrequest and quits between) - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
-delete thread 1
-terminate 3: ok
delete thread 3
+delete thread 6
+terminate 4: ok
+delete thread 5
'
093-uthread-spawn.t TEST 16: manual time slicing between a user thread and the entry thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
093-uthread-spawn.t TEST 7: simple user threads doing a single subrequest (entry also does a subrequest and quits early) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
093-uthread-spawn.t TEST 6: simple user threads doing a single subrequest (entry quits early) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
093-uthread-spawn.t TEST 14: coroutine status of a "normal" user thread - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 2
+spawn user thread 3 in 1
+create 4 in 2
terminate 1: ok
-delete thread 1
-terminate 3: ok
+delete thread 5
+terminate 4: ok
terminate 2: ok
-delete thread 2
+delete thread 3
'
093-uthread-spawn.t TEST 24: simple user thread with args - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
093-uthread-spawn.t TEST 21: user threads + ngx.socket.udp - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 4
terminate 2: ok
delete thread 3
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2
|create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
terminate 1: ok
delete thread 2
delete thread 1
)$)'
093-uthread-spawn.t TEST 1: simple user thread without I/O - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
093-uthread-spawn.t TEST 4: two simple user threads with sleep - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 1: ok
-delete thread 1
-terminate 3: ok
-delete thread 3
+delete thread 6
+terminate 4: ok
+delete thread 5
terminate 2: ok
-delete thread 2
+delete thread 3
'
093-uthread-spawn.t TEST 11: nested user threads (with I/O) - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 2
-spawn user thread 3 in 2
+spawn user thread 3 in 1
+create 4 in 2
+spawn user thread 5 in 2
terminate 1: ok
-delete thread 1
+delete thread 6
terminate 2: ok
-delete thread 2
-terminate 3: ok
delete thread 3
+terminate 4: ok
+delete thread 5
'
093-uthread-spawn.t TEST 27: multiple user threads + subrequests returning 201 immediately - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
create 4 in 1
spawn user thread 5 in 1
terminate 1: ok
delete thread 6
finalize request /t: rc:-4 c:4 a:1
terminate 7: ok
delete thread 8
finalize request /proxy/1: rc:0 c:3 a:0
post subreq: /proxy/1 rc=0, status=201 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 3
terminate 9: ok
delete thread a
finalize request /proxy/2: rc:0 c:2 a:0
post subreq: /proxy/2 rc=0, status=201 a=0
subrequest /proxy/2 done
terminate 4: ok
delete thread 5
finalize request /t: rc:0 c:1 a:1
'
doesn't match '(?^ms:^create 2 in 1
spawn user thread 2 in 1
create 3 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 1
finalize request /t: rc:-4 c:4 a:1
terminate 4: ok
delete thread 4
finalize request /proxy/1: rc:0 c:3 a:0
post subreq: /proxy/1 rc=0, status=201 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 2
terminate 5: ok
delete thread 5
finalize request /proxy/2: rc:0 c:2 a:0
post subreq: /proxy/2 rc=0, status=201 a=0
subrequest /proxy/2 done
terminate 3: ok
delete thread 3
finalize request /t: rc:0 c:1 a:1
(?:finalize request /t: rc:0 c:1 a:1)?$)'
093-uthread-spawn.t TEST 31: simple user thread without I/O - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
093-uthread-spawn.t TEST 15: creating user threads in a user coroutine - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
create 3 in 2
-spawn user thread 3 in 2
+spawn user thread 4 in 2
terminate 3: ok
terminate 2: ok
-delete thread 3
+delete thread 4
terminate 1: ok
-delete thread 1
+delete thread 5
'
093-uthread-spawn.t TEST 2: two simple user threads without I/O - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-terminate 2: ok
-create 3 in 1
spawn user thread 3 in 1
-terminate 3: ok
+terminate 2: ok
+create 4 in 1
+spawn user thread 5 in 1
+terminate 4: ok
terminate 1: ok
-delete thread 2
delete thread 3
-delete thread 1
+delete thread 5
+delete thread 6
'
093-uthread-spawn.t TEST 28: multiple user threads + subrequests returning 204 immediately - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
create 4 in 1
spawn user thread 5 in 1
terminate 1: ok
delete thread 6
finalize request /t: rc:-4 c:4 a:1
terminate 7: ok
delete thread 8
finalize request /proxy/1: rc:204 c:3 a:0
post subreq: /proxy/1 rc=204, status=204 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 3
terminate 9: ok
delete thread a
finalize request /proxy/2: rc:204 c:2 a:0
post subreq: /proxy/2 rc=204, status=204 a=0
subrequest /proxy/2 done
terminate 4: ok
delete thread 5
finalize request /t: rc:0 c:1 a:1
'
doesn't match '(?^ms:^create 2 in 1
spawn user thread 2 in 1
create 3 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 1
finalize request /t: rc:-4 c:4 a:1
terminate 4: ok
delete thread 4
finalize request /proxy/1: rc:204 c:3 a:0
post subreq: /proxy/1 rc=204, status=204 a=0
subrequest /proxy/1 done
terminate 2: ok
delete thread 2
terminate 5: ok
delete thread 5
finalize request /proxy/2: rc:204 c:2 a:0
post subreq: /proxy/2 rc=204, status=204 a=0
subrequest /proxy/2 done
terminate 3: ok
delete thread 3
finalize request /t: rc:0 c:1 a:1
(?:finalize request /t: rc:0 c:1 a:1)?$)'
093-uthread-spawn.t TEST 3: simple user thread with sleep - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
093-uthread-spawn.t TEST 19: two user threads flushing at the same time - stap output should match the pattern 'create 2 in 1
spawn user thread 3 in 1
terminate 2: ok
create 4 in 1
spawn user thread 5 in 1
terminate 4: ok
terminate 1: ok
delete thread 3
delete thread 5
delete thread 6
'
doesn't match '(?^ms:^(?:create 2 in 1
spawn user thread 2 in 1
create 3 in 1
spawn user thread 3 in 1
terminate 1: ok
delete thread 1
terminate 2: ok
delete thread 2
terminate 3: ok
delete thread 3|create 2 in 1
spawn user thread 2 in 1
terminate 2: ok
create 3 in 1
spawn user thread 3 in 1
terminate 3: ok
terminate 1: ok
delete thread 2
delete thread 3
delete thread 1)$
)'
093-uthread-spawn.t TEST 12: coroutine status of a running user thread - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
094-uthread-exit.t TEST 11: exit in user thread (entry thread is still pending on reqsock:receive) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
094-uthread-exit.t TEST 18: exit(408) in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected @@ -1,10 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
delete timer 200
free request
'
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
094-uthread-exit.t TEST 2: exit in user thread (entry thread is still pending on ngx.sleep) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 1000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 1
+delete thread 4
free request
'
094-uthread-exit.t TEST 12: exit in user thread (entry thread is still pending on ngx.req.read_body) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua req body cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
094-uthread-exit.t TEST 1: exit in user thread (entry thread is still pending to run) - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
094-uthread-exit.t TEST 10: exit in user thread (entry thread is still pending on udpsock:receive) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua udp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
094-uthread-exit.t TEST 14: exit in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected @@ -1,12 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
post subreq /sleep
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
094-uthread-exit.t TEST 3: exit in a user thread (another user thread is still pending on ngx.sleep) - stap output expected @@ -1,15 +1,14 @@
create 2 in 1
-spawn user thread 2 in 1
-add timer 100
-create 3 in 1
spawn user thread 3 in 1
+add timer 100
+create 4 in 1
+spawn user thread 5 in 1
add timer 1000
terminate 1: ok
-delete thread 1
-expire timer 100
+delete thread 6
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 3
+delete thread 5
free request
'
094-uthread-exit.t TEST 15: exit in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected @@ -1,13 +1,11 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
post subreq /echo
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
post subreq /sleep
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
094-uthread-exit.t TEST 13: exit(0) in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected @@ -1,11 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
094-uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
094-uthread-exit.t TEST 16: exit in entry thread (user thread is still pending on ngx.location.capture_multi), without pending output - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
post subreq /echo
add timer 200
-expire timer 100
terminate 1: fail
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
delete timer 200
free request
'
094-uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 12000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp socket cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
094-uthread-exit.t TEST 5: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.tcp) - stap output expected @@ -1,12 +1,11 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 1
resolving agentzh.org
add timer 12000
-expire timer 1
terminate 2: ok
-delete thread 2
+delete thread 3
lua tcp resolve cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
094-uthread-exit.t TEST 19: exit(499) in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected @@ -1,10 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
delete timer 200
free request
'
094-uthread-exit.t TEST 6: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.udp) - stap output expected @@ -1,12 +1,11 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 1
resolving agentzh.org
add timer 12000
-expire timer 1
terminate 2: ok
-delete thread 2
+delete thread 3
lua udp resolve cleanup
delete timer 12000
-delete thread 1
+delete thread 4
free request
'
094-uthread-exit.t TEST 17: exit(444) in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected @@ -1,10 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
delete timer 200
free request
'
094-uthread-exit.t TEST 4: exit in user thread (entry already quits) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
095-uthread-exec.t TEST 6: exec in entry thread (user thread is still pending on ngx.location.capture), without pending output - stap output expected @@ -1,10 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 1: fail
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
delete timer 200
free request
'
095-uthread-exec.t TEST 1: exec in user thread (entry still pending) - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
095-uthread-exec.t TEST 4: exec in a user thread (another user thread is still pending on ngx.sleep) - stap output expected @@ -1,15 +1,14 @@
create 2 in 1
-spawn user thread 2 in 1
-add timer 100
-create 3 in 1
spawn user thread 3 in 1
+add timer 100
+create 4 in 1
+spawn user thread 5 in 1
add timer 1000
terminate 1: ok
-delete thread 1
-expire timer 100
+delete thread 6
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 3
+delete thread 5
free request
'
095-uthread-exec.t TEST 2: exec in user thread (entry already quits) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
095-uthread-exec.t TEST 5: exec in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected @@ -1,11 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
095-uthread-exec.t TEST 3: exec in user thread (entry thread is still pending on ngx.sleep) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 1000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 1
+delete thread 4
free request
'
096-uthread-redirect.t TEST 2: redirect in user thread (entry thread is still pending on ngx.sleep) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 1000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 1
+delete thread 4
free request
'
096-uthread-redirect.t TEST 1: ngx.redirect() in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected @@ -1,13 +1,11 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
post subreq /echo
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
post subreq /sleep
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
096-uthread-redirect.t TEST 3: ngx.redirect() in entry thread (user thread is still pending on ngx.location.capture_multi), without pending output - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
post subreq /echo
add timer 200
-expire timer 100
terminate 1: fail
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
delete timer 200
free request
'
097-uthread-rewrite.t TEST 5: rewrite in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected @@ -1,12 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 200
-expire timer 100
terminate 2: fail
-expire timer 200
post subreq /sleep
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
free request
'
097-uthread-rewrite.t TEST 4: rewrite in a user thread (another user thread is still pending on ngx.sleep) - stap output expected @@ -1,15 +1,14 @@
create 2 in 1
-spawn user thread 2 in 1
-add timer 100
-create 3 in 1
spawn user thread 3 in 1
+add timer 100
+create 4 in 1
+spawn user thread 5 in 1
add timer 1000
terminate 1: ok
-delete thread 1
-expire timer 100
+delete thread 6
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 3
+delete thread 5
free request
'
097-uthread-rewrite.t TEST 1: rewrite in user thread (entry still pending) - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
097-uthread-rewrite.t TEST 2: rewrite in user thread (entry already quits) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 3
'
097-uthread-rewrite.t TEST 3: rewrite in user thread (entry thread is still pending on ngx.sleep) - stap output expected @@ -1,11 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
add timer 100
add timer 1000
-expire timer 100
terminate 2: ok
-delete thread 2
+delete thread 3
lua sleep cleanup
delete timer 1000
-delete thread 1
+delete thread 4
free request
'
098-uthread-wait.t TEST 8: simple user thread wait with I/O, throw errors - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: fail
-delete thread 2
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
098-uthread-wait.t TEST 12: waiting on two simple user threads with I/O - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 2: ok
-delete thread 2
-terminate 1: ok
-delete thread 1
-terminate 3: ok
delete thread 3
+terminate 1: ok
+delete thread 6
+terminate 4: ok
+delete thread 5
'
098-uthread-wait.t TEST 13: waiting on two simple user threads with I/O (uthreads completed in reversed order) - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
-terminate 3: ok
-delete thread 3
+create 4 in 1
+spawn user thread 5 in 1
+terminate 4: ok
+delete thread 5
terminate 1: ok
-delete thread 1
+delete thread 6
terminate 2: ok
-delete thread 2
+delete thread 3
'
098-uthread-wait.t TEST 3: wait on uthreads on the reversed order of their termination - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 2: ok
-terminate 3: ok
+terminate 4: ok
+delete thread 5
delete thread 3
-delete thread 2
terminate 1: ok
-delete thread 1
+delete thread 6
'
098-uthread-wait.t TEST 17: wait on uthreads on the reversed order of their termination, but exit the world early - stap output expected @@ -1,9 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
-terminate 3: ok
-delete thread 3
+create 4 in 1
+spawn user thread 5 in 1
+terminate 4: ok
+delete thread 5
terminate 1: ok
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 6
'
098-uthread-wait.t TEST 20: lua backtrace dumper may access dead parent coroutines - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: fail
-delete thread 2
+delete thread 3
'
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-terminate 2: ok
-create 3 in 1
spawn user thread 3 in 1
-terminate 3: ok
-delete thread 2
-terminate 1: ok
+terminate 2: ok
+create 4 in 1
+spawn user thread 5 in 1
+terminate 4: ok
delete thread 3
-delete thread 1
+terminate 1: ok
+delete thread 5
+delete thread 6
'
098-uthread-wait.t TEST 10: simple user thread wait with I/O (in a user coroutine) - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
create 3 in 2
-spawn user thread 3 in 2
+spawn user thread 4 in 2
terminate 3: ok
-delete thread 3
+delete thread 4
terminate 2: ok
terminate 1: ok
-delete thread 1
+delete thread 5
'
098-uthread-wait.t TEST 18: entry coroutine waiting on a thread not created by itself - stap output expected @@ -1,7 +1,7 @@
create 2 in 1
create 3 in 2
-spawn user thread 3 in 2
+spawn user thread 4 in 2
terminate 2: ok
terminate 1: fail
-delete thread 3
+delete thread 4
-delete thread 1
+delete thread 5
'
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-terminate 2: fail
-create 3 in 1
spawn user thread 3 in 1
-terminate 3: fail
-delete thread 2
-terminate 1: ok
+terminate 2: fail
+create 4 in 1
+spawn user thread 5 in 1
+terminate 4: fail
delete thread 3
-delete thread 1
+terminate 1: ok
+delete thread 5
+delete thread 6
'
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
create 3 in 2
-spawn user thread 3 in 2
+spawn user thread 4 in 2
terminate 3: ok
-delete thread 3
+delete thread 4
terminate 2: ok
terminate 1: ok
-delete thread 1
+delete thread 5
'
098-uthread-wait.t TEST 15: waiting on two simple user threads with I/O, both aborted by errors - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 2: fail
-delete thread 2
-terminate 1: ok
-delete thread 1
-terminate 3: fail
delete thread 3
+terminate 1: ok
+delete thread 6
+terminate 4: fail
+delete thread 5
'
098-uthread-wait.t TEST 21: waiting on a dead coroutine - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
098-uthread-wait.t TEST 16: wait on uthreads on the exact order of their termination, but exit the world early - stap output expected @@ -1,9 +1,9 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 2: ok
-delete thread 2
-terminate 1: ok
delete thread 3
-delete thread 1
+terminate 1: ok
+delete thread 5
+delete thread 6
'
098-uthread-wait.t TEST 2: simple user thread wait with I/O - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
098-uthread-wait.t TEST 4: wait on uthreads on the exact order of their termination - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
-spawn user thread 2 in 1
-create 3 in 1
spawn user thread 3 in 1
+create 4 in 1
+spawn user thread 5 in 1
terminate 2: ok
-delete thread 2
-terminate 3: ok
delete thread 3
+terminate 4: ok
+delete thread 5
terminate 1: ok
-delete thread 1
+delete thread 6
'
098-uthread-wait.t TEST 1: simple user thread wait without I/O - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: fail
-delete thread 2
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
098-uthread-wait.t TEST 6: simple user thread wait with I/O, return multiple values - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
098-uthread-wait.t TEST 19: entry coroutine waiting on a user coroutine - stap output expected @@ -1,3 +1,3 @@
create 2 in 1
terminate 1: fail
-delete thread 1
+delete thread 3
'
100-client-abort.t TEST 20: ngx.req.socket + receive n == content-length + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
-delete thread 1
+delete thread 2
lua req cleanup
'
100-client-abort.t TEST 5: subrequest + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: fail
lua req cleanup
-delete thread 1
+delete thread 2
'
100-client-abort.t TEST 17: ngx.req.socket + receive n < content-length + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
-delete thread 1
+delete thread 2
lua req cleanup
'
100-client-abort.t TEST 3: sleep + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
-delete thread 1
+delete thread 2
lua req cleanup
'
100-client-abort.t TEST 18: ngx.req.socket + receive n < content-length + stop - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
-delete thread 1
+delete thread 2
lua req cleanup
'
100-client-abort.t TEST 23: exec to proxy + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
lua req cleanup
-delete thread 1
+delete thread 2
'
100-client-abort.t TEST 24: exec (named location) to proxy + ignore - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
lua req cleanup
-delete thread 1
+delete thread 2
'
100-client-abort.t TEST 22: exec to lua + ignore - stap output expected @@ -1,6 +1,6 @@
terminate 1: ok
lua req cleanup
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
lua req cleanup
'
100-client-abort.t TEST 26: sleep (default off) - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
-delete thread 1
+delete thread 2
lua req cleanup
'
100-client-abort.t TEST 12: ngx.req.socket + receive(n) + sleep + stop - stap output should match the pattern 'lua check broken conn
terminate 1: ok
delete thread 2
lua req cleanup
'
doesn't match '(?^ms:^(?:lua check broken conn
terminate 1: ok
delete thread 1
lua req cleanup|lua check broken conn
lua req cleanup
delete thread 1)$
)'
101-on-abort.t TEST 10: ignore the client abort event in the user callback (uthread) - stap output expected @@ -1,11 +1,11 @@
create 2 in 1
create 3 in 1
-spawn user thread 3 in 1
+spawn user thread 4 in 1
terminate 1: ok
-delete thread 1
+delete thread 5
lua check broken conn
terminate 2: ok
-delete thread 2
+delete thread 6
terminate 3: ok
-delete thread 3
+delete thread 4
lua req cleanup
'
101-on-abort.t TEST 1: ignore the client abort event in the user callback - stap output should match the pattern 'create 2 in 1
lua check broken conn
terminate 2: ok
terminate 1: ok
delete thread 3
delete thread 4
lua req cleanup
'
doesn't match '(?^ms:^create 2 in 1
lua check broken conn
terminate 2: ok
(?:lua check broken conn
)?terminate 1: ok
delete thread 2
delete thread 1
lua req cleanup)'
101-on-abort.t TEST 7: accessing cosocket in callback - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
101-on-abort.t TEST 4: ngx.exit(408) with pending subrequest - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
101-on-abort.t TEST 5: ngx.exit(-1) with pending subrequest - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
101-on-abort.t TEST 18: regsiter on_abort callback but no client abortion (2 uthreads and 1 pending) - stap output expected @@ -1,12 +1,12 @@
create 2 in 1
create 3 in 1
-spawn user thread 3 in 1
-create 4 in 1
spawn user thread 4 in 1
+create 5 in 1
+spawn user thread 6 in 1
terminate 1: ok
-delete thread 1
+delete thread 7
terminate 3: ok
lua req cleanup
-delete thread 2
-delete thread 3
+delete thread 8
delete thread 4
+delete thread 6
'
101-on-abort.t TEST 14: abort with 499 in the user callback, but the header is already sent - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
101-on-abort.t TEST 6: ngx.exit(0) with pending subrequest - stap output expected @@ -2,6 +2,6 @@
lua check broken conn
terminate 2: fail
terminate 1: ok
-delete thread 2
-delete thread 1
+delete thread 3
+delete thread 4
lua req cleanup
'
101-on-abort.t TEST 12: regsiter on_abort callback but no client abortion (uthread) - stap output expected @@ -1,9 +1,9 @@
create 2 in 1
create 3 in 1
-spawn user thread 3 in 1
+spawn user thread 4 in 1
terminate 1: ok
-delete thread 1
+delete thread 5
terminate 3: ok
-delete thread 3
+delete thread 4
lua req cleanup
-delete thread 2
+delete thread 6
'
101-on-abort.t TEST 11: abort in the user callback (uthread) - stap output expected @@ -1,10 +1,10 @@
create 2 in 1
create 3 in 1
-spawn user thread 3 in 1
+spawn user thread 4 in 1
terminate 1: ok
-delete thread 1
+delete thread 5
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 6
-delete thread 3
+delete thread 4
'
101-on-abort.t TEST 8: ignore the client abort event in the user callback (no check) - stap output expected @@ -1,3 +1,3 @@
terminate 1: ok
-delete thread 1
+delete thread 2
lua req cleanup
'
101-on-abort.t TEST 13: regsiter on_abort callback multiple times - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
lua req cleanup
-delete thread 2
+delete thread 4
'
101-on-abort.t TEST 3: ngx.exit(499) with pending subrequest - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
101-on-abort.t TEST 2: abort in the user callback - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
101-on-abort.t TEST 15: abort with 444 in the user callback, but the header is already sent - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
101-on-abort.t TEST 16: abort with 408 in the user callback, but the header is already sent - stap output expected @@ -2,5 +2,5 @@
lua check broken conn
terminate 2: ok
lua req cleanup
-delete thread 2
+delete thread 3
-delete thread 1
+delete thread 4
'
101-on-abort.t TEST 9: regsiter on_abort callback but no client abortion - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
lua req cleanup
-delete thread 2
+delete thread 4
'
106-timer.t TEST 25: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
terminate 1: ok
-delete thread 1
-create 3 in 2
-terminate 2: ok
-delete thread 2
-terminate 3: ok
delete thread 3
+create 4 in 2
+terminate 2: ok
+delete thread 5
+terminate 4: ok
+delete thread 6
'
106-timer.t TEST 4: simple at (sleep in the timer callback) - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
terminate 2: ok
-delete thread 2
+delete thread 4
'
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - stap output expected @@ -1,7 +1,7 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
terminate 1: ok
-delete thread 1
-terminate 2: ok
delete thread 2
+terminate 3: ok
+delete thread 4
'
106-timer.t TEST 20: chained timers (0 delay) - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
terminate 1: ok
-delete thread 1
-create 3 in 2
-terminate 2: ok
-delete thread 2
-terminate 3: ok
delete thread 3
+create 4 in 2
+terminate 2: ok
+delete thread 5
+terminate 4: ok
+delete thread 6
'
106-timer.t TEST 22: multiple parallel timers - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
create 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 5
terminate 3: ok
-delete thread 3
+delete thread 6
'
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - stap output expected @@ -1,3 +1,3 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
'
106-timer.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - stap output expected @@ -1,3 +1,3 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
'
106-timer.t TEST 29: lua_max_running_timers (just enough) - 2 - stap output expected @@ -1,11 +1,11 @@
create 2 in 1
create 3 in 1
terminate 1: ok
-delete thread 1
-create 4 in 3
+delete thread 4
+create 5 in 3
terminate 2: ok
-delete thread 2
+delete thread 6
terminate 3: ok
-delete thread 3
+delete thread 7
-terminate 4: ok
+terminate 5: ok
-delete thread 4
+delete thread 8
'
106-timer.t TEST 16: shared dict - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
terminate 2: ok
-delete thread 2
+delete thread 4
'
106-timer.t TEST 27: lua_max_running_timers (just not enough) - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
create 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 5
'
106-timer.t TEST 19: exit in user thread (entry thread is still pending on ngx.sleep) - stap output should match the pattern 'create 2 in 1
terminate 1: ok
delete thread 3
free request
create 4 in 2
spawn user thread 5 in 2
add timer 100
add timer 1000
terminate 4: ok
delete thread 5
lua sleep cleanup
delete timer 1000
delete thread 6
'
doesn't match '(?^ms:(?:create 2 in 1
terminate 1: ok
delete thread 1
free request
create 3 in 2
spawn user thread 3 in 2
add timer 100
add timer 1000
expire timer 100
terminate 3: ok
delete thread 3
lua sleep cleanup
delete timer 1000
delete thread 2|create 2 in 1
terminate 1: ok
delete thread 1
create 3 in 2
spawn user thread 3 in 2
add timer 100
add timer 1000
free request
expire timer 100
terminate 3: ok
delete thread 3
lua sleep cleanup
delete timer 1000
delete thread 2)$)'
106-timer.t TEST 7: 0 timer - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
terminate 2: ok
-delete thread 2
+delete thread 4
'
106-timer.t TEST 23: lua_max_pending_timers - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
terminate 2: ok
-delete thread 2
+delete thread 4
'
106-timer.t TEST 24: lua_max_pending_timers (just not exceeding) - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
create 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 5
terminate 3: ok
-delete thread 3
+delete thread 6
'
106-timer.t TEST 21: chained timers (non-zero delay) - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
terminate 1: ok
-delete thread 1
-create 3 in 2
-terminate 2: ok
-delete thread 2
-terminate 3: ok
delete thread 3
+create 4 in 2
+terminate 2: ok
+delete thread 5
+terminate 4: ok
+delete thread 6
'
106-timer.t TEST 30: user args - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
terminate 2: ok
-delete thread 2
+delete thread 4
'
106-timer.t TEST 1: simple at - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
terminate 2: ok
-delete thread 2
+delete thread 4
'
106-timer.t TEST 28: lua_max_running_timers (just enough) - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
create 3 in 1
terminate 1: ok
-delete thread 1
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 5
terminate 3: ok
-delete thread 3
+delete thread 6
'
106-timer.t TEST 15: ngx.thread API - stap output expected @@ -1,9 +1,9 @@
create 2 in 1
terminate 1: ok
-delete thread 1
-create 3 in 2
-spawn user thread 3 in 2
-terminate 3: ok
delete thread 3
+create 4 in 2
+spawn user thread 5 in 2
+terminate 4: ok
+delete thread 5
terminate 2: ok
-delete thread 2
+delete thread 6
'
106-timer.t TEST 8: udp cosocket in timer handler - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
terminate 2: ok
-delete thread 2
+delete thread 4
'
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - stap output expected @@ -1,3 +1,3 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
'
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - stap output expected @@ -1,3 +1,3 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
'
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 1)
106-timer.t TEST 26: lua_max_pending_timers - chained timers (zero delay) - not exceeding - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
terminate 1: ok
-delete thread 1
-create 3 in 2
-terminate 2: ok
-delete thread 2
-terminate 3: ok
delete thread 3
+create 4 in 2
+terminate 2: ok
+delete thread 5
+terminate 4: ok
+delete thread 6
'
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
terminate 2: ok
-delete thread 2
+delete thread 4
'
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - stap output should match the pattern 'create 2 in 1
create 3 in 1
terminate 2: ok
delete thread 4
terminate 3: ok
delete thread 5
'
doesn't match '(?^ms:create 2 in 1
create 3 in 1
(?:terminate 2: ok
delete thread 2
terminate 3: ok
delete thread 3
|terminate 3: ok
delete thread 3
terminate 2: ok
delete thread 2)$)'
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - stap output should match the pattern 'create 2 in 1
create 3 in 1
terminate 3: ok
delete thread 4
terminate 2: ok
delete thread 5
'
doesn't match '(?^ms:create 2 in 1
create 3 in 1
(?:terminate 2: ok
delete thread 2
terminate 3: ok
delete thread 3
|terminate 3: ok
delete thread 3
terminate 2: ok
delete thread 2)$)'
106-timer.t TEST 14: coroutine API - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
terminate 1: ok
-delete thread 1
-create 3 in 2
+delete thread 3
+create 4 in 2
terminate 2: ok
-delete thread 2
+delete thread 5
'
106-timer.t TEST 13: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - stap output expected @@ -1,3 +1,3 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
'
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - stap output expected @@ -1,3 +1,3 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
'
108-timer-safe.t TEST 14: shared dict - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
108-timer-safe.t TEST 18: chained timers (non-zero delay) - stap output expected @@ -1,8 +1,8 @@
create 2 in 1
create 3 in 2
terminate 2: ok
-delete thread 2
+delete thread 4
terminate 3: ok
-delete thread 3
+delete thread 5
terminate 1: ok
-delete thread 1
+delete thread 6
'
108-timer-safe.t TEST 17: exit in user thread (entry thread is still pending on ngx.sleep) - stap output expected @@ -1,14 +1,13 @@
create 2 in 1
create 3 in 2
-spawn user thread 3 in 2
+spawn user thread 4 in 2
add timer 100
add timer 1000
-expire timer 100
terminate 3: ok
-delete thread 3
+delete thread 4
lua sleep cleanup
delete timer 1000
-delete thread 2
+delete thread 5
terminate 1: ok
-delete thread 1
+delete thread 6
free request
'
108-timer-safe.t TEST 5: 0 timer - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
terminate 2: ok
-delete thread 2
+delete thread 4
'
108-timer-safe.t TEST 13: ngx.thread API - stap output expected @@ -1,9 +1,9 @@
create 2 in 1
create 3 in 2
-spawn user thread 3 in 2
+spawn user thread 4 in 2
terminate 3: ok
-delete thread 3
+delete thread 4
terminate 2: ok
-delete thread 2
+delete thread 5
terminate 1: ok
-delete thread 1
+delete thread 6
'
108-timer-safe.t TEST 12: coroutine API - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
create 3 in 2
terminate 2: ok
-delete thread 2
+delete thread 4
terminate 1: ok
-delete thread 1
+delete thread 5
'
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 1: ok
-delete thread 1
+delete thread 3
terminate 2: ok
-delete thread 2
+delete thread 4
'
108-timer-safe.t TEST 1: simple at - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
108-timer-safe.t TEST 7: simple at (sleep in the timer callback) - log_by_lua - stap output expected @@ -1,3 +1,3 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
'
108-timer-safe.t TEST 6: udp cosocket in timer handler - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - stap output should match the pattern 'create 2 in 1
create 3 in 1
terminate 2: ok
delete thread 4
terminate 3: ok
delete thread 5
'
doesn't match '(?^ms:create 2 in 1
create 3 in 1
(?:terminate 2: ok
delete thread 2
terminate 3: ok
delete thread 3
|terminate 3: ok
delete thread 3
terminate 2: ok
delete thread 2)$)'
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - stap output should match the pattern 'create 2 in 1
create 3 in 1
terminate 3: ok
delete thread 4
terminate 2: ok
delete thread 5
'
doesn't match '(?^ms:create 2 in 1
create 3 in 1
(?:terminate 2: ok
delete thread 2
terminate 3: ok
delete thread 3
|terminate 3: ok
delete thread 3
terminate 2: ok
delete thread 2)$)'
108-timer-safe.t TEST 9: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - stap output expected @@ -1,3 +1,3 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
'
108-timer-safe.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - stap output expected @@ -1,3 +1,3 @@
create 2 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
'
126-shdict-frag.t TEST 7: merge big slabs (less than max slab size) backward - stap output expected @@ -2,8 +2,6 @@
init zone alloc pages: 1 ok
init zone alloc pages: 1 ok
alloc pages: 1 ok
-alloc pages: 1 ok
-free pages: 1
alloc pages: 2 NOT OK
free pages: 1
alloc pages: 2 ok
'
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - stap output expected @@ -2,7 +2,6 @@
init zone alloc pages: 1 ok
init zone alloc pages: 1 ok
alloc pages: 1 ok
-alloc pages: 1 ok
alloc pages: 2 NOT OK
free pages: 1
-alloc pages: 2 NOT OK
+alloc pages: 2 ok
'
127-uthread-kill.t TEST 4: kill pending connect - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
-spawn user thread 2 in 1
-delete thread 2
+spawn user thread 3 in 1
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
127-uthread-kill.t TEST 2: already waited - stap output expected @@ -1,6 +1,6 @@
create 2 in 1
-spawn user thread 2 in 1
+spawn user thread 3 in 1
terminate 2: ok
-delete thread 2
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
127-uthread-kill.t TEST 1: kill pending sleep - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
-spawn user thread 2 in 1
-delete thread 2
+spawn user thread 3 in 1
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
127-uthread-kill.t TEST 3: kill pending resolver - stap output expected @@ -1,5 +1,5 @@
create 2 in 1
-spawn user thread 2 in 1
-delete thread 2
+spawn user thread 3 in 1
+delete thread 3
terminate 1: ok
-delete thread 1
+delete thread 4
'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 0, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send http request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send http request: closed
)'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 1, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send http request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send http request: closed
)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 26: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 26: unix domain ssl cosocket (no gen session) - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:47 [alert] 10085\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 26: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 16: unsupported ssl protocol - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:48 [alert] 10087\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?(unknown protocol|wrong version number))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (no ssl on server) - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:48 [alert] 10088\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?(unknown protocol|wrong version number))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (gen session, true) - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:49 [alert] 10089\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:49 [alert] 10090\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 404 Not Found
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:49 [alert] 10091\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 404 Not Found
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 11: openresty.org: SSL verify enabled and no corresponding trusted certificates - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 11: openresty.org: SSL verify enabled and no corresponding trusted certificates - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 11: openresty.org: SSL verify enabled and no corresponding trusted certificates - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 11: openresty.org: SSL verify enabled and no corresponding trusted certificates - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 53 bytes.
-received: HTTP/1.1 201 Created
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:51 [alert] 10095\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 53 bytes.
-received: HTTP/1.1 201 Created
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:51 [alert] 10096\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 23: lua_ssl_crl - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 23: lua_ssl_crl - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 13: default cipher - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 13: default cipher - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 13: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2" should match a line in error.log (req 0)
129-ssl-socket.t TEST 13: default cipher - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:53 [alert] 10100\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 13: default cipher - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 13: default cipher - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 13: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2" should match a line in error.log (req 1)
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:53 [alert] 10101\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 25: handshake timed out - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 25: handshake timed out - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:53 [alert] 10102\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 25: handshake timed out - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 24: multiple handshake calls - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 24: multiple handshake calls - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 24: multiple handshake calls - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:54 [alert] 10103\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 24: multiple handshake calls - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 24: multiple handshake calls - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl set session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:55 [alert] 10105\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl set session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 14: explicit cipher configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 14: explicit cipher configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: explicit cipher configuration - pattern "(?^:SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 14: explicit cipher configuration - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:55 [alert] 10106\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 14: explicit cipher configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 14: explicit cipher configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: explicit cipher configuration - pattern "(?^:SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES128-SHA (SSLv3|TLSv1))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:56 [alert] 10108\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES128-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 0, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send http request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send http request: closed
)'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate)\))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 1, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send http request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send http request: closed
)'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate)\))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (keepalive) - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:58 [alert] 10112\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 28: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 21:53:58 [alert] 10113\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1)
132-lua-blocks.t nginx: [emerg] "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_session_fetch_by_lua_block:\d+: hello)" should match a line in error.log (req 0)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_certificate_by_lua:\d+: hello)" should match a line in error.log (req 0)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_session_store_by_lua_block:\d+: hello)" should match a line in error.log (req 0)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:set_by_lua:\d+: hello)" should match a line in error.log (req 0)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:rewrite_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:access_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:header_filter_by_lua:\d+: hello)" should match a line in error.log (req 0)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:body_filter_by_lua:\d+: hello)" should match a line in error.log (req 0)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:log_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_session_fetch_by_lua_block:\d+: hello)" should match a line in error.log (req 1)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_certificate_by_lua:\d+: hello)" should match a line in error.log (req 1)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_session_store_by_lua_block:\d+: hello)" should match a line in error.log (req 1)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:set_by_lua:\d+: hello)" should match a line in error.log (req 1)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:rewrite_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:access_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:header_filter_by_lua:\d+: hello)" should match a line in error.log (req 1)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:body_filter_by_lua:\d+: hello)" should match a line in error.log (req 1)
132-lua-blocks.t TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:log_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1)
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 0) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^:reusable connection: 1
ssl cert: connection reusable: 1
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
)'
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 1) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^:reusable connection: 1
ssl cert: connection reusable: 1
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
)'
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 2) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^:reusable connection: 1
ssl cert: connection reusable: 1
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
)'
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - grep_error_log_out (req 0) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - grep_error_log_out (req 1) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - grep_error_log_out (req 2) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 2: sleep - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 1: simple logging - grep_error_log_out (req 0) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 0
ssl session store: connection reusable: 0
ssl_session_store_by_lua_block:1: ssl session store by lua is running!,
)'
142-ssl-session-store.t TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 1: simple logging - grep_error_log_out (req 1) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 0
ssl session store: connection reusable: 0
ssl_session_store_by_lua_block:1: ssl session store by lua is running!,
)'
142-ssl-session-store.t TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 1: simple logging - grep_error_log_out (req 2) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 0
ssl session store: connection reusable: 0
ssl_session_store_by_lua_block:1: ssl session store by lua is running!,
)'
142-ssl-session-store.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 2)
142-ssl-session-store.t nginx: [emerg] "ssl_session_store_by_lua_block" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:28
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 2)
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad
'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - grep_error_log_out (req 1) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 1
ssl session fetch: connection reusable: 1
reusable connection: 0
ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!,
)'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - grep_error_log_out (req 2) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 1
ssl session fetch: connection reusable: 1
reusable connection: 0
ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!,
)'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - grep_error_log_out (req 1) got: ''
expected: 'a.lua:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - grep_error_log_out (req 2) got: ''
expected: 'a.lua:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 9: lua exception - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 9: lua exception - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 9: lua exception - yield - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-ssl_session_fetch_by_lua_block:3: bad bad bad
-ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 9: lua exception - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 9: lua exception - yield - grep_error_log_out (req 2) @@ -1,2 +0,0 @@
-ssl_session_fetch_by_lua_block:3: bad bad bad
-ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-ssl cert by lua is running!
-ssl store session by lua is running!
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-ssl fetch session by lua is running!
-ssl cert by lua is running!
-ssl store session by lua is running!
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-ssl fetch session by lua is running!
-ssl cert by lua is running!
-ssl store session by lua is running!
'
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - grep_error_log_out (req 1) got: ''
expected: 'my timer run!
'
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - grep_error_log_out (req 2) got: ''
expected: 'my timer run!
'
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 2: sleep - grep_error_log_out (req 1) ''
doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)'
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 2: sleep - grep_error_log_out (req 2) ''
doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - grep_error_log_out (req 1) got: ''
expected: 'received memc reply: OK
'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - grep_error_log_out (req 2) got: ''
expected: 'received memc reply: OK
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - grep_error_log_out (req 1) got: ''
expected: 'get_phase: ssl_session_fetch
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - grep_error_log_out (req 2) got: ''
expected: 'get_phase: ssl_session_fetch
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 1) got: ''
expected: 'lua exit with code 0
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 2) got: ''
expected: 'lua exit with code 0
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
148-fake-shm-zone.t nginx: [emerg] lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26

Warnings

Go back to the index page.