(This page was automatically generated by the tools in the opsboy project on 08:19:09 02-Feb-2023 GMT.)

Detailed Test Report for ngx_lua in linux i386 (v)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
2c60e896 2022-05-30 07:16:34 GMT 825 142 212 22957 14603 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 29a66f77

Compilation Errors

Unexpected Failures

File Name Details
000--init.t 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 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 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 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 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 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 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 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 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 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 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 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 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 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
'
023-rewrite/mixed.t 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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/tcp-socket.t 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/uthread-spawn.t 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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/multi-capture.t 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 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 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 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 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 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 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 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 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 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/subrequest.t 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 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 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 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 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 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 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) '
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 41: same chunk from different directives produces different closures - grep_error_log_out (req 0) @@ -24,5 +24,3 @@
code cache miss (key='header_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
code cache lookup (key='body_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
code cache miss (key='body_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='log_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='log_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
'
025-codecache.t 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) '
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
'
027-multi-capture.t 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 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 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 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 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 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 "2022/05/30 09:02:18 [error] 14767\#14767: *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) 2022/05/30 09:02:18 [debug] 14767\#14767: *1 finalize http upstream request: 504
2022/05/30 09:02:18 [debug] 14767\#14767: *1 finalize http memcached request
2022/05/30 09:02:18 [debug] 14767\#14767: *1 close http upstream connection: 11
2022/05/30 09:02:18 [debug] 14767\#14767: *1 reusable connection: 0
2022/05/30 09:02:18 [debug] 14767\#14767: *1 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2022/05/30 09:02:18 [debug] 14767\#14767: *1 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:18 [debug] 14767\#14767: *1 lua restoring write event handler
2022/05/30 09:02:18 [debug] 14767\#14767: *1 malloc: 04B916C8:8
2022/05/30 09:02:18 [debug] 14767\#14767: *1 malloc: 04B91700:8
'
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 "2022/05/30 09:02:18 [error] 14767\#14767: *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) 2022/05/30 09:02:18 [debug] 14767\#14767: *1 finalize http upstream request: 504
2022/05/30 09:02:18 [debug] 14767\#14767: *1 finalize http memcached request
2022/05/30 09:02:18 [debug] 14767\#14767: *1 close http upstream connection: 12
2022/05/30 09:02:18 [debug] 14767\#14767: *1 reusable connection: 0
2022/05/30 09:02:18 [debug] 14767\#14767: *1 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2022/05/30 09:02:18 [debug] 14767\#14767: *1 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:18 [debug] 14767\#14767: *1 lua restoring write event handler
2022/05/30 09:02:18 [debug] 14767\#14767: *1 malloc: 04B93460:8
2022/05/30 09:02:18 [debug] 14767\#14767: *1 malloc: 04B93498:8
'
027-multi-capture.t 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 "2022/05/30 09:02:19 [error] 14767\#14767: *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) 2022/05/30 09:02:19 [debug] 14767\#14767: *1 finalize http upstream request: 504
2022/05/30 09:02:19 [debug] 14767\#14767: *1 finalize http memcached request
2022/05/30 09:02:19 [debug] 14767\#14767: *1 close http upstream connection: 13
2022/05/30 09:02:19 [debug] 14767\#14767: *1 reusable connection: 0
2022/05/30 09:02:19 [debug] 14767\#14767: *1 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2022/05/30 09:02:19 [debug] 14767\#14767: *1 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:19 [debug] 14767\#14767: *1 lua restoring write event handler
2022/05/30 09:02:19 [debug] 14767\#14767: *1 malloc: 04BA57F0:8
2022/05/30 09:02:19 [debug] 14767\#14767: *1 malloc: 04BA5828:8
'
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 "2022/05/30 09:02:21 [error] 14767\#14767: *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) 2022/05/30 09:02:21 [debug] 14767\#14767: *1 finalize http upstream request: 504
2022/05/30 09:02:21 [debug] 14767\#14767: *1 finalize http memcached request
2022/05/30 09:02:21 [debug] 14767\#14767: *1 close http upstream connection: 14
2022/05/30 09:02:21 [debug] 14767\#14767: *1 reusable connection: 0
2022/05/30 09:02:21 [debug] 14767\#14767: *1 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2022/05/30 09:02:21 [debug] 14767\#14767: *1 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:21 [debug] 14767\#14767: *1 lua restoring write event handler
2022/05/30 09:02:21 [debug] 14767\#14767: *1 malloc: 04BA7488:8
2022/05/30 09:02:21 [debug] 14767\#14767: *1 malloc: 04BA74C0:8
'
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 "2022/05/30 09:02:28 [error] 14767\#14767: *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) 2022/05/30 09:02:28 [debug] 14767\#14767: *6 finalize http upstream request: 504
2022/05/30 09:02:28 [debug] 14767\#14767: *6 finalize http memcached request
2022/05/30 09:02:28 [debug] 14767\#14767: *6 close http upstream connection: 16
2022/05/30 09:02:28 [debug] 14767\#14767: *6 reusable connection: 0
2022/05/30 09:02:28 [debug] 14767\#14767: *6 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2022/05/30 09:02:28 [debug] 14767\#14767: *6 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:28 [debug] 14767\#14767: *6 lua restoring write event handler
2022/05/30 09:02:28 [debug] 14767\#14767: *6 malloc: 04BA93C0:8
2022/05/30 09:02:28 [debug] 14767\#14767: *6 malloc: 04BA93F8:8
'
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 "2022/05/30 09:02:28 [error] 14767\#14767: *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) 2022/05/30 09:02:28 [debug] 14767\#14767: *6 finalize http upstream request: 504
2022/05/30 09:02:28 [debug] 14767\#14767: *6 finalize http memcached request
2022/05/30 09:02:28 [debug] 14767\#14767: *6 close http upstream connection: 17
2022/05/30 09:02:28 [debug] 14767\#14767: *6 reusable connection: 0
2022/05/30 09:02:28 [debug] 14767\#14767: *6 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2022/05/30 09:02:28 [debug] 14767\#14767: *6 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:28 [debug] 14767\#14767: *6 lua restoring write event handler
2022/05/30 09:02:28 [debug] 14767\#14767: *6 malloc: 04BAB058:8
2022/05/30 09:02:28 [debug] 14767\#14767: *6 malloc: 04BAB090:8
'
027-multi-capture.t 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 "2022/05/30 09:02:31 [error] 14767\#14767: *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) 2022/05/30 09:02:31 [debug] 14767\#14767: *6 finalize http upstream request: 504
2022/05/30 09:02:31 [debug] 14767\#14767: *6 finalize http memcached request
2022/05/30 09:02:31 [debug] 14767\#14767: *6 close http upstream connection: 18
2022/05/30 09:02:31 [debug] 14767\#14767: *6 reusable connection: 0
2022/05/30 09:02:31 [debug] 14767\#14767: *6 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2022/05/30 09:02:31 [debug] 14767\#14767: *6 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:31 [debug] 14767\#14767: *6 lua restoring write event handler
2022/05/30 09:02:31 [debug] 14767\#14767: *6 malloc: 04BBD630:8
2022/05/30 09:02:31 [debug] 14767\#14767: *6 malloc: 04BBD668:8
'
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 "2022/05/30 09:02:31 [error] 14767\#14767: *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) 2022/05/30 09:02:31 [debug] 14767\#14767: *6 finalize http upstream request: 504
2022/05/30 09:02:31 [debug] 14767\#14767: *6 finalize http memcached request
2022/05/30 09:02:31 [debug] 14767\#14767: *6 close http upstream connection: 19
2022/05/30 09:02:31 [debug] 14767\#14767: *6 reusable connection: 0
2022/05/30 09:02:31 [debug] 14767\#14767: *6 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2022/05/30 09:02:31 [debug] 14767\#14767: *6 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:31 [debug] 14767\#14767: *6 lua restoring write event handler
2022/05/30 09:02:31 [debug] 14767\#14767: *6 malloc: 04BBF2C8:8
2022/05/30 09:02:31 [debug] 14767\#14767: *6 malloc: 04BBF300:8
'
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 "2022/05/30 09:02:38 [error] 14767\#14767: *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) 2022/05/30 09:02:38 [debug] 14767\#14767: *11 finalize http upstream request: 504
2022/05/30 09:02:38 [debug] 14767\#14767: *11 finalize http memcached request
2022/05/30 09:02:38 [debug] 14767\#14767: *11 close http upstream connection: 21
2022/05/30 09:02:38 [debug] 14767\#14767: *11 reusable connection: 0
2022/05/30 09:02:38 [debug] 14767\#14767: *11 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2022/05/30 09:02:38 [debug] 14767\#14767: *11 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:38 [debug] 14767\#14767: *11 lua restoring write event handler
2022/05/30 09:02:38 [debug] 14767\#14767: *11 malloc: 04BC0F60:8
2022/05/30 09:02:38 [debug] 14767\#14767: *11 malloc: 04BC0F98:8
'
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 "2022/05/30 09:02:38 [error] 14767\#14767: *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) 2022/05/30 09:02:38 [debug] 14767\#14767: *11 finalize http upstream request: 504
2022/05/30 09:02:38 [debug] 14767\#14767: *11 finalize http memcached request
2022/05/30 09:02:38 [debug] 14767\#14767: *11 close http upstream connection: 22
2022/05/30 09:02:38 [debug] 14767\#14767: *11 reusable connection: 0
2022/05/30 09:02:38 [debug] 14767\#14767: *11 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2022/05/30 09:02:38 [debug] 14767\#14767: *11 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:38 [debug] 14767\#14767: *11 lua restoring write event handler
2022/05/30 09:02:38 [debug] 14767\#14767: *11 malloc: 04BC2BF8:8
2022/05/30 09:02:38 [debug] 14767\#14767: *11 malloc: 04BC2C30:8
'
027-multi-capture.t 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 "2022/05/30 09:02:41 [error] 14767\#14767: *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) 2022/05/30 09:02:41 [debug] 14767\#14767: *11 finalize http upstream request: 504
2022/05/30 09:02:41 [debug] 14767\#14767: *11 finalize http memcached request
2022/05/30 09:02:41 [debug] 14767\#14767: *11 close http upstream connection: 23
2022/05/30 09:02:41 [debug] 14767\#14767: *11 reusable connection: 0
2022/05/30 09:02:41 [debug] 14767\#14767: *11 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2022/05/30 09:02:41 [debug] 14767\#14767: *11 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:41 [debug] 14767\#14767: *11 lua restoring write event handler
2022/05/30 09:02:41 [debug] 14767\#14767: *11 malloc: 04BD51D0:8
2022/05/30 09:02:41 [debug] 14767\#14767: *11 malloc: 04BD5208:8
'
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 "2022/05/30 09:02:41 [error] 14767\#14767: *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) 2022/05/30 09:02:41 [debug] 14767\#14767: *11 finalize http upstream request: 504
2022/05/30 09:02:41 [debug] 14767\#14767: *11 finalize http memcached request
2022/05/30 09:02:41 [debug] 14767\#14767: *11 close http upstream connection: 24
2022/05/30 09:02:41 [debug] 14767\#14767: *11 reusable connection: 0
2022/05/30 09:02:41 [debug] 14767\#14767: *11 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2022/05/30 09:02:41 [debug] 14767\#14767: *11 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:41 [debug] 14767\#14767: *11 lua restoring write event handler
2022/05/30 09:02:41 [debug] 14767\#14767: *11 malloc: 04BD6E68:8
2022/05/30 09:02:41 [debug] 14767\#14767: *11 malloc: 04BD6EA0:8
'
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 "2022/05/30 09:02:48 [error] 14767\#14767: *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) 2022/05/30 09:02:48 [debug] 14767\#14767: *16 finalize http upstream request: 504
2022/05/30 09:02:48 [debug] 14767\#14767: *16 finalize http memcached request
2022/05/30 09:02:48 [debug] 14767\#14767: *16 close http upstream connection: 26
2022/05/30 09:02:48 [debug] 14767\#14767: *16 reusable connection: 0
2022/05/30 09:02:48 [debug] 14767\#14767: *16 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2022/05/30 09:02:48 [debug] 14767\#14767: *16 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:48 [debug] 14767\#14767: *16 lua restoring write event handler
2022/05/30 09:02:48 [debug] 14767\#14767: *16 malloc: 04BD8B00:8
2022/05/30 09:02:48 [debug] 14767\#14767: *16 malloc: 04BD8B38:8
'
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 "2022/05/30 09:02:48 [error] 14767\#14767: *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) 2022/05/30 09:02:48 [debug] 14767\#14767: *16 finalize http upstream request: 504
2022/05/30 09:02:48 [debug] 14767\#14767: *16 finalize http memcached request
2022/05/30 09:02:48 [debug] 14767\#14767: *16 close http upstream connection: 27
2022/05/30 09:02:48 [debug] 14767\#14767: *16 reusable connection: 0
2022/05/30 09:02:48 [debug] 14767\#14767: *16 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2022/05/30 09:02:48 [debug] 14767\#14767: *16 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:48 [debug] 14767\#14767: *16 lua restoring write event handler
2022/05/30 09:02:48 [debug] 14767\#14767: *16 malloc: 04BDA798:8
2022/05/30 09:02:48 [debug] 14767\#14767: *16 malloc: 04BDA7D0:8
'
027-multi-capture.t 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 "2022/05/30 09:02:51 [error] 14767\#14767: *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) 2022/05/30 09:02:51 [debug] 14767\#14767: *16 finalize http upstream request: 504
2022/05/30 09:02:51 [debug] 14767\#14767: *16 finalize http memcached request
2022/05/30 09:02:51 [debug] 14767\#14767: *16 close http upstream connection: 28
2022/05/30 09:02:51 [debug] 14767\#14767: *16 reusable connection: 0
2022/05/30 09:02:51 [debug] 14767\#14767: *16 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2022/05/30 09:02:51 [debug] 14767\#14767: *16 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:51 [debug] 14767\#14767: *16 lua restoring write event handler
2022/05/30 09:02:51 [debug] 14767\#14767: *16 malloc: 04BED1A8:8
2022/05/30 09:02:51 [debug] 14767\#14767: *16 malloc: 04BED1E0:8
'
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 "2022/05/30 09:02:51 [error] 14767\#14767: *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) 2022/05/30 09:02:51 [debug] 14767\#14767: *16 finalize http upstream request: 504
2022/05/30 09:02:51 [debug] 14767\#14767: *16 finalize http memcached request
2022/05/30 09:02:51 [debug] 14767\#14767: *16 close http upstream connection: 29
2022/05/30 09:02:51 [debug] 14767\#14767: *16 reusable connection: 0
2022/05/30 09:02:51 [debug] 14767\#14767: *16 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2022/05/30 09:02:51 [debug] 14767\#14767: *16 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:51 [debug] 14767\#14767: *16 lua restoring write event handler
2022/05/30 09:02:51 [debug] 14767\#14767: *16 malloc: 04BEEE40:8
2022/05/30 09:02:51 [debug] 14767\#14767: *16 malloc: 04BEEE78:8
'
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 "2022/05/30 09:02:58 [error] 14767\#14767: *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) 2022/05/30 09:02:58 [debug] 14767\#14767: *21 finalize http upstream request: 504
2022/05/30 09:02:58 [debug] 14767\#14767: *21 finalize http memcached request
2022/05/30 09:02:58 [debug] 14767\#14767: *21 close http upstream connection: 31
2022/05/30 09:02:58 [debug] 14767\#14767: *21 reusable connection: 0
2022/05/30 09:02:58 [debug] 14767\#14767: *21 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2022/05/30 09:02:58 [debug] 14767\#14767: *21 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:58 [debug] 14767\#14767: *21 lua restoring write event handler
2022/05/30 09:02:58 [debug] 14767\#14767: *21 malloc: 04BF0AD8:8
2022/05/30 09:02:58 [debug] 14767\#14767: *21 malloc: 04BF0B10:8
'
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 "2022/05/30 09:02:58 [error] 14767\#14767: *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) 2022/05/30 09:02:58 [debug] 14767\#14767: *21 finalize http upstream request: 504
2022/05/30 09:02:58 [debug] 14767\#14767: *21 finalize http memcached request
2022/05/30 09:02:58 [debug] 14767\#14767: *21 close http upstream connection: 32
2022/05/30 09:02:58 [debug] 14767\#14767: *21 reusable connection: 0
2022/05/30 09:02:58 [debug] 14767\#14767: *21 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2022/05/30 09:02:58 [debug] 14767\#14767: *21 lua run post subrequest handler, rc:504 c:11
2022/05/30 09:02:58 [debug] 14767\#14767: *21 lua restoring write event handler
2022/05/30 09:02:58 [debug] 14767\#14767: *21 malloc: 04BF2770:8
2022/05/30 09:02:58 [debug] 14767\#14767: *21 malloc: 04BF27A8:8
'
027-multi-capture.t 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 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 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 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 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 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 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 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 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 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
'
027-multi-capture.t 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
-
'
058-tcp-socket.t 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 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)$)'
058-tcp-socket.t 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 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 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 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 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 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 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 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 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)$)'
060-lua-memcached.t 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 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 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 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 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 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 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 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 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 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 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 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 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
'
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 "2022/05/30 10:14:43 [error] 8098\#8098: *1 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2022/05/30 10:14:43 [debug] 8098\#8098: *1 lua tcp socket handle read error
2022/05/30 10:14:43 [debug] 8098\#8098: *1 lua tcp socket waking up the current request
2022/05/30 10:14:43 [debug] 8098\#8098: *1 lua tcp operation done, resuming lua thread
2022/05/30 10:14:43 [debug] 8098\#8098: *1 lua tcp socket calling prepare retvals handler 081564BC, u:04B25EB0
2022/05/30 10:14:43 [debug] 8098\#8098: *1 lua tcp socket receive return value handler
2022/05/30 10:14:43 [debug] 8098\#8098: *1 lua run thread, top:9 c:1
2022/05/30 10:14:43 [debug] 8098\#8098: *1 malloc: 04B29C90:8
2022/05/30 10:14:43 [debug] 8098\#8098: *1 malloc: 04B29CC8:8
2022/05/30 10:14:43 [debug] 8098\#8098: *1 lua allocate new chainlink and new buf of size 37, cl:04B29C90
'
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 "2022/05/30 10:14:44 [error] 8098\#8098: *3 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2022/05/30 10:14:44 [debug] 8098\#8098: *3 lua tcp socket handle read error
2022/05/30 10:14:44 [debug] 8098\#8098: *3 lua tcp socket waking up the current request
2022/05/30 10:14:44 [debug] 8098\#8098: *3 lua tcp operation done, resuming lua thread
2022/05/30 10:14:44 [debug] 8098\#8098: *3 lua tcp socket calling prepare retvals handler 081564BC, u:04B2BE48
2022/05/30 10:14:44 [debug] 8098\#8098: *3 lua tcp socket receive return value handler
2022/05/30 10:14:44 [debug] 8098\#8098: *3 lua run thread, top:0 c:1
2022/05/30 10:14:44 [debug] 8098\#8098: *3 malloc: 04B2FAE0:8
2022/05/30 10:14:44 [debug] 8098\#8098: *3 malloc: 04B2FB18:8
2022/05/30 10:14:44 [debug] 8098\#8098: *3 lua allocate new chainlink and new buf of size 37, cl:04B2FAE0
'
071-idle-socket.t 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 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 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 "2022/05/30 10:15:08 [error] 8246\#8246: *1 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2022/05/30 10:15:08 [debug] 8246\#8246: *1 lua tcp socket handle read error
2022/05/30 10:15:08 [debug] 8246\#8246: *1 lua tcp socket waking up the current request
2022/05/30 10:15:08 [debug] 8246\#8246: *1 lua tcp operation done, resuming lua thread
2022/05/30 10:15:08 [debug] 8246\#8246: *1 lua tcp socket calling prepare retvals handler 081564BC, u:04B25C08
2022/05/30 10:15:08 [debug] 8246\#8246: *1 lua tcp socket receive return value handler
2022/05/30 10:15:08 [debug] 8246\#8246: *1 lua run thread, top:9 c:1
2022/05/30 10:15:08 [debug] 8246\#8246: *1 malloc: 04B282C8:8
2022/05/30 10:15:08 [debug] 8246\#8246: *1 malloc: 04B28300:8
2022/05/30 10:15:08 [debug] 8246\#8246: *1 lua allocate new chainlink and new buf of size 37, cl:04B282C8
'
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 "2022/05/30 10:15:09 [error] 8246\#8246: *3 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2022/05/30 10:15:09 [debug] 8246\#8246: *3 lua tcp socket handle read error
2022/05/30 10:15:09 [debug] 8246\#8246: *3 lua tcp socket waking up the current request
2022/05/30 10:15:09 [debug] 8246\#8246: *3 lua tcp operation done, resuming lua thread
2022/05/30 10:15:09 [debug] 8246\#8246: *3 lua tcp socket calling prepare retvals handler 081564BC, u:04B2C910
2022/05/30 10:15:09 [debug] 8246\#8246: *3 lua tcp socket receive return value handler
2022/05/30 10:15:09 [debug] 8246\#8246: *3 lua run thread, top:0 c:1
2022/05/30 10:15:09 [debug] 8246\#8246: *3 malloc: 04B2EF80:8
2022/05/30 10:15:09 [debug] 8246\#8246: *3 malloc: 04B2EFB8:8
2022/05/30 10:15:09 [debug] 8246\#8246: *3 lua allocate new chainlink and new buf of size 37, cl:04B2EF80
'
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 "2022/05/30 10:25:56 [error] 12132\#12132: *1 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp socket handle error
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp socket waking up the current request
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp operation done, resuming lua thread
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp socket calling prepare retvals handler 081613FE, u:04B16DC0
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp socket receive return value handler
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp socket error retval handler
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua run thread, top:9 c:1
2022/05/30 10:25:56 [debug] 12132\#12132: *1 malloc: 04B17A98:8
2022/05/30 10:25:56 [debug] 12132\#12132: *1 malloc: 04B17AD0: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 "2022/05/30 10:25:56 [error] 12132\#12132: *1 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp socket handle error
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp socket waking up the current request
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp operation done, resuming lua thread
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp socket calling prepare retvals handler 081613FE, u:04B16DC0
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp socket receive return value handler
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua udp socket error retval handler
2022/05/30 10:25:56 [debug] 12132\#12132: *1 lua run thread, top:9 c:1
2022/05/30 10:25:56 [debug] 12132\#12132: *1 malloc: 04B17A98:8
2022/05/30 10:25:56 [debug] 12132\#12132: *1 malloc: 04B17AD0:8
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:25:57 [error] 12132\#12132: *3 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2022/05/30 10:25:57 [debug] 12132\#12132: *3 lua udp socket handle error
2022/05/30 10:25:57 [debug] 12132\#12132: *3 lua udp socket waking up the current request
2022/05/30 10:25:57 [debug] 12132\#12132: *3 lua udp operation done, resuming lua thread
2022/05/30 10:25:57 [debug] 12132\#12132: *3 lua udp socket calling prepare retvals handler 081613FE, u:04B19CA0
2022/05/30 10:25:57 [debug] 12132\#12132: *3 lua udp socket receive return value handler
2022/05/30 10:25:57 [debug] 12132\#12132: *3 lua udp socket error retval handler
2022/05/30 10:25:57 [debug] 12132\#12132: *3 lua run thread, top:0 c:1
2022/05/30 10:25:57 [debug] 12132\#12132: *3 malloc: 04B1A928:8
2022/05/30 10:25:57 [debug] 12132\#12132: *3 malloc: 04B1A960:8
'
087-udp-socket.t 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 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 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 "2022/05/30 10:26:45 [error] 12422\#12422: *1 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp socket handle error
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp socket waking up the current request
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp operation done, resuming lua thread
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp socket calling prepare retvals handler 081613FE, u:04B17038
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp socket receive return value handler
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp socket error retval handler
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua run thread, top:9 c:1
2022/05/30 10:26:45 [debug] 12422\#12422: *1 malloc: 04B17D10:8
2022/05/30 10:26:45 [debug] 12422\#12422: *1 malloc: 04B17D48: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 "2022/05/30 10:26:45 [error] 12422\#12422: *1 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp socket handle error
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp socket waking up the current request
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp operation done, resuming lua thread
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp socket calling prepare retvals handler 081613FE, u:04B17038
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp socket receive return value handler
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua udp socket error retval handler
2022/05/30 10:26:45 [debug] 12422\#12422: *1 lua run thread, top:9 c:1
2022/05/30 10:26:45 [debug] 12422\#12422: *1 malloc: 04B17D10:8
2022/05/30 10:26:45 [debug] 12422\#12422: *1 malloc: 04B17D48: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 "2022/05/30 10:26:46 [error] 12422\#12422: *3 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2022/05/30 10:26:46 [debug] 12422\#12422: *3 lua udp socket handle error
2022/05/30 10:26:46 [debug] 12422\#12422: *3 lua udp socket waking up the current request
2022/05/30 10:26:46 [debug] 12422\#12422: *3 lua udp operation done, resuming lua thread
2022/05/30 10:26:46 [debug] 12422\#12422: *3 lua udp socket calling prepare retvals handler 081613FE, u:04B19F18
2022/05/30 10:26:46 [debug] 12422\#12422: *3 lua udp socket receive return value handler
2022/05/30 10:26:46 [debug] 12422\#12422: *3 lua udp socket error retval handler
2022/05/30 10:26:46 [debug] 12422\#12422: *3 lua run thread, top:0 c:1
2022/05/30 10:26:46 [debug] 12422\#12422: *3 malloc: 04B1ABA0:8
2022/05/30 10:26:46 [debug] 12422\#12422: *3 malloc: 04B1ABD8:8
'
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 "2022/05/30 10:26:59 [error] 12503\#12503: *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 "2022/05/30 10:26:59 [error] 12503\#12503: *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 "2022/05/30 10:27:00 [error] 12503\#12503: *3 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) '
093-uthread-spawn.t 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 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 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 "received 12 bytes: OK " 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 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 1)'
109-timer-hup.t TEST 5: HUP reload should abort pending timers - grep_error_log_out (req 0) got: ''
expected: 'lua found 100 pending timers
'
109-timer-hup.t TEST 5: HUP reload should abort pending timers - grep_error_log_out (req 1) got: 'lua found 200 pending timers
'
expected: 'lua found 100 pending timers
'
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
'
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
'
128-duplex-tcp-socket.t 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 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
'
128-duplex-tcp-socket.t TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) 'connected: 1
partial read:
read timed out: 300
close: 1 nil
'
doesn't match '(?^s:^connected: 1
(?:received: OK|failed to send request: timeout
partial read: )
read timed out: [1-9]\d*
close: 1 nil$)'
128-duplex-tcp-socket.t TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) 'connected: 1
partial read:
read timed out: 300
close: 1 nil
'
doesn't match '(?^s:^connected: 1
(?:received: OK|failed to send request: timeout
partial read: )
read timed out: [1-9]\d*
close: 1 nil$)'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: cdata
+failed to do SSL handshake: timeout
'
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 "2022/05/30 11:13:35 [error] 29189\#29189: *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) 2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua udp socket handle error
2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua udp socket waking up the current request
2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua udp operation done, resuming lua thread
2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua udp socket calling prepare retvals handler 081613FE, u:04B6C9E8
2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua udp socket receive return value handler
2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua udp socket error retval handler
2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua run thread, top:9 c:1
2022/05/30 11:13:35 [error] 29189\#29189: *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
2022/05/30 11:13:35 [debug] 29189\#29189: *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 "2022/05/30 11:13:35 [error] 29189\#29189: *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) 2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua resume returned 0
2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua light thread ended normally
2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua deleting light thread 04B6C610 (ref 2)
2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua caching unused lua thread 04B6C610 (ref 2)
2022/05/30 11:13:35 [debug] 29189\#29189: *4 lua run thread returned 0
2022/05/30 11:13:35 [debug] 29189\#29189: *4 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:13:35 [debug] 29189\#29189: *4 http lua fake request count:1
2022/05/30 11:13:35 [debug] 29189\#29189: *4 http lua close fake request
2022/05/30 11:13:35 [debug] 29189\#29189: *4 cleanup lua udp socket upstream request: ""
'
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 "2022/05/30 11:13:38 [error] 29189\#29189: *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) 2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua udp socket handle error
2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua udp socket waking up the current request
2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua udp operation done, resuming lua thread
2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua udp socket calling prepare retvals handler 081613FE, u:04BF4510
2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua udp socket receive return value handler
2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua udp socket error retval handler
2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua run thread, top:0 c:1
2022/05/30 11:13:38 [error] 29189\#29189: *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
2022/05/30 11:13:38 [debug] 29189\#29189: *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 "2022/05/30 11:13:38 [error] 29189\#29189: *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) 2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua resume returned 0
2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua light thread ended normally
2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua deleting light thread 04B6C610 (ref 2)
2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua caching unused lua thread 04B6C610 (ref 2)
2022/05/30 11:13:38 [debug] 29189\#29189: *9 lua run thread returned 0
2022/05/30 11:13:38 [debug] 29189\#29189: *9 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:13:38 [debug] 29189\#29189: *9 http lua fake request count:1
2022/05/30 11:13:38 [debug] 29189\#29189: *9 http lua close fake request
2022/05/30 11:13:38 [debug] 29189\#29189: *9 cleanup lua udp socket upstream request: ""
'
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 "2022/05/30 11:13:39 [error] 29189\#29189: *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) 2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua udp socket handle error
2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua udp socket waking up the current request
2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua udp operation done, resuming lua thread
2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua udp socket calling prepare retvals handler 081613FE, u:04C897D0
2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua udp socket receive return value handler
2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua udp socket error retval handler
2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua run thread, top:0 c:1
2022/05/30 11:13:39 [error] 29189\#29189: *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
2022/05/30 11:13:39 [debug] 29189\#29189: *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 "2022/05/30 11:13:39 [error] 29189\#29189: *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) 2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua resume returned 0
2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua light thread ended normally
2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua deleting light thread 04B6C610 (ref 2)
2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua caching unused lua thread 04B6C610 (ref 2)
2022/05/30 11:13:39 [debug] 29189\#29189: *14 lua run thread returned 0
2022/05/30 11:13:39 [debug] 29189\#29189: *14 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:13:39 [debug] 29189\#29189: *14 http lua fake request count:1
2022/05/30 11:13:39 [debug] 29189\#29189: *14 http lua close fake request
2022/05/30 11:13:39 [debug] 29189\#29189: *14 cleanup lua udp socket upstream request: ""
'
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 - 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 "2022/05/30 11:14:35 [error] 29524\#29524: *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 1) 2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua tcp socket handle read error
2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua tcp socket waking up the current request
2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua tcp operation done, resuming lua thread
2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua tcp socket calling prepare retvals handler 081564BC, u:04B75938
2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua tcp socket receive return value handler
2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua run thread, top:0 c:1
2022/05/30 11:14:35 [error] 29524\#29524: *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
2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua resume returned 0
2022/05/30 11:14:35 [debug] 29524\#29524: *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 "2022/05/30 11:14:35 [error] 29524\#29524: *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 1) 2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua resume returned 0
2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua light thread ended normally
2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua deleting light thread 04B75518 (ref 2)
2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua caching unused lua thread 04B75518 (ref 2)
2022/05/30 11:14:35 [debug] 29524\#29524: *4 lua run thread returned 0
2022/05/30 11:14:35 [debug] 29524\#29524: *4 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:14:35 [debug] 29524\#29524: *4 http lua fake request count:1
2022/05/30 11:14:35 [debug] 29524\#29524: *4 http lua close fake request
2022/05/30 11:14:35 [debug] 29524\#29524: *4 cleanup lua tcp socket request: ""
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 11:14:38 [error] 29524\#29524: *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) 2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua tcp socket handle read error
2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua tcp socket waking up the current request
2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua tcp operation done, resuming lua thread
2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua tcp socket calling prepare retvals handler 081564BC, u:04BA74F0
2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua tcp socket receive return value handler
2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua run thread, top:0 c:1
2022/05/30 11:14:38 [error] 29524\#29524: *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
2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua resume returned 0
2022/05/30 11:14:38 [debug] 29524\#29524: *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 "2022/05/30 11:14:38 [error] 29524\#29524: *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) 2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua resume returned 0
2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua light thread ended normally
2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua deleting light thread 04BA7170 (ref 3)
2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua caching unused lua thread 04BA7170 (ref 3)
2022/05/30 11:14:38 [debug] 29524\#29524: *9 lua run thread returned 0
2022/05/30 11:14:38 [debug] 29524\#29524: *9 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:14:38 [debug] 29524\#29524: *9 http lua fake request count:1
2022/05/30 11:14:38 [debug] 29524\#29524: *9 http lua close fake request
2022/05/30 11:14:38 [debug] 29524\#29524: *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 "2022/05/30 11:14:40 [error] 29524\#29524: *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) 2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua tcp socket handle read error
2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua tcp socket waking up the current request
2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua tcp operation done, resuming lua thread
2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua tcp socket calling prepare retvals handler 081564BC, u:04BF7FF8
2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua tcp socket receive return value handler
2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua run thread, top:0 c:1
2022/05/30 11:14:40 [error] 29524\#29524: *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
2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua resume returned 0
2022/05/30 11:14:40 [debug] 29524\#29524: *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 "2022/05/30 11:14:40 [error] 29524\#29524: *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) 2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua resume returned 0
2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua light thread ended normally
2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua deleting light thread 04B49DC0 (ref 1)
2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua caching unused lua thread 04B49DC0 (ref 1)
2022/05/30 11:14:40 [debug] 29524\#29524: *14 lua run thread returned 0
2022/05/30 11:14:40 [debug] 29524\#29524: *14 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:14:40 [debug] 29524\#29524: *14 http lua fake request count:1
2022/05/30 11:14:40 [debug] 29524\#29524: *14 http lua close fake request
2022/05/30 11:14:40 [debug] 29524\#29524: *14 cleanup lua tcp socket request: ""
'
143-ssl-session-fetch.t 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 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 "2022/05/30 11:18:25 [error] 30812\#30812: *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) 2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua tcp socket handle read error
2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua tcp socket waking up the current request
2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua tcp operation done, resuming lua thread
2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua tcp socket calling prepare retvals handler 081564BC, u:04BFACF8
2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua tcp socket receive return value handler
2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua run thread, top:0 c:1
2022/05/30 11:18:25 [error] 30812\#30812: *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
2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua resume returned 0
2022/05/30 11:18:25 [debug] 30812\#30812: *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 "2022/05/30 11:18:25 [error] 30812\#30812: *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) 2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua resume returned 0
2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua light thread ended normally
2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua deleting light thread 04BFA8D8 (ref 2)
2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua caching unused lua thread 04BFA8D8 (ref 2)
2022/05/30 11:18:25 [debug] 30812\#30812: *7 lua run thread returned 0
2022/05/30 11:18:25 [debug] 30812\#30812: *7 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:18:25 [debug] 30812\#30812: *7 http lua fake request count:1
2022/05/30 11:18:25 [debug] 30812\#30812: *7 http lua close fake request
2022/05/30 11:18:25 [debug] 30812\#30812: *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 "2022/05/30 11:19:02 [error] 31052\#31052: *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) 2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua udp socket handle error
2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua udp socket waking up the current request
2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua udp operation done, resuming lua thread
2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua udp socket calling prepare retvals handler 081613FE, u:04BF9C90
2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua udp socket receive return value handler
2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua udp socket error retval handler
2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua run thread, top:0 c:1
2022/05/30 11:19:02 [error] 31052\#31052: *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
2022/05/30 11:19:02 [debug] 31052\#31052: *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 "2022/05/30 11:19:02 [error] 31052\#31052: *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) 2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua resume returned 0
2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua light thread ended normally
2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua deleting light thread 04BF98B8 (ref 2)
2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua caching unused lua thread 04BF98B8 (ref 2)
2022/05/30 11:19:02 [debug] 31052\#31052: *7 lua run thread returned 0
2022/05/30 11:19:02 [debug] 31052\#31052: *7 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:19:02 [debug] 31052\#31052: *7 http lua fake request count:1
2022/05/30 11:19:02 [debug] 31052\#31052: *7 http lua close fake request
2022/05/30 11:19:02 [debug] 31052\#31052: *7 cleanup lua udp socket upstream request: ""
'
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 "2022/05/30 11:19:03 [error] 31052\#31052: *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) 2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua udp socket handle error
2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua udp socket waking up the current request
2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua udp operation done, resuming lua thread
2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua udp socket calling prepare retvals handler 081613FE, u:04C8ACA8
2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua udp socket receive return value handler
2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua udp socket error retval handler
2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua run thread, top:0 c:1
2022/05/30 11:19:03 [error] 31052\#31052: *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
2022/05/30 11:19:03 [debug] 31052\#31052: *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 "2022/05/30 11:19:03 [error] 31052\#31052: *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) 2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua resume returned 0
2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua light thread ended normally
2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua deleting light thread 04BF98B8 (ref 2)
2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua caching unused lua thread 04BF98B8 (ref 2)
2022/05/30 11:19:03 [debug] 31052\#31052: *12 lua run thread returned 0
2022/05/30 11:19:03 [debug] 31052\#31052: *12 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:19:03 [debug] 31052\#31052: *12 http lua fake request count:1
2022/05/30 11:19:03 [debug] 31052\#31052: *12 http lua close fake request
2022/05/30 11:19:03 [debug] 31052\#31052: *12 cleanup lua udp socket upstream request: ""
'
145-shdict-list.t TEST 15: list removed: expired '
145-shdict-list.t TEST 15: list removed: expired - status code ok got: ''
expected: '200'
145-shdict-list.t TEST 15: list removed: expired - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-max - 1 matched keys length: true
-keys all expired, left number: 0
-loop again, max matched: true
-loop again, max matched: true
'
145-shdict-list.t TEST 22: lpush return nil - response_body - response is expected (repeated req 0, req 0) got: '2921
'
expected: 'nil
'
145-shdict-list.t TEST 16: list removed: forcibly '
145-shdict-list.t TEST 16: list removed: forcibly - status code ok got: ''
expected: '200'
145-shdict-list.t TEST 16: list removed: forcibly - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-two == number 2: true
-no one left: 0
-two == number 2: true
'
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-received: ok
+failed to send request: timeout
-failed to receive a line: closed []
'
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - pattern "lua tcp socket read timed out" should match a line in error.log (req 0)
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - pattern "failed to receive data: timeout" should match a line in error.log (req 0)
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-received: ok
+failed to send request: timeout
-failed to receive a line: closed []
'
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - pattern "lua tcp socket read timed out" should match a line in error.log (req 1)
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - pattern "failed to receive data: timeout" should match a line in error.log (req 1)
147-tcp-socket-timeouts.t TEST 1: sanity - response_body_like - response is expected (failed to send request: timeout) 'failed to send request: timeout
'
doesn't match '(?^s:received: foo
)'
147-tcp-socket-timeouts.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 11:23:24 [error] 32590\#32590: *1 lua tcp socket write timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2022/05/30 11:23:24 [debug] 32590\#32590: *1 lua tcp socket handle write error
2022/05/30 11:23:24 [debug] 32590\#32590: *1 lua tcp socket waking up the current request
2022/05/30 11:23:24 [debug] 32590\#32590: *1 lua tcp operation done, resuming lua thread
2022/05/30 11:23:24 [debug] 32590\#32590: *1 lua tcp socket calling prepare retvals handler 081543F2, u:04B25370
2022/05/30 11:23:24 [debug] 32590\#32590: *1 lua tcp socket send return value handler
2022/05/30 11:23:24 [debug] 32590\#32590: *1 poll del event: fd:9 ev:4
2022/05/30 11:23:24 [debug] 32590\#32590: *1 poll del index: 3
2022/05/30 11:23:24 [debug] 32590\#32590: *1 delete posted event 04B1F574
2022/05/30 11:23:24 [debug] 32590\#32590: *1 lua run thread, top:9 c:1
'
147-tcp-socket-timeouts.t TEST 1: sanity - response_body_like - response is expected (failed to send request: timeout) 'failed to send request: timeout
'
doesn't match '(?^s:received: foo
)'
147-tcp-socket-timeouts.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 11:23:25 [error] 32590\#32590: *4 lua tcp socket write timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2022/05/30 11:23:25 [debug] 32590\#32590: *4 lua tcp socket handle write error
2022/05/30 11:23:25 [debug] 32590\#32590: *4 lua tcp socket waking up the current request
2022/05/30 11:23:25 [debug] 32590\#32590: *4 lua tcp operation done, resuming lua thread
2022/05/30 11:23:25 [debug] 32590\#32590: *4 lua tcp socket calling prepare retvals handler 081543F2, u:04B293A0
2022/05/30 11:23:25 [debug] 32590\#32590: *4 lua tcp socket send return value handler
2022/05/30 11:23:25 [debug] 32590\#32590: *4 poll del event: fd:9 ev:4
2022/05/30 11:23:25 [debug] 32590\#32590: *4 poll del index: 3
2022/05/30 11:23:25 [debug] 32590\#32590: *4 delete posted event 04B1F540
2022/05/30 11:23:25 [debug] 32590\#32590: *4 lua run thread, top:0 c:1
'
147-tcp-socket-timeouts.t TEST 2: read timeout - response_body_like - response is expected (failed to send request: timeout) 'failed to send request: timeout
'
doesn't match '(?^s:failed to receive a line: timeout \[\]
)'
147-tcp-socket-timeouts.t TEST 2: read timeout - pattern "lua tcp socket read timed out" should match a line in error.log (req 0)
147-tcp-socket-timeouts.t TEST 7: different timeout with duplex socket (settimeouts) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-received: ok
+failed to send request: timeout
-failed to receive a line: closed []
'
147-tcp-socket-timeouts.t TEST 7: different timeout with duplex socket (settimeouts) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 11:24:14 [error] 411\#411: *1 lua tcp socket write timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2022/05/30 11:24:14 [debug] 411\#411: *1 lua tcp socket handle write error
2022/05/30 11:24:14 [debug] 411\#411: *1 lua tcp socket waking up the current request
2022/05/30 11:24:14 [debug] 411\#411: *1 lua tcp operation done, resuming lua thread
2022/05/30 11:24:14 [debug] 411\#411: *1 lua tcp socket calling prepare retvals handler 081543F2, u:04B26280
2022/05/30 11:24:14 [debug] 411\#411: *1 lua tcp socket send return value handler
2022/05/30 11:24:14 [debug] 411\#411: *1 poll del event: fd:9 ev:4
2022/05/30 11:24:14 [debug] 411\#411: *1 poll del index: 3
2022/05/30 11:24:14 [debug] 411\#411: *1 delete posted event 04B2005C
2022/05/30 11:24:14 [debug] 411\#411: *1 lua run thread, top:9 c:1
'
147-tcp-socket-timeouts.t TEST 7: different timeout with duplex socket (settimeouts) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-received: ok
+failed to send request: timeout
-failed to receive a line: closed []
'
147-tcp-socket-timeouts.t TEST 7: different timeout with duplex socket (settimeouts) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 11:24:15 [error] 411\#411: *4 lua tcp socket write timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2022/05/30 11:24:15 [debug] 411\#411: *4 lua tcp socket handle write error
2022/05/30 11:24:15 [debug] 411\#411: *4 lua tcp socket waking up the current request
2022/05/30 11:24:15 [debug] 411\#411: *4 lua tcp operation done, resuming lua thread
2022/05/30 11:24:15 [debug] 411\#411: *4 lua tcp socket calling prepare retvals handler 081543F2, u:04B2A460
2022/05/30 11:24:15 [debug] 411\#411: *4 lua tcp socket send return value handler
2022/05/30 11:24:15 [debug] 411\#411: *4 poll del event: fd:9 ev:4
2022/05/30 11:24:15 [debug] 411\#411: *4 poll del index: 3
2022/05/30 11:24:15 [debug] 411\#411: *4 delete posted event 04B20028
2022/05/30 11:24:15 [debug] 411\#411: *4 lua run thread, top:0 c:1
'
151-initby-hup.t TEST 2: error in init after HUP (master still alive, worker process still the same as before) - pattern "failed to init" should match a line in error.log (req 0)
151-initby-hup.t TEST 5: error in init after HUP, not reloaded but foo have changed. - response_body - response is expected (repeated req 0, req 0) got: "hello, FOO\x{0a}"
length: 11
expected: "foo have changed\x{0a}"
length: 17
strings begin to differ at char 1 (line 1 column 1)
151-initby-hup.t TEST 5: error in init after HUP, not reloaded but foo have changed. - pattern "failed to init" should match a line in error.log (req 0)
151-initby-hup.t TEST 6: no error in init again, reload success and foo still have changed. - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 11:24:59 [error] 686\#686: init_by_lua error: init_by_lua(nginx.conf:27):5: failed to init" (req 0) stack traceback:
[C]: in function 'error'
init_by_lua(nginx.conf:27):5: in main chunk
2022/05/30 11:25:00 [notice] 686\#686: using the "epoll" event method
2022/05/30 11:25:00 [notice] 686\#686: start worker processes
2022/05/30 11:25:00 [debug] 686\#686: channel 4:6
2022/05/30 11:25:00 [notice] 686\#686: start worker process 838
2022/05/30 11:25:00 [debug] 686\#686: pass channel s:1 pid:838 fd:4 to s:0 pid:776 fd:3
2022/05/30 11:25:00 [debug] 838\#838: malloc: 05985AC0:12
'
157-socket-keepalive-hup.t TEST 1: exiting - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
157-socket-keepalive-hup.t TEST 1: exiting - pattern "setkeepalive successfully" should match a line in error.log (req 0)
157-socket-keepalive-hup.t TEST 1: exiting - pattern "lua tcp socket set keepalive while process exiting, closing connection" should match a line in error.log (req 0)
162-exit-worker.t TEST 6: skip in cache processes (with exit worker and privileged agent) - pattern "(?^:cache loader process \d+ exited)" should match a line in error.log
162-exit-worker.t TEST 6: skip in cache processes (with exit worker and privileged agent) - pattern "(?^:cache manager process \d+ exited)" should match a line in error.log
162-exit-worker.t TEST 6: skip in cache processes (with exit worker and privileged agent) - pattern "(?^:privileged agent process \d+ exited)" should match a line in error.log
162-exit-worker.t TEST 7: skipin cache processes (with init worker but without privileged agent) - pattern "(?^:cache loader process \d+ exited)" should match a line in error.log
162-exit-worker.t TEST 7: skipin cache processes (with init worker but without privileged agent) - pattern "(?^:cache manager process \d+ exited)" should match a line in error.log
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 - 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 "2022/05/30 11:31:33 [error] 3340\#3340: *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 1) 2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua tcp socket handle read error
2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua tcp socket waking up the current request
2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua tcp operation done, resuming lua thread
2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua tcp socket calling prepare retvals handler 081564BC, u:04B75090
2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua tcp socket receive return value handler
2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua run thread, top:0 c:1
2022/05/30 11:31:33 [error] 3340\#3340: *4 [lua] ssl_client_hello_by_lua: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
2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua resume returned 0
2022/05/30 11:31:33 [debug] 3340\#3340: *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 "2022/05/30 11:31:33 [error] 3340\#3340: *4 [lua] ssl_client_hello_by_lua: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) 2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua resume returned 0
2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua light thread ended normally
2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua deleting light thread 04B74C70 (ref 2)
2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua caching unused lua thread 04B74C70 (ref 2)
2022/05/30 11:31:33 [debug] 3340\#3340: *4 lua run thread returned 0
2022/05/30 11:31:33 [debug] 3340\#3340: *4 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:31:33 [debug] 3340\#3340: *4 http lua fake request count:1
2022/05/30 11:31:33 [debug] 3340\#3340: *4 http lua close fake request
2022/05/30 11:31:33 [debug] 3340\#3340: *4 cleanup lua tcp socket request: ""
'
166-ssl-client-hello.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 11:31:36 [error] 3340\#3340: *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) 2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua tcp socket handle read error
2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua tcp socket waking up the current request
2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua tcp operation done, resuming lua thread
2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua tcp socket calling prepare retvals handler 081564BC, u:04BA63E0
2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua tcp socket receive return value handler
2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua run thread, top:0 c:1
2022/05/30 11:31:36 [error] 3340\#3340: *9 [lua] ssl_client_hello_by_lua: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
2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua resume returned 0
2022/05/30 11:31:36 [debug] 3340\#3340: *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 "2022/05/30 11:31:36 [error] 3340\#3340: *9 [lua] ssl_client_hello_by_lua: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) 2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua resume returned 0
2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua light thread ended normally
2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua deleting light thread 04BA6060 (ref 3)
2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua caching unused lua thread 04BA6060 (ref 3)
2022/05/30 11:31:36 [debug] 3340\#3340: *9 lua run thread returned 0
2022/05/30 11:31:36 [debug] 3340\#3340: *9 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:31:36 [debug] 3340\#3340: *9 http lua fake request count:1
2022/05/30 11:31:36 [debug] 3340\#3340: *9 http lua close fake request
2022/05/30 11:31:36 [debug] 3340\#3340: *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 "2022/05/30 11:31:38 [error] 3340\#3340: *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) 2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua tcp socket handle read error
2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua tcp socket waking up the current request
2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua tcp operation done, resuming lua thread
2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua tcp socket calling prepare retvals handler 081564BC, u:04BF7740
2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua tcp socket receive return value handler
2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua run thread, top:0 c:1
2022/05/30 11:31:38 [error] 3340\#3340: *14 [lua] ssl_client_hello_by_lua: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
2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua resume returned 0
2022/05/30 11:31:38 [debug] 3340\#3340: *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 "2022/05/30 11:31:38 [error] 3340\#3340: *14 [lua] ssl_client_hello_by_lua: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) 2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua resume returned 0
2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua light thread ended normally
2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua deleting light thread 04B49DA8 (ref 1)
2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua caching unused lua thread 04B49DA8 (ref 1)
2022/05/30 11:31:38 [debug] 3340\#3340: *14 lua run thread returned 0
2022/05/30 11:31:38 [debug] 3340\#3340: *14 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:31:38 [debug] 3340\#3340: *14 http lua fake request count:1
2022/05/30 11:31:38 [debug] 3340\#3340: *14 http lua close fake request
2022/05/30 11:31:38 [debug] 3340\#3340: *14 cleanup lua tcp socket request: ""
'
166-ssl-client-hello.t TEST 28: cosocket (UDP) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: cdata
+failed to do SSL handshake: timeout
'
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 "2022/05/30 11:32:32 [error] 3686\#3686: *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) 2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua udp socket handle error
2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua udp socket waking up the current request
2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua udp operation done, resuming lua thread
2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua udp socket calling prepare retvals handler 081613FE, u:04B6C248
2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua udp socket receive return value handler
2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua udp socket error retval handler
2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua run thread, top:9 c:1
2022/05/30 11:32:32 [error] 3686\#3686: *4 [lua] ssl_client_hello_by_lua: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
2022/05/30 11:32:32 [debug] 3686\#3686: *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 "2022/05/30 11:32:32 [error] 3686\#3686: *4 [lua] ssl_client_hello_by_lua: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) 2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua resume returned 0
2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua light thread ended normally
2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua deleting light thread 04B6BE70 (ref 2)
2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua caching unused lua thread 04B6BE70 (ref 2)
2022/05/30 11:32:32 [debug] 3686\#3686: *4 lua run thread returned 0
2022/05/30 11:32:32 [debug] 3686\#3686: *4 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:32:32 [debug] 3686\#3686: *4 http lua fake request count:1
2022/05/30 11:32:32 [debug] 3686\#3686: *4 http lua close fake request
2022/05/30 11:32:32 [debug] 3686\#3686: *4 cleanup lua udp socket upstream request: ""
'
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 "2022/05/30 11:32:35 [error] 3686\#3686: *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) 2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua udp socket handle error
2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua udp socket waking up the current request
2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua udp operation done, resuming lua thread
2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua udp socket calling prepare retvals handler 081613FE, u:04BF3D68
2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua udp socket receive return value handler
2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua udp socket error retval handler
2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua run thread, top:0 c:1
2022/05/30 11:32:35 [error] 3686\#3686: *9 [lua] ssl_client_hello_by_lua: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
2022/05/30 11:32:35 [debug] 3686\#3686: *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 "2022/05/30 11:32:35 [error] 3686\#3686: *9 [lua] ssl_client_hello_by_lua: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) 2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua resume returned 0
2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua light thread ended normally
2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua deleting light thread 04B6BE70 (ref 2)
2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua caching unused lua thread 04B6BE70 (ref 2)
2022/05/30 11:32:35 [debug] 3686\#3686: *9 lua run thread returned 0
2022/05/30 11:32:35 [debug] 3686\#3686: *9 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:32:35 [debug] 3686\#3686: *9 http lua fake request count:1
2022/05/30 11:32:35 [debug] 3686\#3686: *9 http lua close fake request
2022/05/30 11:32:35 [debug] 3686\#3686: *9 cleanup lua udp socket upstream request: ""
'
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 "2022/05/30 11:32:36 [error] 3686\#3686: *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) 2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua udp socket handle error
2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua udp socket waking up the current request
2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua udp operation done, resuming lua thread
2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua udp socket calling prepare retvals handler 081613FE, u:04C89020
2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua udp socket receive return value handler
2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua udp socket error retval handler
2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua run thread, top:0 c:1
2022/05/30 11:32:36 [error] 3686\#3686: *14 [lua] ssl_client_hello_by_lua: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
2022/05/30 11:32:36 [debug] 3686\#3686: *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 "2022/05/30 11:32:36 [error] 3686\#3686: *14 [lua] ssl_client_hello_by_lua: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) 2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua resume returned 0
2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua light thread ended normally
2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua deleting light thread 04B6BE70 (ref 2)
2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua caching unused lua thread 04B6BE70 (ref 2)
2022/05/30 11:32:36 [debug] 3686\#3686: *14 lua run thread returned 0
2022/05/30 11:32:36 [debug] 3686\#3686: *14 http lua finalize fake request: 0, a:1, c:1
2022/05/30 11:32:36 [debug] 3686\#3686: *14 http lua fake request count:1
2022/05/30 11:32:36 [debug] 3686\#3686: *14 http lua close fake request
2022/05/30 11:32:36 [debug] 3686\#3686: *14 cleanup lua udp socket upstream request: ""
'

Expected Failures

File Name Details
014-bugs.t nginx: [emerg] unexpected "A" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
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 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 TEST 41: same chunk from different directives produces different closures - pattern "(?^:log_by_lua\(nginx.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
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 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 "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 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)
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
082-body-filter-2.t TEST 1: check ctx->busy_bufs - pattern "waiting body filter busy buffer to be sent" should match a line in error.log (req 0)
082-body-filter-2.t TEST 1: check ctx->busy_bufs - pattern "lua say response has busy bufs" should match a line in error.log (req 0)
082-body-filter-2.t TEST 1: check ctx->busy_bufs - pattern "waiting body filter busy buffer to be sent" should match a line in error.log (req 1)
082-body-filter-2.t TEST 1: check ctx->busy_bufs - pattern "lua say response has busy bufs" 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
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)
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 "http lua close fake http connection" should match a line in error.log (req 1)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[1-3]))" should match a line in error.log (req 0)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[1-3]))" should match a line in error.log (req 1)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 1)
106-timer.t TEST 30: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 30: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 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 2: globals are shared - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 2: globals are shared - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 1)
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 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 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:1[4-9]|2[0-6]?))" 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 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 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 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 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 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 1)
108-timer-safe.t TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 1)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:6[4-9]|7[0-6]))" 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 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 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)
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 "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 "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)
109-timer-hup.t TEST 6: HUP reload should abort pending timers (coroutine + cosocket) - grep_error_log_out (req 0) got: ''
expected: 'lua found 1 pending timers
'
109-timer-hup.t TEST 6: HUP reload should abort pending timers (coroutine + cosocket) - grep_error_log_out (req 1) got: ''
expected: 'lua found 1 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: ''
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'lua found 8176 pending timers
'
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 1: single timer - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "in callback: hello, 1" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 1!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 2!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 3!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 4!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 5!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 6!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 7!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 8!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 9!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 10!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "timer prematurely expired: true" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 1)
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
Looks like you failed 1 test of 39.
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
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
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
146-malloc-trim.t TEST 5: malloc_trim() every 2 req, in subreq, big memory usage - grep_error_log_out (req 0) @@ -1,3 +1,3 @@
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
'
148-fake-shm-zone.t nginx: [emerg] lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:09|10)\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:09|10)\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 1)
152-timer-every.t TEST 6: memory leak check - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-growth1 == growth2: true
+growth1 == growth2: false
'
152-timer-every.t TEST 4: create the next timer immediately when timer start running - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
152-timer-every.t TEST 3: lua variable sharing via upvalue - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
153-semaphore-hup.t TEST 1: timer + reload - grep_error_log_out (req 0) @@ -1,5 +1,5 @@
created semaphore object
-created semaphore object
try to reload nginx
+created semaphore object
created semaphore object
created semaphore object
'
153-semaphore-hup.t TEST 2: timer + reload (lua code cache off) - grep_error_log_out (req 0) @@ -1,5 +1,5 @@
created semaphore object
-created semaphore object
try to reload nginx
+created semaphore object
created semaphore object
created semaphore object
'
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.