(This page was automatically generated by the tools in the opsboy project on 18:53:14 15-Aug-2016 GMT.)

Detailed Test Report for ngx_lua in linux i386 (rv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
4b8f2628 2016-08-14 17:06:47 GMT 0 578 184 19281 6838 sec

LuaJIT

LuaJIT 2.1.0-beta2, commit d40ca26

Compilation Errors

Unexpected Failures

(none)

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 "[error]" should not match any line in error.log but matches line "2016/08/14 17:18:27 [error] 11765\#0: *1 peer closed connection in SSL handshake while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock:/foo\", host: \"localhost\"" (req 0)
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - status code ok got: '502'
expected: '200'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 17:18:27 [error] 11765\#0: *4 peer closed connection in SSL handshake 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 1)
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 "[error]" should not match any line in error.log but matches line "2016/08/14 17:18:27 [error] 11765\#0: *7 peer closed connection in SSL handshake 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 2)
058-tcp-socket.t TEST 37: successful reread after a read time out happen (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
058-tcp-socket.t TEST 40: successful reread after a read time out happen (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
058-tcp-socket.t TEST 38: successful reread after a read time out happen (receive -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
058-tcp-socket.t TEST 39: successful reread after a read time out happen (receiveuntil -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
067-req-socket.t TEST 14: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 11
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received: err: timeout, partial:
'
067-req-socket.t TEST 15: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 16: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
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
'
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
-
'
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 7: 0 timer - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0(?:[^.]|\.00))" 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 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)
106-timer.t TEST 4: 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)
106-timer.t TEST 30: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - 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)
108-timer-safe.t TEST 5: 0 timer - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0(?:[^.]|\.00))" 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 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)
108-timer-safe.t TEST 7: 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)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'lua found 8185 pending timers
'
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 0)
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
'
129-ssl-socket.t TEST 22: 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 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:00 [error] 5826\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (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 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:00 [error] 5826\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 19: iscribblet.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 19: iscribblet.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]+):2
lua ssl save session: \1:3
lua ssl save session: \1:4
lua ssl free session: \1:4
lua ssl free session: \1:3
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 19: iscribblet.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 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:03 [error] 5837\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 19: iscribblet.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 19: iscribblet.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]+):2
lua ssl save session: \1:3
lua ssl save session: \1:4
lua ssl free session: \1:4
lua ssl free session: \1:3
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 19: iscribblet.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 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:03 [error] 5837\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 25: 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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl save session: ([0-9A-F]+):3
lua ssl free session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:05 [error] 5848\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 25: 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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl save session: ([0-9A-F]+):3
lua ssl free session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:05 [error] 5848\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
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: (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 - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
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: (20: unable to get local issuer certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 31: 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 31: 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 31: 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 31: 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 21: 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 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:12 [error] 5881\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 21: 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 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:13 [error] 5881\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - 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 11: www.google.com (SSL verify passes) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:15 [error] 5892\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - 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 11: www.google.com (SSL verify passes) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:15 [error] 5892\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:17 [error] 5903\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:18 [error] 5903\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 18: iscribblet.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 18: iscribblet.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]+):2
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 18: iscribblet.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 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:22 [error] 5925\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 18: iscribblet.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 18: iscribblet.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]+):2
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 18: iscribblet.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 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:23 [error] 5925\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:25 [error] 5936\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:25 [error] 5936\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 12: www.google.com (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 12: www.google.com (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 12: www.google.com (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 12: www.google.com (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 14: 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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 14: default cipher - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:30 [error] 5958\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 14: 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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 14: default cipher - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:30 [error] 5958\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent http request: 59 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]+):2
lua ssl set session: \1:2
lua ssl save session: \1:3
lua ssl free session: \1:2
lua ssl free session: \1: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 "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:35 [error] 5980\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent http request: 59 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]+):2
lua ssl set session: \1:2
lua ssl save session: \1:3
lua ssl free session: \1:2
lua ssl free session: \1: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 4: ssl session reuse - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:35 [error] 5980\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 26: 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 26: handshake timed out - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:38 [error] 5991\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 26: 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 26: handshake timed out - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:38 [error] 5991\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 27: 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 27: unix domain ssl cosocket (no gen session) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:40 [error] 6002\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (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 27: unix domain ssl cosocket (no gen session) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:40 [error] 6002\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "lua ssl certificate does not match host "blah.agentzh.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "lua ssl certificate does not match host "blah.agentzh.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 16: 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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:45 [error] 6024\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 16: 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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:45 [error] 6024\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 30: 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 30: 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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:47 [error] 6035\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, 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 30: 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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:48 [error] 6035\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 28: 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 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:50 [error] 6046\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 28: unix domain ssl cosocket (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 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:50 [error] 6046\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 13: iscribblet.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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:52 [error] 6057\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 13: iscribblet.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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:52 [error] 6057\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 29: 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 29: unix domain ssl cosocket (keepalive) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:57 [error] 6079\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:57 [error] 6079\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 57 bytes.
-received: HTTP/1.1 401 Unauthorized
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:57:59 [error] 6090\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 57 bytes.
-received: HTTP/1.1 401 Unauthorized
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:58:00 [error] 6090\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:58:02 [error] 6101\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:58:02 [error] 6101\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 15: 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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit cipher configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:58:04 [error] 6112\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 15: 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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit cipher configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:58:05 [error] 6112\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 24: 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 24: lua_ssl_crl - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:58:07 [error] 6123\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 24: 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 24: lua_ssl_crl - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:58:07 [error] 6123\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
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: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:58:12 [error] 6145\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:58:12 [error] 6145\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 8: iscribblet.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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:58:16 [error] 6167\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 8: iscribblet.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: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 18:58:17 [error] 6167\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
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
135-worker-id.t TEST 2: worker id should be nil for non-worker processes - response_body - response is expected (repeated req 0, req 0) got: "not ok: c=1\x{0a}"
length: 12
expected: "ok\x{0a}"
length: 3
strings begin to differ at char 1 (line 1 column 1)
135-worker-id.t TEST 2: worker id should be nil for non-worker processes - grep_error_log_out (req 0) got: ""
length: 0
expected: "worker id nil\x{0a}worker id nil\x{0a}"
length: 28
strings begin to differ at char 1 (line 1 column 1)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificiate_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_certificiate_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_certificiate_by_lua* on the http {} level - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:23 [error] 6842\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificiate_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_certificiate_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_certificiate_by_lua* on the http {} level - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:24 [error] 6842\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificiate_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_certificiate_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 17: simple logging - use ssl_certificiate_by_lua* on the http {} level - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:24 [error] 6842\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:26 [error] 6853\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:26 [error] 6853\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 11: get phase - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:26 [error] 6853\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:28 [error] 6864\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:29 [error] 6864\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 16: simple user thread wait with yielding - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:29 [error] 6864\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 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 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 - 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 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:33 [error] 6886\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - 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 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:33 [error] 6886\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 - 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 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:33 [error] 6886\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:36 [error] 6897\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:36 [error] 6897\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 5: ngx.exit(0) - no yield - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:36 [error] 6897\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:38 [error] 6908\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:38 [error] 6908\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 14: simple logging (by_lua_file) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:38 [error] 6908\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:40 [error] 6919\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:41 [error] 6919\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 12: connection aborted prematurely - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:42 [error] 6919\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:44 [error] 6930\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:45 [error] 6930\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 3: timer - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:45 [error] 6930\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:47 [error] 6941\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:47 [error] 6941\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 15: coroutine API - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:47 [error] 6941\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
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 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 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 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 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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:59 [error] 6996\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:59 [error] 6996\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:00:59 [error] 6996\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 2)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:04 [error] 7029\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:04 [error] 7029\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 2: sleep - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:04 [error] 7029\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:06 [error] 7040\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:07 [error] 7040\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 7: ngx.exit(0) - yield - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:07 [error] 7040\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
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 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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:11 [error] 7066\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:12 [error] 7066\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:12 [error] 7066\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:14 [error] 7077\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:14 [error] 7077\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 4: simple cert + private key cdata - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:14 [error] 7077\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:16 [error] 7088\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:16 [error] 7088\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 5: ECDSA cert + private key cdata - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:16 [error] 7088\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:18 [error] 7099\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:19 [error] 7099\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 2: ECDSA cert + private key - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:19 [error] 7099\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 2)
142-ssl-session-store.t 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 - 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 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:26 [error] 7138\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - 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 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:26 [error] 7138\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 - 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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:26 [error] 7138\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:31 [error] 7160\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:31 [error] 7160\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 5: ngx.exit(0) - no yield - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:31 [error] 7160\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:33 [error] 7171\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:34 [error] 7171\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:34 [error] 7171\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:36 [error] 7182\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:36 [error] 7182\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:36 [error] 7182\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:38 [error] 7193\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:38 [error] 7193\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 6: ngx.exit(ngx.ERROR) - no yield - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:38 [error] 7193\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:40 [error] 7204\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:41 [error] 7204\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 3: timer - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:41 [error] 7204\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:43 [error] 7215\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:43 [error] 7215\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 8: get phase - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:43 [error] 7215\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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)
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 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:53 [error] 7262\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:53 [error] 7262\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 11: inter-operation with ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:53 [error] 7262\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:55 [error] 7273\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:55 [error] 7273\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:55 [error] 7273\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:57 [error] 7284\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:58 [error] 7284\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 10: get phase - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:01:58 [error] 7284\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
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 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) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:02 [error] 7306\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:03 [error] 7306\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 12: simple logging (by file) - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:03 [error] 7306\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:05 [error] 7317\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:05 [error] 7317\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 2: sleep - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:05 [error] 7317\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:07 [error] 7328\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:07 [error] 7328\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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 3: timer - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:07 [error] 7328\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
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 - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:09 [error] 7339\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
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) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:10 [error] 7339\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
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) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/08/14 19:02:10 [error] 7339\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2)
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad
'
143-ssl-session-fetch.t TEST 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
'

Warnings

Go back to the index page.