(This page was automatically generated by the tools in the opsboy project on 04:52:00 11-Oct-2024 GMT.)

Detailed Test Report for ngx_lua in linux i386 (w)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
0e769b76 2023-12-28 09:02:59 GMT 890 62 219 23192 3086 sec

LuaJIT

LuaJIT 2.1.1700206165, commit 4182d6bf

Compilation Errors

Segmentation Faults

Unexpected Failures

File Name Details
000--init.t ERROR: client socket timed out - TEST 2: flush data from memcached '
000--init.t TEST 2: flush data from memcached - status code ok got: ''
expected: '200'
000--init.t TEST 2: flush data from memcached - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'OK
'
014-bugs.t ERROR: client socket timed out - TEST 3: sanity '
014-bugs.t TEST 3: sanity - status code ok got: ''
expected: '200'
014-bugs.t TEST 3: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:3: bar$)'
014-bugs.t ERROR: client socket timed out - TEST 3: sanity '
014-bugs.t TEST 3: sanity - status code ok got: ''
expected: '200'
014-bugs.t TEST 3: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:3: bar$)'
014-bugs.t ERROR: client socket timed out - TEST 3: sanity '
014-bugs.t TEST 3: sanity - status code ok got: ''
expected: '200'
014-bugs.t TEST 3: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:3: bar$)'
017-exec.t ERROR: client socket timed out - TEST 11: exec after location capture (memc) '
017-exec.t TEST 11: exec after location capture (memc) - status code ok got: ''
expected: '200'
017-exec.t TEST 11: exec after location capture (memc) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "hello hello hello world world world"
length: 35
strings begin to differ at char 1 (line 1 column 1)
017-exec.t ERROR: client socket timed out - TEST 11: exec after location capture (memc) '
017-exec.t TEST 11: exec after location capture (memc) - status code ok got: ''
expected: '200'
017-exec.t TEST 11: exec after location capture (memc) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "hello hello hello world world world"
length: 35
strings begin to differ at char 1 (line 1 column 1)
017-exec.t ERROR: client socket timed out - TEST 13: exec after named location capture (memc) '
017-exec.t TEST 13: exec after named location capture (memc) - status code ok got: ''
expected: '200'
017-exec.t TEST 13: exec after named location capture (memc) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "hello hello hello world world world"
length: 35
strings begin to differ at char 1 (line 1 column 1)
017-exec.t ERROR: client socket timed out - TEST 13: exec after named location capture (memc) '
017-exec.t TEST 13: exec after named location capture (memc) - status code ok got: ''
expected: '200'
017-exec.t TEST 13: exec after named location capture (memc) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "hello hello hello world world world"
length: 35
strings begin to differ at char 1 (line 1 column 1)
020-subrequest.t ERROR: client socket timed out - TEST 32: test memcached with subrequests '
020-subrequest.t TEST 32: test memcached with subrequests - status code ok got: ''
expected: '200'
020-subrequest.t TEST 32: test memcached with subrequests - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
020-subrequest.t TEST 32: test memcached with subrequests - pattern "lua reuse free buf chain, but reallocate memory because" should match a line in error.log (req 0)
020-subrequest.t ERROR: client socket timed out - TEST 32: test memcached with subrequests '
020-subrequest.t TEST 32: test memcached with subrequests - status code ok got: ''
expected: '200'
020-subrequest.t TEST 32: test memcached with subrequests - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
020-subrequest.t TEST 32: test memcached with subrequests - pattern "lua reuse free buf chain, but reallocate memory because" should match a line in error.log (req 1)
020-subrequest.t ERROR: client socket timed out - TEST 46: subrequests truncated in its response body due to premature connection close (buffered) '
020-subrequest.t TEST 46: subrequests truncated in its response body due to premature connection close (buffered) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 46: subrequests truncated in its response body due to premature connection close (buffered) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-status: 200
-body: hello world
-truncated: true
'
020-subrequest.t TEST 46: subrequests truncated in its response body due to premature connection close (buffered) - pattern "upstream prematurely closed connection" should match a line in error.log (req 0)
020-subrequest.t TEST 46: subrequests truncated in its response body due to premature connection close (buffered) - TCP query length ok got: '64'
expected: '65'
020-subrequest.t ERROR: client socket timed out - TEST 46: subrequests truncated in its response body due to premature connection close (buffered) '
020-subrequest.t TEST 46: subrequests truncated in its response body due to premature connection close (buffered) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 46: subrequests truncated in its response body due to premature connection close (buffered) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-status: 200
-body: hello world
-truncated: true
'
020-subrequest.t TEST 46: subrequests truncated in its response body due to premature connection close (buffered) - TCP query length ok got: '64'
expected: '65'
020-subrequest.t ERROR: client socket timed out - TEST 48: subrequests truncated in its response body due to premature connection close (buffered, no content-length) '
020-subrequest.t TEST 48: subrequests truncated in its response body due to premature connection close (buffered, no content-length) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 48: subrequests truncated in its response body due to premature connection close (buffered, no content-length) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-status: 200
-body: hello world
-truncated: false
'
020-subrequest.t TEST 48: subrequests truncated in its response body due to premature connection close (buffered, no content-length) - TCP query length ok got: '64'
expected: '65'
020-subrequest.t ERROR: client socket timed out - TEST 48: subrequests truncated in its response body due to premature connection close (buffered, no content-length) '
020-subrequest.t TEST 48: subrequests truncated in its response body due to premature connection close (buffered, no content-length) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 48: subrequests truncated in its response body due to premature connection close (buffered, no content-length) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-status: 200
-body: hello world
-truncated: false
'
020-subrequest.t TEST 48: subrequests truncated in its response body due to premature connection close (buffered, no content-length) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:11:14 [error] 17164\#17164: *1 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/proxy\", upstream: \"http://127.0.0.1:9649/proxy\", host: \"localhost\"" (req 1) 2023/12/28 09:11:14 [debug] 17164\#17164: *1 http next upstream, 2
2023/12/28 09:11:14 [debug] 17164\#17164: *1 free rr peer 1 4
2023/12/28 09:11:14 [debug] 17164\#17164: *1 finalize http upstream request: 502
2023/12/28 09:11:14 [debug] 17164\#17164: *1 finalize http proxy request
2023/12/28 09:11:14 [debug] 17164\#17164: *1 close http upstream connection: 9
2023/12/28 09:11:14 [debug] 17164\#17164: *1 event timer del: 9: 590061
2023/12/28 09:11:14 [debug] 17164\#17164: *1 poll del event: fd:9 ev:1
2023/12/28 09:11:14 [debug] 17164\#17164: *1 reusable connection: 0
2023/12/28 09:11:14 [debug] 17164\#17164: *1 http finalize request: 502, "/proxy?" a:0, c:2
'
020-subrequest.t TEST 48: subrequests truncated in its response body due to premature connection close (buffered, no content-length) - TCP query length ok got: '64'
expected: '65'
020-subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
020-subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
020-subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
020-subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
020-subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
020-subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
020-subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
020-subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
020-subrequest.t ERROR: client socket timed out - TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) '
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
'
020-subrequest.t ERROR: client socket timed out - TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) '
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
'
023-rewrite/mixed.t ERROR: client socket timed out - TEST 1: rewrite I/O with content I/O '
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - status code ok got: ''
expected: '200'
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "content GET: 404\x{0a}content PUT: 201\x{0a}content cached: "...
length: 56
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - grep_error_log_out (req 0) got: ""
length: 0
expected: "rewrite GET: 404\x{0a}rewrite PUT: 201\x{0a}rewrite cached: "...
length: 56
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/mixed.t ERROR: client socket timed out - TEST 1: rewrite I/O with content I/O '
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - status code ok got: ''
expected: '200'
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "content GET: 404\x{0a}content PUT: 201\x{0a}content cached: "...
length: 56
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - grep_error_log_out (req 1) got: ""
length: 0
expected: "rewrite GET: 404\x{0a}rewrite PUT: 201\x{0a}rewrite cached: "...
length: 56
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 0, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 1, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 2, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 3, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 4, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 5, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 6, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 7, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 8, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 9, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 2, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 3, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 4, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 5, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 6, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 7, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 8, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 9, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 0, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 1, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 2, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 3, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 4, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 5, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 6, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 7, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 8, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 9, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 1: sanity '
023-rewrite/socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-rewrite/socket-keepalive.t TEST 1: sanity - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"
-lua tcp socket get keepalive peer: using connection
'
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 1: sanity '
023-rewrite/socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-rewrite/socket-keepalive.t TEST 1: sanity - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-lua tcp socket get keepalive peer: using connection
-lua tcp socket get keepalive peer: using connection
'
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 2: free up the whole connection pool if no active connections '
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 2: free up the whole connection pool if no active connections '
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 12: github issue \#108: ngx.location.capture + redis.set_keepalive '
023-rewrite/socket-keepalive.t TEST 12: github issue \#108: ngx.location.capture + redis.set_keepalive - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 12: github issue \#108: ngx.location.capture + redis.set_keepalive - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
023-rewrite/socket-keepalive.t TEST 12: github issue \#108: ngx.location.capture + redis.set_keepalive - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 12: github issue \#108: ngx.location.capture + redis.set_keepalive '
023-rewrite/socket-keepalive.t TEST 12: github issue \#108: ngx.location.capture + redis.set_keepalive - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 12: github issue \#108: ngx.location.capture + redis.set_keepalive - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
023-rewrite/socket-keepalive.t TEST 12: github issue \#108: ngx.location.capture + redis.set_keepalive - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit '
023-rewrite/socket-keepalive.t TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - status code ok got: ''
expected: '404'
023-rewrite/socket-keepalive.t TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'Not found, dear...
'
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit '
023-rewrite/socket-keepalive.t TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - status code ok got: ''
expected: '404'
023-rewrite/socket-keepalive.t TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'Not found, dear...
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 22: more args '
023-rewrite/subrequest.t TEST 22: more args - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 22: more args - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-copass: res 404
-copas: capture /memc_set
-copss: status 200
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 22: more args '
023-rewrite/subrequest.t TEST 22: more args - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 22: more args - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-copass: res 404
-copas: capture /memc_set
-copss: status 200
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
023-rewrite/subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
023-rewrite/subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
023-rewrite/subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
023-rewrite/subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
023-rewrite/tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}connected again: 1\x{0a}request sent: 11\x{0a}r"...
length: 75
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
023-rewrite/tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}connected again: 1\x{0a}request sent: 11\x{0a}r"...
length: 75
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 21: cannot survive across request boundary (close) '
023-rewrite/tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
023-rewrite/tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: '500'
expected: '200'
023-rewrite/tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 34: bad request tries to receive '
023-rewrite/tcp-socket.t TEST 34: bad request tries to receive - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 34: bad request tries to receive - response_body_like - response is expected () ''
doesn't match '(?^ms:^connected
<html.*?500 Internal Server Error)'
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 20: cannot survive across request boundary (receive) '
023-rewrite/tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
023-rewrite/tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: '500'
expected: '200'
023-rewrite/tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
023-rewrite/tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "1: connected: 1\x{0a}2: connected: 1\x{0a}1: request sent: 1"...
length: 149
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
023-rewrite/tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "1: connected: 1\x{0a}2: connected: 1\x{0a}1: request sent: 1"...
length: 149
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 19: cannot survive across request boundary (send) '
023-rewrite/tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
023-rewrite/tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: '500'
expected: '200'
023-rewrite/tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) '
023-rewrite/tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 11\x{0a}received: OK\x{0a}close: "...
length: 77
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) '
023-rewrite/tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 11\x{0a}received: OK\x{0a}close: "...
length: 77
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
023-rewrite/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
023-rewrite/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
023-rewrite/uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
023-rewrite/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
023-rewrite/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
024-access/mixed.t ERROR: client socket timed out - TEST 1: access I/O with content I/O '
024-access/mixed.t TEST 1: access I/O with content I/O - status code ok got: ''
expected: '200'
024-access/mixed.t TEST 1: access I/O with content I/O - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-content GET: 404
-content PUT: 201
-content cached: hello
'
024-access/mixed.t TEST 1: access I/O with content I/O - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-access GET: 404
-access PUT: 201
-access cached: hello
'
024-access/mixed.t ERROR: client socket timed out - TEST 1: access I/O with content I/O '
024-access/mixed.t TEST 1: access I/O with content I/O - status code ok got: ''
expected: '200'
024-access/mixed.t TEST 1: access I/O with content I/O - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-content GET: 404
-content PUT: 201
-content cached: hello
'
024-access/mixed.t TEST 1: access I/O with content I/O - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-access GET: 404
-access PUT: 201
-access cached: hello
'
024-access/mixed.t ERROR: client socket timed out - TEST 6: rewrite I/O with access I/O with content I/O '
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - status code ok got: ''
expected: '200'
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-content GET: 404
-content PUT: 201
-content cached: hello
'
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - grep_error_log_out (req 0) @@ -1,6 +0,0 @@
-rewrite GET: 404
-rewrite PUT: 201
-rewrite cached: hello
-access GET: 404
-access PUT: 201
-access cached: hello
'
024-access/mixed.t ERROR: client socket timed out - TEST 6: rewrite I/O with access I/O with content I/O '
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - status code ok got: ''
expected: '200'
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-content GET: 404
-content PUT: 201
-content cached: hello
'
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - grep_error_log_out (req 1) @@ -1,6 +0,0 @@
-rewrite GET: 404
-rewrite PUT: 201
-rewrite cached: hello
-access GET: 404
-access PUT: 201
-access cached: hello
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 0, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 1, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 2, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 3, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 4, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 5, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 6, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 7, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 8, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 9, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 0, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 1, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 2, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 3, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 4, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 5, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 6, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 7, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 8, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 9, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 2, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 3, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 4, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 5, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 6, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 7, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 8, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 9, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
024-access/subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
024-access/subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "GET: 404\x{0a}PUT: 201\x{0a}cached: hello\x{0a}"
length: 32
strings begin to differ at char 1 (line 1 column 1)
024-access/subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
024-access/subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
024-access/subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "GET: 404\x{0a}PUT: 201\x{0a}cached: hello\x{0a}"
length: 32
strings begin to differ at char 1 (line 1 column 1)
024-access/subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
024-access/subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
024-access/subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "GET: 404\x{0a}PUT: 201\x{0a}cached: hello\x{0a}"
length: 32
strings begin to differ at char 1 (line 1 column 1)
024-access/subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
024-access/subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
024-access/subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "GET: 404\x{0a}PUT: 201\x{0a}cached: hello\x{0a}"
length: 32
strings begin to differ at char 1 (line 1 column 1)
024-access/uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
024-access/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
024-access/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
024-access/uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
024-access/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
024-access/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
025-codecache.t ERROR: client socket timed out - TEST 30: cosocket connection pool timeout (before Lua VM destroys) '
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should match a line in error.log (req 0)
025-codecache.t ERROR: client socket timed out - TEST 30: cosocket connection pool timeout (before Lua VM destroys) '
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1)
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should match a line in error.log (req 1)
025-codecache.t ERROR: client socket timed out - TEST 29: cosocket connection pool timeout (after Lua VM destroys) '
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t ERROR: client socket timed out - TEST 29: cosocket connection pool timeout (after Lua VM destroys) '
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1)
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 0, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 1, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 2, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 3, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 4, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 5, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 6, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 7, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 8, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 9, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 0, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 1, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 2, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 3, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 4, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 5, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 6, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 7, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 8, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 9, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 0) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 1) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 2) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 3, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 3) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 4, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 4) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 5, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 5) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 6, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 6) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 7, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 7) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 8, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 8) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 9, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 9) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 0, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 1, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 2, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 3, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 4, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 5, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:02 [error] 25314\#25314: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 5) 2023/12/28 09:29:02 [debug] 25314\#25314: *1 finalize http upstream request: 504
2023/12/28 09:29:02 [debug] 25314\#25314: *1 finalize http memcached request
2023/12/28 09:29:02 [debug] 25314\#25314: *1 close http upstream connection: 9
2023/12/28 09:29:02 [debug] 25314\#25314: *1 poll del event: fd:9 ev:1
2023/12/28 09:29:02 [debug] 25314\#25314: *1 index: copy event 26 to 3
2023/12/28 09:29:02 [debug] 25314\#25314: *1 reusable connection: 0
2023/12/28 09:29:02 [debug] 25314\#25314: *1 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2023/12/28 09:29:02 [debug] 25314\#25314: *1 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:02 [debug] 25314\#25314: *1 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:02 [error] 25314\#25314: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 5) 2023/12/28 09:29:02 [debug] 25314\#25314: *1 finalize http upstream request: 504
2023/12/28 09:29:02 [debug] 25314\#25314: *1 finalize http memcached request
2023/12/28 09:29:02 [debug] 25314\#25314: *1 close http upstream connection: 10
2023/12/28 09:29:02 [debug] 25314\#25314: *1 poll del event: fd:10 ev:1
2023/12/28 09:29:02 [debug] 25314\#25314: *1 index: copy event 26 to 4
2023/12/28 09:29:02 [debug] 25314\#25314: *1 reusable connection: 0
2023/12/28 09:29:02 [debug] 25314\#25314: *1 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2023/12/28 09:29:02 [debug] 25314\#25314: *1 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:02 [debug] 25314\#25314: *1 lua restoring write event handler
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 6, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:05 [error] 25314\#25314: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 6) 2023/12/28 09:29:05 [debug] 25314\#25314: *1 finalize http upstream request: 504
2023/12/28 09:29:05 [debug] 25314\#25314: *1 finalize http memcached request
2023/12/28 09:29:05 [debug] 25314\#25314: *1 close http upstream connection: 11
2023/12/28 09:29:05 [debug] 25314\#25314: *1 poll del event: fd:11 ev:1
2023/12/28 09:29:05 [debug] 25314\#25314: *1 index: copy event 30 to 5
2023/12/28 09:29:05 [debug] 25314\#25314: *1 reusable connection: 0
2023/12/28 09:29:05 [debug] 25314\#25314: *1 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2023/12/28 09:29:05 [debug] 25314\#25314: *1 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:05 [debug] 25314\#25314: *1 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:05 [error] 25314\#25314: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 6) 2023/12/28 09:29:05 [debug] 25314\#25314: *1 finalize http upstream request: 504
2023/12/28 09:29:05 [debug] 25314\#25314: *1 finalize http memcached request
2023/12/28 09:29:05 [debug] 25314\#25314: *1 close http upstream connection: 12
2023/12/28 09:29:05 [debug] 25314\#25314: *1 poll del event: fd:12 ev:1
2023/12/28 09:29:05 [debug] 25314\#25314: *1 index: copy event 30 to 2
2023/12/28 09:29:05 [debug] 25314\#25314: *1 reusable connection: 0
2023/12/28 09:29:05 [debug] 25314\#25314: *1 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2023/12/28 09:29:05 [debug] 25314\#25314: *1 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:05 [debug] 25314\#25314: *1 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:12 [error] 25314\#25314: *6 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 6) 2023/12/28 09:29:12 [debug] 25314\#25314: *6 finalize http upstream request: 504
2023/12/28 09:29:12 [debug] 25314\#25314: *6 finalize http memcached request
2023/12/28 09:29:12 [debug] 25314\#25314: *6 close http upstream connection: 14
2023/12/28 09:29:12 [debug] 25314\#25314: *6 poll del event: fd:14 ev:1
2023/12/28 09:29:12 [debug] 25314\#25314: *6 index: copy event 30 to 7
2023/12/28 09:29:12 [debug] 25314\#25314: *6 reusable connection: 0
2023/12/28 09:29:12 [debug] 25314\#25314: *6 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2023/12/28 09:29:12 [debug] 25314\#25314: *6 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:12 [debug] 25314\#25314: *6 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:12 [error] 25314\#25314: *6 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 6) 2023/12/28 09:29:12 [debug] 25314\#25314: *6 finalize http upstream request: 504
2023/12/28 09:29:12 [debug] 25314\#25314: *6 finalize http memcached request
2023/12/28 09:29:12 [debug] 25314\#25314: *6 close http upstream connection: 15
2023/12/28 09:29:12 [debug] 25314\#25314: *6 poll del event: fd:15 ev:1
2023/12/28 09:29:12 [debug] 25314\#25314: *6 index: copy event 30 to 8
2023/12/28 09:29:12 [debug] 25314\#25314: *6 reusable connection: 0
2023/12/28 09:29:12 [debug] 25314\#25314: *6 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2023/12/28 09:29:12 [debug] 25314\#25314: *6 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:12 [debug] 25314\#25314: *6 lua restoring write event handler
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 7, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:15 [error] 25314\#25314: *6 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 7) 2023/12/28 09:29:15 [debug] 25314\#25314: *6 finalize http upstream request: 504
2023/12/28 09:29:15 [debug] 25314\#25314: *6 finalize http memcached request
2023/12/28 09:29:15 [debug] 25314\#25314: *6 close http upstream connection: 16
2023/12/28 09:29:15 [debug] 25314\#25314: *6 poll del event: fd:16 ev:1
2023/12/28 09:29:15 [debug] 25314\#25314: *6 index: copy event 34 to 9
2023/12/28 09:29:15 [debug] 25314\#25314: *6 reusable connection: 0
2023/12/28 09:29:15 [debug] 25314\#25314: *6 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2023/12/28 09:29:15 [debug] 25314\#25314: *6 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:15 [debug] 25314\#25314: *6 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:15 [error] 25314\#25314: *6 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 7) 2023/12/28 09:29:15 [debug] 25314\#25314: *6 finalize http upstream request: 504
2023/12/28 09:29:15 [debug] 25314\#25314: *6 finalize http memcached request
2023/12/28 09:29:15 [debug] 25314\#25314: *6 close http upstream connection: 17
2023/12/28 09:29:15 [debug] 25314\#25314: *6 poll del event: fd:17 ev:1
2023/12/28 09:29:15 [debug] 25314\#25314: *6 index: copy event 34 to 6
2023/12/28 09:29:15 [debug] 25314\#25314: *6 reusable connection: 0
2023/12/28 09:29:15 [debug] 25314\#25314: *6 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2023/12/28 09:29:15 [debug] 25314\#25314: *6 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:15 [debug] 25314\#25314: *6 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:22 [error] 25314\#25314: *11 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 7) 2023/12/28 09:29:22 [debug] 25314\#25314: *11 finalize http upstream request: 504
2023/12/28 09:29:22 [debug] 25314\#25314: *11 finalize http memcached request
2023/12/28 09:29:22 [debug] 25314\#25314: *11 close http upstream connection: 19
2023/12/28 09:29:22 [debug] 25314\#25314: *11 poll del event: fd:19 ev:1
2023/12/28 09:29:22 [debug] 25314\#25314: *11 index: copy event 34 to 11
2023/12/28 09:29:22 [debug] 25314\#25314: *11 reusable connection: 0
2023/12/28 09:29:22 [debug] 25314\#25314: *11 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2023/12/28 09:29:22 [debug] 25314\#25314: *11 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:22 [debug] 25314\#25314: *11 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:22 [error] 25314\#25314: *11 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 7) 2023/12/28 09:29:22 [debug] 25314\#25314: *11 finalize http upstream request: 504
2023/12/28 09:29:22 [debug] 25314\#25314: *11 finalize http memcached request
2023/12/28 09:29:22 [debug] 25314\#25314: *11 close http upstream connection: 20
2023/12/28 09:29:22 [debug] 25314\#25314: *11 poll del event: fd:20 ev:1
2023/12/28 09:29:22 [debug] 25314\#25314: *11 index: copy event 34 to 12
2023/12/28 09:29:22 [debug] 25314\#25314: *11 reusable connection: 0
2023/12/28 09:29:22 [debug] 25314\#25314: *11 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2023/12/28 09:29:22 [debug] 25314\#25314: *11 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:22 [debug] 25314\#25314: *11 lua restoring write event handler
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 8, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:25 [error] 25314\#25314: *11 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 8) 2023/12/28 09:29:25 [debug] 25314\#25314: *11 finalize http upstream request: 504
2023/12/28 09:29:25 [debug] 25314\#25314: *11 finalize http memcached request
2023/12/28 09:29:25 [debug] 25314\#25314: *11 close http upstream connection: 21
2023/12/28 09:29:25 [debug] 25314\#25314: *11 poll del event: fd:21 ev:1
2023/12/28 09:29:25 [debug] 25314\#25314: *11 index: copy event 38 to 13
2023/12/28 09:29:25 [debug] 25314\#25314: *11 reusable connection: 0
2023/12/28 09:29:25 [debug] 25314\#25314: *11 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2023/12/28 09:29:25 [debug] 25314\#25314: *11 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:25 [debug] 25314\#25314: *11 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:25 [error] 25314\#25314: *11 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 8) 2023/12/28 09:29:25 [debug] 25314\#25314: *11 finalize http upstream request: 504
2023/12/28 09:29:25 [debug] 25314\#25314: *11 finalize http memcached request
2023/12/28 09:29:25 [debug] 25314\#25314: *11 close http upstream connection: 22
2023/12/28 09:29:25 [debug] 25314\#25314: *11 poll del event: fd:22 ev:1
2023/12/28 09:29:25 [debug] 25314\#25314: *11 index: copy event 38 to 10
2023/12/28 09:29:25 [debug] 25314\#25314: *11 reusable connection: 0
2023/12/28 09:29:25 [debug] 25314\#25314: *11 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2023/12/28 09:29:25 [debug] 25314\#25314: *11 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:25 [debug] 25314\#25314: *11 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:32 [error] 25314\#25314: *16 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 8) 2023/12/28 09:29:32 [debug] 25314\#25314: *16 finalize http upstream request: 504
2023/12/28 09:29:32 [debug] 25314\#25314: *16 finalize http memcached request
2023/12/28 09:29:32 [debug] 25314\#25314: *16 close http upstream connection: 24
2023/12/28 09:29:32 [debug] 25314\#25314: *16 poll del event: fd:24 ev:1
2023/12/28 09:29:32 [debug] 25314\#25314: *16 index: copy event 38 to 15
2023/12/28 09:29:32 [debug] 25314\#25314: *16 reusable connection: 0
2023/12/28 09:29:32 [debug] 25314\#25314: *16 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2023/12/28 09:29:32 [debug] 25314\#25314: *16 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:32 [debug] 25314\#25314: *16 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:32 [error] 25314\#25314: *16 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 8) 2023/12/28 09:29:32 [debug] 25314\#25314: *16 finalize http upstream request: 504
2023/12/28 09:29:32 [debug] 25314\#25314: *16 finalize http memcached request
2023/12/28 09:29:32 [debug] 25314\#25314: *16 close http upstream connection: 25
2023/12/28 09:29:32 [debug] 25314\#25314: *16 poll del event: fd:25 ev:1
2023/12/28 09:29:32 [debug] 25314\#25314: *16 index: copy event 38 to 16
2023/12/28 09:29:32 [debug] 25314\#25314: *16 reusable connection: 0
2023/12/28 09:29:32 [debug] 25314\#25314: *16 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2023/12/28 09:29:32 [debug] 25314\#25314: *16 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:32 [debug] 25314\#25314: *16 lua restoring write event handler
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 9, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:35 [error] 25314\#25314: *16 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 9) 2023/12/28 09:29:35 [debug] 25314\#25314: *16 finalize http upstream request: 504
2023/12/28 09:29:35 [debug] 25314\#25314: *16 finalize http memcached request
2023/12/28 09:29:35 [debug] 25314\#25314: *16 close http upstream connection: 26
2023/12/28 09:29:35 [debug] 25314\#25314: *16 poll del event: fd:26 ev:1
2023/12/28 09:29:35 [debug] 25314\#25314: *16 index: copy event 42 to 17
2023/12/28 09:29:35 [debug] 25314\#25314: *16 reusable connection: 0
2023/12/28 09:29:35 [debug] 25314\#25314: *16 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2023/12/28 09:29:35 [debug] 25314\#25314: *16 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:35 [debug] 25314\#25314: *16 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:35 [error] 25314\#25314: *16 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 9) 2023/12/28 09:29:35 [debug] 25314\#25314: *16 finalize http upstream request: 504
2023/12/28 09:29:35 [debug] 25314\#25314: *16 finalize http memcached request
2023/12/28 09:29:35 [debug] 25314\#25314: *16 close http upstream connection: 27
2023/12/28 09:29:35 [debug] 25314\#25314: *16 poll del event: fd:27 ev:1
2023/12/28 09:29:35 [debug] 25314\#25314: *16 index: copy event 42 to 14
2023/12/28 09:29:35 [debug] 25314\#25314: *16 reusable connection: 0
2023/12/28 09:29:35 [debug] 25314\#25314: *16 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2023/12/28 09:29:35 [debug] 25314\#25314: *16 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:35 [debug] 25314\#25314: *16 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:42 [error] 25314\#25314: *21 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 9) 2023/12/28 09:29:42 [debug] 25314\#25314: *21 finalize http upstream request: 504
2023/12/28 09:29:42 [debug] 25314\#25314: *21 finalize http memcached request
2023/12/28 09:29:42 [debug] 25314\#25314: *21 close http upstream connection: 29
2023/12/28 09:29:42 [debug] 25314\#25314: *21 poll del event: fd:29 ev:1
2023/12/28 09:29:42 [debug] 25314\#25314: *21 index: copy event 42 to 19
2023/12/28 09:29:42 [debug] 25314\#25314: *21 reusable connection: 0
2023/12/28 09:29:42 [debug] 25314\#25314: *21 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2023/12/28 09:29:42 [debug] 25314\#25314: *21 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:42 [debug] 25314\#25314: *21 lua restoring write event handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:29:42 [error] 25314\#25314: *21 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 9) 2023/12/28 09:29:42 [debug] 25314\#25314: *21 finalize http upstream request: 504
2023/12/28 09:29:42 [debug] 25314\#25314: *21 finalize http memcached request
2023/12/28 09:29:42 [debug] 25314\#25314: *21 close http upstream connection: 30
2023/12/28 09:29:42 [debug] 25314\#25314: *21 poll del event: fd:30 ev:1
2023/12/28 09:29:42 [debug] 25314\#25314: *21 index: copy event 42 to 20
2023/12/28 09:29:42 [debug] 25314\#25314: *21 reusable connection: 0
2023/12/28 09:29:42 [debug] 25314\#25314: *21 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2023/12/28 09:29:42 [debug] 25314\#25314: *21 lua run post subrequest handler, rc:504 c:11
2023/12/28 09:29:42 [debug] 25314\#25314: *21 lua restoring write event handler
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 2, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 3, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 4, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 5, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 6, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 7, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 8, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 9, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 0) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 1) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 2) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 3, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 3) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 4, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 4) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 5, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 5) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 6, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 6) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 7, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 7) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 8, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 8) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 9, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 9) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
058-tcp-socket.t ERROR: client socket timed out - TEST 19: cannot survive across request boundary (send) '
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: '500'
expected: '200'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
058-tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 20: cannot survive across request boundary (receive) '
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: '500'
expected: '200'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
058-tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) '
058-tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
-subrequest: 200, OK
'
058-tcp-socket.t ERROR: client socket timed out - TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) '
058-tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
-subrequest: 200, OK
'
058-tcp-socket.t ERROR: client socket timed out - TEST 61: options_table is nil '
058-tcp-socket.t TEST 61: options_table is nil - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 61: options_table is nil - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 61: options_table is nil '
058-tcp-socket.t TEST 61: options_table is nil - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 61: options_table is nil - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 21: cannot survive across request boundary (close) '
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: '500'
expected: '200'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
060-lua-memcached.t ERROR: client socket timed out - TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t ERROR: client socket timed out - TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t ERROR: client socket timed out - TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 0)
060-lua-memcached.t ERROR: client socket timed out - TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 1)
066-socket-receiveuntil.t ERROR: client socket timed out - TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
066-socket-receiveuntil.t ERROR: client socket timed out - TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 1: sanity '
068-socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
-connected: 1, reused: 1
-request sent: 11
-received: OK
'
068-socket-keepalive.t TEST 1: sanity - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 1: sanity - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
068-socket-keepalive.t ERROR: client socket timed out - TEST 2: free up the whole connection pool if no active connections '
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
-connected: 1, reused: 1
-request sent: 11
-received: OK
'
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t ERROR: client socket timed out - TEST 13: github issue \#108: ngx.location.capture + redis.set_keepalive '
068-socket-keepalive.t TEST 13: github issue \#108: ngx.location.capture + redis.set_keepalive - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 13: github issue \#108: ngx.location.capture + redis.set_keepalive - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
068-socket-keepalive.t TEST 13: github issue \#108: ngx.location.capture + redis.set_keepalive - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t ERROR: client socket timed out - TEST 14: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit '
068-socket-keepalive.t TEST 14: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - status code ok got: ''
expected: '404'
068-socket-keepalive.t TEST 14: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'Not found, dear...
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() '
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
-connected: 1, reused: 1
-request sent: 11
-received: OK
-reused: 1
-reused: 0
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool '
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: A, reused: 0
-connected: B, reused: 0
-connected: A, reused: 1
-connected: B, reused: 1
-reused: 1
-reused: 0
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 30: conn queuing: connect() uses lua_socket_pool_size as default if 'backlog' is given '
068-socket-keepalive.t TEST 30: conn queuing: connect() uses lua_socket_pool_size as default if 'backlog' is given - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 30: conn queuing: connect() uses lua_socket_pool_size as default if 'backlog' is given - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 31: conn queuing: more connect operations than 'backlog' size '
068-socket-keepalive.t TEST 31: conn queuing: more connect operations than 'backlog' size - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 31: conn queuing: more connect operations than 'backlog' size - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-too many waiting connect operations
-reused: 1
-too many waiting connect operations
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog '
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-request sent: 11
-received: OK
-setkeepalive: OK
'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - grep_error_log_out (req 0) @@ -1,4 +1,2 @@
-start to handle timer
start to handle cosocket
-continue to handle timer
+start to handle timer
-continue to handle cosocket
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 34: conn queuing: connect until backlog is reached '
068-socket-keepalive.t TEST 34: conn queuing: connect until backlog is reached - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 34: conn queuing: connect until backlog is reached - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'too many waiting connect operations
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 39: conn queuing: in rewrite_by_lua '
068-socket-keepalive.t TEST 39: conn queuing: in rewrite_by_lua - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 39: conn queuing: in rewrite_by_lua - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-too many waiting connect operations
-start to handle uthread
-continue to handle other uthread
-start to handle uthread
-continue to handle other uthread
-all uthreads ok
'
068-socket-keepalive.t TEST 42: conn queuing: set timeout via lua_socket_connect_timeout - pattern "lua tcp socket queued connect timed out, when trying to connect to 127.0.0.1:11211" should match a line in error.log (req 0)
068-socket-keepalive.t ERROR: client socket timed out - TEST 45: conn queuing: resume connect operation if resumed connect failed (timeout) '
068-socket-keepalive.t TEST 45: conn queuing: resume connect operation if resumed connect failed (timeout) - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 45: conn queuing: resume connect operation if resumed connect failed (timeout) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-timeout
-connected in uthread
-ok
'
068-socket-keepalive.t TEST 48: conn queuing: resume connect operation if resumed connect failed (uthread aborted while resolving) - pattern "resume success" should match a line in error.log (req 0)
071-idle-socket.t ERROR: client socket timed out - TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
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 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t ERROR: client socket timed out - TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
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 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 4: send timer cleared in time - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
-close: 1 nil
'
071-idle-socket.t TEST 4: send timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:42:01 [error] 786\#786: *1 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2023/12/28 09:42:01 [debug] 786\#786: *1 lua tcp socket handle read error
2023/12/28 09:42:01 [debug] 786\#786: *1 lua tcp socket waking up the current request
2023/12/28 09:42:01 [debug] 786\#786: *1 lua tcp operation done, resuming lua thread
2023/12/28 09:42:01 [debug] 786\#786: *1 lua tcp socket calling prepare retvals handler 0817C356, u:B6E1C180
2023/12/28 09:42:01 [debug] 786\#786: *1 lua tcp socket receive return value handler
2023/12/28 09:42:01 [debug] 786\#786: *1 lua run thread, top:9 c:1
2023/12/28 09:42:01 [debug] 786\#786: *1 malloc: 08AFFD30:8
2023/12/28 09:42:01 [debug] 786\#786: *1 malloc: 08AFD808:8
2023/12/28 09:42:01 [debug] 786\#786: *1 lua allocate new chainlink and new buf of size 37, cl:08AFFD30
'
071-idle-socket.t TEST 4: send timer cleared in time - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
-close: 1 nil
'
071-idle-socket.t TEST 4: send timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:42:02 [error] 786\#786: *3 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2023/12/28 09:42:02 [debug] 786\#786: *3 lua tcp socket handle read error
2023/12/28 09:42:02 [debug] 786\#786: *3 lua tcp socket waking up the current request
2023/12/28 09:42:02 [debug] 786\#786: *3 lua tcp operation done, resuming lua thread
2023/12/28 09:42:02 [debug] 786\#786: *3 lua tcp socket calling prepare retvals handler 0817C356, u:B6DECD20
2023/12/28 09:42:02 [debug] 786\#786: *3 lua tcp socket receive return value handler
2023/12/28 09:42:02 [debug] 786\#786: *3 lua run thread, top:0 c:1
2023/12/28 09:42:02 [debug] 786\#786: *3 malloc: 08AFD7D8:8
2023/12/28 09:42:02 [debug] 786\#786: *3 malloc: 08AFD7E8:8
2023/12/28 09:42:02 [debug] 786\#786: *3 lua allocate new chainlink and new buf of size 37, cl:08AFD7D8
'
071-idle-socket.t TEST 2: read timer cleared in time - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
request sent again: 11
close: 1 nil
'
071-idle-socket.t TEST 2: read timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:42:05 [error] 822\#822: *1 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2023/12/28 09:42:05 [debug] 822\#822: *1 lua tcp socket handle read error
2023/12/28 09:42:05 [debug] 822\#822: *1 lua tcp socket waking up the current request
2023/12/28 09:42:05 [debug] 822\#822: *1 lua tcp operation done, resuming lua thread
2023/12/28 09:42:05 [debug] 822\#822: *1 lua tcp socket calling prepare retvals handler 0817C356, u:B6E07F68
2023/12/28 09:42:05 [debug] 822\#822: *1 lua tcp socket receive return value handler
2023/12/28 09:42:05 [debug] 822\#822: *1 lua run thread, top:9 c:1
2023/12/28 09:42:05 [debug] 822\#822: *1 malloc: 08952A90:8
2023/12/28 09:42:05 [debug] 822\#822: *1 malloc: 08952AA0:8
2023/12/28 09:42:05 [debug] 822\#822: *1 lua allocate new chainlink and new buf of size 37, cl:08952A90
'
071-idle-socket.t TEST 2: read timer cleared in time - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,5 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
request sent again: 11
close: 1 nil
'
071-idle-socket.t TEST 2: read timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:42:06 [error] 822\#822: *3 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2023/12/28 09:42:06 [debug] 822\#822: *3 lua tcp socket handle read error
2023/12/28 09:42:06 [debug] 822\#822: *3 lua tcp socket waking up the current request
2023/12/28 09:42:06 [debug] 822\#822: *3 lua tcp operation done, resuming lua thread
2023/12/28 09:42:06 [debug] 822\#822: *3 lua tcp socket calling prepare retvals handler 0817C356, u:B6E2FB08
2023/12/28 09:42:06 [debug] 822\#822: *3 lua tcp socket receive return value handler
2023/12/28 09:42:06 [debug] 822\#822: *3 lua run thread, top:0 c:1
2023/12/28 09:42:06 [debug] 822\#822: *3 malloc: 08952A58:8
2023/12/28 09:42:06 [debug] 822\#822: *3 malloc: 08952A68:8
2023/12/28 09:42:06 [debug] 822\#822: *3 lua allocate new chainlink and new buf of size 37, cl:08952A58
'
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to receive data: timeout) 'connected
failed to receive data: timeout
'
doesn't match '(?^s:^connected
1: received 12 bytes: []OK
2: received 12 bytes: []OK
$)'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:43:54 [error] 2096\#2096: *1 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) '
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to receive data: timeout) 'connected
failed to receive data: timeout
'
doesn't match '(?^s:^connected
1: received 12 bytes: []OK
2: received 12 bytes: []OK
$)'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:43:54 [error] 2096\#2096: *1 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) '
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:43:55 [error] 2096\#2096: *3 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) '
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:43:57 [error] 2125\#2125: *1 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp socket handle error
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp socket waking up the current request
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp operation done, resuming lua thread
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp socket calling prepare retvals handler 0818757E, u:B6D70600
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp socket receive return value handler
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp socket error retval handler
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua run thread, top:9 c:1
2023/12/28 09:43:57 [debug] 2125\#2125: *1 malloc: 0982F430:8
2023/12/28 09:43:57 [debug] 2125\#2125: *1 malloc: 0982F440:8
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:43:57 [error] 2125\#2125: *1 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp socket handle error
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp socket waking up the current request
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp operation done, resuming lua thread
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp socket calling prepare retvals handler 0818757E, u:B6D70600
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp socket receive return value handler
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua udp socket error retval handler
2023/12/28 09:43:57 [debug] 2125\#2125: *1 lua run thread, top:9 c:1
2023/12/28 09:43:57 [debug] 2125\#2125: *1 malloc: 0982F430:8
2023/12/28 09:43:57 [debug] 2125\#2125: *1 malloc: 0982F440:8
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:43:58 [error] 2125\#2125: *3 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2023/12/28 09:43:58 [debug] 2125\#2125: *3 lua udp socket handle error
2023/12/28 09:43:58 [debug] 2125\#2125: *3 lua udp socket waking up the current request
2023/12/28 09:43:58 [debug] 2125\#2125: *3 lua udp operation done, resuming lua thread
2023/12/28 09:43:58 [debug] 2125\#2125: *3 lua udp socket calling prepare retvals handler 0818757E, u:B6DB87E8
2023/12/28 09:43:58 [debug] 2125\#2125: *3 lua udp socket receive return value handler
2023/12/28 09:43:58 [debug] 2125\#2125: *3 lua udp socket error retval handler
2023/12/28 09:43:58 [debug] 2125\#2125: *3 lua run thread, top:0 c:1
2023/12/28 09:43:58 [debug] 2125\#2125: *3 malloc: 0982F420:8
2023/12/28 09:43:58 [debug] 2125\#2125: *3 malloc: 0982F430:8
'
087-udp-socket.t ERROR: client socket timed out - TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
087-udp-socket.t ERROR: client socket timed out - TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
087-udp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:44:11 [error] 2245\#2245: *1 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp socket handle error
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp socket waking up the current request
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp operation done, resuming lua thread
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp socket calling prepare retvals handler 0818757E, u:B6D71E60
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp socket receive return value handler
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp socket error retval handler
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua run thread, top:9 c:1
2023/12/28 09:44:11 [debug] 2245\#2245: *1 malloc: 08AE2420:8
2023/12/28 09:44:11 [debug] 2245\#2245: *1 malloc: 08AE2430:8
'
087-udp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:44:11 [error] 2245\#2245: *1 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp socket handle error
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp socket waking up the current request
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp operation done, resuming lua thread
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp socket calling prepare retvals handler 0818757E, u:B6D71E60
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp socket receive return value handler
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua udp socket error retval handler
2023/12/28 09:44:11 [debug] 2245\#2245: *1 lua run thread, top:9 c:1
2023/12/28 09:44:11 [debug] 2245\#2245: *1 malloc: 08AE2420:8
2023/12/28 09:44:11 [debug] 2245\#2245: *1 malloc: 08AE2430:8
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:44:13 [error] 2245\#2245: *3 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2023/12/28 09:44:13 [debug] 2245\#2245: *3 lua udp socket handle error
2023/12/28 09:44:13 [debug] 2245\#2245: *3 lua udp socket waking up the current request
2023/12/28 09:44:13 [debug] 2245\#2245: *3 lua udp operation done, resuming lua thread
2023/12/28 09:44:13 [debug] 2245\#2245: *3 lua udp socket calling prepare retvals handler 0818757E, u:B6D76728
2023/12/28 09:44:13 [debug] 2245\#2245: *3 lua udp socket receive return value handler
2023/12/28 09:44:13 [debug] 2245\#2245: *3 lua udp socket error retval handler
2023/12/28 09:44:13 [debug] 2245\#2245: *3 lua run thread, top:0 c:1
2023/12/28 09:44:13 [debug] 2245\#2245: *3 malloc: 08AE2410:8
2023/12/28 09:44:13 [debug] 2245\#2245: *3 malloc: 08AE2420:8
'
093-uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
093-uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
093-uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
093-uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "go(): received: OK" should match a line in error.log (req 1)
106-timer.t TEST 13: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
106-timer.t TEST 13: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
106-timer.t TEST 13: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
106-timer.t TEST 13: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "go(): received: OK" should match a line in error.log (req 1)
106-timer.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
106-timer.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
106-timer.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
106-timer.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - pattern "go(): received: OK" should match a line in error.log (req 1)
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "(?^:go\(\): connected: 1, reused: \d+)" should match a line in error.log (req 1)
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "go(): request sent: 11" should match a line in error.log (req 1)
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "go(): received: OK" should match a line in error.log (req 1)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "http lua close fake http connection" should match a line in error.log (req 0)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 0)'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "http lua close fake http connection" should match a line in error.log (req 1)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 1)'
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "http lua close fake http connection" should match a line in error.log (req 0)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 0)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "http lua close fake http connection" should match a line in error.log (req 1)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 1)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "http lua close fake http connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 0)'
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "http lua close fake http connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 1)'
108-timer-safe.t TEST 9: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 9: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
108-timer-safe.t TEST 9: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 9: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - pattern "go(): received: OK" should match a line in error.log (req 1)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "http lua close fake http connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 0)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "http lua close fake http connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 1)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "(?^:go\(\): connected: 1, reused: \d+)" should match a line in error.log (req 1)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "go(): request sent: 11" should match a line in error.log (req 1)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "go(): received: OK" should match a line in error.log (req 1)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "go(): received: OK" should match a line in error.log (req 1)
108-timer-safe.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
108-timer-safe.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "go(): received: OK" should match a line in error.log (req 1)
124-init-worker.t TEST 4: timer.at + cosocket - response_body - response is expected (repeated req 0, req 0) got: 'timed out
'
expected: 'ok
'
124-init-worker.t TEST 4: timer.at + cosocket - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - response_body - response is expected (repeated req 0, req 0) got: 'timed out
'
expected: 'ok
'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
128-duplex-tcp-socket.t ERROR: client socket timed out - TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
128-duplex-tcp-socket.t ERROR: client socket timed out - TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
ssl handshake: true
-connected: 1
+failed to set keepalive: connection in dubious state
-ssl handshake: true
'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,6 @@
connected: 1
ssl handshake: cdata
-set keepalive: 1 nil
+set keepalive: nil connection in dubious state
connected: 1
ssl handshake: cdata
set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 1) 'lua ssl save session: 0A315918
lua ssl save session: 0A331A08
lua ssl save session: 0A331A08
lua ssl free session: 0A331A08
lua ssl free session: 0A331A08
lua ssl free session: 0A315918
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,6 @@
connected: 1
ssl handshake: cdata
-set keepalive: 1 nil
+set keepalive: nil connection in dubious state
connected: 1
ssl handshake: cdata
set keepalive: 1 nil
'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 1) 'lua ssl save session: 09B3A948
lua ssl set session: 09B3A948
lua ssl save session: 09B56A38
lua ssl free session: 09B56A38
lua ssl free session: 09B3A948
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: \1
$)'
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: cdata
+failed to do SSL handshake: timeout
-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 "2023/12/28 09:54:13 [error] 8095\#8095: *4 lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua tcp socket handle read error
2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua tcp socket waking up the current request
2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua tcp operation done, resuming lua thread
2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua tcp socket calling prepare retvals handler 0817C356, u:B6E25180
2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua tcp socket receive return value handler
2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua run thread, top:0 c:1
2023/12/28 09:54:13 [error] 8095\#8095: *4 [lua] ssl_certificate_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua resume returned 0
2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua light thread ended normally
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:54:13 [error] 8095\#8095: *4 [lua] ssl_certificate_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua resume returned 0
2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua light thread ended normally
2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua deleting light thread B6E3D5F0 (ref 2)
2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua caching unused lua thread B6E3D5F0 (ref 2)
2023/12/28 09:54:13 [debug] 8095\#8095: *4 lua run thread returned 0
2023/12/28 09:54:13 [debug] 8095\#8095: *4 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:54:13 [debug] 8095\#8095: *4 http lua fake request count:1
2023/12/28 09:54:13 [debug] 8095\#8095: *4 http lua close fake request
2023/12/28 09:54:13 [debug] 8095\#8095: *4 cleanup lua tcp socket request: ""
'
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: cdata
+failed to do SSL handshake: timeout
-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 "2023/12/28 09:54:15 [error] 8095\#8095: *9 lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua tcp socket handle read error
2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua tcp socket waking up the current request
2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua tcp operation done, resuming lua thread
2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua tcp socket calling prepare retvals handler 0817C356, u:B6E16498
2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua tcp socket receive return value handler
2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua run thread, top:0 c:1
2023/12/28 09:54:15 [error] 8095\#8095: *9 [lua] ssl_certificate_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua resume returned 0
2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua light thread ended normally
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:54:15 [error] 8095\#8095: *9 [lua] ssl_certificate_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua resume returned 0
2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua light thread ended normally
2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua deleting light thread B6E34208 (ref 1)
2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua caching unused lua thread B6E34208 (ref 1)
2023/12/28 09:54:15 [debug] 8095\#8095: *9 lua run thread returned 0
2023/12/28 09:54:15 [debug] 8095\#8095: *9 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:54:15 [debug] 8095\#8095: *9 http lua fake request count:1
2023/12/28 09:54:15 [debug] 8095\#8095: *9 http lua close fake request
2023/12/28 09:54:15 [debug] 8095\#8095: *9 cleanup lua tcp socket request: ""
'
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: cdata
+failed to do SSL handshake: timeout
-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 "2023/12/28 09:54:17 [error] 8095\#8095: *14 lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua tcp socket handle read error
2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua tcp socket waking up the current request
2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua tcp operation done, resuming lua thread
2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua tcp socket calling prepare retvals handler 0817C356, u:B6E41AD8
2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua tcp socket receive return value handler
2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua run thread, top:0 c:1
2023/12/28 09:54:17 [error] 8095\#8095: *14 [lua] ssl_certificate_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua resume returned 0
2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua light thread ended normally
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:54:17 [error] 8095\#8095: *14 [lua] ssl_certificate_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua resume returned 0
2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua light thread ended normally
2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua deleting light thread B6E3D5F0 (ref 2)
2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua caching unused lua thread B6E3D5F0 (ref 2)
2023/12/28 09:54:17 [debug] 8095\#8095: *14 lua run thread returned 0
2023/12/28 09:54:17 [debug] 8095\#8095: *14 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:54:17 [debug] 8095\#8095: *14 http lua fake request count:1
2023/12/28 09:54:17 [debug] 8095\#8095: *14 http lua close fake request
2023/12/28 09:54:17 [debug] 8095\#8095: *14 cleanup lua tcp socket request: ""
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 0) got: ''
expected: 'received memc reply of 12 bytes
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:54:23 [error] 8179\#8179: *4 lua udp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua udp socket handle error
2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua udp socket waking up the current request
2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua udp operation done, resuming lua thread
2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua udp socket calling prepare retvals handler 0818757E, u:B6DCE910
2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua udp socket receive return value handler
2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua udp socket error retval handler
2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua run thread, top:9 c:1
2023/12/28 09:54:23 [error] 8179\#8179: *4 [lua] ssl_certificate_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua resume returned 0
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:54:23 [error] 8179\#8179: *4 [lua] ssl_certificate_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua resume returned 0
2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua light thread ended normally
2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua deleting light thread B6DC83D8 (ref 2)
2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua caching unused lua thread B6DC83D8 (ref 2)
2023/12/28 09:54:23 [debug] 8179\#8179: *4 lua run thread returned 0
2023/12/28 09:54:23 [debug] 8179\#8179: *4 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:54:23 [debug] 8179\#8179: *4 http lua fake request count:1
2023/12/28 09:54:23 [debug] 8179\#8179: *4 http lua close fake request
2023/12/28 09:54:23 [debug] 8179\#8179: *4 http lua close fake http connection 08EE6580
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 1) got: ''
expected: 'received memc reply of 12 bytes
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:54:24 [error] 8179\#8179: *9 lua udp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua udp socket handle error
2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua udp socket waking up the current request
2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua udp operation done, resuming lua thread
2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua udp socket calling prepare retvals handler 0818757E, u:B6DD6BB0
2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua udp socket receive return value handler
2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua udp socket error retval handler
2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua run thread, top:0 c:1
2023/12/28 09:54:24 [error] 8179\#8179: *9 [lua] ssl_certificate_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua resume returned 0
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:54:24 [error] 8179\#8179: *9 [lua] ssl_certificate_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua resume returned 0
2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua light thread ended normally
2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua deleting light thread B6DC83D8 (ref 2)
2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua caching unused lua thread B6DC83D8 (ref 2)
2023/12/28 09:54:24 [debug] 8179\#8179: *9 lua run thread returned 0
2023/12/28 09:54:24 [debug] 8179\#8179: *9 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:54:24 [debug] 8179\#8179: *9 http lua fake request count:1
2023/12/28 09:54:24 [debug] 8179\#8179: *9 http lua close fake request
2023/12/28 09:54:24 [debug] 8179\#8179: *9 http lua close fake http connection 08EE6600
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:54:25 [error] 8179\#8179: *14 lua udp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua udp socket handle error
2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua udp socket waking up the current request
2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua udp operation done, resuming lua thread
2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua udp socket calling prepare retvals handler 0818757E, u:B6DB50D0
2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua udp socket receive return value handler
2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua udp socket error retval handler
2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua run thread, top:0 c:1
2023/12/28 09:54:25 [error] 8179\#8179: *14 [lua] ssl_certificate_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua resume returned 0
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:54:25 [error] 8179\#8179: *14 [lua] ssl_certificate_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua resume returned 0
2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua light thread ended normally
2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua deleting light thread B6DC83D8 (ref 2)
2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua caching unused lua thread B6DC83D8 (ref 2)
2023/12/28 09:54:25 [debug] 8179\#8179: *14 lua run thread returned 0
2023/12/28 09:54:25 [debug] 8179\#8179: *14 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:54:25 [debug] 8179\#8179: *14 http lua fake request count:1
2023/12/28 09:54:25 [debug] 8179\#8179: *14 http lua close fake request
2023/12/28 09:54:25 [debug] 8179\#8179: *14 http lua close fake http connection 08EE6580
'
143-ssl-session-fetch.t ERROR: client socket timed out - TEST 4: cosocket '
143-ssl-session-fetch.t TEST 4: cosocket - status code ok got: ''
expected: '200'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-connected: 1
-ssl handshake: cdata
-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 ERROR: client socket timed out - TEST 4: cosocket '
143-ssl-session-fetch.t TEST 4: cosocket - status code ok got: ''
expected: '200'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +0,0 @@
-connected: 1
-ssl handshake: cdata
-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 "2023/12/28 09:55:12 [error] 8592\#8592: *7 lua tcp socket read timed out, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua tcp socket handle read error
2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua tcp socket waking up the current request
2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua tcp operation done, resuming lua thread
2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua tcp socket calling prepare retvals handler 0817C356, u:B6E07008
2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua tcp socket receive return value handler
2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua run thread, top:0 c:1
2023/12/28 09:55:12 [error] 8592\#8592: *7 [lua] ssl_session_fetch_by_lua(nginx.conf:25):20: failed to receive memc reply: timeout, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua resume returned 0
2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua light thread ended normally
'
143-ssl-session-fetch.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:55:12 [error] 8592\#8592: *7 [lua] ssl_session_fetch_by_lua(nginx.conf:25):20: failed to receive memc reply: timeout, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua resume returned 0
2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua light thread ended normally
2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua deleting light thread B6E2CF50 (ref 2)
2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua caching unused lua thread B6E2CF50 (ref 2)
2023/12/28 09:55:12 [debug] 8592\#8592: *7 lua run thread returned 0
2023/12/28 09:55:12 [debug] 8592\#8592: *7 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:55:12 [debug] 8592\#8592: *7 http lua fake request count:1
2023/12/28 09:55:12 [debug] 8592\#8592: *7 http lua close fake request
2023/12/28 09:55:12 [debug] 8592\#8592: *7 cleanup lua tcp socket request: ""
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - grep_error_log_out (req 1) got: ''
expected: 'received memc reply of 12 bytes
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:55:26 [error] 8742\#8742: *7 lua udp socket read timed out, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua udp socket handle error
2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua udp socket waking up the current request
2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua udp operation done, resuming lua thread
2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua udp socket calling prepare retvals handler 0818757E, u:B6D73B98
2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua udp socket receive return value handler
2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua udp socket error retval handler
2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua run thread, top:0 c:1
2023/12/28 09:55:26 [error] 8742\#8742: *7 [lua] ssl_session_fetch_by_lua(nginx.conf:25):21: failed to receive memc reply: timeout, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua resume returned 0
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:55:26 [error] 8742\#8742: *7 [lua] ssl_session_fetch_by_lua(nginx.conf:25):21: failed to receive memc reply: timeout, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua resume returned 0
2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua light thread ended normally
2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua deleting light thread B6DC06A8 (ref 2)
2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua caching unused lua thread B6DC06A8 (ref 2)
2023/12/28 09:55:26 [debug] 8742\#8742: *7 lua run thread returned 0
2023/12/28 09:55:26 [debug] 8742\#8742: *7 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:55:26 [debug] 8742\#8742: *7 http lua fake request count:1
2023/12/28 09:55:26 [debug] 8742\#8742: *7 http lua close fake request
2023/12/28 09:55:26 [debug] 8742\#8742: *7 http lua close fake http connection 0856A728
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:55:27 [error] 8742\#8742: *12 lua udp socket read timed out, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua udp socket handle error
2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua udp socket waking up the current request
2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua udp operation done, resuming lua thread
2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua udp socket calling prepare retvals handler 0818757E, u:B6DB93A8
2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua udp socket receive return value handler
2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua udp socket error retval handler
2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua run thread, top:0 c:1
2023/12/28 09:55:27 [error] 8742\#8742: *12 [lua] ssl_session_fetch_by_lua(nginx.conf:25):21: failed to receive memc reply: timeout, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua resume returned 0
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:55:27 [error] 8742\#8742: *12 [lua] ssl_session_fetch_by_lua(nginx.conf:25):21: failed to receive memc reply: timeout, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua resume returned 0
2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua light thread ended normally
2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua deleting light thread B6DC06A8 (ref 2)
2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua caching unused lua thread B6DC06A8 (ref 2)
2023/12/28 09:55:27 [debug] 8742\#8742: *12 lua run thread returned 0
2023/12/28 09:55:27 [debug] 8742\#8742: *12 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:55:27 [debug] 8742\#8742: *12 http lua fake request count:1
2023/12/28 09:55:27 [debug] 8742\#8742: *12 http lua close fake request
2023/12/28 09:55:27 [debug] 8742\#8742: *12 http lua close fake http connection 0856A7A8
'
145-shdict-list.t TEST 22: lpush return nil - response_body - response is expected (repeated req 0, req 0) got: '2921
'
expected: 'nil
'
Looks like you failed 1 test of 66.
166-ssl-client-hello.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: cdata
+failed to do SSL handshake: timeout
-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
'
166-ssl-client-hello.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
166-ssl-client-hello.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:16 [error] 10213\#10213: *4 lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua tcp socket handle read error
2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua tcp socket waking up the current request
2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua tcp operation done, resuming lua thread
2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua tcp socket calling prepare retvals handler 0817C356, u:B6D63A30
2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua tcp socket receive return value handler
2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua run thread, top:0 c:1
2023/12/28 09:57:16 [error] 10213\#10213: *4 [lua] ssl_client_hello_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua resume returned 0
2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua light thread ended normally
'
166-ssl-client-hello.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:16 [error] 10213\#10213: *4 [lua] ssl_client_hello_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua resume returned 0
2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua light thread ended normally
2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua deleting light thread B6D7E298 (ref 2)
2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua caching unused lua thread B6D7E298 (ref 2)
2023/12/28 09:57:16 [debug] 10213\#10213: *4 lua run thread returned 0
2023/12/28 09:57:16 [debug] 10213\#10213: *4 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:57:16 [debug] 10213\#10213: *4 http lua fake request count:1
2023/12/28 09:57:16 [debug] 10213\#10213: *4 http lua close fake request
2023/12/28 09:57:16 [debug] 10213\#10213: *4 cleanup lua tcp socket request: ""
'
166-ssl-client-hello.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: cdata
+failed to do SSL handshake: timeout
-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
'
166-ssl-client-hello.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1)
166-ssl-client-hello.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:19 [error] 10213\#10213: *9 lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua tcp socket handle read error
2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua tcp socket waking up the current request
2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua tcp operation done, resuming lua thread
2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua tcp socket calling prepare retvals handler 0817C356, u:B6D5F370
2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua tcp socket receive return value handler
2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua run thread, top:0 c:1
2023/12/28 09:57:19 [error] 10213\#10213: *9 [lua] ssl_client_hello_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua resume returned 0
2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua light thread ended normally
'
166-ssl-client-hello.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:19 [error] 10213\#10213: *9 [lua] ssl_client_hello_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua resume returned 0
2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua light thread ended normally
2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua deleting light thread B6D7E208 (ref 1)
2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua caching unused lua thread B6D7E208 (ref 1)
2023/12/28 09:57:19 [debug] 10213\#10213: *9 lua run thread returned 0
2023/12/28 09:57:19 [debug] 10213\#10213: *9 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:57:19 [debug] 10213\#10213: *9 http lua fake request count:1
2023/12/28 09:57:19 [debug] 10213\#10213: *9 http lua close fake request
2023/12/28 09:57:19 [debug] 10213\#10213: *9 cleanup lua tcp socket request: ""
'
166-ssl-client-hello.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: cdata
+failed to do SSL handshake: timeout
-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
'
166-ssl-client-hello.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2)
166-ssl-client-hello.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:21 [error] 10213\#10213: *14 lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua tcp socket handle read error
2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua tcp socket waking up the current request
2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua tcp operation done, resuming lua thread
2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua tcp socket calling prepare retvals handler 0817C356, u:B6D3A390
2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua tcp socket receive return value handler
2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua run thread, top:0 c:1
2023/12/28 09:57:21 [error] 10213\#10213: *14 [lua] ssl_client_hello_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua resume returned 0
2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua light thread ended normally
'
166-ssl-client-hello.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:21 [error] 10213\#10213: *14 [lua] ssl_client_hello_by_lua(nginx.conf:28):20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua resume returned 0
2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua light thread ended normally
2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua deleting light thread B6D7E298 (ref 2)
2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua caching unused lua thread B6D7E298 (ref 2)
2023/12/28 09:57:21 [debug] 10213\#10213: *14 lua run thread returned 0
2023/12/28 09:57:21 [debug] 10213\#10213: *14 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:57:21 [debug] 10213\#10213: *14 http lua fake request count:1
2023/12/28 09:57:21 [debug] 10213\#10213: *14 http lua close fake request
2023/12/28 09:57:21 [debug] 10213\#10213: *14 cleanup lua tcp socket request: ""
'
166-ssl-client-hello.t TEST 28: cosocket (UDP) - grep_error_log_out (req 0) got: ''
expected: 'received memc reply of 12 bytes
'
166-ssl-client-hello.t TEST 28: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:26 [error] 10288\#10288: *4 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua udp socket handle error
2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua udp socket waking up the current request
2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua udp operation done, resuming lua thread
2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua udp socket calling prepare retvals handler 0818757E, u:B6E16F18
2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua udp socket receive return value handler
2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua udp socket error retval handler
2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua run thread, top:9 c:1
2023/12/28 09:57:26 [error] 10288\#10288: *4 [lua] ssl_client_hello_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua resume returned 0
'
166-ssl-client-hello.t TEST 28: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:26 [error] 10288\#10288: *4 [lua] ssl_client_hello_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua resume returned 0
2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua light thread ended normally
2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua deleting light thread B6DFD520 (ref 2)
2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua caching unused lua thread B6DFD520 (ref 2)
2023/12/28 09:57:26 [debug] 10288\#10288: *4 lua run thread returned 0
2023/12/28 09:57:26 [debug] 10288\#10288: *4 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:57:26 [debug] 10288\#10288: *4 http lua fake request count:1
2023/12/28 09:57:26 [debug] 10288\#10288: *4 http lua close fake request
2023/12/28 09:57:26 [debug] 10288\#10288: *4 http lua close fake http connection 085A1580
'
166-ssl-client-hello.t TEST 28: cosocket (UDP) - grep_error_log_out (req 1) got: ''
expected: 'received memc reply of 12 bytes
'
166-ssl-client-hello.t TEST 28: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:27 [error] 10288\#10288: *9 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua udp socket handle error
2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua udp socket waking up the current request
2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua udp operation done, resuming lua thread
2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua udp socket calling prepare retvals handler 0818757E, u:B6DF3208
2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua udp socket receive return value handler
2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua udp socket error retval handler
2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua run thread, top:0 c:1
2023/12/28 09:57:27 [error] 10288\#10288: *9 [lua] ssl_client_hello_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua resume returned 0
'
166-ssl-client-hello.t TEST 28: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:27 [error] 10288\#10288: *9 [lua] ssl_client_hello_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua resume returned 0
2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua light thread ended normally
2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua deleting light thread B6DFD520 (ref 2)
2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua caching unused lua thread B6DFD520 (ref 2)
2023/12/28 09:57:27 [debug] 10288\#10288: *9 lua run thread returned 0
2023/12/28 09:57:27 [debug] 10288\#10288: *9 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:57:27 [debug] 10288\#10288: *9 http lua fake request count:1
2023/12/28 09:57:27 [debug] 10288\#10288: *9 http lua close fake request
2023/12/28 09:57:27 [debug] 10288\#10288: *9 http lua close fake http connection 085A1600
'
166-ssl-client-hello.t TEST 28: cosocket (UDP) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'
166-ssl-client-hello.t TEST 28: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:29 [error] 10288\#10288: *14 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua udp socket handle error
2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua udp socket waking up the current request
2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua udp operation done, resuming lua thread
2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua udp socket calling prepare retvals handler 0818757E, u:B6DF7240
2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua udp socket receive return value handler
2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua udp socket error retval handler
2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua run thread, top:0 c:1
2023/12/28 09:57:29 [error] 10288\#10288: *14 [lua] ssl_client_hello_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua resume returned 0
'
166-ssl-client-hello.t TEST 28: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:29 [error] 10288\#10288: *14 [lua] ssl_client_hello_by_lua(nginx.conf:32):21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua resume returned 0
2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua light thread ended normally
2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua deleting light thread B6DFD520 (ref 2)
2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua caching unused lua thread B6DFD520 (ref 2)
2023/12/28 09:57:29 [debug] 10288\#10288: *14 lua run thread returned 0
2023/12/28 09:57:29 [debug] 10288\#10288: *14 http lua finalize fake request: 0, a:1, c:1
2023/12/28 09:57:29 [debug] 10288\#10288: *14 http lua fake request count:1
2023/12/28 09:57:29 [debug] 10288\#10288: *14 http lua close fake request
2023/12/28 09:57:29 [debug] 10288\#10288: *14 http lua close fake http connection 085A1580
'

Expected Failures

File Name Details
005-exit.t TEST 21: exit 403 in header filter - status code ok got: ''
expected: '403'
005-exit.t TEST 21: exit 403 in header filter - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
005-exit.t TEST 21: exit 403 in header filter - status code ok got: ''
expected: '403'
005-exit.t TEST 21: exit 403 in header filter - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
005-exit.t TEST 22: exit 201 in header filter - status code ok got: ''
expected: '201'
005-exit.t TEST 24: exit 444 in header filter - status code ok got: ''
expected: '444'
005-exit.t TEST 23: exit both in header filter and content handler - status code ok got: ''
expected: '201'
014-bugs.t nginx: [emerg] unexpected "A" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 0)
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2023/12/28 09:26:00 [debug] 24540\#24540: lua decrementing the reference count for Lua VM: 3" (req 0) 2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE66B0, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE60C8, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE74D8, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE5D80, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE5D70, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE6CB8, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE6478, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: posted event 09CD5368
2023/12/28 09:26:00 [debug] 24540\#24540: *1 delete posted event 09CD5368
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2023/12/28 09:26:00 [debug] 24540\#24540: lua decrementing the reference count for Lua VM: 3" (req 1) 2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE66B0, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE60C8, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE74D8, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE5D80, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE5D70, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE6CB8, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE6478, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: posted event 09CD5368
2023/12/28 09:26:00 [debug] 24540\#24540: *1 delete posted event 09CD5368
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2023/12/28 09:26:00 [debug] 24540\#24540: lua decrementing the reference count for Lua VM: 3" (req 1) 2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE61A8, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE6188, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE2230, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE2220, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE2210, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE2200, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: free: 09CE46F8, unused: 0
2023/12/28 09:26:00 [debug] 24540\#24540: posted event 09CD5368
2023/12/28 09:26:00 [debug] 24540\#24540: *4 delete posted event 09CD5368
'
041-header-filter.t TEST 41: filter finalize - status code ok got: ''
expected: '302'
041-header-filter.t TEST 41: filter finalize - response_body_like - response is expected () ''
doesn't match '(?^s:302 Found)'
041-header-filter.t TEST 41: filter finalize - status code ok got: ''
expected: '302'
041-header-filter.t TEST 41: filter finalize - response_body_like - response is expected () ''
doesn't match '(?^s:302 Found)'
043-shdict.t nginx: [emerg] lua_shared_dict "dogs" is already defined as "dogs" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 0)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 1)
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 65: receiveany method in cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 65: receiveany method in cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 0, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 1, req 0) got: 'h
'
expected: 'hello world
'
067-req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
067-req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
067-req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
067-req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - status code ok got: ''
expected: '412'
072-conditional-get.t TEST 3: If-Unmodified-Since false - response_body_like - response is expected () ''
doesn't match '(?^s:412 Precondition Failed)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
072-conditional-get.t TEST 3: If-Unmodified-Since false - status code ok got: ''
expected: '412'
072-conditional-get.t TEST 3: If-Unmodified-Since false - response_body_like - response is expected () ''
doesn't match '(?^s:412 Precondition Failed)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
086-init-by.t nginx: [error] init_by_lua error: init_by_lua(nginx.conf:25):2: failed to init
086-init-by.t nginx: [error] init_by_lua error: init_by_lua(nginx.conf:25):4: ')' expected (to close '(' at line 3) near 'ngx'
086-init-by.t nginx: [error] init_by_lua_file error: ...e/ec2-user/git/lua-nginx-module/t/servroot/html/init.lua:3: ')' expected (to close '(' at line 2) near 'ngx'
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua(nginx.conf:25):7: init_by_lua(nginx.conf:25):4: something went wrong
100-client-abort.t TEST 27: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 27: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 31: ngx.eof - pattern "eof failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 31: ngx.eof - pattern "eof succeeded" should not match any line in error.log but matches line "2023/12/28 09:46:34 [warn] 3734\#3734: *1 [lua] content_by_lua(nginx.conf:49):8: eof succeeded, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2023/12/28 09:46:34 [debug] 3734\#3734: *1 lua resume returned 0
2023/12/28 09:46:34 [debug] 3734\#3734: *1 lua light thread ended normally
2023/12/28 09:46:34 [debug] 3734\#3734: *1 lua deleting light thread B6D7DF70 (ref 1)
2023/12/28 09:46:34 [debug] 3734\#3734: *1 lua caching unused lua thread B6D7DF70 (ref 1)
2023/12/28 09:46:34 [debug] 3734\#3734: *1 lua run thread returned 0
2023/12/28 09:46:34 [debug] 3734\#3734: *1 http finalize request: 0, "/t?" a:1, c:1
2023/12/28 09:46:34 [debug] 3734\#3734: *1 event timer add: 8: 60000:2716583
2023/12/28 09:46:34 [debug] 3734\#3734: *1 poll add event: fd:8 ev:4
2023/12/28 09:46:34 [debug] 3734\#3734: worker cycle
'
100-client-abort.t TEST 31: ngx.eof - pattern "eof failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 31: ngx.eof - pattern "eof succeeded" should not match any line in error.log but matches line "2023/12/28 09:46:34 [warn] 3734\#3734: *2 [lua] content_by_lua(nginx.conf:49):8: eof succeeded, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2023/12/28 09:46:34 [debug] 3734\#3734: *2 lua resume returned 0
2023/12/28 09:46:34 [debug] 3734\#3734: *2 lua light thread ended normally
2023/12/28 09:46:34 [debug] 3734\#3734: *2 lua deleting light thread B6D7DF70 (ref 1)
2023/12/28 09:46:34 [debug] 3734\#3734: *2 lua caching unused lua thread B6D7DF70 (ref 1)
2023/12/28 09:46:34 [debug] 3734\#3734: *2 lua run thread returned 0
2023/12/28 09:46:34 [debug] 3734\#3734: *2 http finalize request: 0, "/t?" a:1, c:1
2023/12/28 09:46:34 [debug] 3734\#3734: *2 event timer add: 8: 60000:2716945
2023/12/28 09:46:34 [debug] 3734\#3734: *2 poll add event: fd:8 ev:4
2023/12/28 09:46:34 [debug] 3734\#3734: worker cycle
'
100-client-abort.t TEST 28: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 28: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 1)
116-raw-req-socket.t TEST 16: receiveany - response_body - response is expected (repeated req 0, req 0) got: "msg: 1: received: h\x{0a}"
length: 20
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 20 (line 1 column 20)
116-raw-req-socket.t TEST 16: receiveany - response_body - response is expected (repeated req 1, req 0) got: "msg: 1: received: h\x{0a}"
length: 20
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 20 (line 1 column 20)
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
Looks like you failed 1 test of 39.
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 "]==]", the inlined Lua code may be too long 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 "]]", the inlined Lua code may be too long 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 "]=]", the inlined Lua code may be too long in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
142-ssl-session-store.t nginx: [emerg] "ssl_session_store_by_lua_block" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:28
148-fake-shm-zone.t nginx: [emerg] lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
161-load-resty-core.t nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:

Warnings

Go back to the index page.