(This page was automatically generated by the tools in the opsboy project on 02:05:04 07-Aug-2021 GMT.)

Detailed Test Report for ngx_lua in linux i386 (r)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
ee47e55e 2019-02-24 06:09:40 GMT 17 482 199 20499 1795 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 864c72e

OpenSSL

OpenSSL 1.1.0j 20 Nov 2018

Compilation Errors

Unexpected Failures

File Name Details
023-rewrite/tcp-socket.t TEST 4: with resolver - response_body - response is expected (repeated req 0, req 0) got: ..."received: Date: Sun, 24 Feb 2019 07:33:05 GMT\x{0a}"...
length: 125
expected: ..."received: Server: openresty\x{0a}"...
length: 107
strings begin to differ at char 90 (line 4 column 23)
023-rewrite/tcp-socket.t TEST 4: with resolver - response_body - response is expected (repeated req 1, req 0) got: ..."received: Date: Sun, 24 Feb 2019 07:33:05 GMT\x{0a}"...
length: 125
expected: ..."received: Server: openresty\x{0a}"...
length: 107
strings begin to differ at char 90 (line 4 column 23)
058-tcp-socket.t TEST 4: with resolver - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
connected: 1
request sent: 56
first line received: HTTP/1.1 200 OK
-second line received: Server: openresty
+second line received: Date: Sun, 24 Feb 2019 07:41:21 GMT
'
058-tcp-socket.t TEST 4: with resolver - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
connected: 1
request sent: 56
first line received: HTTP/1.1 200 OK
-second line received: Server: openresty
+second line received: Date: Sun, 24 Feb 2019 07:41:22 GMT
'
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)
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 1)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8187 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 8184 pending timers
'
expected: 'lua found 8191 pending timers
'
124-init-worker.t TEST 13: cosocket with resolver - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
connected: 1
request sent: 56
first line received: HTTP/1.1 200 OK
-second line received: Server: openresty
+second line received: Date: Sun, 24 Feb 2019 07:52:06 GMT
'
Looks like you failed 1 test of 100.
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
'
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)

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 - pattern "[alert]" should not match any line in error.log but matches line "2019/02/24 07:26:38 [alert] 10176\#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) 2019/02/24 07:26:38 [debug] 10176\#0: *1 SSL_do_handshake: -1
2019/02/24 07:26:38 [debug] 10176\#0: *1 SSL_get_error: 1
2019/02/24 07:26:38 [crit] 10176\#0: *1 SSL_do_handshake() failed (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) 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"
2019/02/24 07:26:38 [debug] 10176\#0: *1 http next upstream, 2
2019/02/24 07:26:38 [debug] 10176\#0: *1 free rr peer 1 4
2019/02/24 07:26:38 [debug] 10176\#0: *1 finalize http upstream request: 502
2019/02/24 07:26:38 [debug] 10176\#0: *1 finalize http proxy request
2019/02/24 07:26:38 [debug] 10176\#0: *1 close http upstream connection: 9
2019/02/24 07:26:38 [debug] 10176\#0: *1 free: 08ECC988, unused: 0
'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - status code ok got: '502'
expected: '200'
023-rewrite/uthread-exit.t TEST 6: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.udp) - pattern "[error]" should not match any line in error.log but matches line "2019/02/24 07:33:19 [error] 11859\#0: wrong ident 30237 response for agentzh.org, expect 11811" (req 1) 2019/02/24 07:33:19 [debug] 11859\#0: recv: fd:8 -1 of 4096
2019/02/24 07:33:19 [debug] 11859\#0: recv() not ready (11: Resource temporarily unavailable)
2019/02/24 07:33:19 [debug] 11859\#0: worker cycle
2019/02/24 07:33:19 [debug] 11859\#0: poll timer: 4900
2019/02/24 07:33:19 [debug] 11859\#0: poll ready 1 of 4
2019/02/24 07:33:19 [debug] 11859\#0: poll: 0: fd:6 ev:0001 rev:0000
2019/02/24 07:33:19 [debug] 11859\#0: poll: 1: fd:3 ev:0001 rev:0000
2019/02/24 07:33:19 [debug] 11859\#0: poll: 2: fd:8 ev:0001 rev:0000
2019/02/24 07:33:19 [debug] 11859\#0: poll: 3: fd:9 ev:0001 rev:0001
'
Looks like you failed 1 test of 122.
024-access/uthread-exit.t TEST 5: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.tcp) - pattern "[error]" should not match any line in error.log but matches line "2019/02/24 07:35:44 [error] 12617\#0: wrong ident 20905 response for agentzh.org, expect 41820" (req 1) 2019/02/24 07:35:44 [debug] 12617\#0: recv: fd:8 -1 of 4096
2019/02/24 07:35:44 [debug] 12617\#0: recv() not ready (11: Resource temporarily unavailable)
2019/02/24 07:35:44 [debug] 12617\#0: worker cycle
2019/02/24 07:35:44 [debug] 12617\#0: poll timer: 4904
2019/02/24 07:35:44 [debug] 12617\#0: poll ready 1 of 4
2019/02/24 07:35:44 [debug] 12617\#0: poll: 0: fd:6 ev:0001 rev:0000
2019/02/24 07:35:44 [debug] 12617\#0: poll: 1: fd:3 ev:0001 rev:0000
2019/02/24 07:35:44 [debug] 12617\#0: poll: 2: fd:8 ev:0001 rev:0000
2019/02/24 07:35:44 [debug] 12617\#0: poll: 3: fd:9 ev:0001 rev:0001
'
024-access/uthread-exit.t TEST 6: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.udp) - pattern "[error]" should not match any line in error.log but matches line "2019/02/24 07:35:47 [error] 12635\#0: wrong ident 19727 response for agentzh.org, expect 43546" (req 1) 2019/02/24 07:35:47 [debug] 12635\#0: recv: fd:8 -1 of 4096
2019/02/24 07:35:47 [debug] 12635\#0: recv() not ready (11: Resource temporarily unavailable)
2019/02/24 07:35:47 [debug] 12635\#0: worker cycle
2019/02/24 07:35:47 [debug] 12635\#0: poll timer: 4908
2019/02/24 07:35:47 [debug] 12635\#0: poll ready 1 of 4
2019/02/24 07:35:47 [debug] 12635\#0: poll: 0: fd:6 ev:0001 rev:0000
2019/02/24 07:35:47 [debug] 12635\#0: poll: 1: fd:3 ev:0001 rev:0000
2019/02/24 07:35:47 [debug] 12635\#0: poll: 2: fd:8 ev:0001 rev:0000
2019/02/24 07:35:47 [debug] 12635\#0: poll: 3: fd:9 ev:0001 rev:0001
'
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
058-tcp-socket.t TEST 64: receiveany method in cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 64: receiveany method in cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 68: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 68: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 67: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 0, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 67: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 1, req 0) got: 'h
'
expected: 'hello world
'
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
'
086-init-by.t nginx: [error] init_by_lua error: init_by_lua:2: failed to init
094-uthread-exit.t TEST 6: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.udp) - pattern "[error]" should not match any line in error.log but matches line "2019/02/24 07:45:29 [error] 16603\#0: wrong ident 27692 response for agentzh.org, expect 39535" (req 1) 2019/02/24 07:45:29 [debug] 16603\#0: recv: fd:8 -1 of 4096
2019/02/24 07:45:29 [debug] 16603\#0: recv() not ready (11: Resource temporarily unavailable)
2019/02/24 07:45:29 [debug] 16603\#0: worker cycle
2019/02/24 07:45:29 [debug] 16603\#0: poll timer: 4900
2019/02/24 07:45:29 [debug] 16603\#0: poll ready 1 of 4
2019/02/24 07:45:29 [debug] 16603\#0: poll: 0: fd:6 ev:0001 rev:0000
2019/02/24 07:45:29 [debug] 16603\#0: poll: 1: fd:3 ev:0001 rev:0000
2019/02/24 07:45:29 [debug] 16603\#0: poll: 2: fd:8 ev:0001 rev:0000
2019/02/24 07:45:29 [debug] 16603\#0: poll: 3: fd:9 ev:0001 rev:0001
'
094-uthread-exit.t TEST 5: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.tcp) - pattern "[error]" should not match any line in error.log but matches line "2019/02/24 07:45:33 [error] 16621\#0: wrong ident 64928 response for agentzh.org, expect 19996" (req 1) 2019/02/24 07:45:33 [debug] 16621\#0: recv: fd:8 -1 of 4096
2019/02/24 07:45:33 [debug] 16621\#0: recv() not ready (11: Resource temporarily unavailable)
2019/02/24 07:45:33 [debug] 16621\#0: worker cycle
2019/02/24 07:45:33 [debug] 16621\#0: poll timer: 4904
2019/02/24 07:45:33 [debug] 16621\#0: poll ready 1 of 4
2019/02/24 07:45:33 [debug] 16621\#0: poll: 0: fd:6 ev:0001 rev:0000
2019/02/24 07:45:33 [debug] 16621\#0: poll: 1: fd:3 ev:0001 rev:0000
2019/02/24 07:45:33 [debug] 16621\#0: poll: 2: fd:8 ev:0001 rev:0000
2019/02/24 07:45:33 [debug] 16621\#0: poll: 3: fd:9 ev:0001 rev:0001
'
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 - 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)
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
'
Looks like you failed 1 test of 39.
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 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 "2019/02/24 07:52:44 [alert] 18020\#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) 2019/02/24 07:52:44 [debug] 18020\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:44 [debug] 18020\#0: *1 SSL_get_error: 1
2019/02/24 07:52:44 [crit] 18020\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:44 [debug] 18020\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:44 [debug] 18020\#0: *1 lua finalize socket
2019/02/24 07:52:44 [debug] 18020\#0: *1 lua http cleanup free: 0A1FFC98
2019/02/24 07:52:44 [debug] 18020\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:44 [debug] 18020\#0: *1 lua close socket connection
2019/02/24 07:52:44 [debug] 18020\#0: *1 free: 0A1FE290, unused: 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 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 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 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 "2019/02/24 07:52:45 [alert] 18032\#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) 2019/02/24 07:52:45 [debug] 18032\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:45 [debug] 18032\#0: *1 SSL_get_error: 1
2019/02/24 07:52:45 [crit] 18032\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:45 [debug] 18032\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:45 [debug] 18032\#0: *1 lua finalize socket
2019/02/24 07:52:45 [debug] 18032\#0: *1 lua http cleanup free: 093BDBE8
2019/02/24 07:52:45 [debug] 18032\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:45 [debug] 18032\#0: *1 lua close socket connection
2019/02/24 07:52:45 [debug] 18032\#0: *1 free: 093BCB90, unused: 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 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 "2019/02/24 07:52:46 [alert] 18035\#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) 2019/02/24 07:52:46 [debug] 18035\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:46 [debug] 18035\#0: *1 SSL_get_error: 1
2019/02/24 07:52:46 [crit] 18035\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:46 [debug] 18035\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:46 [debug] 18035\#0: *1 lua finalize socket
2019/02/24 07:52:46 [debug] 18035\#0: *1 lua http cleanup free: 084D4C20
2019/02/24 07:52:46 [debug] 18035\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:46 [debug] 18035\#0: *1 lua close socket connection
2019/02/24 07:52:46 [debug] 18035\#0: *1 free: 084D3BC8, unused: 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 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 "2019/02/24 07:52:46 [alert] 18038\#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) 2019/02/24 07:52:46 [debug] 18038\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:46 [debug] 18038\#0: *1 SSL_get_error: 1
2019/02/24 07:52:46 [crit] 18038\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:46 [debug] 18038\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:46 [debug] 18038\#0: *1 lua finalize socket
2019/02/24 07:52:46 [debug] 18038\#0: *1 lua http cleanup free: 08B27298
2019/02/24 07:52:46 [debug] 18038\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:46 [debug] 18038\#0: *1 lua close socket connection
2019/02/24 07:52:46 [debug] 18038\#0: *1 free: 08B25890, unused: 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 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 "2019/02/24 07:52:47 [alert] 18041\#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) 2019/02/24 07:52:47 [debug] 18041\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:47 [debug] 18041\#0: *1 SSL_get_error: 1
2019/02/24 07:52:47 [crit] 18041\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:47 [debug] 18041\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:47 [debug] 18041\#0: *1 lua finalize socket
2019/02/24 07:52:47 [debug] 18041\#0: *1 lua http cleanup free: 09A26C60
2019/02/24 07:52:47 [debug] 18041\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:47 [debug] 18041\#0: *1 lua close socket connection
2019/02/24 07:52:47 [debug] 18041\#0: *1 free: 09A26C10, unused: 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 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 "2019/02/24 07:52:47 [alert] 18044\#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) 2019/02/24 07:52:47 [debug] 18044\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:47 [debug] 18044\#0: *1 SSL_get_error: 1
2019/02/24 07:52:47 [crit] 18044\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:47 [debug] 18044\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:47 [debug] 18044\#0: *1 lua finalize socket
2019/02/24 07:52:47 [debug] 18044\#0: *1 lua http cleanup free: 09F4BB80
2019/02/24 07:52:47 [debug] 18044\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:47 [debug] 18044\#0: *1 lua close socket connection
2019/02/24 07:52:47 [debug] 18044\#0: *1 free: 09F4AB28, unused: 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 "2019/02/24 07:52:47 [alert] 18047\#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) 2019/02/24 07:52:47 [debug] 18047\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:47 [debug] 18047\#0: *1 SSL_get_error: 1
2019/02/24 07:52:47 [crit] 18047\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:47 [debug] 18047\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:47 [debug] 18047\#0: *1 lua finalize socket
2019/02/24 07:52:47 [debug] 18047\#0: *1 lua http cleanup free: 08D405D0
2019/02/24 07:52:47 [debug] 18047\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:47 [debug] 18047\#0: *1 lua close socket connection
2019/02/24 07:52:47 [debug] 18047\#0: *1 free: 08D3FDE0, unused: 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 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 "2019/02/24 07:52:48 [alert] 18050\#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) 2019/02/24 07:52:48 [debug] 18050\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:48 [debug] 18050\#0: *1 SSL_get_error: 1
2019/02/24 07:52:48 [crit] 18050\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:48 [debug] 18050\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:48 [debug] 18050\#0: *1 lua finalize socket
2019/02/24 07:52:48 [debug] 18050\#0: *1 lua http cleanup free: 099EF2E0
2019/02/24 07:52:48 [debug] 18050\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:48 [debug] 18050\#0: *1 lua close socket connection
2019/02/24 07:52:48 [debug] 18050\#0: *1 free: 099ED8D8, unused: 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)
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 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 "2019/02/24 07:52:49 [alert] 18056\#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) 2019/02/24 07:52:49 [debug] 18056\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:49 [debug] 18056\#0: *1 SSL_get_error: 1
2019/02/24 07:52:49 [crit] 18056\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:49 [debug] 18056\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:49 [debug] 18056\#0: *1 lua finalize socket
2019/02/24 07:52:49 [debug] 18056\#0: *1 lua http cleanup free: 08B8ACA0
2019/02/24 07:52:49 [debug] 18056\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:49 [debug] 18056\#0: *1 lua close socket connection
2019/02/24 07:52:49 [debug] 18056\#0: *1 free: 08B89298, unused: 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 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: 80 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 "2019/02/24 07:52:49 [alert] 18059\#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) 2019/02/24 07:52:49 [debug] 18059\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:49 [debug] 18059\#0: *1 SSL_get_error: 1
2019/02/24 07:52:49 [crit] 18059\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:49 [debug] 18059\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:49 [debug] 18059\#0: *1 lua finalize socket
2019/02/24 07:52:49 [debug] 18059\#0: *1 lua http cleanup free: 09376BC0
2019/02/24 07:52:49 [debug] 18059\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:49 [debug] 18059\#0: *1 lua close socket connection
2019/02/24 07:52:49 [debug] 18059\#0: *1 free: 09375B68, unused: 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: 80 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 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 "2019/02/24 07:52:49 [alert] 18062\#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) 2019/02/24 07:52:49 [debug] 18062\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:49 [debug] 18062\#0: *1 SSL_get_error: 1
2019/02/24 07:52:49 [crit] 18062\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:49 [debug] 18062\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:49 [debug] 18062\#0: *1 lua finalize socket
2019/02/24 07:52:49 [debug] 18062\#0: *1 lua http cleanup free: 08A75C00
2019/02/24 07:52:49 [debug] 18062\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:49 [debug] 18062\#0: *1 lua close socket connection
2019/02/24 07:52:49 [debug] 18062\#0: *1 free: 08A74BA8, unused: 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 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 "2019/02/24 07:52:50 [alert] 18068\#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) 2019/02/24 07:52:50 [debug] 18068\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:50 [debug] 18068\#0: *1 SSL_get_error: 1
2019/02/24 07:52:50 [crit] 18068\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:50 [debug] 18068\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:50 [debug] 18068\#0: *1 lua finalize socket
2019/02/24 07:52:50 [debug] 18068\#0: *1 lua http cleanup free: 08F67670
2019/02/24 07:52:50 [debug] 18068\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:50 [debug] 18068\#0: *1 lua close socket connection
2019/02/24 07:52:50 [debug] 18068\#0: *1 free: 08F66618, unused: 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 16: unsupported ssl protocol - pattern "[alert]" should not match any line in error.log but matches line "2019/02/24 07:52:51 [alert] 18071\#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) 2019/02/24 07:52:51 [debug] 18071\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:51 [debug] 18071\#0: *1 SSL_get_error: 1
2019/02/24 07:52:51 [crit] 18071\#0: *1 SSL_do_handshake() failed (SSL: error:141640BF:SSL routines:tls_construct_client_hello:no protocols available), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:51 [debug] 18071\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:51 [debug] 18071\#0: *1 lua finalize socket
2019/02/24 07:52:51 [debug] 18071\#0: *1 lua http cleanup free: 09C81C50
2019/02/24 07:52:51 [debug] 18071\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:51 [debug] 18071\#0: *1 lua close socket connection
2019/02/24 07:52:51 [debug] 18071\#0: *1 free: 09C80BF8, unused: 0
'
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 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 "2019/02/24 07:52:52 [alert] 18083\#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) 2019/02/24 07:52:52 [debug] 18083\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:52 [debug] 18083\#0: *1 SSL_get_error: 1
2019/02/24 07:52:52 [crit] 18083\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:52 [debug] 18083\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:52 [debug] 18083\#0: *1 lua finalize socket
2019/02/24 07:52:52 [debug] 18083\#0: *1 lua http cleanup free: 08C2B3F8
2019/02/24 07:52:52 [debug] 18083\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:52 [debug] 18083\#0: *1 lua close socket connection
2019/02/24 07:52:52 [debug] 18083\#0: *1 free: 08C2A3A0, unused: 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 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 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 "2019/02/24 07:52:53 [alert] 18089\#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) 2019/02/24 07:52:53 [debug] 18089\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:53 [debug] 18089\#0: *1 SSL_get_error: 1
2019/02/24 07:52:53 [crit] 18089\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:53 [debug] 18089\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:53 [debug] 18089\#0: *1 lua finalize socket
2019/02/24 07:52:53 [debug] 18089\#0: *1 lua http cleanup free: 084453E0
2019/02/24 07:52:53 [debug] 18089\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:53 [debug] 18089\#0: *1 index: copy event 5 to 4
2019/02/24 07:52:53 [debug] 18089\#0: *1 lua close socket connection
'
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 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 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 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 "2019/02/24 07:52:54 [alert] 18098\#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) 2019/02/24 07:52:54 [debug] 18098\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:54 [debug] 18098\#0: *1 SSL_get_error: 1
2019/02/24 07:52:54 [crit] 18098\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:54 [debug] 18098\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:54 [debug] 18098\#0: *1 lua finalize socket
2019/02/24 07:52:54 [debug] 18098\#0: *1 lua http cleanup free: 094C5F90
2019/02/24 07:52:54 [debug] 18098\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:54 [debug] 18098\#0: *1 lua close socket connection
2019/02/24 07:52:54 [debug] 18098\#0: *1 free: 094D9528, unused: 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 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 "2019/02/24 07:52:55 [alert] 18101\#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) 2019/02/24 07:52:55 [debug] 18101\#0: *1 SSL_do_handshake: -1
2019/02/24 07:52:55 [debug] 18101\#0: *1 SSL_get_error: 1
2019/02/24 07:52:55 [crit] 18101\#0: *1 SSL_do_handshake() failed (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), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2019/02/24 07:52:55 [debug] 18101\#0: *1 lua tcp socket error retval handler
2019/02/24 07:52:55 [debug] 18101\#0: *1 lua finalize socket
2019/02/24 07:52:55 [debug] 18101\#0: *1 lua http cleanup free: 085ACDE8
2019/02/24 07:52:55 [debug] 18101\#0: *1 poll del event: fd:9 ev:1
2019/02/24 07:52:55 [debug] 18101\#0: *1 lua close socket connection
2019/02/24 07:52:55 [debug] 18101\#0: *1 free: 085AB3E0, unused: 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
'
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] "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 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
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)
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 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 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 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 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 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 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 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)
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 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 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 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 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 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 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 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 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 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 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 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 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!,
)'
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
'
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 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 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
'
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 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)
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 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 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 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 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 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 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 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 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)
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 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 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!
'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected (failed to do SSL handshake: handshake failed) 'failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\A[123]done\n\z)'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - grep_error_log_out (req 1) got: ''
expected: 'old foo: 1
'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected (failed to do SSL handshake: handshake failed) 'failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\A[123]done\n\z)'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - grep_error_log_out (req 2) @@ -1,2 +0,0 @@
-old bar: 1
-old foo: 2
'
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 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 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 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 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 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 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 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 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 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
'
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
158-global-var.t TEST 8: ssl_certificate_by_lua - response_body_like - response is expected (failed to do SSL handshake: handshake failed) 'failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\A[12]done\n\z)'
158-global-var.t TEST 8: ssl_certificate_by_lua - grep_error_log_out (req 0) ''
doesn't match '(?^:\A\[warn\] .*?writing a global lua variable \('foo'\)
ssl_certificate_by_lua:3: in main chunk\n\z)'
158-global-var.t TEST 8: ssl_certificate_by_lua - response_body_like - response is expected (failed to do SSL handshake: handshake failed) 'failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\A[12]done\n\z)'
158-global-var.t TEST 8: ssl_certificate_by_lua - grep_error_log_out (req 1) got: ''
expected: 'old foo: 1
'

Warnings

Go back to the index page.