(This page was automatically generated by the tools in the opsboy project on 09:46:44 03-Nov-2020 GMT.)

Detailed Test Report for ngx_lua in linux i386 (h)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
65d87507 2020-10-27 03:33:37 GMT 1930 310 207 22055 6230 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

Compilation Errors

Unexpected Failures

File Name Details
000--init.t TEST 1: conv_uid - drop table - status code ok got: ''
expected: '200'
000--init.t TEST 1: conv_uid - drop table - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'done!
'
000--init.t ERROR: client socket timed out - TEST 2: flush data from memcached '
000--init.t TEST 2: flush data from memcached - status code ok got: ''
expected: '200'
000--init.t TEST 2: flush data from memcached - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'OK
'
014-bugs.t TEST 39: lua_code_cache off + setkeepalive - response_body - response is expected (repeated req 0, req 0) got: 'failed to connect: connection refused
'
expected: 'done
'
014-bugs.t TEST 39: lua_code_cache off + setkeepalive - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:49:40 [error] 28227\#0: *1 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 03:49:40 [debug] 28227\#0: *1 lua tcp socket handle connect error
2020/10/27 03:49:40 [debug] 28227\#0: *1 lua finalize socket
2020/10/27 03:49:40 [debug] 28227\#0: *1 lua http cleanup free: 08674558
2020/10/27 03:49:40 [debug] 28227\#0: *1 lua close socket connection
2020/10/27 03:49:40 [debug] 28227\#0: *1 reusable connection: 0
2020/10/27 03:49:40 [debug] 28227\#0: *1 lua tcp socket waking up the current request
2020/10/27 03:49:40 [debug] 28227\#0: *1 lua tcp operation done, resuming lua thread
2020/10/27 03:49:40 [debug] 28227\#0: *1 lua tcp socket calling prepare retvals handler 0814EA62, u:B6D38488
2020/10/27 03:49:40 [debug] 28227\#0: *1 lua tcp socket error retval handler
'
014-bugs.t TEST 39: lua_code_cache off + setkeepalive - response_body - response is expected (repeated req 1, req 0) got: 'failed to connect: connection refused
'
expected: 'done
'
014-bugs.t TEST 39: lua_code_cache off + setkeepalive - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:49:40 [error] 28227\#0: *3 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 03:49:40 [debug] 28227\#0: *3 lua tcp socket handle connect error
2020/10/27 03:49:40 [debug] 28227\#0: *3 lua finalize socket
2020/10/27 03:49:40 [debug] 28227\#0: *3 lua http cleanup free: 08674558
2020/10/27 03:49:40 [debug] 28227\#0: *3 lua close socket connection
2020/10/27 03:49:40 [debug] 28227\#0: *3 reusable connection: 0
2020/10/27 03:49:40 [debug] 28227\#0: *3 lua tcp socket waking up the current request
2020/10/27 03:49:40 [debug] 28227\#0: *3 lua tcp operation done, resuming lua thread
2020/10/27 03:49:40 [debug] 28227\#0: *3 lua tcp socket calling prepare retvals handler 0814EA62, u:B6D39C40
2020/10/27 03:49:40 [debug] 28227\#0: *3 lua tcp socket error retval handler
'
014-bugs.t TEST 39: lua_code_cache off + setkeepalive - response_body - response is expected (repeated req 2, req 0) got: 'failed to connect: connection refused
'
expected: 'done
'
014-bugs.t TEST 39: lua_code_cache off + setkeepalive - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:49:41 [error] 28227\#0: *5 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) 2020/10/27 03:49:41 [debug] 28227\#0: *5 lua tcp socket handle connect error
2020/10/27 03:49:41 [debug] 28227\#0: *5 lua finalize socket
2020/10/27 03:49:41 [debug] 28227\#0: *5 lua http cleanup free: 08674558
2020/10/27 03:49:41 [debug] 28227\#0: *5 lua close socket connection
2020/10/27 03:49:41 [debug] 28227\#0: *5 reusable connection: 0
2020/10/27 03:49:41 [debug] 28227\#0: *5 lua tcp socket waking up the current request
2020/10/27 03:49:41 [debug] 28227\#0: *5 lua tcp operation done, resuming lua thread
2020/10/27 03:49:41 [debug] 28227\#0: *5 lua tcp socket calling prepare retvals handler 0814EA62, u:B6D07C68
2020/10/27 03:49:41 [debug] 28227\#0: *5 lua tcp socket error retval handler
'
014-bugs.t ERROR: client socket timed out - TEST 3: sanity '
014-bugs.t TEST 3: sanity - status code ok got: ''
expected: '200'
014-bugs.t TEST 3: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:3: bar$)'
014-bugs.t ERROR: client socket timed out - TEST 3: sanity '
014-bugs.t TEST 3: sanity - status code ok got: ''
expected: '200'
014-bugs.t TEST 3: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:3: bar$)'
014-bugs.t ERROR: client socket timed out - TEST 3: sanity '
014-bugs.t TEST 3: sanity - status code ok got: ''
expected: '200'
014-bugs.t TEST 3: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:3: bar$)'
016-resp-header.t TEST 94: fix negative content-length number(\#1791) - status code ok got: '500'
expected: '200'
016-resp-header.t TEST 94: fix negative content-length number(\#1791) - response_body - response is expected (repeated req 0, req 0) got: '<ht'
expected: 'hi
'
016-resp-header.t TEST 94: fix negative content-length number(\#1791) - pattern "my Content-Length: 8589934591" should match a line in error.log (req 0)
016-resp-header.t TEST 94: fix negative content-length number(\#1791) - pattern "upstream prematurely closed connection while sending to client" should match a line in error.log (req 0)
016-resp-header.t TEST 94: fix negative content-length number(\#1791) - status code ok got: '500'
expected: '200'
016-resp-header.t TEST 94: fix negative content-length number(\#1791) - response_body - response is expected (repeated req 1, req 0) got: '<ht'
expected: 'hi
'
016-resp-header.t TEST 94: fix negative content-length number(\#1791) - pattern "my Content-Length: 8589934591" should match a line in error.log (req 1)
016-resp-header.t TEST 94: fix negative content-length number(\#1791) - pattern "upstream prematurely closed connection while sending to client" should match a line in error.log (req 1)
017-exec.t ERROR: client socket timed out - TEST 11: exec after location capture (memc) '
017-exec.t TEST 11: exec after location capture (memc) - status code ok got: ''
expected: '200'
017-exec.t TEST 11: exec after location capture (memc) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "hello hello hello world world world"
length: 35
strings begin to differ at char 1 (line 1 column 1)
017-exec.t ERROR: client socket timed out - TEST 11: exec after location capture (memc) '
017-exec.t TEST 11: exec after location capture (memc) - status code ok got: ''
expected: '200'
017-exec.t TEST 11: exec after location capture (memc) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "hello hello hello world world world"
length: 35
strings begin to differ at char 1 (line 1 column 1)
017-exec.t ERROR: client socket timed out - TEST 13: exec after named location capture (memc) '
017-exec.t TEST 13: exec after named location capture (memc) - status code ok got: ''
expected: '200'
017-exec.t TEST 13: exec after named location capture (memc) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "hello hello hello world world world"
length: 35
strings begin to differ at char 1 (line 1 column 1)
017-exec.t ERROR: client socket timed out - TEST 13: exec after named location capture (memc) '
017-exec.t TEST 13: exec after named location capture (memc) - status code ok got: ''
expected: '200'
017-exec.t TEST 13: exec after named location capture (memc) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "hello hello hello world world world"
length: 35
strings begin to differ at char 1 (line 1 column 1)
020-subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
020-subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
020-subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
020-subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
020-subrequest.t TEST 78: avoid request smuggling 2/4 (POST capture + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 78: avoid request smuggling 2/4 (POST capture + smuggle in body) - response_body - response is expected (repeated req 0, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
020-subrequest.t TEST 78: avoid request smuggling 2/4 (POST capture + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 78: avoid request smuggling 2/4 (POST capture + smuggle in body) - response_body - response is expected (repeated req 1, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
020-subrequest.t ERROR: client socket timed out - TEST 32: test memcached with subrequests '
020-subrequest.t TEST 32: test memcached with subrequests - status code ok got: ''
expected: '200'
020-subrequest.t TEST 32: test memcached with subrequests - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
020-subrequest.t TEST 32: test memcached with subrequests - pattern "lua reuse free buf chain, but reallocate memory because" should match a line in error.log (req 0)
020-subrequest.t ERROR: client socket timed out - TEST 32: test memcached with subrequests '
020-subrequest.t TEST 32: test memcached with subrequests - status code ok got: ''
expected: '200'
020-subrequest.t TEST 32: test memcached with subrequests - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
020-subrequest.t TEST 32: test memcached with subrequests - pattern "lua reuse free buf chain, but reallocate memory because" should match a line in error.log (req 1)
020-subrequest.t TEST 32: test memcached with subrequests - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:56:20 [error] 917\#0: *195 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", subrequest: \"/flush\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 03:56:20 [debug] 917\#0: *195 finalize http upstream request: 504
2020/10/27 03:56:20 [debug] 917\#0: *195 finalize http memcached request
2020/10/27 03:56:20 [debug] 917\#0: *195 close http upstream connection: 4
2020/10/27 03:56:20 [debug] 917\#0: *195 reusable connection: 0
2020/10/27 03:56:20 [debug] 917\#0: *195 http finalize request: 504, "/flush?" a:0, c:2
2020/10/27 03:56:20 [debug] 917\#0: *195 lua run post subrequest handler, rc:504 c:2
2020/10/27 03:56:20 [debug] 917\#0: *195 lua restoring write event handler
2020/10/27 03:56:20 [debug] 917\#0: *195 malloc: 09989D20:8
2020/10/27 03:56:20 [debug] 917\#0: *195 malloc: 09989D60:8
'
020-subrequest.t TEST 69: modify subrequest's builtin request headers - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:56:23 [error] 917\#0: *197 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", subrequest: \"/flush\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 03:56:23 [debug] 917\#0: *197 finalize http upstream request: 504
2020/10/27 03:56:23 [debug] 917\#0: *197 finalize http memcached request
2020/10/27 03:56:23 [debug] 917\#0: *197 close http upstream connection: 14
2020/10/27 03:56:23 [debug] 917\#0: *197 reusable connection: 0
2020/10/27 03:56:23 [debug] 917\#0: *197 http finalize request: 504, "/flush?" a:0, c:2
2020/10/27 03:56:23 [debug] 917\#0: *197 lua run post subrequest handler, rc:504 c:2
2020/10/27 03:56:23 [debug] 917\#0: *197 lua restoring write event handler
2020/10/27 03:56:23 [debug] 917\#0: *197 malloc: 09978F90:8
2020/10/27 03:56:23 [debug] 917\#0: *197 malloc: 09978FA0:8
'
020-subrequest.t TEST 79: avoid request smuggling 3/4 (POST capture w/ always_forward_body + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 79: avoid request smuggling 3/4 (POST capture w/ always_forward_body + smuggle in body) - response_body - response is expected (repeated req 0, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
020-subrequest.t TEST 79: avoid request smuggling 3/4 (POST capture w/ always_forward_body + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 79: avoid request smuggling 3/4 (POST capture w/ always_forward_body + smuggle in body) - response_body - response is expected (repeated req 1, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
020-subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
020-subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
020-subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
020-subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
020-subrequest.t TEST 77: avoid request smuggling 1/4 (default capture + smuggle in header) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 77: avoid request smuggling 1/4 (default capture + smuggle in header) - response_body - response is expected (repeated req 0, req 0) @@ -1,22 +0,0 @@
-req bytes: 146
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-1f
-method: GET, uri: /foo, X: nil
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-2d
-method: GET, uri: /foo, X: GET /bar HTTP/1.0
-
-0
'
020-subrequest.t TEST 77: avoid request smuggling 1/4 (default capture + smuggle in header) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 77: avoid request smuggling 1/4 (default capture + smuggle in header) - response_body - response is expected (repeated req 1, req 0) @@ -1,22 +0,0 @@
-req bytes: 146
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-1f
-method: GET, uri: /foo, X: nil
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-2d
-method: GET, uri: /foo, X: GET /bar HTTP/1.0
-
-0
'
020-subrequest.t TEST 16: non-empty args option table (2 pairs) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:57:14 [error] 1544\#0: *747 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 03:57:14 [debug] 733\#0: malloc: 09992ED8:8
2020/10/27 03:57:14 [debug] 1544\#0: *747 finalize http upstream request: 504
2020/10/27 03:57:14 [debug] 733\#0: malloc: 099BA460:64
2020/10/27 03:57:14 [debug] 1544\#0: *747 finalize http memcached request
2020/10/27 03:57:14 [debug] 733\#0: malloc: 09992EE8:8
2020/10/27 03:57:14 [debug] 1544\#0: *747 close http upstream connection: 6
2020/10/27 03:57:14 [debug] 733\#0: malloc: 099BA4A8:128
2020/10/27 03:57:14 [debug] 1544\#0: *747 reusable connection: 0
2020/10/27 03:57:14 [debug] 733\#0: malloc: 0997CB18:8
'
020-subrequest.t TEST 10: PUT (no body, no proxy method) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:57:17 [error] 1544\#0: *749 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 03:57:17 [debug] 1544\#0: *749 finalize http upstream request: 504
2020/10/27 03:57:17 [debug] 1544\#0: *749 finalize http memcached request
2020/10/27 03:57:17 [debug] 1544\#0: *749 close http upstream connection: 9
2020/10/27 03:57:17 [debug] 1544\#0: *749 reusable connection: 0
2020/10/27 03:57:17 [debug] 1544\#0: *749 http finalize request: 504, "/memc?" a:0, c:2
2020/10/27 03:57:17 [debug] 1544\#0: *749 lua run post subrequest handler, rc:504 c:2
2020/10/27 03:57:17 [debug] 1544\#0: *749 lua restoring write event handler
2020/10/27 03:57:17 [debug] 1544\#0: *749 malloc: 099A97E0:8
2020/10/27 03:57:17 [debug] 1544\#0: *749 malloc: 09980008:8
'
020-subrequest.t TEST 75: WebDAV + MOVE - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:57:20 [error] 917\#0: *195 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 03:57:20 [debug] 917\#0: *195 finalize http upstream request: 504
2020/10/27 03:57:20 [debug] 917\#0: *195 finalize http memcached request
2020/10/27 03:57:20 [debug] 917\#0: *195 close http upstream connection: 4
2020/10/27 03:57:20 [debug] 917\#0: *195 reusable connection: 0
2020/10/27 03:57:20 [debug] 917\#0: *195 http finalize request: 504, "/memc?" a:0, c:2
2020/10/27 03:57:20 [debug] 917\#0: *195 lua run post subrequest handler, rc:504 c:2
2020/10/27 03:57:20 [debug] 917\#0: *195 lua restoring write event handler
2020/10/27 03:57:20 [debug] 917\#0: *195 malloc: 09997660:8
2020/10/27 03:57:20 [debug] 917\#0: *195 malloc: 09997670:8
'
020-subrequest.t TEST 80: avoid request smuggling 4/4 (POST capture w/ body + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 80: avoid request smuggling 4/4 (POST capture w/ body + smuggle in body) - response_body - response is expected (repeated req 0, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
020-subrequest.t TEST 80: avoid request smuggling 4/4 (POST capture w/ body + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 80: avoid request smuggling 4/4 (POST capture w/ body + smuggle in body) - response_body - response is expected (repeated req 1, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
023-rewrite/client-abort.t TEST 16: cosocket + stop - pattern "client prematurely closed connection" should match a line in error.log (req 0)
023-rewrite/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:59:55 [error] 3864\#0: *173 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 03:59:55 [debug] 3864\#0: *173 lua tcp socket handle connect error
2020/10/27 03:59:55 [debug] 3864\#0: *173 lua finalize socket
2020/10/27 03:59:55 [debug] 3864\#0: *173 lua http cleanup free: 096D0D50
2020/10/27 03:59:55 [debug] 3864\#0: *173 lua close socket connection
2020/10/27 03:59:55 [debug] 3864\#0: *173 reusable connection: 0
2020/10/27 03:59:55 [debug] 3864\#0: *173 lua tcp socket waking up the current request
2020/10/27 03:59:55 [debug] 3864\#0: *173 rewrite phase: 6
2020/10/27 03:59:55 [debug] 3864\#0: *173 lua rewrite handler, uri:"/t" c:1
2020/10/27 03:59:55 [debug] 3864\#0: *173 lua tcp operation done, resuming lua thread
'
023-rewrite/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:59:55 [error] 3864\#0: *173 [lua] rewrite_by_lua(nginx.conf:71):12: failed to connect: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 03:59:55 [debug] 3864\#0: *173 lua resume returned 0
2020/10/27 03:59:55 [debug] 3864\#0: *173 lua light thread ended normally
2020/10/27 03:59:55 [debug] 3864\#0: *173 lua deleting light thread B6DB5870 (ref 1)
2020/10/27 03:59:55 [debug] 3864\#0: *173 lua caching unused lua thread B6DB5870 (ref 1)
2020/10/27 03:59:55 [debug] 3864\#0: *173 lua run thread returned 0
2020/10/27 03:59:55 [debug] 3864\#0: *173 post rewrite phase: 7
2020/10/27 03:59:55 [debug] 3864\#0: *173 generic phase: 8
2020/10/27 03:59:55 [debug] 3864\#0: *173 generic phase: 9
2020/10/27 03:59:55 [debug] 3864\#0: *173 generic phase: 10
'
023-rewrite/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:59:55 [error] 3864\#0: *173 open() \"/home/ec2-user/git/lua-nginx-module/t/servroot/html/t\" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 03:59:55 [debug] 3864\#0: *173 http finalize request: 404, "/t?" a:1, c:1
2020/10/27 03:59:55 [debug] 3864\#0: *173 http special response: 404, "/t?"
2020/10/27 03:59:55 [debug] 3864\#0: *173 http set discard body
2020/10/27 03:59:55 [debug] 3864\#0: *173 lua capture header filter, uri "/t"
2020/10/27 03:59:55 [debug] 3864\#0: *173 malloc: 096FB408:52
2020/10/27 03:59:55 [debug] 3864\#0: *173 malloc: 096D45D0:8
2020/10/27 03:59:55 [debug] 3864\#0: *173 malloc: 096D7050:177
2020/10/27 03:59:55 [debug] 3864\#0: *173 malloc: 096A7F28:8
2020/10/27 03:59:55 [debug] 3864\#0: *173 HTTP/1.1 404 Not Found
'
023-rewrite/client-abort.t TEST 16: cosocket + stop - pattern "client prematurely closed connection" should match a line in error.log (req 1)
023-rewrite/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:59:56 [error] 3864\#0: *175 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 03:59:56 [debug] 3864\#0: *175 lua tcp socket handle connect error
2020/10/27 03:59:56 [debug] 3864\#0: *175 lua finalize socket
2020/10/27 03:59:56 [debug] 3864\#0: *175 lua http cleanup free: 096D2D68
2020/10/27 03:59:56 [debug] 3864\#0: *175 lua close socket connection
2020/10/27 03:59:56 [debug] 3864\#0: *175 reusable connection: 0
2020/10/27 03:59:56 [debug] 3864\#0: *175 lua tcp socket waking up the current request
2020/10/27 03:59:56 [debug] 3864\#0: *175 rewrite phase: 6
2020/10/27 03:59:56 [debug] 3864\#0: *175 lua rewrite handler, uri:"/t" c:1
2020/10/27 03:59:56 [debug] 3864\#0: *175 lua tcp operation done, resuming lua thread
'
023-rewrite/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:59:56 [error] 3864\#0: *175 [lua] rewrite_by_lua(nginx.conf:71):12: failed to connect: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 03:59:56 [debug] 3864\#0: *175 lua resume returned 0
2020/10/27 03:59:56 [debug] 3864\#0: *175 lua light thread ended normally
2020/10/27 03:59:56 [debug] 3864\#0: *175 lua deleting light thread B6DB5870 (ref 1)
2020/10/27 03:59:56 [debug] 3864\#0: *175 lua caching unused lua thread B6DB5870 (ref 1)
2020/10/27 03:59:56 [debug] 3864\#0: *175 lua run thread returned 0
2020/10/27 03:59:56 [debug] 3864\#0: *175 post rewrite phase: 7
2020/10/27 03:59:56 [debug] 3864\#0: *175 generic phase: 8
2020/10/27 03:59:56 [debug] 3864\#0: *175 generic phase: 9
2020/10/27 03:59:56 [debug] 3864\#0: *175 generic phase: 10
'
023-rewrite/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 03:59:56 [error] 3864\#0: *175 open() \"/home/ec2-user/git/lua-nginx-module/t/servroot/html/t\" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 03:59:56 [debug] 3864\#0: *175 http finalize request: 404, "/t?" a:1, c:1
2020/10/27 03:59:56 [debug] 3864\#0: *175 http special response: 404, "/t?"
2020/10/27 03:59:56 [debug] 3864\#0: *175 http set discard body
2020/10/27 03:59:56 [debug] 3864\#0: *175 lua capture header filter, uri "/t"
2020/10/27 03:59:56 [debug] 3864\#0: *175 malloc: 096BE550:52
2020/10/27 03:59:56 [debug] 3864\#0: *175 malloc: 096C0ED8:8
2020/10/27 03:59:56 [debug] 3864\#0: *175 malloc: 096B29F0:177
2020/10/27 03:59:56 [debug] 3864\#0: *175 malloc: 096FB408:8
2020/10/27 03:59:56 [debug] 3864\#0: *175 HTTP/1.1 404 Not Found
'
023-rewrite/client-abort.t TEST 17: ngx.req.socket + receive n < content-length + stop - pattern "failed to receive: client aborted" should match a line in error.log (req 0)
023-rewrite/client-abort.t TEST 17: ngx.req.socket + receive n < content-length + stop - pattern "failed to receive: client aborted" should match a line in error.log (req 1)
023-rewrite/mixed.t ERROR: client socket timed out - TEST 1: rewrite I/O with content I/O '
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - status code ok got: ''
expected: '200'
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "content GET: 404\x{0a}content PUT: 201\x{0a}content cached: "...
length: 56
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - grep_error_log_out (req 0) got: ""
length: 0
expected: "rewrite GET: 404\x{0a}rewrite PUT: 201\x{0a}rewrite cached: "...
length: 56
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/mixed.t ERROR: client socket timed out - TEST 1: rewrite I/O with content I/O '
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - status code ok got: ''
expected: '200'
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "content GET: 404\x{0a}content PUT: 201\x{0a}content cached: "...
length: 56
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/mixed.t TEST 1: rewrite I/O with content I/O - grep_error_log_out (req 1) got: ""
length: 0
expected: "rewrite GET: 404\x{0a}rewrite PUT: 201\x{0a}rewrite cached: "...
length: 56
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 0, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 1, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 2, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 3, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 4, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 5, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 6, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 7, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 8, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
023-rewrite/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 9, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 2, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 3, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 4, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 5, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 6, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 7, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 8, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
023-rewrite/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 9, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 0, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 1, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 2, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 3, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 4, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 5, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 6, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 7, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 8, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
023-rewrite/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 9, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
023-rewrite/on-abort.t TEST 7: accessing cosocket in callback - pattern "callback done: +OK" should match a line in error.log (req 0)
023-rewrite/on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:03:50 [error] 5784\#0: *193 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:03:50 [debug] 5784\#0: *193 lua tcp socket handle connect error
2020/10/27 04:03:50 [debug] 5784\#0: *193 lua finalize socket
2020/10/27 04:03:50 [debug] 5784\#0: *193 lua http cleanup free: 09F2B148
2020/10/27 04:03:50 [debug] 5784\#0: *193 lua close socket connection
2020/10/27 04:03:50 [debug] 5784\#0: *193 reusable connection: 0
2020/10/27 04:03:50 [debug] 5784\#0: *193 lua tcp socket waking up the current request
2020/10/27 04:03:50 [debug] 5784\#0: *193 rewrite phase: 6
2020/10/27 04:03:50 [debug] 5784\#0: *193 lua rewrite handler, uri:"/t" c:1
2020/10/27 04:03:50 [debug] 5784\#0: *193 lua tcp operation done, resuming lua thread
'
023-rewrite/on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:03:50 [error] 5784\#0: *193 [lua] rewrite_by_lua(nginx.conf:71):7: failed to connect to redis: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:03:50 [debug] 5784\#0: *193 lua exit with code 499
2020/10/27 04:03:50 [debug] 5784\#0: *193 lua resume returned 1
2020/10/27 04:03:50 [debug] 5784\#0: *193 lua thread yielded
2020/10/27 04:03:50 [debug] 5784\#0: *193 lua thread aborting request with status 499
2020/10/27 04:03:50 [debug] 5784\#0: *193 lua request cleanup: forcible=0
2020/10/27 04:03:50 [debug] 5784\#0: *193 http lua finalize threads
2020/10/27 04:03:50 [debug] 5784\#0: *193 lua deleting light thread B6E03F40 (ref 2)
2020/10/27 04:03:50 [debug] 5784\#0: *193 http lua unref thread B6E03F40: 2
2020/10/27 04:03:50 [debug] 5784\#0: lua clean up the timer for pending ngx.sleep
'
023-rewrite/on-abort.t TEST 7: accessing cosocket in callback - pattern "callback done: +OK" should match a line in error.log (req 1)
023-rewrite/on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:03:50 [error] 5784\#0: *195 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:03:50 [debug] 5784\#0: *195 lua tcp socket handle connect error
2020/10/27 04:03:50 [debug] 5784\#0: *195 lua finalize socket
2020/10/27 04:03:50 [debug] 5784\#0: *195 lua http cleanup free: 09F1BA00
2020/10/27 04:03:50 [debug] 5784\#0: *195 lua close socket connection
2020/10/27 04:03:50 [debug] 5784\#0: *195 reusable connection: 0
2020/10/27 04:03:50 [debug] 5784\#0: *195 lua tcp socket waking up the current request
2020/10/27 04:03:50 [debug] 5784\#0: *195 rewrite phase: 6
2020/10/27 04:03:50 [debug] 5784\#0: *195 lua rewrite handler, uri:"/t" c:1
2020/10/27 04:03:50 [debug] 5784\#0: *195 lua tcp operation done, resuming lua thread
'
023-rewrite/on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:03:50 [error] 5784\#0: *195 [lua] rewrite_by_lua(nginx.conf:71):7: failed to connect to redis: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:03:50 [debug] 5784\#0: *195 lua exit with code 499
2020/10/27 04:03:50 [debug] 5784\#0: *195 lua resume returned 1
2020/10/27 04:03:50 [debug] 5784\#0: *195 lua thread yielded
2020/10/27 04:03:50 [debug] 5784\#0: *195 lua thread aborting request with status 499
2020/10/27 04:03:50 [debug] 5784\#0: *195 lua request cleanup: forcible=0
2020/10/27 04:03:50 [debug] 5784\#0: *195 http lua finalize threads
2020/10/27 04:03:50 [debug] 5784\#0: *195 lua deleting light thread B6E23498 (ref 2)
2020/10/27 04:03:50 [debug] 5784\#0: *195 http lua unref thread B6E23498: 2
2020/10/27 04:03:50 [debug] 5784\#0: lua clean up the timer for pending ngx.sleep
'
023-rewrite/req-socket.t TEST 5: receive until on request_body - receiveuntil(1) on the last byte of the body - status code ok got: ''
expected: '200'
023-rewrite/req-socket.t TEST 5: receive until on request_body - receiveuntil(1) on the last byte of the body - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-got the request socket
-received: -----------------------------820127721219505131303151179
-received len: 8192
-received: $
-done
'
023-rewrite/req-socket.t TEST 5: receive until on request_body - receiveuntil(1) on the last byte of the body - status code ok got: ''
expected: '200'
023-rewrite/req-socket.t TEST 5: receive until on request_body - receiveuntil(1) on the last byte of the body - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-got the request socket
-received: -----------------------------820127721219505131303151179
-received len: 8192
-received: $
-done
'
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 1: sanity '
023-rewrite/socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-rewrite/socket-keepalive.t TEST 1: sanity - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"
-lua tcp socket get keepalive peer: using connection
'
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 1: sanity '
023-rewrite/socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-rewrite/socket-keepalive.t TEST 1: sanity - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-lua tcp socket get keepalive peer: using connection
-lua tcp socket get keepalive peer: using connection
'
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 2: free up the whole connection pool if no active connections '
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 2: free up the whole connection pool if no active connections '
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 3: upstream sockets close prematurely - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 3: upstream sockets close prematurely - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 3: upstream sockets close prematurely - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 3: upstream sockets close prematurely - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 3: upstream sockets close prematurely - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 3: upstream sockets close prematurely - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 3: upstream sockets close prematurely - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 3: upstream sockets close prematurely - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 4: http keepalive - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 4: http keepalive - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 4: http keepalive - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 4: http keepalive - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "(?^:lua tcp socket connection pool size: 1\b)" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "(?^:lua tcp socket connection pool size: 1\b)" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-lua tcp socket connection pool size: 30
-lua tcp socket keepalive timeout: unlimited
'
023-rewrite/socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - grep_error_log_out (req 1) got: ''
expected: 'lua tcp socket keepalive timeout: unlimited
'
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive timeout: 123 ms" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive timeout: 123 ms" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive timeout: 101 ms" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "(?^:lua tcp socket connection pool size: 25\b)" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive timeout: 101 ms" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "(?^:lua tcp socket connection pool size: 25\b)" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t TEST 10: sock:keepalive_timeout(0) means unlimited - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 10: sock:keepalive_timeout(0) means unlimited - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 10: sock:keepalive_timeout(0) means unlimited - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-lua tcp socket connection pool size: 30
-lua tcp socket keepalive timeout: unlimited
'
023-rewrite/socket-keepalive.t TEST 10: sock:keepalive_timeout(0) means unlimited - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 10: sock:keepalive_timeout(0) means unlimited - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
023-rewrite/socket-keepalive.t TEST 10: sock:keepalive_timeout(0) means unlimited - grep_error_log_out (req 1) got: ''
expected: 'lua tcp socket keepalive timeout: unlimited
'
023-rewrite/socket-keepalive.t TEST 11: sanity (uds) - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 11: sanity (uds) - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 61
received response of 119 bytes
connected: 1, reused: [1-9]\d*
request sent: 61
received response of 119 bytes
)'
023-rewrite/socket-keepalive.t TEST 11: sanity (uds) - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-lua tcp socket keepalive create connection pool for key "unix:
-lua tcp socket get keepalive peer: using connection
'
023-rewrite/socket-keepalive.t TEST 11: sanity (uds) - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 11: sanity (uds) - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 61
received response of 119 bytes
connected: 1, reused: [1-9]\d*
request sent: 61
received response of 119 bytes
)'
023-rewrite/socket-keepalive.t TEST 11: sanity (uds) - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-lua tcp socket get keepalive peer: using connection
-lua tcp socket get keepalive peer: using connection
'
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 12: github issue \#108: ngx.locaiton.capture + redis.set_keepalive '
023-rewrite/socket-keepalive.t TEST 12: github issue \#108: ngx.locaiton.capture + redis.set_keepalive - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 12: github issue \#108: ngx.locaiton.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.locaiton.capture + redis.set_keepalive - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 12: github issue \#108: ngx.locaiton.capture + redis.set_keepalive '
023-rewrite/socket-keepalive.t TEST 12: github issue \#108: ngx.locaiton.capture + redis.set_keepalive - status code ok got: ''
expected: '200'
023-rewrite/socket-keepalive.t TEST 12: github issue \#108: ngx.locaiton.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.locaiton.capture + redis.set_keepalive - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit '
023-rewrite/socket-keepalive.t TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - status code ok got: ''
expected: '404'
023-rewrite/socket-keepalive.t TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'Not found, dear...
'
023-rewrite/socket-keepalive.t ERROR: client socket timed out - TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit '
023-rewrite/socket-keepalive.t TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - status code ok got: ''
expected: '404'
023-rewrite/socket-keepalive.t TEST 13: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'Not found, dear...
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 22: more args '
023-rewrite/subrequest.t TEST 22: more args - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 22: more args - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-copass: res 404
-copas: capture /memc_set
-copss: status 200
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 22: more args '
023-rewrite/subrequest.t TEST 22: more args - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 22: more args - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-copass: res 404
-copas: capture /memc_set
-copss: status 200
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
023-rewrite/subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
023-rewrite/subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
023-rewrite/subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
023-rewrite/subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
023-rewrite/subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
023-rewrite/subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-GET: 404
-PUT: 201
-cached: hello
'
023-rewrite/tcp-socket.t TEST 2: no trailing newline - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 2: no trailing newline - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}received: HTTP/1.1 2"...
length: 228
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 2: no trailing newline - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 2: no trailing newline - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}received: HTTP/1.1 2"...
length: 228
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 25: send tables of string fragments - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 25: send tables of string fragments - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}received: HTTP/1.1 2"...
length: 245
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 25: send tables of string fragments - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 25: send tables of string fragments - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}received: HTTP/1.1 2"...
length: 245
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 14: receive by chunks (very small buffer) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 14: receive by chunks (very small buffer) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}[HTTP/1.1 2][00 OK\x{0d}\x{0a}"...
length: 201
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 14: receive by chunks (very small buffer) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 14: receive by chunks (very small buffer) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}[HTTP/1.1 2][00 OK\x{0d}\x{0a}"...
length: 201
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 10: explicit *l pattern for receive - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 10: explicit *l pattern for receive - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}received: HTTP/1.1 2"...
length: 242
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 10: explicit *l pattern for receive - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 10: explicit *l pattern for receive - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}received: HTTP/1.1 2"...
length: 242
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 20: cannot survive across request boundary (receive) '
023-rewrite/tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
023-rewrite/tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: '500'
expected: '200'
023-rewrite/tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
023-rewrite/tcp-socket.t TEST 13: receive by chunks - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 13: receive by chunks - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}[HTTP/1.1 2][00 OK\x{0d}\x{0a}"...
length: 201
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 13: receive by chunks - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 13: receive by chunks - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}[HTTP/1.1 2][00 OK\x{0d}\x{0a}"...
length: 201
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 19: cannot survive across request boundary (send) '
023-rewrite/tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
023-rewrite/tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: '500'
expected: '200'
023-rewrite/tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
023-rewrite/tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "1: connected: 1\x{0a}2: connected: 1\x{0a}1: request sent: 1"...
length: 149
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
023-rewrite/tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "1: connected: 1\x{0a}2: connected: 1\x{0a}1: request sent: 1"...
length: 149
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 4: with resolver - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 4: with resolver - response_body_like - response is expected () ''
doesn't match '(?^s:connected: 1
request sent: 56
first line received: HTTP\/1\.1 200 OK
second line received: (?:Date|Server): .*?
)'
023-rewrite/tcp-socket.t TEST 4: with resolver - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 4: with resolver - response_body_like - response is expected () ''
doesn't match '(?^s:connected: 1
request sent: 56
first line received: HTTP\/1\.1 200 OK
second line received: (?:Date|Server): .*?
)'
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 21: cannot survive across request boundary (close) '
023-rewrite/tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
023-rewrite/tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: '500'
expected: '200'
023-rewrite/tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
023-rewrite/tcp-socket.t TEST 11: *a pattern for receive - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 11: *a pattern for receive - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}receive: HTTP/1.1 20"...
length: 164
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 11: *a pattern for receive - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 11: *a pattern for receive - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}receive: HTTP/1.1 20"...
length: 164
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 12: mixing *a and *l patterns for receive - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 12: mixing *a and *l patterns for receive - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}receive: HTTP/1.1 20"...
length: 181
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 12: mixing *a and *l patterns for receive - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 12: mixing *a and *l patterns for receive - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}receive: HTTP/1.1 20"...
length: 181
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 16: ngx.socket.connect (working) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 16: ngx.socket.connect (working) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected.\x{0a}request sent: 57\x{0a}received: HTTP/1.1 200"...
length: 243
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 16: ngx.socket.connect (working) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 16: ngx.socket.connect (working) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected.\x{0a}request sent: 57\x{0a}received: HTTP/1.1 200"...
length: 243
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) '
023-rewrite/tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 11\x{0a}received: OK\x{0a}close: "...
length: 77
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) '
023-rewrite/tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 11\x{0a}received: OK\x{0a}close: "...
length: 77
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}received: HTTP/1.1 2"...
length: 245
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}received: HTTP/1.1 2"...
length: 245
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 15: line reading (very small buffer) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 15: line reading (very small buffer) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}received: HTTP/1.1 2"...
length: 245
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 15: line reading (very small buffer) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:10:43 [error] 9649\#0: *166 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:10:43 [debug] 9649\#0: *166 lua tcp socket handle read error
2020/10/27 04:10:43 [debug] 9649\#0: *166 lua tcp socket waking up the current request
2020/10/27 04:10:43 [debug] 9649\#0: *166 rewrite phase: 6
2020/10/27 04:10:43 [debug] 9649\#0: *166 lua rewrite handler, uri:"/t" c:1
2020/10/27 04:10:43 [debug] 9649\#0: *166 lua tcp operation done, resuming lua thread
2020/10/27 04:10:43 [debug] 9649\#0: *166 lua tcp socket calling prepare retvals handler 081507EA, u:B6DBEE60
2020/10/27 04:10:43 [debug] 9649\#0: *166 lua tcp socket receive return value handler
2020/10/27 04:10:43 [debug] 9649\#0: *166 lua run thread, top:0 c:1
2020/10/27 04:10:43 [debug] 9649\#0: *166 malloc: 084CC6D8:8
'
023-rewrite/tcp-socket.t TEST 15: line reading (very small buffer) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 15: line reading (very small buffer) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}received: HTTP/1.1 2"...
length: 245
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 18: receive by chunks (stringified size) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 18: receive by chunks (stringified size) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}[HTTP/1.1 2][00 OK\x{0d}\x{0a}"...
length: 201
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t TEST 18: receive by chunks (stringified size) - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 18: receive by chunks (stringified size) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}request sent: 57\x{0a}[HTTP/1.1 2][00 OK\x{0d}\x{0a}"...
length: 201
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
023-rewrite/tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}connected again: 1\x{0a}request sent: 11\x{0a}r"...
length: 75
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
023-rewrite/tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
023-rewrite/tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "connected: 1\x{0a}connected again: 1\x{0a}request sent: 11\x{0a}r"...
length: 75
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/unix-socket.t TEST 3: sanity - status code ok got: ''
expected: '200'
023-rewrite/unix-socket.t TEST 3: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
023-rewrite/unix-socket.t TEST 3: sanity - status code ok got: ''
expected: '200'
023-rewrite/unix-socket.t TEST 3: sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
023-rewrite/uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
023-rewrite/uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:11:16 [error] 10739\#0: *49 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:11:16 [debug] 10739\#0: *49 lua tcp socket handle connect error
2020/10/27 04:11:16 [debug] 10739\#0: *49 lua finalize socket
2020/10/27 04:11:16 [debug] 10739\#0: *49 lua http cleanup free: 097E73F8
2020/10/27 04:11:16 [debug] 10739\#0: *49 lua close socket connection
2020/10/27 04:11:16 [debug] 10739\#0: *49 reusable connection: 0
2020/10/27 04:11:16 [debug] 10739\#0: *49 lua tcp socket waking up the current request
2020/10/27 04:11:16 [debug] 10739\#0: *49 rewrite phase: 6
2020/10/27 04:11:16 [debug] 10739\#0: *49 lua rewrite handler, uri:"/lua" c:1
2020/10/27 04:11:16 [debug] 10739\#0: *49 lua tcp operation done, resuming lua thread
'
023-rewrite/uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
023-rewrite/uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:11:17 [error] 10739\#0: *51 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:11:17 [debug] 10739\#0: *51 lua tcp socket handle connect error
2020/10/27 04:11:17 [debug] 10739\#0: *51 lua finalize socket
2020/10/27 04:11:17 [debug] 10739\#0: *51 lua http cleanup free: 097E73F8
2020/10/27 04:11:17 [debug] 10739\#0: *51 lua close socket connection
2020/10/27 04:11:17 [debug] 10739\#0: *51 reusable connection: 0
2020/10/27 04:11:17 [debug] 10739\#0: *51 lua tcp socket waking up the current request
2020/10/27 04:11:17 [debug] 10739\#0: *51 rewrite phase: 6
2020/10/27 04:11:17 [debug] 10739\#0: *51 lua rewrite handler, uri:"/lua" c:1
2020/10/27 04:11:17 [debug] 10739\#0: *51 lua tcp operation done, resuming lua thread
'
023-rewrite/uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
023-rewrite/uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:11:30 [error] 10935\#0: *225 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:11:30 [debug] 10935\#0: *225 lua tcp socket handle connect error
2020/10/27 04:11:30 [debug] 10935\#0: *225 lua finalize socket
2020/10/27 04:11:30 [debug] 10935\#0: *225 lua http cleanup free: 097FE3F0
2020/10/27 04:11:30 [debug] 10935\#0: *225 lua close socket connection
2020/10/27 04:11:30 [debug] 10935\#0: *225 reusable connection: 0
2020/10/27 04:11:30 [debug] 10935\#0: *225 lua tcp socket waking up the current request
2020/10/27 04:11:30 [debug] 10935\#0: *225 rewrite phase: 6
2020/10/27 04:11:30 [debug] 10935\#0: *225 lua rewrite handler, uri:"/lua" c:1
2020/10/27 04:11:30 [debug] 10935\#0: *225 lua tcp operation done, resuming lua thread
'
023-rewrite/uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
023-rewrite/uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:11:30 [error] 10935\#0: *227 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:11:30 [debug] 10935\#0: *227 lua tcp socket handle connect error
2020/10/27 04:11:30 [debug] 10935\#0: *227 lua finalize socket
2020/10/27 04:11:30 [debug] 10935\#0: *227 lua http cleanup free: 0981D5B0
2020/10/27 04:11:30 [debug] 10935\#0: *227 lua close socket connection
2020/10/27 04:11:30 [debug] 10935\#0: *227 reusable connection: 0
2020/10/27 04:11:30 [debug] 10935\#0: *227 lua tcp socket waking up the current request
2020/10/27 04:11:30 [debug] 10935\#0: *227 rewrite phase: 6
2020/10/27 04:11:30 [debug] 10935\#0: *227 lua rewrite handler, uri:"/lua" c:1
2020/10/27 04:11:30 [debug] 10935\#0: *227 lua tcp operation done, resuming lua thread
'
023-rewrite/uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
023-rewrite/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
023-rewrite/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
023-rewrite/uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
023-rewrite/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
023-rewrite/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
024-access/client-abort.t TEST 16: cosocket + stop - pattern "client prematurely closed connection" should match a line in error.log (req 0)
024-access/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:13:04 [error] 12149\#0: *199 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:13:04 [debug] 12149\#0: *199 lua tcp socket handle connect error
2020/10/27 04:13:04 [debug] 12149\#0: *199 lua finalize socket
2020/10/27 04:13:04 [debug] 12149\#0: *199 lua http cleanup free: 09B6C270
2020/10/27 04:13:04 [debug] 12149\#0: *199 lua close socket connection
2020/10/27 04:13:04 [debug] 12149\#0: *199 reusable connection: 0
2020/10/27 04:13:04 [debug] 12149\#0: *199 lua tcp socket waking up the current request
2020/10/27 04:13:04 [debug] 12149\#0: *199 access phase: 12
2020/10/27 04:13:04 [debug] 12149\#0: *199 lua access handler, uri:"/t" c:1
2020/10/27 04:13:04 [debug] 12149\#0: *199 lua tcp operation done, resuming lua thread
'
024-access/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:13:04 [error] 12149\#0: *199 [lua] access_by_lua(nginx.conf:71):12: failed to connect: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:13:04 [debug] 12149\#0: *199 lua resume returned 0
2020/10/27 04:13:04 [debug] 12149\#0: *199 lua light thread ended normally
2020/10/27 04:13:04 [debug] 12149\#0: *199 lua deleting light thread B6DBCB90 (ref 1)
2020/10/27 04:13:04 [debug] 12149\#0: *199 lua caching unused lua thread B6DBCB90 (ref 1)
2020/10/27 04:13:04 [debug] 12149\#0: *199 lua run thread returned 0
2020/10/27 04:13:04 [debug] 12149\#0: *199 post access phase: 13
2020/10/27 04:13:04 [debug] 12149\#0: *199 generic phase: 14
2020/10/27 04:13:04 [debug] 12149\#0: *199 generic phase: 15
2020/10/27 04:13:04 [debug] 12149\#0: *199 content phase: 16
'
024-access/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:13:04 [error] 12149\#0: *199 open() \"/home/ec2-user/git/lua-nginx-module/t/servroot/html/t\" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:13:04 [debug] 12149\#0: *199 http finalize request: 404, "/t?" a:1, c:1
2020/10/27 04:13:04 [debug] 12149\#0: *199 http special response: 404, "/t?"
2020/10/27 04:13:04 [debug] 12149\#0: *199 http set discard body
2020/10/27 04:13:04 [debug] 12149\#0: *199 lua capture header filter, uri "/t"
2020/10/27 04:13:04 [debug] 12149\#0: *199 malloc: 09B252E0:52
2020/10/27 04:13:04 [debug] 12149\#0: *199 malloc: 09B6B138:8
2020/10/27 04:13:04 [debug] 12149\#0: *199 malloc: 09B31A88:177
2020/10/27 04:13:04 [debug] 12149\#0: *199 malloc: 09B6B148:8
2020/10/27 04:13:04 [debug] 12149\#0: *199 HTTP/1.1 404 Not Found
'
024-access/client-abort.t TEST 16: cosocket + stop - pattern "client prematurely closed connection" should match a line in error.log (req 1)
024-access/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:13:05 [error] 12149\#0: *201 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:13:05 [debug] 12149\#0: *201 lua tcp socket handle connect error
2020/10/27 04:13:05 [debug] 12149\#0: *201 lua finalize socket
2020/10/27 04:13:05 [debug] 12149\#0: *201 lua http cleanup free: 09B4DE28
2020/10/27 04:13:05 [debug] 12149\#0: *201 lua close socket connection
2020/10/27 04:13:05 [debug] 12149\#0: *201 reusable connection: 0
2020/10/27 04:13:05 [debug] 12149\#0: *201 lua tcp socket waking up the current request
2020/10/27 04:13:05 [debug] 12149\#0: *201 access phase: 12
2020/10/27 04:13:05 [debug] 12149\#0: *201 lua access handler, uri:"/t" c:1
2020/10/27 04:13:05 [debug] 12149\#0: *201 lua tcp operation done, resuming lua thread
'
024-access/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:13:05 [error] 12149\#0: *201 [lua] access_by_lua(nginx.conf:71):12: failed to connect: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:13:05 [debug] 12149\#0: *201 lua resume returned 0
2020/10/27 04:13:05 [debug] 12149\#0: *201 lua light thread ended normally
2020/10/27 04:13:05 [debug] 12149\#0: *201 lua deleting light thread B6DBCB90 (ref 1)
2020/10/27 04:13:05 [debug] 12149\#0: *201 lua caching unused lua thread B6DBCB90 (ref 1)
2020/10/27 04:13:05 [debug] 12149\#0: *201 lua run thread returned 0
2020/10/27 04:13:05 [debug] 12149\#0: *201 post access phase: 13
2020/10/27 04:13:05 [debug] 12149\#0: *201 generic phase: 14
2020/10/27 04:13:05 [debug] 12149\#0: *201 generic phase: 15
2020/10/27 04:13:05 [debug] 12149\#0: *201 content phase: 16
'
024-access/client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:13:05 [error] 12149\#0: *201 open() \"/home/ec2-user/git/lua-nginx-module/t/servroot/html/t\" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:13:05 [debug] 12149\#0: *201 http finalize request: 404, "/t?" a:1, c:1
2020/10/27 04:13:05 [debug] 12149\#0: *201 http special response: 404, "/t?"
2020/10/27 04:13:05 [debug] 12149\#0: *201 http set discard body
2020/10/27 04:13:05 [debug] 12149\#0: *201 lua capture header filter, uri "/t"
2020/10/27 04:13:05 [debug] 12149\#0: *201 malloc: 09B35C38:52
2020/10/27 04:13:05 [debug] 12149\#0: *201 malloc: 09B6B138:8
2020/10/27 04:13:05 [debug] 12149\#0: *201 malloc: 09B268A0:177
2020/10/27 04:13:05 [debug] 12149\#0: *201 malloc: 09B6B148:8
2020/10/27 04:13:05 [debug] 12149\#0: *201 HTTP/1.1 404 Not Found
'
024-access/client-abort.t TEST 17: ngx.req.socket + receive n < content-length + stop - pattern "failed to receive: client aborted" should match a line in error.log (req 0)
024-access/client-abort.t TEST 17: ngx.req.socket + receive n < content-length + stop - pattern "failed to receive: client aborted" should match a line in error.log (req 1)
024-access/mixed.t ERROR: client socket timed out - TEST 1: access I/O with content I/O '
024-access/mixed.t TEST 1: access I/O with content I/O - status code ok got: ''
expected: '200'
024-access/mixed.t TEST 1: access I/O with content I/O - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-content GET: 404
-content PUT: 201
-content cached: hello
'
024-access/mixed.t TEST 1: access I/O with content I/O - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-access GET: 404
-access PUT: 201
-access cached: hello
'
024-access/mixed.t ERROR: client socket timed out - TEST 1: access I/O with content I/O '
024-access/mixed.t TEST 1: access I/O with content I/O - status code ok got: ''
expected: '200'
024-access/mixed.t TEST 1: access I/O with content I/O - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-content GET: 404
-content PUT: 201
-content cached: hello
'
024-access/mixed.t TEST 1: access I/O with content I/O - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-access GET: 404
-access PUT: 201
-access cached: hello
'
024-access/mixed.t ERROR: client socket timed out - TEST 6: rewrite I/O with access I/O with content I/O '
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - status code ok got: ''
expected: '200'
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-content GET: 404
-content PUT: 201
-content cached: hello
'
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - grep_error_log_out (req 0) @@ -1,6 +0,0 @@
-rewrite GET: 404
-rewrite PUT: 201
-rewrite cached: hello
-access GET: 404
-access PUT: 201
-access cached: hello
'
024-access/mixed.t ERROR: client socket timed out - TEST 6: rewrite I/O with access I/O with content I/O '
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - status code ok got: ''
expected: '200'
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-content GET: 404
-content PUT: 201
-content cached: hello
'
024-access/mixed.t TEST 6: rewrite I/O with access I/O with content I/O - grep_error_log_out (req 1) @@ -1,6 +0,0 @@
-rewrite GET: 404
-rewrite PUT: 201
-rewrite cached: hello
-access GET: 404
-access PUT: 201
-access cached: hello
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 2, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 3, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 4, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 5, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 6, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 7, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 8, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
024-access/multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 9, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 0, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 1, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 2, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 3, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 4, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 5, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 6, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 7, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 8, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 9, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 0, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 1, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 2, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 3, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 4, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 5, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 6, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 7, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 8, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
024-access/multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
024-access/multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 9, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
024-access/on-abort.t TEST 7: accessing cosocket in callback - pattern "callback done: +OK" should match a line in error.log (req 0)
024-access/on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:17:07 [error] 14141\#0: *265 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:17:07 [debug] 14141\#0: *265 lua tcp socket handle connect error
2020/10/27 04:17:07 [debug] 14141\#0: *265 lua finalize socket
2020/10/27 04:17:07 [debug] 14141\#0: *265 lua http cleanup free: 09027360
2020/10/27 04:17:07 [debug] 14141\#0: *265 lua close socket connection
2020/10/27 04:17:07 [debug] 14141\#0: *265 reusable connection: 0
2020/10/27 04:17:07 [debug] 14141\#0: *265 lua tcp socket waking up the current request
2020/10/27 04:17:07 [debug] 14141\#0: *265 access phase: 12
2020/10/27 04:17:07 [debug] 14141\#0: *265 lua access handler, uri:"/t" c:1
2020/10/27 04:17:07 [debug] 14141\#0: *265 lua tcp operation done, resuming lua thread
'
024-access/on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:17:07 [error] 14141\#0: *265 [lua] access_by_lua(nginx.conf:71):7: failed to connect to redis: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:17:07 [debug] 14141\#0: *265 lua exit with code 499
2020/10/27 04:17:07 [debug] 14141\#0: *265 lua resume returned 1
2020/10/27 04:17:07 [debug] 14141\#0: *265 lua thread yielded
2020/10/27 04:17:07 [debug] 14141\#0: *265 lua thread aborting request with status 499
2020/10/27 04:17:07 [debug] 14141\#0: *265 lua request cleanup: forcible=0
2020/10/27 04:17:07 [debug] 14141\#0: *265 http lua finalize threads
2020/10/27 04:17:07 [debug] 14141\#0: *265 lua deleting light thread B6DD2C18 (ref 2)
2020/10/27 04:17:07 [debug] 14141\#0: *265 http lua unref thread B6DD2C18: 2
2020/10/27 04:17:07 [debug] 14141\#0: lua clean up the timer for pending ngx.sleep
'
024-access/on-abort.t TEST 7: accessing cosocket in callback - pattern "callback done: +OK" should match a line in error.log (req 1)
024-access/on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:17:08 [error] 14141\#0: *267 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:17:08 [debug] 14141\#0: *267 lua tcp socket handle connect error
2020/10/27 04:17:08 [debug] 14141\#0: *267 lua finalize socket
2020/10/27 04:17:08 [debug] 14141\#0: *267 lua http cleanup free: 09063070
2020/10/27 04:17:08 [debug] 14141\#0: *267 lua close socket connection
2020/10/27 04:17:08 [debug] 14141\#0: *267 reusable connection: 0
2020/10/27 04:17:08 [debug] 14141\#0: *267 lua tcp socket waking up the current request
2020/10/27 04:17:08 [debug] 14141\#0: *267 access phase: 12
2020/10/27 04:17:08 [debug] 14141\#0: *267 lua access handler, uri:"/t" c:1
2020/10/27 04:17:08 [debug] 14141\#0: *267 lua tcp operation done, resuming lua thread
'
024-access/on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:17:08 [error] 14141\#0: *267 [lua] access_by_lua(nginx.conf:71):7: failed to connect to redis: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:17:08 [debug] 14141\#0: *267 lua exit with code 499
2020/10/27 04:17:08 [debug] 14141\#0: *267 lua resume returned 1
2020/10/27 04:17:08 [debug] 14141\#0: *267 lua thread yielded
2020/10/27 04:17:08 [debug] 14141\#0: *267 lua thread aborting request with status 499
2020/10/27 04:17:08 [debug] 14141\#0: *267 lua request cleanup: forcible=0
2020/10/27 04:17:08 [debug] 14141\#0: *267 http lua finalize threads
2020/10/27 04:17:08 [debug] 14141\#0: *267 lua deleting light thread B6DB7510 (ref 2)
2020/10/27 04:17:08 [debug] 14141\#0: *267 http lua unref thread B6DB7510: 2
2020/10/27 04:17:08 [debug] 14141\#0: lua clean up the timer for pending ngx.sleep
'
024-access/subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
024-access/subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
024-access/subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "GET: 404\x{0a}PUT: 201\x{0a}cached: hello\x{0a}"
length: 32
strings begin to differ at char 1 (line 1 column 1)
024-access/subrequest.t ERROR: client socket timed out - TEST 13: POST (with body, memc method) '
024-access/subrequest.t TEST 13: POST (with body, memc method) - status code ok got: ''
expected: '200'
024-access/subrequest.t TEST 13: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "GET: 404\x{0a}PUT: 201\x{0a}cached: hello\x{0a}"
length: 32
strings begin to differ at char 1 (line 1 column 1)
024-access/subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
024-access/subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
024-access/subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "GET: 404\x{0a}PUT: 201\x{0a}cached: hello\x{0a}"
length: 32
strings begin to differ at char 1 (line 1 column 1)
024-access/subrequest.t ERROR: client socket timed out - TEST 12: POST (with body, memc method) '
024-access/subrequest.t TEST 12: POST (with body, memc method) - status code ok got: ''
expected: '200'
024-access/subrequest.t TEST 12: POST (with body, memc method) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "GET: 404\x{0a}PUT: 201\x{0a}cached: hello\x{0a}"
length: 32
strings begin to differ at char 1 (line 1 column 1)
024-access/uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
024-access/uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:20:18 [error] 16999\#0: *53 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:20:18 [debug] 16999\#0: *53 lua tcp socket handle connect error
2020/10/27 04:20:18 [debug] 16999\#0: *53 lua finalize socket
2020/10/27 04:20:18 [debug] 16999\#0: *53 lua http cleanup free: 0A206640
2020/10/27 04:20:18 [debug] 16999\#0: *53 lua close socket connection
2020/10/27 04:20:18 [debug] 16999\#0: *53 reusable connection: 0
2020/10/27 04:20:18 [debug] 16999\#0: *53 lua tcp socket waking up the current request
2020/10/27 04:20:18 [debug] 16999\#0: *53 access phase: 12
2020/10/27 04:20:18 [debug] 16999\#0: *53 lua access handler, uri:"/lua" c:1
2020/10/27 04:20:18 [debug] 16999\#0: *53 lua tcp operation done, resuming lua thread
'
024-access/uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
024-access/uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:20:19 [error] 16999\#0: *55 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:20:19 [debug] 16999\#0: *55 lua tcp socket handle connect error
2020/10/27 04:20:19 [debug] 16999\#0: *55 lua finalize socket
2020/10/27 04:20:19 [debug] 16999\#0: *55 lua http cleanup free: 0A206640
2020/10/27 04:20:19 [debug] 16999\#0: *55 lua close socket connection
2020/10/27 04:20:19 [debug] 16999\#0: *55 reusable connection: 0
2020/10/27 04:20:19 [debug] 16999\#0: *55 lua tcp socket waking up the current request
2020/10/27 04:20:19 [debug] 16999\#0: *55 access phase: 12
2020/10/27 04:20:19 [debug] 16999\#0: *55 lua access handler, uri:"/lua" c:1
2020/10/27 04:20:19 [debug] 16999\#0: *55 lua tcp operation done, resuming lua thread
'
024-access/uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
024-access/uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:20:42 [error] 17335\#0: *351 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:20:42 [debug] 17335\#0: *351 lua tcp socket handle connect error
2020/10/27 04:20:42 [debug] 17335\#0: *351 lua finalize socket
2020/10/27 04:20:42 [debug] 17335\#0: *351 lua http cleanup free: 0A239948
2020/10/27 04:20:42 [debug] 17335\#0: *351 lua close socket connection
2020/10/27 04:20:42 [debug] 17335\#0: *351 reusable connection: 0
2020/10/27 04:20:42 [debug] 17335\#0: *351 lua tcp socket waking up the current request
2020/10/27 04:20:42 [debug] 17335\#0: *351 access phase: 12
2020/10/27 04:20:42 [debug] 17335\#0: *351 lua access handler, uri:"/lua" c:1
2020/10/27 04:20:42 [debug] 17335\#0: *351 lua tcp operation done, resuming lua thread
'
024-access/uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
024-access/uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:20:43 [error] 17335\#0: *353 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:20:43 [debug] 17335\#0: *353 lua tcp socket handle connect error
2020/10/27 04:20:43 [debug] 17335\#0: *353 lua finalize socket
2020/10/27 04:20:43 [debug] 17335\#0: *353 lua http cleanup free: 0A21A9D8
2020/10/27 04:20:43 [debug] 17335\#0: *353 lua close socket connection
2020/10/27 04:20:43 [debug] 17335\#0: *353 reusable connection: 0
2020/10/27 04:20:43 [debug] 17335\#0: *353 lua tcp socket waking up the current request
2020/10/27 04:20:43 [debug] 17335\#0: *353 access phase: 12
2020/10/27 04:20:43 [debug] 17335\#0: *353 lua access handler, uri:"/lua" c:1
2020/10/27 04:20:43 [debug] 17335\#0: *353 lua tcp operation done, resuming lua thread
'
024-access/uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
024-access/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
024-access/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
024-access/uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
024-access/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
024-access/uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
025-codecache.t ERROR: client socket timed out - TEST 30: cosocket connection pool timeout (before Lua VM destroys) '
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should match a line in error.log (req 0)
025-codecache.t ERROR: client socket timed out - TEST 30: cosocket connection pool timeout (before Lua VM destroys) '
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1)
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
025-codecache.t TEST 30: cosocket connection pool timeout (before Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should match a line in error.log (req 1)
025-codecache.t ERROR: client socket timed out - TEST 29: cosocket connection pool timeout (after Lua VM destroys) '
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t 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 ERROR: client socket timed out - TEST 29: cosocket connection pool timeout (after Lua VM destroys) '
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1)
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 1)
025-codecache.t TEST 28: multiple parallel timers - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:22:32 [error] 18029\#0: *1 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:22:32 [debug] 18029\#0: *1 lua tcp socket handle read error
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua tcp socket waking up the current request
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua tcp operation done, resuming lua thread
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua tcp socket calling prepare retvals handler 081507EA, u:B6DB8FB8
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua tcp socket receive return value handler
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua run thread, top:9 c:1
2020/10/27 04:22:32 [debug] 18029\#0: *1 malloc: 09114960:8
2020/10/27 04:22:32 [debug] 18029\#0: *1 malloc: 091149A0:8
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua allocate new chainlink and new buf of size 37, cl:09114960
'
025-codecache.t TEST 28: multiple parallel timers - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:22:32 [error] 18029\#0: *1 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:22:32 [debug] 18029\#0: *1 lua tcp socket handle read error
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua tcp socket waking up the current request
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua tcp operation done, resuming lua thread
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua tcp socket calling prepare retvals handler 081507EA, u:B6DB8FB8
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua tcp socket receive return value handler
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua run thread, top:9 c:1
2020/10/27 04:22:32 [debug] 18029\#0: *1 malloc: 09114960:8
2020/10/27 04:22:32 [debug] 18029\#0: *1 malloc: 091149A0:8
2020/10/27 04:22:32 [debug] 18029\#0: *1 lua allocate new chainlink and new buf of size 37, cl:09114960
'
025-codecache.t TEST 22: set by lua file - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:22:36 [error] 18029\#0: *3 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:22:36 [debug] 18820\#0: *719 malloc: 090F1A30:8
2020/10/27 04:22:36 [debug] 18029\#0: *3 lua tcp socket handle read error
2020/10/27 04:22:36 [debug] 18820\#0: *719 http process request line
2020/10/27 04:22:36 [debug] 18029\#0: *3 lua tcp socket waking up the current request
2020/10/27 04:22:36 [debug] 18820\#0: *719 http request line: "GET /ver HTTP/1.1"
2020/10/27 04:22:36 [debug] 18029\#0: *3 lua tcp operation done, resuming lua thread
2020/10/27 04:22:36 [debug] 18820\#0: *719 http uri: "/ver"
2020/10/27 04:22:36 [debug] 18029\#0: *3 lua tcp socket calling prepare retvals handler 081507EA, u:B6DA7758
2020/10/27 04:22:36 [debug] 18820\#0: *719 http args: ""
'
025-codecache.t TEST 22: set by lua file - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:22:36 [error] 18029\#0: *3 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:22:36 [debug] 18820\#0: *719 malloc: 090F1A30:8
2020/10/27 04:22:36 [debug] 18029\#0: *3 lua tcp socket handle read error
2020/10/27 04:22:36 [debug] 18820\#0: *719 http process request line
2020/10/27 04:22:36 [debug] 18029\#0: *3 lua tcp socket waking up the current request
2020/10/27 04:22:36 [debug] 18820\#0: *719 http request line: "GET /ver HTTP/1.1"
2020/10/27 04:22:36 [debug] 18029\#0: *3 lua tcp operation done, resuming lua thread
2020/10/27 04:22:36 [debug] 18820\#0: *719 http uri: "/ver"
2020/10/27 04:22:36 [debug] 18029\#0: *3 lua tcp socket calling prepare retvals handler 081507EA, u:B6DA7758
2020/10/27 04:22:36 [debug] 18820\#0: *719 http args: ""
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 0) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 1) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 2) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 3, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 3) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 4, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 4) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 5, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 5) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 6, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 6) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 7, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 7) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 8, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 8) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 12: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 9, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 12: a mixture of rewrite, access, content phases - grep_error_log_out (req 9) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 0, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 1, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 2, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 3, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 4, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 5, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 6, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 7, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 8, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 7: memc muti + multi '
027-multi-capture.t TEST 7: memc muti + multi - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 7: memc muti + multi - response_body - response is expected (repeated req 9, req 0) @@ -1,16 +0,0 @@
-res1.status = 200
-res1.body = [1 res1.status = 201
-1 res1.body = STORED
-
-1 res2.status = 201
-1 res2.body = STORED
-
-]
-res2.status = 200
-res2.body = [2 res1.status = 201
-2 res1.body = STORED
-
-2 res2.status = 201
-2 res2.body = STORED
-
-]
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 0) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 1) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 2) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 3, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 3) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 4, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 4) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 5, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 5) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 6, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 6) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 7, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 7) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 8, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 8) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 11: a mixture of rewrite, access, content phases '
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - response_body - response is expected (repeated req 9, req 0) @@ -1,3 +0,0 @@
-content d: d
-content e: e
-content f: f
'
027-multi-capture.t TEST 11: a mixture of rewrite, access, content phases - grep_error_log_out (req 9) @@ -1,5 +0,0 @@
-rewrite a: a
-rewrite b: b
-rewrite c: c
-access A: A
-access B: B
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 0, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 1, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 2, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 3, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 4, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 5, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 6, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 7, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 8, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 8: memc 4 concurrent requests '
027-multi-capture.t TEST 8: memc 4 concurrent requests - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 8: memc 4 concurrent requests - response_body - response is expected (repeated req 9, req 0) @@ -1,12 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
-res3.status = 201
-res3.body = STORED
-
-res4.status = 201
-res4.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 2, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 3, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 4, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 5, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 6, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 7, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 8, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 6: memc sanity '
027-multi-capture.t TEST 6: memc sanity - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 6: memc sanity - response_body - response is expected (repeated req 9, req 0) @@ -1,6 +0,0 @@
-res1.status = 201
-res1.body = STORED
-
-res2.status = 201
-res2.body = STORED
-
'
027-multi-capture.t ERROR: client socket timed out - TEST 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) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:26:00 [error] 19390\#0: *383 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:00 [debug] 19390\#0: *383 finalize http upstream request: 504
2020/10/27 04:26:00 [debug] 19390\#0: *383 finalize http memcached request
2020/10/27 04:26:00 [debug] 19390\#0: *383 close http upstream connection: 26
2020/10/27 04:26:00 [debug] 19390\#0: *383 reusable connection: 0
2020/10/27 04:26:00 [debug] 19390\#0: *383 http finalize request: 504, "/b?" a:0, c:4
2020/10/27 04:26:00 [debug] 19390\#0: *383 lua run post subrequest handler, rc:504 c:4
2020/10/27 04:26:00 [debug] 19390\#0: *383 lua restoring write event handler
2020/10/27 04:26:00 [debug] 19390\#0: *383 malloc: 0886BF50:8
2020/10/27 04:26:00 [debug] 19390\#0: *383 malloc: 088A25B8: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 "2020/10/27 04:26:00 [error] 19390\#0: *383 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/c\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:00 [debug] 19390\#0: *383 finalize http upstream request: 504
2020/10/27 04:26:00 [debug] 19390\#0: *383 finalize http memcached request
2020/10/27 04:26:00 [debug] 19390\#0: *383 close http upstream connection: 27
2020/10/27 04:26:00 [debug] 19390\#0: *383 reusable connection: 0
2020/10/27 04:26:00 [debug] 19390\#0: *383 http finalize request: 504, "/c?" a:0, c:3
2020/10/27 04:26:00 [debug] 19390\#0: *383 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:00 [debug] 19390\#0: *383 lua restoring write event handler
2020/10/27 04:26:00 [debug] 19390\#0: *383 malloc: 088B40A0:8
2020/10/27 04:26:00 [debug] 19390\#0: *383 malloc: 08879AB0: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 "2020/10/27 04:26:01 [error] 19390\#0: *388 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:01 [debug] 19390\#0: *388 finalize http upstream request: 504
2020/10/27 04:26:01 [debug] 19390\#0: *388 finalize http memcached request
2020/10/27 04:26:01 [debug] 19390\#0: *388 close http upstream connection: 31
2020/10/27 04:26:01 [debug] 19390\#0: *388 reusable connection: 0
2020/10/27 04:26:01 [debug] 19390\#0: *388 http finalize request: 504, "/b?" a:0, c:5
2020/10/27 04:26:01 [debug] 19390\#0: *388 lua run post subrequest handler, rc:504 c:5
2020/10/27 04:26:01 [debug] 19390\#0: *388 lua restoring write event handler
2020/10/27 04:26:01 [debug] 19390\#0: *388 malloc: 08896F20:8
2020/10/27 04:26:01 [debug] 19390\#0: *388 malloc: 088705E8: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 "2020/10/27 04:26:03 [error] 19390\#0: *388 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:03 [debug] 19390\#0: *388 finalize http upstream request: 504
2020/10/27 04:26:03 [debug] 19390\#0: *388 finalize http memcached request
2020/10/27 04:26:03 [debug] 19390\#0: *388 close http upstream connection: 30
2020/10/27 04:26:03 [debug] 19390\#0: *388 reusable connection: 0
2020/10/27 04:26:03 [debug] 19390\#0: *388 http finalize request: 504, "/a?" a:0, c:4
2020/10/27 04:26:03 [debug] 19390\#0: *388 lua run post subrequest handler, rc:504 c:4
2020/10/27 04:26:03 [debug] 19390\#0: *388 lua restoring write event handler
2020/10/27 04:26:03 [debug] 19390\#0: *388 malloc: 088B00C8:8
2020/10/27 04:26:03 [debug] 19390\#0: *388 malloc: 08872BF8: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 "2020/10/27 04:26:03 [error] 19390\#0: *388 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/c\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:03 [debug] 19390\#0: *388 finalize http upstream request: 504
2020/10/27 04:26:03 [debug] 19390\#0: *388 finalize http memcached request
2020/10/27 04:26:03 [debug] 19390\#0: *388 close http upstream connection: 32
2020/10/27 04:26:03 [debug] 19390\#0: *388 reusable connection: 0
2020/10/27 04:26:03 [debug] 19390\#0: *388 http finalize request: 504, "/c?" a:0, c:3
2020/10/27 04:26:03 [debug] 19390\#0: *388 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:03 [debug] 19390\#0: *388 lua restoring write event handler
2020/10/27 04:26:03 [debug] 19390\#0: *388 malloc: 088AFD48:8
2020/10/27 04:26:03 [debug] 19390\#0: *388 malloc: 088AFD68: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 "2020/10/27 04:26:03 [error] 19390\#0: *393 upstream timed out (110: Connection timed out) while sending request to upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/d\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:03 [debug] 19390\#0: *393 finalize http upstream request: 504
2020/10/27 04:26:03 [debug] 19390\#0: *393 finalize http memcached request
2020/10/27 04:26:03 [debug] 19390\#0: *393 close http upstream connection: 38
2020/10/27 04:26:03 [debug] 19390\#0: *393 reusable connection: 0
2020/10/27 04:26:03 [debug] 19390\#0: *393 http finalize request: 504, "/d?" a:0, c:5
2020/10/27 04:26:03 [debug] 19390\#0: *393 lua run post subrequest handler, rc:504 c:5
2020/10/27 04:26:03 [debug] 19390\#0: *393 lua restoring write event handler
2020/10/27 04:26:03 [debug] 19390\#0: *393 malloc: 0887B8C0:8
2020/10/27 04:26:03 [debug] 19390\#0: *393 malloc: 0887B8B0: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 "2020/10/27 04:26:06 [error] 19390\#0: *393 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:06 [debug] 19390\#0: *393 finalize http upstream request: 504
2020/10/27 04:26:06 [debug] 19390\#0: *393 finalize http memcached request
2020/10/27 04:26:06 [debug] 19390\#0: *393 close http upstream connection: 35
2020/10/27 04:26:06 [debug] 19390\#0: *393 reusable connection: 0
2020/10/27 04:26:06 [debug] 19390\#0: *393 http finalize request: 504, "/a?" a:0, c:4
2020/10/27 04:26:06 [debug] 19390\#0: *393 lua run post subrequest handler, rc:504 c:4
2020/10/27 04:26:06 [debug] 19390\#0: *393 lua restoring write event handler
2020/10/27 04:26:06 [debug] 19390\#0: *393 malloc: 088AF3B8:8
2020/10/27 04:26:06 [debug] 19390\#0: *393 malloc: 088AAE00: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 "2020/10/27 04:26:06 [error] 19390\#0: *393 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:06 [debug] 19390\#0: *393 finalize http upstream request: 504
2020/10/27 04:26:06 [debug] 19390\#0: *393 finalize http memcached request
2020/10/27 04:26:06 [debug] 19390\#0: *393 close http upstream connection: 36
2020/10/27 04:26:06 [debug] 19390\#0: *393 reusable connection: 0
2020/10/27 04:26:06 [debug] 19390\#0: *393 http finalize request: 504, "/b?" a:0, c:3
2020/10/27 04:26:06 [debug] 19390\#0: *393 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:06 [debug] 19390\#0: *393 lua restoring write event handler
2020/10/27 04:26:06 [debug] 19390\#0: *393 malloc: 08882778:8
2020/10/27 04:26:06 [debug] 19390\#0: *393 malloc: 08886A68: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 "2020/10/27 04:26:06 [error] 19390\#0: *398 upstream timed out (110: Connection timed out) while sending request to upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/c\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:06 [debug] 19390\#0: *398 finalize http upstream request: 504
2020/10/27 04:26:06 [debug] 19390\#0: *398 finalize http memcached request
2020/10/27 04:26:06 [debug] 19390\#0: *398 close http upstream connection: 42
2020/10/27 04:26:06 [debug] 19390\#0: *398 reusable connection: 0
2020/10/27 04:26:06 [debug] 19390\#0: *398 http finalize request: 504, "/c?" a:0, c:5
2020/10/27 04:26:06 [debug] 19390\#0: *398 lua run post subrequest handler, rc:504 c:5
2020/10/27 04:26:06 [debug] 19390\#0: *398 lua restoring write event handler
2020/10/27 04:26:06 [debug] 19390\#0: *398 malloc: 088A7BE0:8
2020/10/27 04:26:06 [debug] 19390\#0: *398 malloc: 088A7BF0: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 "2020/10/27 04:26:06 [error] 19390\#0: *398 upstream timed out (110: Connection timed out) while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/d\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:06 [debug] 19390\#0: *398 finalize http upstream request: 504
2020/10/27 04:26:06 [debug] 19390\#0: *398 finalize http memcached request
2020/10/27 04:26:06 [debug] 19390\#0: *398 close http upstream connection: 43
2020/10/27 04:26:06 [debug] 19390\#0: *398 reusable connection: 0
2020/10/27 04:26:06 [debug] 19390\#0: *398 http finalize request: 504, "/d?" a:0, c:4
2020/10/27 04:26:06 [debug] 19390\#0: *398 lua run post subrequest handler, rc:504 c:4
2020/10/27 04:26:06 [debug] 19390\#0: *398 lua restoring write event handler
2020/10/27 04:26:06 [debug] 19390\#0: *398 malloc: 08881C98:8
2020/10/27 04:26:06 [debug] 19390\#0: *398 malloc: 088B38D8: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 "2020/10/27 04:26:08 [error] 19222\#0: *33 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 0) 2020/10/27 04:26:08 [error] 19222\#0: *33 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"
2020/10/27 04:26:09 [debug] 19390\#0: timer delta: 2820
2020/10/27 04:26:09 [debug] 19390\#0: *378 event timer del: 16: 3202618
2020/10/27 04:26:09 [debug] 19390\#0: *378 http upstream request: "/b?"
2020/10/27 04:26:09 [debug] 19390\#0: *378 http upstream process header
2020/10/27 04:26:09 [debug] 19390\#0: *378 http next upstream, 4
2020/10/27 04:26:09 [debug] 19390\#0: *378 free rr peer 1 4
2020/10/27 04:26:09 [error] 19390\#0: *378 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/b", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:09 [debug] 19390\#0: *378 finalize http upstream request: 504
'
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 "2020/10/27 04:26:08 [error] 19222\#0: *33 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 0) 2020/10/27 04:26:09 [debug] 19390\#0: timer delta: 2820
2020/10/27 04:26:09 [debug] 19390\#0: *378 event timer del: 16: 3202618
2020/10/27 04:26:09 [debug] 19390\#0: *378 http upstream request: "/b?"
2020/10/27 04:26:09 [debug] 19390\#0: *378 http upstream process header
2020/10/27 04:26:09 [debug] 19390\#0: *378 http next upstream, 4
2020/10/27 04:26:09 [debug] 19390\#0: *378 free rr peer 1 4
2020/10/27 04:26:09 [error] 19390\#0: *378 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/b", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:09 [debug] 19390\#0: *378 finalize http upstream request: 504
2020/10/27 04:26:09 [debug] 19390\#0: *378 finalize http memcached request
'
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 "2020/10/27 04:26:09 [error] 19390\#0: *378 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:09 [debug] 19390\#0: *378 finalize http upstream request: 504
2020/10/27 04:26:09 [debug] 19390\#0: *378 finalize http memcached request
2020/10/27 04:26:09 [debug] 19390\#0: *378 close http upstream connection: 16
2020/10/27 04:26:09 [debug] 19390\#0: *378 reusable connection: 0
2020/10/27 04:26:09 [debug] 19390\#0: *378 http finalize request: 504, "/b?" a:0, c:4
2020/10/27 04:26:09 [debug] 19390\#0: *378 lua run post subrequest handler, rc:504 c:4
2020/10/27 04:26:09 [debug] 19390\#0: *378 lua restoring write event handler
2020/10/27 04:26:09 [debug] 19390\#0: *378 malloc: 0886EDF0:8
2020/10/27 04:26:09 [debug] 19390\#0: *378 malloc: 0886EE00: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 "2020/10/27 04:26:09 [error] 19390\#0: *378 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/c\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:09 [debug] 19390\#0: *378 finalize http upstream request: 504
2020/10/27 04:26:09 [debug] 19390\#0: *378 finalize http memcached request
2020/10/27 04:26:09 [debug] 19390\#0: *378 close http upstream connection: 17
2020/10/27 04:26:09 [debug] 19390\#0: *378 reusable connection: 0
2020/10/27 04:26:09 [debug] 19390\#0: *378 http finalize request: 504, "/c?" a:0, c:3
2020/10/27 04:26:09 [debug] 19390\#0: *378 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:09 [debug] 19390\#0: *378 lua restoring write event handler
2020/10/27 04:26:09 [debug] 19390\#0: *378 malloc: 0889BBF0:8
2020/10/27 04:26:09 [debug] 19390\#0: *378 malloc: 088A8978: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 "2020/10/27 04:26:09 [error] 19390\#0: *406 upstream timed out (110: Connection timed out) while sending request to upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:09 [debug] 19390\#0: *406 finalize http upstream request: 504
2020/10/27 04:26:09 [debug] 19390\#0: *406 finalize http memcached request
2020/10/27 04:26:09 [debug] 19390\#0: *406 close http upstream connection: 46
2020/10/27 04:26:09 [debug] 19390\#0: *406 reusable connection: 0
2020/10/27 04:26:09 [debug] 19390\#0: *406 http finalize request: 504, "/b?" a:0, c:5
2020/10/27 04:26:09 [debug] 19390\#0: *406 lua run post subrequest handler, rc:504 c:5
2020/10/27 04:26:09 [debug] 19390\#0: *406 lua restoring write event handler
2020/10/27 04:26:09 [debug] 19390\#0: *406 malloc: 088AEF80:8
2020/10/27 04:26:09 [debug] 19390\#0: *406 malloc: 088AD440: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 "2020/10/27 04:26:09 [error] 19390\#0: *406 upstream timed out (110: Connection timed out) while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/c\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:09 [debug] 19390\#0: *406 finalize http upstream request: 504
2020/10/27 04:26:09 [debug] 19390\#0: *406 finalize http memcached request
2020/10/27 04:26:09 [debug] 19390\#0: *406 close http upstream connection: 47
2020/10/27 04:26:09 [debug] 19390\#0: *406 reusable connection: 0
2020/10/27 04:26:09 [debug] 19390\#0: *406 http finalize request: 504, "/c?" a:0, c:4
2020/10/27 04:26:09 [debug] 19390\#0: *406 lua run post subrequest handler, rc:504 c:4
2020/10/27 04:26:09 [debug] 19390\#0: *406 lua restoring write event handler
2020/10/27 04:26:09 [debug] 19390\#0: *406 malloc: 088A9248:8
2020/10/27 04:26:09 [debug] 19390\#0: *406 malloc: 088A9258: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 "2020/10/27 04:26:09 [error] 19390\#0: *406 upstream timed out (110: Connection timed out) while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/d\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/10/27 04:26:09 [debug] 19390\#0: *406 finalize http upstream request: 504
2020/10/27 04:26:09 [debug] 19390\#0: *406 finalize http memcached request
2020/10/27 04:26:09 [debug] 19390\#0: *406 close http upstream connection: 48
2020/10/27 04:26:09 [debug] 19390\#0: *406 reusable connection: 0
2020/10/27 04:26:09 [debug] 19390\#0: *406 http finalize request: 504, "/d?" a:0, c:3
2020/10/27 04:26:09 [debug] 19390\#0: *406 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:09 [debug] 19390\#0: *406 lua restoring write event handler
2020/10/27 04:26:09 [debug] 19390\#0: *406 malloc: 088AAA28:8
2020/10/27 04:26:09 [debug] 19390\#0: *406 malloc: 088AAA48:8
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 1, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:26:11 [error] 19222\#0: *33 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 1) 2020/10/27 04:26:11 [debug] 19502\#0: epoll: fd:19 ev:0004 d:088882CC
2020/10/27 04:26:11 [debug] 19502\#0: *608 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:26:11 [debug] 19502\#0: *608 http upstream send request handler
2020/10/27 04:26:11 [debug] 19502\#0: *608 http upstream send request
2020/10/27 04:26:11 [debug] 19502\#0: *608 http upstream send request body
2020/10/27 04:26:11 [debug] 19502\#0: *608 malloc: 088B53C0:8
2020/10/27 04:26:11 [debug] 19502\#0: *608 malloc: 08873A18:8
2020/10/27 04:26:11 [debug] 19502\#0: *608 malloc: 08873A28:8
2020/10/27 04:26:11 [debug] 19502\#0: *608 malloc: 08873A38: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 "2020/10/27 04:26:12 [error] 19222\#0: *37 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 1) 2020/10/27 04:26:12 [debug] 19390\#0: timer delta: 2841
2020/10/27 04:26:12 [debug] 19390\#0: *383 event timer del: 28: 3205690
2020/10/27 04:26:12 [debug] 19390\#0: *383 http upstream request: "/d?"
2020/10/27 04:26:12 [debug] 19390\#0: *383 http upstream process header
2020/10/27 04:26:12 [debug] 19390\#0: *383 http next upstream, 4
2020/10/27 04:26:12 [debug] 19390\#0: *383 free rr peer 1 4
2020/10/27 04:26:12 [error] 19390\#0: *383 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/d", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:12 [debug] 19390\#0: *383 finalize http upstream request: 504
2020/10/27 04:26:12 [debug] 19390\#0: *383 finalize http memcached request
'
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 "2020/10/27 04:26:12 [error] 19390\#0: *383 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/d\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:12 [debug] 19390\#0: *383 finalize http upstream request: 504
2020/10/27 04:26:12 [debug] 19390\#0: *383 finalize http memcached request
2020/10/27 04:26:12 [debug] 19390\#0: *383 close http upstream connection: 28
2020/10/27 04:26:12 [debug] 19390\#0: *383 reusable connection: 0
2020/10/27 04:26:12 [debug] 19390\#0: *383 http finalize request: 504, "/d?" a:0, c:2
2020/10/27 04:26:12 [debug] 19390\#0: *383 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:12 [debug] 19390\#0: *383 lua restoring write event handler
2020/10/27 04:26:12 [debug] 19390\#0: *383 malloc: 088AAA58:8
2020/10/27 04:26:12 [debug] 19390\#0: *383 malloc: 088A8DD0: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 "2020/10/27 04:26:12 [error] 19390\#0: *414 upstream timed out (110: Connection timed out) while sending request to upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/d\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:12 [debug] 19390\#0: *414 finalize http upstream request: 504
2020/10/27 04:26:12 [debug] 19390\#0: *414 finalize http memcached request
2020/10/27 04:26:12 [debug] 19390\#0: *414 close http upstream connection: 53
2020/10/27 04:26:12 [debug] 19390\#0: *414 reusable connection: 0
2020/10/27 04:26:12 [debug] 19390\#0: *414 http finalize request: 504, "/d?" a:0, c:5
2020/10/27 04:26:12 [debug] 19390\#0: *414 lua run post subrequest handler, rc:504 c:5
2020/10/27 04:26:12 [debug] 19390\#0: *414 lua restoring write event handler
2020/10/27 04:26:12 [debug] 19390\#0: *414 malloc: 08884388:8
2020/10/27 04:26:12 [debug] 19390\#0: *414 malloc: 088A5398: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 "2020/10/27 04:26:13 [error] 19390\#0: *398 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:13 [debug] 19390\#0: *398 finalize http upstream request: 504
2020/10/27 04:26:13 [debug] 19390\#0: *398 finalize http memcached request
2020/10/27 04:26:13 [debug] 19390\#0: *398 close http upstream connection: 40
2020/10/27 04:26:13 [debug] 19390\#0: *398 reusable connection: 0
2020/10/27 04:26:13 [debug] 19390\#0: *398 http finalize request: 504, "/a?" a:0, c:3
2020/10/27 04:26:13 [debug] 19390\#0: *398 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:13 [debug] 19390\#0: *398 lua restoring write event handler
2020/10/27 04:26:13 [debug] 19390\#0: *398 malloc: 088A5418:8
2020/10/27 04:26:13 [debug] 19390\#0: *398 malloc: 088A5408: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 "2020/10/27 04:26:13 [error] 19390\#0: *414 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:13 [debug] 19390\#0: *414 finalize http upstream request: 504
2020/10/27 04:26:13 [debug] 19390\#0: *414 finalize http memcached request
2020/10/27 04:26:13 [debug] 19390\#0: *414 close http upstream connection: 50
2020/10/27 04:26:13 [debug] 19390\#0: *414 reusable connection: 0
2020/10/27 04:26:13 [debug] 19390\#0: *414 http finalize request: 504, "/a?" a:0, c:4
2020/10/27 04:26:13 [debug] 19390\#0: *414 lua run post subrequest handler, rc:504 c:4
2020/10/27 04:26:13 [debug] 19390\#0: *414 lua restoring write event handler
2020/10/27 04:26:13 [debug] 19390\#0: *414 malloc: 0886DCE0:8
2020/10/27 04:26:13 [debug] 19390\#0: *414 malloc: 088B3268: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 "2020/10/27 04:26:15 [error] 19222\#0: *37 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 1) 2020/10/27 04:26:15 [debug] 19390\#0: timer delta: 1816
2020/10/27 04:26:15 [debug] 19390\#0: *388 event timer del: 33: 3208730
2020/10/27 04:26:15 [debug] 19390\#0: *388 http upstream request: "/d?"
2020/10/27 04:26:15 [debug] 19390\#0: *388 http upstream process header
2020/10/27 04:26:15 [debug] 19390\#0: *388 http next upstream, 4
2020/10/27 04:26:15 [debug] 19390\#0: *388 free rr peer 1 4
2020/10/27 04:26:15 [error] 19390\#0: *388 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/d", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:15 [debug] 19390\#0: *388 finalize http upstream request: 504
2020/10/27 04:26:15 [debug] 19390\#0: *388 finalize http memcached request
'
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 "2020/10/27 04:26:15 [error] 19390\#0: *388 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/d\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:15 [debug] 19390\#0: *388 finalize http upstream request: 504
2020/10/27 04:26:15 [debug] 19390\#0: *388 finalize http memcached request
2020/10/27 04:26:15 [debug] 19390\#0: *388 close http upstream connection: 33
2020/10/27 04:26:15 [debug] 19390\#0: *388 reusable connection: 0
2020/10/27 04:26:15 [debug] 19390\#0: *388 http finalize request: 504, "/d?" a:0, c:2
2020/10/27 04:26:15 [debug] 19390\#0: *388 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:15 [debug] 19390\#0: *388 lua restoring write event handler
2020/10/27 04:26:15 [debug] 19390\#0: *388 malloc: 0888FE90:8
2020/10/27 04:26:15 [debug] 19390\#0: *388 malloc: 08882CE0: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 "2020/10/27 04:26:16 [error] 19390\#0: *406 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:16 [debug] 19390\#0: *406 finalize http upstream request: 504
2020/10/27 04:26:16 [debug] 19390\#0: *406 finalize http memcached request
2020/10/27 04:26:16 [debug] 19390\#0: *406 close http upstream connection: 45
2020/10/27 04:26:16 [debug] 19390\#0: *406 reusable connection: 0
2020/10/27 04:26:16 [debug] 19390\#0: *406 http finalize request: 504, "/a?" a:0, c:2
2020/10/27 04:26:16 [debug] 19390\#0: *406 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:16 [debug] 19390\#0: *406 lua restoring write event handler
2020/10/27 04:26:16 [debug] 19390\#0: *406 malloc: 08867E58:8
2020/10/27 04:26:16 [debug] 19390\#0: *406 malloc: 08867E98: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 "2020/10/27 04:26:17 [error] 19333\#0: *237 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 1) 2020/10/27 04:26:17 [notice] 19333\#0: *237 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:17 [debug] 19502\#0: epoll: fd:23 ev:0004 d:088883B4
2020/10/27 04:26:17 [debug] 19502\#0: *608 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:26:17 [debug] 19502\#0: *608 http upstream send request handler
2020/10/27 04:26:17 [debug] 19502\#0: *608 http upstream send request
2020/10/27 04:26:17 [debug] 19502\#0: *608 http upstream send request body
2020/10/27 04:26:17 [debug] 19502\#0: *608 chain writer buf fl:0 s:13
2020/10/27 04:26:17 [debug] 19502\#0: *608 chain writer buf fl:0 s:1
2020/10/27 04:26:17 [debug] 19502\#0: *608 chain writer buf fl:0 s:2
'
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 "2020/10/27 04:26:18 [error] 19333\#0: *241 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 1) 2020/10/27 04:26:18 [notice] 19333\#0: *241 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:18 [debug] 19390\#0: timer delta: 1908
2020/10/27 04:26:18 [debug] 19390\#0: *393 event timer del: 37: 3211786
2020/10/27 04:26:18 [debug] 19390\#0: *393 http upstream request: "/c?"
2020/10/27 04:26:18 [debug] 19390\#0: *393 http upstream process header
2020/10/27 04:26:18 [debug] 19390\#0: *393 http next upstream, 4
2020/10/27 04:26:18 [debug] 19390\#0: *393 free rr peer 1 4
2020/10/27 04:26:18 [error] 19390\#0: *393 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/c", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:18 [debug] 19390\#0: *393 finalize http upstream request: 504
'
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 "2020/10/27 04:26:18 [error] 19390\#0: *393 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/c\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:18 [debug] 19390\#0: *393 finalize http upstream request: 504
2020/10/27 04:26:18 [debug] 19390\#0: *393 finalize http memcached request
2020/10/27 04:26:18 [debug] 19390\#0: *393 close http upstream connection: 37
2020/10/27 04:26:18 [debug] 19390\#0: *393 reusable connection: 0
2020/10/27 04:26:18 [debug] 19390\#0: *393 http finalize request: 504, "/c?" a:0, c:2
2020/10/27 04:26:18 [debug] 19390\#0: *393 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:18 [debug] 19390\#0: *393 lua restoring write event handler
2020/10/27 04:26:18 [debug] 19390\#0: *393 malloc: 08870928:8
2020/10/27 04:26:18 [debug] 19390\#0: *393 malloc: 08870938: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 "2020/10/27 04:26:19 [error] 19390\#0: *426 upstream timed out (110: Connection timed out) while sending request to upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:19 [debug] 19390\#0: *426 finalize http upstream request: 504
2020/10/27 04:26:19 [debug] 19390\#0: *426 finalize http memcached request
2020/10/27 04:26:19 [debug] 19390\#0: *426 close http upstream connection: 61
2020/10/27 04:26:19 [debug] 19390\#0: *426 reusable connection: 0
2020/10/27 04:26:19 [debug] 19390\#0: *426 http finalize request: 504, "/b?" a:0, c:5
2020/10/27 04:26:19 [debug] 19390\#0: *426 lua run post subrequest handler, rc:504 c:5
2020/10/27 04:26:19 [debug] 19390\#0: *426 lua restoring write event handler
2020/10/27 04:26:19 [debug] 19390\#0: *426 malloc: 08886528:8
2020/10/27 04:26:19 [debug] 19390\#0: *426 malloc: 0886F2F0: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 "2020/10/27 04:26:19 [error] 19390\#0: *426 upstream timed out (110: Connection timed out) while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/c\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:19 [debug] 19390\#0: *426 finalize http upstream request: 504
2020/10/27 04:26:19 [debug] 19390\#0: *426 finalize http memcached request
2020/10/27 04:26:19 [debug] 19390\#0: *426 close http upstream connection: 62
2020/10/27 04:26:19 [debug] 19390\#0: *426 reusable connection: 0
2020/10/27 04:26:19 [debug] 19390\#0: *426 http finalize request: 504, "/c?" a:0, c:4
2020/10/27 04:26:19 [debug] 19390\#0: *426 lua run post subrequest handler, rc:504 c:4
2020/10/27 04:26:19 [debug] 19390\#0: *426 lua restoring write event handler
2020/10/27 04:26:19 [debug] 19390\#0: *426 malloc: 0886F348:8
2020/10/27 04:26:19 [debug] 19390\#0: *426 malloc: 0886F338: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 "2020/10/27 04:26:19 [error] 19390\#0: *426 upstream timed out (110: Connection timed out) while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/d\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:19 [debug] 19390\#0: *426 finalize http upstream request: 504
2020/10/27 04:26:19 [debug] 19390\#0: *426 finalize http memcached request
2020/10/27 04:26:19 [debug] 19390\#0: *426 close http upstream connection: 63
2020/10/27 04:26:19 [debug] 19390\#0: *426 reusable connection: 0
2020/10/27 04:26:19 [debug] 19390\#0: *426 http finalize request: 504, "/d?" a:0, c:3
2020/10/27 04:26:19 [debug] 19390\#0: *426 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:19 [debug] 19390\#0: *426 lua restoring write event handler
2020/10/27 04:26:19 [debug] 19390\#0: *426 malloc: 0887E3E8:8
2020/10/27 04:26:19 [debug] 19390\#0: *426 malloc: 08892798: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 "2020/10/27 04:26:19 [error] 19390\#0: *414 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:19 [debug] 19390\#0: *414 finalize http upstream request: 504
2020/10/27 04:26:19 [debug] 19390\#0: *414 finalize http memcached request
2020/10/27 04:26:19 [debug] 19390\#0: *414 close http upstream connection: 51
2020/10/27 04:26:19 [debug] 19390\#0: *414 reusable connection: 0
2020/10/27 04:26:19 [debug] 19390\#0: *414 http finalize request: 504, "/b?" a:0, c:3
2020/10/27 04:26:19 [debug] 19390\#0: *414 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:19 [debug] 19390\#0: *414 lua restoring write event handler
2020/10/27 04:26:19 [debug] 19390\#0: *414 malloc: 08892930:8
2020/10/27 04:26:19 [debug] 19390\#0: *414 malloc: 0886AE98: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 "2020/10/27 04:26:19 [error] 19390\#0: *414 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/c\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 1) 2020/10/27 04:26:19 [debug] 19390\#0: *414 finalize http upstream request: 504
2020/10/27 04:26:19 [debug] 19390\#0: *414 finalize http memcached request
2020/10/27 04:26:19 [debug] 19390\#0: *414 close http upstream connection: 52
2020/10/27 04:26:19 [debug] 19390\#0: *414 reusable connection: 0
2020/10/27 04:26:19 [debug] 19390\#0: *414 http finalize request: 504, "/c?" a:0, c:2
2020/10/27 04:26:19 [debug] 19390\#0: *414 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:19 [debug] 19390\#0: *414 lua restoring write event handler
2020/10/27 04:26:19 [debug] 19390\#0: *414 malloc: 0886AED8:8
2020/10/27 04:26:19 [debug] 19390\#0: *414 malloc: 0886AEC8:8
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 2, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:26:21 [error] 19222\#0: *41 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 2) 2020/10/27 04:26:21 [debug] 19390\#0: timer delta: 1936
2020/10/27 04:26:21 [debug] 19390\#0: *398 event timer del: 41: 3214842
2020/10/27 04:26:21 [debug] 19390\#0: *398 http upstream request: "/b?"
2020/10/27 04:26:21 [debug] 19390\#0: *398 http upstream process header
2020/10/27 04:26:21 [debug] 19390\#0: *398 http next upstream, 4
2020/10/27 04:26:21 [debug] 19390\#0: *398 free rr peer 1 4
2020/10/27 04:26:21 [error] 19390\#0: *398 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/b", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:21 [debug] 19390\#0: *398 finalize http upstream request: 504
2020/10/27 04:26:21 [debug] 19390\#0: *398 finalize http memcached request
'
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 "2020/10/27 04:26:21 [error] 19390\#0: *398 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 2) 2020/10/27 04:26:21 [debug] 19390\#0: *398 finalize http upstream request: 504
2020/10/27 04:26:21 [debug] 19390\#0: *398 finalize http memcached request
2020/10/27 04:26:21 [debug] 19390\#0: *398 close http upstream connection: 41
2020/10/27 04:26:21 [debug] 19390\#0: *398 reusable connection: 0
2020/10/27 04:26:21 [debug] 19390\#0: *398 http finalize request: 504, "/b?" a:0, c:2
2020/10/27 04:26:21 [debug] 19390\#0: *398 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:21 [debug] 19390\#0: *398 lua restoring write event handler
2020/10/27 04:26:21 [debug] 19390\#0: *398 malloc: 0889DEC0:8
2020/10/27 04:26:21 [debug] 19390\#0: *398 malloc: 0889DF00: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 "2020/10/27 04:26:23 [error] 19390\#0: *419 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 2) 2020/10/27 04:26:23 [debug] 19390\#0: *419 finalize http upstream request: 504
2020/10/27 04:26:23 [debug] 19390\#0: *419 finalize http memcached request
2020/10/27 04:26:23 [debug] 19390\#0: *419 close http upstream connection: 55
2020/10/27 04:26:23 [debug] 19390\#0: *419 reusable connection: 0
2020/10/27 04:26:23 [debug] 19390\#0: *419 http finalize request: 504, "/a?" a:0, c:5
2020/10/27 04:26:23 [debug] 19390\#0: *419 lua run post subrequest handler, rc:504 c:5
2020/10/27 04:26:23 [debug] 19390\#0: *419 lua restoring write event handler
2020/10/27 04:26:23 [debug] 19390\#0: *419 malloc: 088BCF98:8
2020/10/27 04:26:23 [debug] 19390\#0: *419 malloc: 088BCFD8: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 "2020/10/27 04:26:23 [error] 19390\#0: *419 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 2) 2020/10/27 04:26:23 [debug] 19390\#0: *419 finalize http upstream request: 504
2020/10/27 04:26:23 [debug] 19390\#0: *419 finalize http memcached request
2020/10/27 04:26:23 [debug] 19390\#0: *419 close http upstream connection: 56
2020/10/27 04:26:23 [debug] 19390\#0: *419 reusable connection: 0
2020/10/27 04:26:23 [debug] 19390\#0: *419 http finalize request: 504, "/b?" a:0, c:4
2020/10/27 04:26:23 [debug] 19390\#0: *419 lua run post subrequest handler, rc:504 c:4
2020/10/27 04:26:23 [debug] 19390\#0: *419 lua restoring write event handler
2020/10/27 04:26:23 [debug] 19390\#0: *419 malloc: 088BD058:8
2020/10/27 04:26:23 [debug] 19390\#0: *419 malloc: 088BD048: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 "2020/10/27 04:26:23 [error] 19418\#0: *458 upstream timed out (110: Connection timed out) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 2) 2020/10/27 04:26:23 [debug] 19418\#0: *458 finalize http upstream request: 504
2020/10/27 04:26:23 [debug] 19418\#0: *458 finalize http memcached request
2020/10/27 04:26:23 [debug] 19418\#0: *458 close http upstream connection: 9
2020/10/27 04:26:23 [debug] 19418\#0: *458 reusable connection: 0
2020/10/27 04:26:23 [debug] 19418\#0: *458 http finalize request: 504, "/a?" a:0, c:3
2020/10/27 04:26:23 [debug] 19418\#0: *458 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:23 [debug] 19418\#0: *458 lua restoring write event handler
2020/10/27 04:26:23 [debug] 19418\#0: *458 malloc: 088958E0:8
2020/10/27 04:26:23 [debug] 19418\#0: *458 malloc: 088958F0: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 "2020/10/27 04:26:23 [error] 19418\#0: *458 upstream timed out (110: Connection timed out) while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 2) 2020/10/27 04:26:23 [debug] 19418\#0: *458 finalize http upstream request: 504
2020/10/27 04:26:23 [debug] 19418\#0: *458 finalize http memcached request
2020/10/27 04:26:23 [debug] 19418\#0: *458 close http upstream connection: 11
2020/10/27 04:26:23 [debug] 19418\#0: *458 reusable connection: 0
2020/10/27 04:26:23 [debug] 19418\#0: *458 http finalize request: 504, "/b?" a:0, c:2
2020/10/27 04:26:23 [debug] 19418\#0: *458 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:23 [debug] 19418\#0: *458 lua restoring write event handler
2020/10/27 04:26:23 [debug] 19418\#0: *458 malloc: 08895920:8
2020/10/27 04:26:23 [debug] 19418\#0: *458 malloc: 08895930: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 "2020/10/27 04:26:24 [error] 19222\#0: *41 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 2) 2020/10/27 04:26:24 [error] 19222\#0: *41 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"
2020/10/27 04:26:25 [error] 19333\#0: *249 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"
2020/10/27 04:26:25 [notice] 19333\#0: *249 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:25 [debug] 19390\#0: timer delta: 2680
2020/10/27 04:26:25 [debug] 19390\#0: worker cycle
2020/10/27 04:26:25 [debug] 19390\#0: epoll timer: 2
2020/10/27 04:26:25 [debug] 19390\#0: timer delta: 8
2020/10/27 04:26:25 [debug] 19390\#0: *378 event timer del: 18: 3218682
2020/10/27 04:26:25 [debug] 19390\#0: *378 http upstream request: "/d?"
'
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 "2020/10/27 04:26:24 [error] 19222\#0: *41 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 2) 2020/10/27 04:26:25 [error] 19333\#0: *249 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"
2020/10/27 04:26:25 [notice] 19333\#0: *249 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:25 [debug] 19390\#0: timer delta: 2680
2020/10/27 04:26:25 [debug] 19390\#0: worker cycle
2020/10/27 04:26:25 [debug] 19390\#0: epoll timer: 2
2020/10/27 04:26:25 [debug] 19390\#0: timer delta: 8
2020/10/27 04:26:25 [debug] 19390\#0: *378 event timer del: 18: 3218682
2020/10/27 04:26:25 [debug] 19390\#0: *378 http upstream request: "/d?"
2020/10/27 04:26:25 [debug] 19390\#0: *378 http upstream process header
'
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 "2020/10/27 04:26:25 [error] 19333\#0: *249 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 2) 2020/10/27 04:26:25 [notice] 19333\#0: *249 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:25 [debug] 19390\#0: timer delta: 2680
2020/10/27 04:26:25 [debug] 19390\#0: worker cycle
2020/10/27 04:26:25 [debug] 19390\#0: epoll timer: 2
2020/10/27 04:26:25 [debug] 19390\#0: timer delta: 8
2020/10/27 04:26:25 [debug] 19390\#0: *378 event timer del: 18: 3218682
2020/10/27 04:26:25 [debug] 19390\#0: *378 http upstream request: "/d?"
2020/10/27 04:26:25 [debug] 19390\#0: *378 http upstream process header
2020/10/27 04:26:25 [debug] 19390\#0: *378 http next upstream, 4
'
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 "2020/10/27 04:26:25 [error] 19390\#0: *378 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/d\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 2) 2020/10/27 04:26:25 [debug] 19390\#0: *378 finalize http upstream request: 504
2020/10/27 04:26:25 [debug] 19390\#0: *378 finalize http memcached request
2020/10/27 04:26:25 [debug] 19390\#0: *378 close http upstream connection: 18
2020/10/27 04:26:25 [debug] 19390\#0: *378 reusable connection: 0
2020/10/27 04:26:25 [debug] 19390\#0: *378 http finalize request: 504, "/d?" a:0, c:2
2020/10/27 04:26:25 [debug] 19390\#0: *378 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:25 [debug] 19390\#0: *378 lua restoring write event handler
2020/10/27 04:26:25 [debug] 19390\#0: *378 malloc: 088BD818:8
2020/10/27 04:26:25 [debug] 19390\#0: *378 malloc: 088B7600: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 "2020/10/27 04:26:27 [error] 19222\#0: *37 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 2) 2020/10/27 04:26:27 [debug] 19502\#0: epoll: fd:29 ev:0004 d:0888866C
2020/10/27 04:26:27 [debug] 19502\#0: *618 http upstream request: "/memc?cmd=set&val=b"
2020/10/27 04:26:27 [debug] 19502\#0: *618 http upstream send request handler
2020/10/27 04:26:27 [debug] 19502\#0: *618 http upstream send request
2020/10/27 04:26:27 [debug] 19502\#0: *618 http upstream send request body
2020/10/27 04:26:27 [debug] 19502\#0: *618 chain writer buf fl:0 s:13
2020/10/27 04:26:27 [debug] 19502\#0: *618 chain writer buf fl:0 s:1
2020/10/27 04:26:27 [debug] 19502\#0: *618 chain writer buf fl:0 s:2
2020/10/27 04:26:27 [debug] 19502\#0: *618 chain writer in: 08883DA0
'
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 "2020/10/27 04:26:27 [error] 19418\#0: *461 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 2) 2020/10/27 04:26:27 [debug] 19418\#0: *461 finalize http upstream request: 504
2020/10/27 04:26:27 [debug] 19418\#0: *461 finalize http memcached request
2020/10/27 04:26:27 [debug] 19418\#0: *461 close http upstream connection: 19
2020/10/27 04:26:27 [debug] 19418\#0: *461 reusable connection: 0
2020/10/27 04:26:27 [debug] 19418\#0: *461 http finalize request: 504, "/a?" a:0, c:3
2020/10/27 04:26:27 [debug] 19418\#0: *461 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:27 [debug] 19418\#0: *461 lua restoring write event handler
2020/10/27 04:26:27 [debug] 19418\#0: *461 malloc: 08892FF0:8
2020/10/27 04:26:27 [debug] 19418\#0: *461 malloc: 0886AC60: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 "2020/10/27 04:26:29 [error] 19418\#0: *461 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 2) 2020/10/27 04:26:29 [debug] 19418\#0: *461 finalize http upstream request: 504
2020/10/27 04:26:29 [debug] 19418\#0: *461 finalize http memcached request
2020/10/27 04:26:29 [debug] 19418\#0: *461 close http upstream connection: 20
2020/10/27 04:26:29 [debug] 19418\#0: *461 reusable connection: 0
2020/10/27 04:26:29 [debug] 19418\#0: *461 http finalize request: 504, "/b?" a:0, c:2
2020/10/27 04:26:29 [debug] 19418\#0: *461 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:29 [debug] 19418\#0: *461 lua restoring write event handler
2020/10/27 04:26:29 [debug] 19418\#0: *461 malloc: 08886560:8
2020/10/27 04:26:29 [debug] 19418\#0: *461 malloc: 0887DB58: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 "2020/10/27 04:26:29 [error] 19418\#0: *464 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 2) 2020/10/27 04:26:29 [debug] 19418\#0: *464 finalize http upstream request: 504
2020/10/27 04:26:29 [debug] 19418\#0: *464 finalize http memcached request
2020/10/27 04:26:29 [debug] 19418\#0: *464 close http upstream connection: 22
2020/10/27 04:26:29 [debug] 19418\#0: *464 reusable connection: 0
2020/10/27 04:26:29 [debug] 19418\#0: *464 http finalize request: 504, "/a?" a:0, c:3
2020/10/27 04:26:29 [debug] 19418\#0: *464 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:29 [debug] 19418\#0: *464 lua restoring write event handler
2020/10/27 04:26:29 [debug] 19418\#0: *464 malloc: 08877258:8
2020/10/27 04:26:29 [debug] 19418\#0: *464 malloc: 08877268:8
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 3, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:26:31 [error] 19390\#0: *419 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/c\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 3) 2020/10/27 04:26:31 [debug] 19390\#0: *419 finalize http upstream request: 504
2020/10/27 04:26:31 [debug] 19390\#0: *419 finalize http memcached request
2020/10/27 04:26:31 [debug] 19390\#0: *419 close http upstream connection: 57
2020/10/27 04:26:31 [debug] 19390\#0: *419 reusable connection: 0
2020/10/27 04:26:31 [debug] 19390\#0: *419 http finalize request: 504, "/c?" a:0, c:3
2020/10/27 04:26:31 [debug] 19390\#0: *419 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:31 [debug] 19390\#0: *419 lua restoring write event handler
2020/10/27 04:26:31 [debug] 19390\#0: *419 malloc: 088A42A0:8
2020/10/27 04:26:31 [debug] 19390\#0: *419 malloc: 088B04A0: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 "2020/10/27 04:26:31 [error] 19390\#0: *419 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/d\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 3) 2020/10/27 04:26:31 [debug] 19390\#0: *419 finalize http upstream request: 504
2020/10/27 04:26:31 [debug] 19390\#0: *419 finalize http memcached request
2020/10/27 04:26:31 [debug] 19390\#0: *419 close http upstream connection: 58
2020/10/27 04:26:31 [debug] 19390\#0: *419 reusable connection: 0
2020/10/27 04:26:31 [debug] 19390\#0: *419 http finalize request: 504, "/d?" a:0, c:2
2020/10/27 04:26:31 [debug] 19390\#0: *419 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:31 [debug] 19390\#0: *419 lua restoring write event handler
2020/10/27 04:26:31 [debug] 19390\#0: *419 malloc: 0889BD88:8
2020/10/27 04:26:31 [debug] 19390\#0: *419 malloc: 0889BDE0: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 "2020/10/27 04:26:32 [error] 19418\#0: *464 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 3) 2020/10/27 04:26:32 [debug] 19418\#0: *464 finalize http upstream request: 504
2020/10/27 04:26:32 [debug] 19418\#0: *464 finalize http memcached request
2020/10/27 04:26:32 [debug] 19418\#0: *464 close http upstream connection: 23
2020/10/27 04:26:32 [debug] 19418\#0: *464 reusable connection: 0
2020/10/27 04:26:32 [debug] 19418\#0: *464 http finalize request: 504, "/b?" a:0, c:2
2020/10/27 04:26:32 [debug] 19418\#0: *464 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:32 [debug] 19418\#0: *464 lua restoring write event handler
2020/10/27 04:26:32 [debug] 19418\#0: *464 malloc: 088797E8:8
2020/10/27 04:26:32 [debug] 19418\#0: *464 malloc: 088797D8: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 "2020/10/27 04:26:32 [error] 19333\#0: *257 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 3) 2020/10/27 04:26:32 [debug] 19418\#0: *464 lua capture body filter, uri "/foo"
2020/10/27 04:26:32 [debug] 19418\#0: *464 image filter
2020/10/27 04:26:32 [notice] 19333\#0: *257 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:32 [debug] 19418\#0: *464 http postpone filter "/foo?" BFC1FA28
2020/10/27 04:26:32 [debug] 19418\#0: *464 http chunk: 0
2020/10/27 04:26:32 [debug] 19418\#0: *464 malloc: 088AAE60:8
2020/10/27 04:26:32 [debug] 19418\#0: *464 malloc: 088AAE50:8
2020/10/27 04:26:32 [debug] 19418\#0: *464 malloc: 0887CCB8:52
2020/10/27 04:26:32 [debug] 19418\#0: *464 malloc: 088AAE70: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 "2020/10/27 04:26:32 [error] 19418\#0: *472 upstream timed out (110: Connection timed out) while sending request to upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 3) 2020/10/27 04:26:32 [debug] 19418\#0: *472 finalize http upstream request: 504
2020/10/27 04:26:32 [debug] 19418\#0: *472 finalize http memcached request
2020/10/27 04:26:32 [debug] 19418\#0: *472 close http upstream connection: 26
2020/10/27 04:26:32 [debug] 19418\#0: *472 reusable connection: 0
2020/10/27 04:26:32 [debug] 19418\#0: *472 http finalize request: 504, "/b?" a:0, c:3
2020/10/27 04:26:32 [debug] 19418\#0: *472 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:32 [debug] 19418\#0: *472 lua restoring write event handler
2020/10/27 04:26:32 [debug] 19418\#0: *472 malloc: 08891918:8
2020/10/27 04:26:32 [debug] 19418\#0: *472 malloc: 0886BFB8: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 "2020/10/27 04:26:33 [error] 19222\#0: *49 upstream timed out (110: Connection timed out) while sending request to 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 3) 2020/10/27 04:26:34 [debug] 19390\#0: timer delta: 3060
2020/10/27 04:26:34 [debug] 19390\#0: *426 event timer del: 60: 3227051
2020/10/27 04:26:34 [debug] 19390\#0: *426 http upstream request: "/a?"
2020/10/27 04:26:34 [debug] 19390\#0: *426 http upstream process header
2020/10/27 04:26:34 [debug] 19390\#0: *426 http next upstream, 4
2020/10/27 04:26:34 [debug] 19390\#0: *426 free rr peer 1 4
2020/10/27 04:26:34 [error] 19390\#0: *426 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/a", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:34 [debug] 19390\#0: *426 finalize http upstream request: 504
2020/10/27 04:26:34 [debug] 19390\#0: *426 finalize http memcached request
'
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 "2020/10/27 04:26:34 [error] 19390\#0: *426 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 3) 2020/10/27 04:26:34 [debug] 19390\#0: *426 finalize http upstream request: 504
2020/10/27 04:26:34 [debug] 19390\#0: *426 finalize http memcached request
2020/10/27 04:26:34 [debug] 19390\#0: *426 close http upstream connection: 60
2020/10/27 04:26:34 [debug] 19390\#0: *426 reusable connection: 0
2020/10/27 04:26:34 [debug] 19390\#0: *426 http finalize request: 504, "/a?" a:0, c:2
2020/10/27 04:26:34 [debug] 19390\#0: *426 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:34 [debug] 19390\#0: *426 lua restoring write event handler
2020/10/27 04:26:34 [debug] 19390\#0: *426 malloc: 0888A6B8:8
2020/10/27 04:26:34 [debug] 19390\#0: *426 malloc: 0888A6F8: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 "2020/10/27 04:26:34 [error] 19222\#0: *49 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 3) 2020/10/27 04:26:35 [error] 19222\#0: *53 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"
2020/10/27 04:26:35 [debug] 19418\#0: timer delta: 1628
2020/10/27 04:26:35 [debug] 19418\#0: *472 event timer del: 25: 3228755
2020/10/27 04:26:35 [debug] 19418\#0: *472 http upstream request: "/a?"
2020/10/27 04:26:35 [debug] 19418\#0: *472 http upstream process header
2020/10/27 04:26:35 [debug] 19418\#0: *472 http next upstream, 4
2020/10/27 04:26:35 [debug] 19418\#0: *472 free rr peer 1 4
2020/10/27 04:26:35 [error] 19418\#0: *472 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/a", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:35 [debug] 19418\#0: *472 finalize http upstream request: 504
'
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 "2020/10/27 04:26:35 [error] 19222\#0: *53 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 3) 2020/10/27 04:26:35 [debug] 19418\#0: timer delta: 1628
2020/10/27 04:26:35 [debug] 19418\#0: *472 event timer del: 25: 3228755
2020/10/27 04:26:35 [debug] 19418\#0: *472 http upstream request: "/a?"
2020/10/27 04:26:35 [debug] 19418\#0: *472 http upstream process header
2020/10/27 04:26:35 [debug] 19418\#0: *472 http next upstream, 4
2020/10/27 04:26:35 [debug] 19418\#0: *472 free rr peer 1 4
2020/10/27 04:26:35 [error] 19418\#0: *472 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/a", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:35 [debug] 19418\#0: *472 finalize http upstream request: 504
2020/10/27 04:26:35 [debug] 19418\#0: *472 finalize http memcached request
'
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 "2020/10/27 04:26:35 [error] 19418\#0: *472 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 3) 2020/10/27 04:26:35 [debug] 19418\#0: *472 finalize http upstream request: 504
2020/10/27 04:26:35 [debug] 19418\#0: *472 finalize http memcached request
2020/10/27 04:26:35 [debug] 19418\#0: *472 close http upstream connection: 25
2020/10/27 04:26:35 [debug] 19418\#0: *472 reusable connection: 0
2020/10/27 04:26:35 [debug] 19418\#0: *472 http finalize request: 504, "/a?" a:0, c:2
2020/10/27 04:26:35 [debug] 19418\#0: *472 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:35 [debug] 19418\#0: *472 lua restoring write event handler
2020/10/27 04:26:35 [debug] 19418\#0: *472 malloc: 088B4018:8
2020/10/27 04:26:35 [debug] 19418\#0: *472 malloc: 088B4060: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 "2020/10/27 04:26:35 [error] 19418\#0: *482 upstream timed out (110: Connection timed out) while sending request to upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 3) 2020/10/27 04:26:35 [debug] 19418\#0: *482 finalize http upstream request: 504
2020/10/27 04:26:35 [debug] 19418\#0: *482 finalize http memcached request
2020/10/27 04:26:35 [debug] 19418\#0: *482 close http upstream connection: 29
2020/10/27 04:26:35 [debug] 19418\#0: *482 reusable connection: 0
2020/10/27 04:26:35 [debug] 19418\#0: *482 http finalize request: 504, "/b?" a:0, c:3
2020/10/27 04:26:35 [debug] 19418\#0: *482 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:35 [debug] 19418\#0: *482 lua restoring write event handler
2020/10/27 04:26:35 [debug] 19418\#0: *482 malloc: 0887C670:8
2020/10/27 04:26:35 [debug] 19418\#0: *482 malloc: 0887C0F0: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 "2020/10/27 04:26:37 [error] 19222\#0: *45 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 3) 2020/10/27 04:26:37 [error] 19222\#0: *45 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"
2020/10/27 04:26:38 [error] 19333\#0: *262 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"
2020/10/27 04:26:38 [notice] 19333\#0: *262 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:39 [error] 19222\#0: *57 upstream timed out (110: Connection timed out) while sending request to 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"
2020/10/27 04:26:39 [error] 19222\#0: *57 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"
2020/10/27 04:26:40 [error] 19222\#0: *49 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"
2020/10/27 04:26:40 [debug] 19502\#0: epoll: fd:30 ev:2005 d:088886E0
2020/10/27 04:26:40 [debug] 19502\#0: *628 http run request: "/main?"
2020/10/27 04:26:40 [debug] 19502\#0: *628 http reading blocked
'
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 "2020/10/27 04:26:37 [error] 19222\#0: *45 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 3) 2020/10/27 04:26:38 [error] 19333\#0: *262 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"
2020/10/27 04:26:38 [notice] 19333\#0: *262 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:39 [error] 19222\#0: *57 upstream timed out (110: Connection timed out) while sending request to 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"
2020/10/27 04:26:39 [error] 19222\#0: *57 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"
2020/10/27 04:26:40 [error] 19222\#0: *49 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"
2020/10/27 04:26:40 [debug] 19502\#0: epoll: fd:30 ev:2005 d:088886E0
2020/10/27 04:26:40 [debug] 19502\#0: *628 http run request: "/main?"
2020/10/27 04:26:40 [debug] 19502\#0: *628 http reading blocked
2020/10/27 04:26:40 [debug] 19502\#0: *628 http run request: "/main?"
'
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 "2020/10/27 04:26:38 [error] 19333\#0: *262 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 3) 2020/10/27 04:26:38 [notice] 19333\#0: *262 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:39 [error] 19222\#0: *57 upstream timed out (110: Connection timed out) while sending request to 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"
2020/10/27 04:26:39 [error] 19222\#0: *57 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"
2020/10/27 04:26:40 [error] 19222\#0: *49 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"
2020/10/27 04:26:40 [debug] 19502\#0: epoll: fd:30 ev:2005 d:088886E0
2020/10/27 04:26:40 [debug] 19502\#0: *628 http run request: "/main?"
2020/10/27 04:26:40 [debug] 19502\#0: *628 http reading blocked
2020/10/27 04:26:40 [debug] 19502\#0: *628 http run request: "/main?"
2020/10/27 04:26:40 [debug] 19502\#0: *628 http request empty handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:26:39 [error] 19222\#0: *57 upstream timed out (110: Connection timed out) while sending request to 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 3) 2020/10/27 04:26:39 [error] 19222\#0: *57 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"
2020/10/27 04:26:40 [error] 19222\#0: *49 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"
2020/10/27 04:26:40 [debug] 19502\#0: epoll: fd:30 ev:2005 d:088886E0
2020/10/27 04:26:40 [debug] 19502\#0: *628 http run request: "/main?"
2020/10/27 04:26:40 [debug] 19502\#0: *628 http reading blocked
2020/10/27 04:26:40 [debug] 19502\#0: *628 http run request: "/main?"
2020/10/27 04:26:40 [debug] 19502\#0: *628 http request empty handler
2020/10/27 04:26:40 [debug] 19502\#0: timer delta: 6544
2020/10/27 04:26:40 [debug] 19502\#0: worker cycle
'
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 "2020/10/27 04:26:39 [error] 19222\#0: *57 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 3) 2020/10/27 04:26:40 [error] 19222\#0: *49 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"
2020/10/27 04:26:40 [debug] 19502\#0: epoll: fd:30 ev:2005 d:088886E0
2020/10/27 04:26:40 [debug] 19502\#0: *628 http run request: "/main?"
2020/10/27 04:26:40 [debug] 19502\#0: *628 http reading blocked
2020/10/27 04:26:40 [debug] 19502\#0: *628 http run request: "/main?"
2020/10/27 04:26:40 [debug] 19502\#0: *628 http request empty handler
2020/10/27 04:26:40 [debug] 19502\#0: timer delta: 6544
2020/10/27 04:26:40 [debug] 19502\#0: worker cycle
'
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 "2020/10/27 04:26:40 [error] 19222\#0: *49 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 3) 2020/10/27 04:26:40 [debug] 19502\#0: epoll: fd:30 ev:2005 d:088886E0
2020/10/27 04:26:40 [debug] 19502\#0: *628 http run request: "/main?"
2020/10/27 04:26:40 [debug] 19502\#0: *628 http reading blocked
2020/10/27 04:26:40 [debug] 19502\#0: *628 http run request: "/main?"
2020/10/27 04:26:40 [debug] 19502\#0: *628 http request empty handler
2020/10/27 04:26:40 [debug] 19502\#0: timer delta: 6544
2020/10/27 04:26:40 [debug] 19502\#0: worker cycle
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 4, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:26:40 [error] 19333\#0: *271 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 4) 2020/10/27 04:26:40 [notice] 19333\#0: *271 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:41 [debug] 19502\#0: epoll: fd:36 ev:0004 d:08888A0C
2020/10/27 04:26:41 [debug] 19502\#0: *643 http upstream request: "/memc?cmd=set&val=b"
2020/10/27 04:26:41 [debug] 19502\#0: *643 http upstream send request handler
2020/10/27 04:26:41 [debug] 19502\#0: *643 http upstream send request
2020/10/27 04:26:41 [debug] 19502\#0: *643 http upstream send request body
2020/10/27 04:26:41 [debug] 19502\#0: *643 chain writer buf fl:0 s:13
2020/10/27 04:26:41 [debug] 19502\#0: *643 chain writer buf fl:0 s:1
2020/10/27 04:26:41 [debug] 19502\#0: *643 chain writer buf fl:0 s:2
'
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 "2020/10/27 04:26:41 [error] 19333\#0: *267 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 4) 2020/10/27 04:26:41 [notice] 19333\#0: *267 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:42 [error] 19222\#0: *53 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"
2020/10/27 04:26:42 [error] 19222\#0: *61 upstream timed out (110: Connection timed out) while sending request to 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"
2020/10/27 04:26:42 [error] 19222\#0: *61 upstream timed out (110: Connection timed out) while connecting to 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"
2020/10/27 04:26:42 [debug] 19418\#0: timer delta: 7112
2020/10/27 04:26:42 [debug] 19418\#0: *493 event timer del: 33: 3235911
2020/10/27 04:26:42 [debug] 19418\#0: *493 http upstream request: "/a?"
2020/10/27 04:26:42 [debug] 19418\#0: *493 http upstream process header
2020/10/27 04:26:42 [debug] 19418\#0: *493 http next upstream, 4
'
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 "2020/10/27 04:26:42 [error] 19222\#0: *53 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 4) 2020/10/27 04:26:42 [error] 19222\#0: *61 upstream timed out (110: Connection timed out) while sending request to 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"
2020/10/27 04:26:42 [error] 19222\#0: *61 upstream timed out (110: Connection timed out) while connecting to 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"
2020/10/27 04:26:42 [debug] 19418\#0: timer delta: 7112
2020/10/27 04:26:42 [debug] 19418\#0: *493 event timer del: 33: 3235911
2020/10/27 04:26:42 [debug] 19418\#0: *493 http upstream request: "/a?"
2020/10/27 04:26:42 [debug] 19418\#0: *493 http upstream process header
2020/10/27 04:26:42 [debug] 19418\#0: *493 http next upstream, 4
2020/10/27 04:26:42 [debug] 19418\#0: *493 free rr peer 1 4
2020/10/27 04:26:42 [error] 19418\#0: *493 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/a", upstream: "memcached://127.0.0.1:11211", host: "localhost"
'
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 "2020/10/27 04:26:42 [error] 19222\#0: *61 upstream timed out (110: Connection timed out) while sending request to 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 4) 2020/10/27 04:26:42 [error] 19222\#0: *61 upstream timed out (110: Connection timed out) while connecting to 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"
2020/10/27 04:26:42 [debug] 19418\#0: timer delta: 7112
2020/10/27 04:26:42 [debug] 19418\#0: *493 event timer del: 33: 3235911
2020/10/27 04:26:42 [debug] 19418\#0: *493 http upstream request: "/a?"
2020/10/27 04:26:42 [debug] 19418\#0: *493 http upstream process header
2020/10/27 04:26:42 [debug] 19418\#0: *493 http next upstream, 4
2020/10/27 04:26:42 [debug] 19418\#0: *493 free rr peer 1 4
2020/10/27 04:26:42 [error] 19418\#0: *493 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/a", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:42 [debug] 19418\#0: *493 finalize http upstream request: 504
'
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 "2020/10/27 04:26:42 [error] 19222\#0: *61 upstream timed out (110: Connection timed out) while connecting to 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 4) 2020/10/27 04:26:42 [debug] 19418\#0: timer delta: 7112
2020/10/27 04:26:42 [debug] 19418\#0: *493 event timer del: 33: 3235911
2020/10/27 04:26:42 [debug] 19418\#0: *493 http upstream request: "/a?"
2020/10/27 04:26:42 [debug] 19418\#0: *493 http upstream process header
2020/10/27 04:26:42 [debug] 19418\#0: *493 http next upstream, 4
2020/10/27 04:26:42 [debug] 19418\#0: *493 free rr peer 1 4
2020/10/27 04:26:42 [error] 19418\#0: *493 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/a", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:42 [debug] 19418\#0: *493 finalize http upstream request: 504
2020/10/27 04:26:42 [debug] 19418\#0: *493 finalize http memcached request
'
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 "2020/10/27 04:26:42 [error] 19418\#0: *493 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 4) 2020/10/27 04:26:42 [debug] 19418\#0: *493 finalize http upstream request: 504
2020/10/27 04:26:42 [debug] 19418\#0: *493 finalize http memcached request
2020/10/27 04:26:42 [debug] 19418\#0: *493 close http upstream connection: 33
2020/10/27 04:26:42 [debug] 19418\#0: *493 reusable connection: 0
2020/10/27 04:26:42 [debug] 19418\#0: *493 http finalize request: 504, "/a?" a:0, c:3
2020/10/27 04:26:42 [debug] 19418\#0: *493 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:42 [debug] 19418\#0: *493 lua restoring write event handler
2020/10/27 04:26:42 [debug] 19418\#0: *493 malloc: 0887C680:8
2020/10/27 04:26:42 [debug] 19418\#0: *493 malloc: 0887C690: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 "2020/10/27 04:26:43 [error] 19333\#0: *274 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 4) 2020/10/27 04:26:43 [notice] 19333\#0: *274 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:44 [error] 19222\#0: *65 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"
2020/10/27 04:26:45 [error] 19222\#0: *45 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"
2020/10/27 04:26:46 [error] 19222\#0: *57 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"
2020/10/27 04:26:47 [error] 19222\#0: *65 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"
2020/10/27 04:26:47 [error] 19222\#0: *65 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"
2020/10/27 04:26:47 [debug] 19502\#0: epoll: fd:37 ev:0004 d:08888A80
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request handler
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:26:44 [error] 19222\#0: *65 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 4) 2020/10/27 04:26:45 [error] 19222\#0: *45 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"
2020/10/27 04:26:46 [error] 19222\#0: *57 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"
2020/10/27 04:26:47 [error] 19222\#0: *65 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"
2020/10/27 04:26:47 [error] 19222\#0: *65 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"
2020/10/27 04:26:47 [debug] 19502\#0: epoll: fd:37 ev:0004 d:08888A80
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request handler
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request body
'
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 "2020/10/27 04:26:45 [error] 19222\#0: *45 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 4) 2020/10/27 04:26:46 [error] 19222\#0: *57 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"
2020/10/27 04:26:47 [error] 19222\#0: *65 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"
2020/10/27 04:26:47 [error] 19222\#0: *65 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"
2020/10/27 04:26:47 [debug] 19502\#0: epoll: fd:37 ev:0004 d:08888A80
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request handler
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request body
2020/10/27 04:26:47 [debug] 19502\#0: *643 chain writer buf fl:0 s:13
'
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 "2020/10/27 04:26:46 [error] 19222\#0: *57 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 4) 2020/10/27 04:26:47 [error] 19222\#0: *65 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"
2020/10/27 04:26:47 [error] 19222\#0: *65 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"
2020/10/27 04:26:47 [debug] 19502\#0: epoll: fd:37 ev:0004 d:08888A80
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request handler
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request body
2020/10/27 04:26:47 [debug] 19502\#0: *643 chain writer buf fl:0 s:13
2020/10/27 04:26:47 [debug] 19502\#0: *643 chain writer buf fl:0 s:1
'
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 "2020/10/27 04:26:47 [error] 19222\#0: *65 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 4) 2020/10/27 04:26:47 [error] 19222\#0: *65 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"
2020/10/27 04:26:47 [debug] 19502\#0: epoll: fd:37 ev:0004 d:08888A80
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request handler
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request body
2020/10/27 04:26:47 [debug] 19502\#0: *643 chain writer buf fl:0 s:13
2020/10/27 04:26:47 [debug] 19502\#0: *643 chain writer buf fl:0 s:1
2020/10/27 04:26:47 [debug] 19502\#0: *643 chain writer buf fl:0 s:2
'
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 "2020/10/27 04:26:47 [error] 19222\#0: *65 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 4) 2020/10/27 04:26:47 [debug] 19502\#0: epoll: fd:37 ev:0004 d:08888A80
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request handler
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request
2020/10/27 04:26:47 [debug] 19502\#0: *643 http upstream send request body
2020/10/27 04:26:47 [debug] 19502\#0: *643 chain writer buf fl:0 s:13
2020/10/27 04:26:47 [debug] 19502\#0: *643 chain writer buf fl:0 s:1
2020/10/27 04:26:47 [debug] 19502\#0: *643 chain writer buf fl:0 s:2
2020/10/27 04:26:47 [debug] 19502\#0: *643 chain writer in: 088CBC40
'
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 "2020/10/27 04:26:48 [error] 19418\#0: *493 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 4) 2020/10/27 04:26:48 [debug] 19418\#0: *493 finalize http upstream request: 504
2020/10/27 04:26:48 [debug] 19418\#0: *493 finalize http memcached request
2020/10/27 04:26:48 [debug] 19418\#0: *493 close http upstream connection: 34
2020/10/27 04:26:48 [debug] 19418\#0: *493 reusable connection: 0
2020/10/27 04:26:48 [debug] 19418\#0: *493 http finalize request: 504, "/b?" a:0, c:2
2020/10/27 04:26:48 [debug] 19418\#0: *493 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:48 [debug] 19418\#0: *493 lua restoring write event handler
2020/10/27 04:26:48 [debug] 19418\#0: *493 malloc: 088AA940:8
2020/10/27 04:26:48 [debug] 19418\#0: *493 malloc: 08884498: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 "2020/10/27 04:26:49 [error] 19418\#0: *505 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 4) 2020/10/27 04:26:49 [debug] 19418\#0: *505 finalize http upstream request: 504
2020/10/27 04:26:49 [debug] 19418\#0: *505 finalize http memcached request
2020/10/27 04:26:49 [debug] 19418\#0: *505 close http upstream connection: 39
2020/10/27 04:26:49 [debug] 19418\#0: *505 reusable connection: 0
2020/10/27 04:26:49 [debug] 19418\#0: *505 http finalize request: 504, "/a?" a:0, c:3
2020/10/27 04:26:49 [debug] 19418\#0: *505 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:49 [debug] 19418\#0: *505 lua restoring write event handler
2020/10/27 04:26:49 [debug] 19418\#0: *505 malloc: 08892A40:8
2020/10/27 04:26:49 [debug] 19418\#0: *505 malloc: 08892A80: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 "2020/10/27 04:26:50 [error] 19222\#0: *53 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 4) 2020/10/27 04:26:50 [error] 19333\#0: *245 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"
2020/10/27 04:26:50 [notice] 19333\#0: *245 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:50 [debug] 19502\#0: epoll: fd:12 ev:2005 d:08888924
2020/10/27 04:26:50 [debug] 19502\#0: *643 http run request: "/main?"
2020/10/27 04:26:50 [debug] 19502\#0: *643 http reading blocked
2020/10/27 04:26:50 [debug] 19502\#0: *643 http run request: "/main?"
2020/10/27 04:26:50 [debug] 19502\#0: *643 http request empty handler
2020/10/27 04:26:50 [debug] 19502\#0: timer delta: 2980
2020/10/27 04:26:50 [debug] 19502\#0: worker cycle
'
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 "2020/10/27 04:26:50 [error] 19333\#0: *245 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 4) 2020/10/27 04:26:50 [notice] 19333\#0: *245 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:50 [debug] 19502\#0: epoll: fd:12 ev:2005 d:08888924
2020/10/27 04:26:50 [debug] 19502\#0: *643 http run request: "/main?"
2020/10/27 04:26:50 [debug] 19502\#0: *643 http reading blocked
2020/10/27 04:26:50 [debug] 19502\#0: *643 http run request: "/main?"
2020/10/27 04:26:50 [debug] 19502\#0: *643 http request empty handler
2020/10/27 04:26:50 [debug] 19502\#0: timer delta: 2980
2020/10/27 04:26:50 [debug] 19502\#0: worker cycle
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 5, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:26:51 [error] 19222\#0: *69 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) 2020/10/27 04:26:51 [debug] 19418\#0: timer delta: 2948
2020/10/27 04:26:51 [debug] 19418\#0: *502 event timer del: 36: 3244971
2020/10/27 04:26:51 [debug] 19418\#0: *502 http upstream request: "/a?"
2020/10/27 04:26:51 [debug] 19418\#0: *502 http upstream process header
2020/10/27 04:26:51 [debug] 19418\#0: *502 http next upstream, 4
2020/10/27 04:26:51 [debug] 19418\#0: *502 free rr peer 1 4
2020/10/27 04:26:51 [error] 19418\#0: *502 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/a", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:51 [debug] 19418\#0: *502 finalize http upstream request: 504
2020/10/27 04:26:51 [debug] 19418\#0: *502 finalize http memcached request
'
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 "2020/10/27 04:26:51 [error] 19418\#0: *502 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 5) 2020/10/27 04:26:51 [debug] 19418\#0: *502 finalize http upstream request: 504
2020/10/27 04:26:51 [debug] 19418\#0: *502 finalize http memcached request
2020/10/27 04:26:51 [debug] 19418\#0: *502 close http upstream connection: 36
2020/10/27 04:26:51 [debug] 19418\#0: *502 reusable connection: 0
2020/10/27 04:26:51 [debug] 19418\#0: *502 http finalize request: 504, "/a?" a:0, c:3
2020/10/27 04:26:51 [debug] 19418\#0: *502 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:51 [debug] 19418\#0: *502 lua restoring write event handler
2020/10/27 04:26:51 [debug] 19418\#0: *502 malloc: 088B51D8:8
2020/10/27 04:26:51 [debug] 19418\#0: *502 malloc: 088B51C8: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 "2020/10/27 04:26:53 [error] 19222\#0: *69 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) 2020/10/27 04:26:53 [error] 19222\#0: *69 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"
2020/10/27 04:26:55 [debug] 19418\#0: timer delta: 3052
2020/10/27 04:26:55 [debug] 19418\#0: *505 event timer del: 40: 3248027
2020/10/27 04:26:55 [debug] 19418\#0: *505 http upstream request: "/b?"
2020/10/27 04:26:55 [debug] 19418\#0: *505 http upstream process header
2020/10/27 04:26:55 [debug] 19418\#0: *505 http next upstream, 4
2020/10/27 04:26:55 [debug] 19418\#0: *505 free rr peer 1 4
2020/10/27 04:26:55 [error] 19418\#0: *505 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/b", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:55 [debug] 19418\#0: *505 finalize http upstream request: 504
'
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 "2020/10/27 04:26:53 [error] 19222\#0: *69 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) 2020/10/27 04:26:55 [debug] 19418\#0: timer delta: 3052
2020/10/27 04:26:55 [debug] 19418\#0: *505 event timer del: 40: 3248027
2020/10/27 04:26:55 [debug] 19418\#0: *505 http upstream request: "/b?"
2020/10/27 04:26:55 [debug] 19418\#0: *505 http upstream process header
2020/10/27 04:26:55 [debug] 19418\#0: *505 http next upstream, 4
2020/10/27 04:26:55 [debug] 19418\#0: *505 free rr peer 1 4
2020/10/27 04:26:55 [error] 19418\#0: *505 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/b", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:55 [debug] 19418\#0: *505 finalize http upstream request: 504
2020/10/27 04:26:55 [debug] 19418\#0: *505 finalize http memcached request
'
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 "2020/10/27 04:26:55 [error] 19418\#0: *505 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 5) 2020/10/27 04:26:55 [debug] 19418\#0: *505 finalize http upstream request: 504
2020/10/27 04:26:55 [debug] 19418\#0: *505 finalize http memcached request
2020/10/27 04:26:55 [debug] 19418\#0: *505 close http upstream connection: 40
2020/10/27 04:26:55 [debug] 19418\#0: *505 reusable connection: 0
2020/10/27 04:26:55 [debug] 19418\#0: *505 http finalize request: 504, "/b?" a:0, c:2
2020/10/27 04:26:55 [debug] 19418\#0: *505 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:55 [debug] 19418\#0: *505 lua restoring write event handler
2020/10/27 04:26:55 [debug] 19418\#0: *505 malloc: 088AFB00:8
2020/10/27 04:26:55 [debug] 19418\#0: *505 malloc: 088872C8: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 "2020/10/27 04:26:56 [error] 19333\#0: *253 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) 2020/10/27 04:26:56 [notice] 19333\#0: *253 [lua] rewrite_by_lua(nginx.conf:49):3: rewrite a: while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:26:57 [error] 19222\#0: *61 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"
2020/10/27 04:26:58 [debug] 19418\#0: timer delta: 3072
2020/10/27 04:26:58 [debug] 19418\#0: *511 event timer del: 42: 3251083
2020/10/27 04:26:58 [debug] 19418\#0: *511 http upstream request: "/a?"
2020/10/27 04:26:58 [debug] 19418\#0: *511 http upstream process header
2020/10/27 04:26:58 [debug] 19418\#0: *511 http next upstream, 4
2020/10/27 04:26:58 [debug] 19418\#0: *511 free rr peer 1 4
2020/10/27 04:26:58 [error] 19418\#0: *511 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/a", upstream: "memcached://127.0.0.1:11211", host: "localhost"
'
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 "2020/10/27 04:26:57 [error] 19222\#0: *61 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) 2020/10/27 04:26:58 [debug] 19418\#0: timer delta: 3072
2020/10/27 04:26:58 [debug] 19418\#0: *511 event timer del: 42: 3251083
2020/10/27 04:26:58 [debug] 19418\#0: *511 http upstream request: "/a?"
2020/10/27 04:26:58 [debug] 19418\#0: *511 http upstream process header
2020/10/27 04:26:58 [debug] 19418\#0: *511 http next upstream, 4
2020/10/27 04:26:58 [debug] 19418\#0: *511 free rr peer 1 4
2020/10/27 04:26:58 [error] 19418\#0: *511 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/a", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:26:58 [debug] 19418\#0: *511 finalize http upstream request: 504
2020/10/27 04:26:58 [debug] 19418\#0: *511 finalize http memcached request
'
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 "2020/10/27 04:26:58 [error] 19418\#0: *511 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 5) 2020/10/27 04:26:58 [debug] 19418\#0: *511 finalize http upstream request: 504
2020/10/27 04:26:58 [debug] 19418\#0: *511 finalize http memcached request
2020/10/27 04:26:58 [debug] 19418\#0: *511 close http upstream connection: 42
2020/10/27 04:26:58 [debug] 19418\#0: *511 reusable connection: 0
2020/10/27 04:26:58 [debug] 19418\#0: *511 http finalize request: 504, "/a?" a:0, c:3
2020/10/27 04:26:58 [debug] 19418\#0: *511 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:26:58 [debug] 19418\#0: *511 lua restoring write event handler
2020/10/27 04:26:58 [debug] 19418\#0: *511 malloc: 088B3398:8
2020/10/27 04:26:58 [debug] 19418\#0: *511 malloc: 088B33D8: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 "2020/10/27 04:26:59 [error] 19418\#0: *502 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 5) 2020/10/27 04:26:59 [debug] 19418\#0: *502 finalize http upstream request: 504
2020/10/27 04:26:59 [debug] 19418\#0: *502 finalize http memcached request
2020/10/27 04:26:59 [debug] 19418\#0: *502 close http upstream connection: 37
2020/10/27 04:26:59 [debug] 19418\#0: *502 reusable connection: 0
2020/10/27 04:26:59 [debug] 19418\#0: *502 http finalize request: 504, "/b?" a:0, c:2
2020/10/27 04:26:59 [debug] 19418\#0: *502 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:26:59 [debug] 19418\#0: *502 lua restoring write event handler
2020/10/27 04:26:59 [debug] 19418\#0: *502 malloc: 088A2BB8:8
2020/10/27 04:26:59 [debug] 19418\#0: *502 malloc: 088A2BA8: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 "2020/10/27 04:27:00 [error] 19502\#0: *601 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) 2020/10/27 04:27:00 [debug] 19502\#0: *601 finalize http upstream request: 504
2020/10/27 04:27:00 [debug] 19502\#0: *601 finalize http memcached request
2020/10/27 04:27:00 [debug] 19502\#0: *601 close http upstream connection: 8
2020/10/27 04:27:00 [debug] 19502\#0: *601 reusable connection: 0
2020/10/27 04:27:00 [debug] 19502\#0: *601 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2020/10/27 04:27:00 [debug] 19502\#0: *601 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:00 [debug] 19502\#0: *601 lua restoring write event handler
2020/10/27 04:27:00 [debug] 19502\#0: *601 malloc: 088D5530:8
2020/10/27 04:27:00 [debug] 19502\#0: *601 malloc: 088D5540:8
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 6, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:27:01 [error] 19502\#0: *601 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) 2020/10/27 04:27:01 [debug] 19502\#0: *601 finalize http upstream request: 504
2020/10/27 04:27:01 [debug] 19502\#0: *601 finalize http memcached request
2020/10/27 04:27:01 [debug] 19502\#0: *601 close http upstream connection: 9
2020/10/27 04:27:01 [debug] 19502\#0: *601 reusable connection: 0
2020/10/27 04:27:01 [debug] 19502\#0: *601 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2020/10/27 04:27:01 [debug] 19502\#0: *601 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:01 [debug] 19502\#0: *601 lua restoring write event handler
2020/10/27 04:27:01 [debug] 19502\#0: *601 malloc: 088DFE68:8
2020/10/27 04:27:01 [debug] 19502\#0: *601 malloc: 088DFE78: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 "2020/10/27 04:27:03 [error] 19502\#0: *601 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) 2020/10/27 04:27:03 [debug] 19502\#0: *601 finalize http upstream request: 504
2020/10/27 04:27:03 [debug] 19502\#0: *601 finalize http memcached request
2020/10/27 04:27:03 [debug] 19502\#0: *601 close http upstream connection: 13
2020/10/27 04:27:03 [debug] 19502\#0: *601 reusable connection: 0
2020/10/27 04:27:03 [debug] 19502\#0: *601 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2020/10/27 04:27:03 [debug] 19502\#0: *601 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:03 [debug] 19502\#0: *601 lua restoring write event handler
2020/10/27 04:27:03 [debug] 19502\#0: *601 malloc: 088E0E50:8
2020/10/27 04:27:03 [debug] 19502\#0: *601 malloc: 088E0E60: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 "2020/10/27 04:27:03 [error] 19502\#0: *601 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) 2020/10/27 04:27:03 [debug] 19502\#0: *601 finalize http upstream request: 504
2020/10/27 04:27:03 [debug] 19502\#0: *601 finalize http memcached request
2020/10/27 04:27:03 [debug] 19502\#0: *601 close http upstream connection: 14
2020/10/27 04:27:03 [debug] 19502\#0: *601 reusable connection: 0
2020/10/27 04:27:03 [debug] 19502\#0: *601 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2020/10/27 04:27:03 [debug] 19502\#0: *601 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:03 [debug] 19502\#0: *601 lua restoring write event handler
2020/10/27 04:27:03 [debug] 19502\#0: *601 malloc: 088E1E38:8
2020/10/27 04:27:03 [debug] 19502\#0: *601 malloc: 088E1E48: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 "2020/10/27 04:27:06 [error] 19418\#0: *511 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 6) 2020/10/27 04:27:06 [debug] 19418\#0: *511 finalize http upstream request: 504
2020/10/27 04:27:06 [debug] 19418\#0: *511 finalize http memcached request
2020/10/27 04:27:06 [debug] 19418\#0: *511 close http upstream connection: 43
2020/10/27 04:27:06 [debug] 19418\#0: *511 reusable connection: 0
2020/10/27 04:27:06 [debug] 19418\#0: *511 http finalize request: 504, "/b?" a:0, c:2
2020/10/27 04:27:06 [debug] 19418\#0: *511 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:27:06 [debug] 19418\#0: *511 lua restoring write event handler
2020/10/27 04:27:06 [debug] 19418\#0: *511 malloc: 08882A00:8
2020/10/27 04:27:06 [debug] 19418\#0: *511 malloc: 08882A40: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 "2020/10/27 04:27:06 [error] 19418\#0: *482 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 6) 2020/10/27 04:27:06 [debug] 19418\#0: *482 finalize http upstream request: 504
2020/10/27 04:27:06 [debug] 19418\#0: *482 finalize http memcached request
2020/10/27 04:27:06 [debug] 19418\#0: *482 close http upstream connection: 28
2020/10/27 04:27:06 [debug] 19418\#0: *482 reusable connection: 0
2020/10/27 04:27:06 [debug] 19418\#0: *482 http finalize request: 504, "/a?" a:0, c:2
2020/10/27 04:27:06 [debug] 19418\#0: *482 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:27:06 [debug] 19418\#0: *482 lua restoring write event handler
2020/10/27 04:27:06 [debug] 19418\#0: *482 malloc: 08868FB8:8
2020/10/27 04:27:06 [debug] 19418\#0: *482 malloc: 088B3948: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 "2020/10/27 04:27:08 [error] 19222\#0: *33 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) 2020/10/27 04:27:08 [error] 19222\#0: *33 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"
2020/10/27 04:27:09 [debug] 19418\#0: timer delta: 3040
2020/10/27 04:27:09 [debug] 19418\#0: *485 event timer del: 30: 3262907
2020/10/27 04:27:09 [debug] 19418\#0: *485 http upstream request: "/a?"
2020/10/27 04:27:09 [debug] 19418\#0: *485 http upstream process header
2020/10/27 04:27:09 [debug] 19418\#0: *485 http next upstream, 4
2020/10/27 04:27:09 [debug] 19418\#0: *485 free rr peer 1 4
2020/10/27 04:27:09 [error] 19418\#0: *485 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/a", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:27:09 [debug] 19418\#0: *485 finalize http upstream request: 504
'
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 "2020/10/27 04:27:08 [error] 19222\#0: *33 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) 2020/10/27 04:27:09 [debug] 19418\#0: timer delta: 3040
2020/10/27 04:27:09 [debug] 19418\#0: *485 event timer del: 30: 3262907
2020/10/27 04:27:09 [debug] 19418\#0: *485 http upstream request: "/a?"
2020/10/27 04:27:09 [debug] 19418\#0: *485 http upstream process header
2020/10/27 04:27:09 [debug] 19418\#0: *485 http next upstream, 4
2020/10/27 04:27:09 [debug] 19418\#0: *485 free rr peer 1 4
2020/10/27 04:27:09 [error] 19418\#0: *485 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /foo HTTP/1.1", subrequest: "/a", upstream: "memcached://127.0.0.1:11211", host: "localhost"
2020/10/27 04:27:09 [debug] 19418\#0: *485 finalize http upstream request: 504
2020/10/27 04:27:09 [debug] 19418\#0: *485 finalize http memcached request
'
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 "2020/10/27 04:27:09 [error] 19418\#0: *485 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/a\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 6) 2020/10/27 04:27:09 [debug] 19418\#0: *485 finalize http upstream request: 504
2020/10/27 04:27:09 [debug] 19418\#0: *485 finalize http memcached request
2020/10/27 04:27:09 [debug] 19418\#0: *485 close http upstream connection: 30
2020/10/27 04:27:09 [debug] 19418\#0: *485 reusable connection: 0
2020/10/27 04:27:09 [debug] 19418\#0: *485 http finalize request: 504, "/a?" a:0, c:3
2020/10/27 04:27:09 [debug] 19418\#0: *485 lua run post subrequest handler, rc:504 c:3
2020/10/27 04:27:09 [debug] 19418\#0: *485 lua restoring write event handler
2020/10/27 04:27:09 [debug] 19418\#0: *485 malloc: 08883C70:8
2020/10/27 04:27:09 [debug] 19418\#0: *485 malloc: 088AEFD0: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 "2020/10/27 04:27:09 [error] 19418\#0: *485 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/b\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 6) 2020/10/27 04:27:09 [debug] 19418\#0: *485 finalize http upstream request: 504
2020/10/27 04:27:09 [debug] 19418\#0: *485 finalize http memcached request
2020/10/27 04:27:09 [debug] 19418\#0: *485 close http upstream connection: 31
2020/10/27 04:27:09 [debug] 19418\#0: *485 reusable connection: 0
2020/10/27 04:27:09 [debug] 19418\#0: *485 http finalize request: 504, "/b?" a:0, c:2
2020/10/27 04:27:09 [debug] 19418\#0: *485 lua run post subrequest handler, rc:504 c:2
2020/10/27 04:27:09 [debug] 19418\#0: *485 lua restoring write event handler
2020/10/27 04:27:09 [debug] 19418\#0: *485 malloc: 088AF018:8
2020/10/27 04:27:09 [debug] 19418\#0: *485 malloc: 08887950: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 "2020/10/27 04:27:10 [error] 19502\#0: *608 upstream timed out (110: Connection timed out) while sending request to 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) 2020/10/27 04:27:10 [debug] 19502\#0: *608 finalize http upstream request: 504
2020/10/27 04:27:10 [debug] 19502\#0: *608 finalize http memcached request
2020/10/27 04:27:10 [debug] 19502\#0: *608 close http upstream connection: 24
2020/10/27 04:27:10 [debug] 19502\#0: *608 reusable connection: 0
2020/10/27 04:27:10 [debug] 19502\#0: *608 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2020/10/27 04:27:10 [debug] 19502\#0: *608 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:10 [debug] 19502\#0: *608 lua restoring write event handler
2020/10/27 04:27:10 [debug] 19502\#0: *608 malloc: 088E2EE0:8
2020/10/27 04:27:10 [debug] 19502\#0: *608 malloc: 088E2EF0:8
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 7, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:27:11 [error] 19222\#0: *33 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) 2020/10/27 04:27:11 [info] 19222\#0: *33 shutdown() failed (107: Transport endpoint is not connected) while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:27:11 [debug] 19502\#0: timer delta: 444
2020/10/27 04:27:11 [debug] 19502\#0: *608 event timer del: 19: 3264483
2020/10/27 04:27:11 [debug] 19502\#0: *608 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:27:11 [debug] 19502\#0: *608 http upstream process header
2020/10/27 04:27:11 [debug] 19502\#0: *608 http next upstream, 4
2020/10/27 04:27:11 [debug] 19502\#0: *608 free rr peer 1 4
2020/10/27 04:27:11 [error] 19502\#0: *608 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"
2020/10/27 04:27:11 [debug] 19502\#0: *608 finalize http upstream request: 504
'
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 "2020/10/27 04:27:11 [error] 19502\#0: *608 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) 2020/10/27 04:27:11 [debug] 19502\#0: *608 finalize http upstream request: 504
2020/10/27 04:27:11 [debug] 19502\#0: *608 finalize http memcached request
2020/10/27 04:27:11 [debug] 19502\#0: *608 close http upstream connection: 19
2020/10/27 04:27:11 [debug] 19502\#0: *608 reusable connection: 0
2020/10/27 04:27:11 [debug] 19502\#0: *608 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2020/10/27 04:27:11 [debug] 19502\#0: *608 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:11 [debug] 19502\#0: *608 lua restoring write event handler
2020/10/27 04:27:11 [debug] 19502\#0: *608 malloc: 088ED758:8
2020/10/27 04:27:11 [debug] 19502\#0: *608 malloc: 088ED768: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 "2020/10/27 04:27:13 [error] 19222\#0: *37 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) 2020/10/27 04:27:13 [debug] 19502\#0: timer delta: 1464
2020/10/27 04:27:13 [debug] 19502\#0: *608 event timer del: 22: 3266492
2020/10/27 04:27:13 [debug] 19502\#0: *608 http upstream request: "/memc?cmd=set&val=b"
2020/10/27 04:27:13 [debug] 19502\#0: *608 http upstream process header
2020/10/27 04:27:13 [debug] 19502\#0: *608 http next upstream, 4
2020/10/27 04:27:13 [debug] 19502\#0: *608 free rr peer 1 4
2020/10/27 04:27:13 [error] 19502\#0: *608 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"
2020/10/27 04:27:13 [debug] 19502\#0: *608 finalize http upstream request: 504
2020/10/27 04:27:13 [debug] 19502\#0: *608 finalize http memcached request
'
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 "2020/10/27 04:27:13 [error] 19502\#0: *608 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) 2020/10/27 04:27:13 [debug] 19502\#0: *608 finalize http upstream request: 504
2020/10/27 04:27:13 [debug] 19502\#0: *608 finalize http memcached request
2020/10/27 04:27:13 [debug] 19502\#0: *608 close http upstream connection: 22
2020/10/27 04:27:13 [debug] 19502\#0: *608 reusable connection: 0
2020/10/27 04:27:13 [debug] 19502\#0: *608 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2020/10/27 04:27:13 [debug] 19502\#0: *608 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:13 [debug] 19502\#0: *608 lua restoring write event handler
2020/10/27 04:27:13 [debug] 19502\#0: *608 malloc: 088EE800:8
2020/10/27 04:27:13 [debug] 19502\#0: *608 malloc: 088EE810: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 "2020/10/27 04:27:15 [error] 19222\#0: *37 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) 2020/10/27 04:27:17 [error] 19333\#0: *237 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"
2020/10/27 04:27:17 [debug] 19502\#0: timer delta: 3456
2020/10/27 04:27:17 [debug] 19502\#0: *608 event timer del: 23: 3270496
2020/10/27 04:27:17 [debug] 19502\#0: *608 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:27:17 [debug] 19502\#0: *608 http upstream process header
2020/10/27 04:27:17 [debug] 19502\#0: *608 http next upstream, 4
2020/10/27 04:27:17 [debug] 19502\#0: *608 free rr peer 1 4
2020/10/27 04:27:17 [error] 19502\#0: *608 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"
2020/10/27 04:27:17 [debug] 19502\#0: *608 finalize http upstream request: 504
'
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 "2020/10/27 04:27:17 [error] 19333\#0: *237 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) 2020/10/27 04:27:17 [debug] 19502\#0: timer delta: 3456
2020/10/27 04:27:17 [debug] 19502\#0: *608 event timer del: 23: 3270496
2020/10/27 04:27:17 [debug] 19502\#0: *608 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:27:17 [debug] 19502\#0: *608 http upstream process header
2020/10/27 04:27:17 [debug] 19502\#0: *608 http next upstream, 4
2020/10/27 04:27:17 [debug] 19502\#0: *608 free rr peer 1 4
2020/10/27 04:27:17 [error] 19502\#0: *608 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"
2020/10/27 04:27:17 [debug] 19502\#0: *608 finalize http upstream request: 504
2020/10/27 04:27:17 [debug] 19502\#0: *608 finalize http memcached request
'
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 "2020/10/27 04:27:17 [error] 19502\#0: *608 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) 2020/10/27 04:27:17 [debug] 19502\#0: *608 finalize http upstream request: 504
2020/10/27 04:27:17 [debug] 19502\#0: *608 finalize http memcached request
2020/10/27 04:27:17 [debug] 19502\#0: *608 close http upstream connection: 23
2020/10/27 04:27:17 [debug] 19502\#0: *608 reusable connection: 0
2020/10/27 04:27:17 [debug] 19502\#0: *608 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2020/10/27 04:27:17 [debug] 19502\#0: *608 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:17 [debug] 19502\#0: *608 lua restoring write event handler
2020/10/27 04:27:17 [debug] 19502\#0: *608 malloc: 088EF7E8:8
2020/10/27 04:27:17 [debug] 19502\#0: *608 malloc: 088EF7F8: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 "2020/10/27 04:27:19 [error] 19333\#0: *241 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) 2020/10/27 04:27:20 [debug] 19502\#0: timer delta: 3104
2020/10/27 04:27:20 [debug] 19502\#0: *618 event timer del: 26: 3273592
2020/10/27 04:27:20 [debug] 19502\#0: *618 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:27:20 [debug] 19502\#0: *618 http upstream process header
2020/10/27 04:27:20 [debug] 19502\#0: *618 http next upstream, 4
2020/10/27 04:27:20 [debug] 19502\#0: *618 free rr peer 1 4
2020/10/27 04:27:20 [error] 19502\#0: *618 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"
2020/10/27 04:27:20 [debug] 19502\#0: *618 finalize http upstream request: 504
2020/10/27 04:27:20 [debug] 19502\#0: *618 finalize http memcached request
'
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 "2020/10/27 04:27:20 [error] 19502\#0: *618 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) 2020/10/27 04:27:20 [debug] 19502\#0: *618 finalize http upstream request: 504
2020/10/27 04:27:20 [debug] 19502\#0: *618 finalize http memcached request
2020/10/27 04:27:20 [debug] 19502\#0: *618 close http upstream connection: 26
2020/10/27 04:27:20 [debug] 19502\#0: *618 reusable connection: 0
2020/10/27 04:27:20 [debug] 19502\#0: *618 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2020/10/27 04:27:20 [debug] 19502\#0: *618 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:20 [debug] 19502\#0: *618 lua restoring write event handler
2020/10/27 04:27:20 [debug] 19502\#0: *618 malloc: 088F07D0:8
2020/10/27 04:27:20 [debug] 19502\#0: *618 malloc: 088F07E0:8
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 8, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:27:21 [error] 19222\#0: *41 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) 2020/10/27 04:27:22 [debug] 19502\#0: epoll: fd:55 ev:0004 d:0888931C
2020/10/27 04:27:22 [debug] 19502\#0: *692 http upstream request: "/memc?cmd=set&val=b"
2020/10/27 04:27:22 [debug] 19502\#0: *692 http upstream send request handler
2020/10/27 04:27:22 [debug] 19502\#0: *692 http upstream send request
2020/10/27 04:27:22 [debug] 19502\#0: *692 http upstream send request body
2020/10/27 04:27:22 [debug] 19502\#0: *692 chain writer buf fl:0 s:13
2020/10/27 04:27:22 [debug] 19502\#0: *692 chain writer buf fl:0 s:1
2020/10/27 04:27:22 [debug] 19502\#0: *692 chain writer buf fl:0 s:2
2020/10/27 04:27:22 [debug] 19502\#0: *692 chain writer in: 088FB0E8
'
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 "2020/10/27 04:27:23 [error] 19502\#0: *618 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) 2020/10/27 04:27:23 [debug] 19502\#0: *618 finalize http upstream request: 504
2020/10/27 04:27:23 [debug] 19502\#0: *618 finalize http memcached request
2020/10/27 04:27:23 [debug] 19502\#0: *618 close http upstream connection: 27
2020/10/27 04:27:23 [debug] 19502\#0: *618 reusable connection: 0
2020/10/27 04:27:23 [debug] 19502\#0: *618 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2020/10/27 04:27:23 [debug] 19502\#0: *618 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:23 [debug] 19502\#0: *618 lua restoring write event handler
2020/10/27 04:27:23 [debug] 19502\#0: *618 malloc: 088FB108:8
2020/10/27 04:27:23 [debug] 19502\#0: *618 malloc: 088FB118: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 "2020/10/27 04:27:23 [error] 19502\#0: *618 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) 2020/10/27 04:27:23 [debug] 19502\#0: *618 finalize http upstream request: 504
2020/10/27 04:27:23 [debug] 19502\#0: *618 finalize http memcached request
2020/10/27 04:27:23 [debug] 19502\#0: *618 close http upstream connection: 28
2020/10/27 04:27:23 [debug] 19502\#0: *618 reusable connection: 0
2020/10/27 04:27:23 [debug] 19502\#0: *618 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2020/10/27 04:27:23 [debug] 19502\#0: *618 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:23 [debug] 19502\#0: *618 lua restoring write event handler
2020/10/27 04:27:23 [debug] 19502\#0: *618 malloc: 088FC0F0:8
2020/10/27 04:27:23 [debug] 19502\#0: *618 malloc: 088FC100: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 "2020/10/27 04:27:25 [error] 19222\#0: *41 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) 2020/10/27 04:27:25 [error] 19222\#0: *41 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"
2020/10/27 04:27:25 [info] 19222\#0: *41 shutdown() failed (107: Transport endpoint is not connected) while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:27:26 [debug] 19502\#0: epoll: fd:51 ev:0004 d:0888914C
2020/10/27 04:27:26 [debug] 19502\#0: *681 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:27:26 [debug] 19502\#0: *681 http upstream send request handler
2020/10/27 04:27:26 [debug] 19502\#0: *681 http upstream send request
2020/10/27 04:27:26 [debug] 19502\#0: *681 http upstream send request body
2020/10/27 04:27:26 [debug] 19502\#0: *681 chain writer buf fl:0 s:13
2020/10/27 04:27:26 [debug] 19502\#0: *681 chain writer buf fl:0 s:1
'
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 "2020/10/27 04:27:25 [error] 19222\#0: *41 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) 2020/10/27 04:27:25 [info] 19222\#0: *41 shutdown() failed (107: Transport endpoint is not connected) while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:27:26 [debug] 19502\#0: epoll: fd:51 ev:0004 d:0888914C
2020/10/27 04:27:26 [debug] 19502\#0: *681 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:27:26 [debug] 19502\#0: *681 http upstream send request handler
2020/10/27 04:27:26 [debug] 19502\#0: *681 http upstream send request
2020/10/27 04:27:26 [debug] 19502\#0: *681 http upstream send request body
2020/10/27 04:27:26 [debug] 19502\#0: *681 chain writer buf fl:0 s:13
2020/10/27 04:27:26 [debug] 19502\#0: *681 chain writer buf fl:0 s:1
2020/10/27 04:27:26 [debug] 19502\#0: *681 chain writer buf fl:0 s:2
'
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 "2020/10/27 04:27:27 [error] 19222\#0: *37 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) 2020/10/27 04:27:27 [info] 19222\#0: *37 shutdown() failed (107: Transport endpoint is not connected) while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:27:27 [debug] 19502\#0: timer delta: 1540
2020/10/27 04:27:27 [debug] 19502\#0: *618 event timer del: 29: 3280600
2020/10/27 04:27:27 [debug] 19502\#0: *618 http upstream request: "/memc?cmd=set&val=b"
2020/10/27 04:27:27 [debug] 19502\#0: *618 http upstream process header
2020/10/27 04:27:27 [debug] 19502\#0: *618 http next upstream, 4
2020/10/27 04:27:27 [debug] 19502\#0: *618 free rr peer 1 4
2020/10/27 04:27:27 [error] 19502\#0: *618 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"
2020/10/27 04:27:27 [debug] 19502\#0: *618 finalize http upstream request: 504
'
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 "2020/10/27 04:27:27 [error] 19502\#0: *618 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) 2020/10/27 04:27:27 [debug] 19502\#0: *618 finalize http upstream request: 504
2020/10/27 04:27:27 [debug] 19502\#0: *618 finalize http memcached request
2020/10/27 04:27:27 [debug] 19502\#0: *618 close http upstream connection: 29
2020/10/27 04:27:27 [debug] 19502\#0: *618 reusable connection: 0
2020/10/27 04:27:27 [debug] 19502\#0: *618 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2020/10/27 04:27:27 [debug] 19502\#0: *618 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:27 [debug] 19502\#0: *618 lua restoring write event handler
2020/10/27 04:27:27 [debug] 19502\#0: *618 malloc: 088FD0D8:8
2020/10/27 04:27:27 [debug] 19502\#0: *618 malloc: 088FD0E8: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 "2020/10/27 04:27:28 [error] 19333\#0: *249 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) 2020/10/27 04:27:30 [debug] 19502\#0: timer delta: 2536
2020/10/27 04:27:30 [debug] 19502\#0: *628 event timer del: 34: 3283660
2020/10/27 04:27:30 [debug] 19502\#0: *628 http upstream request: "/memc?cmd=set&val=b"
2020/10/27 04:27:30 [debug] 19502\#0: *628 http upstream send request handler
2020/10/27 04:27:30 [debug] 19502\#0: *628 http next upstream, 4
2020/10/27 04:27:30 [debug] 19502\#0: *628 free rr peer 1 4
2020/10/27 04:27:30 [error] 19502\#0: *628 upstream timed out (110: Connection timed out) while sending request to 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"
2020/10/27 04:27:30 [debug] 19502\#0: *628 finalize http upstream request: 504
2020/10/27 04:27:30 [debug] 19502\#0: *628 finalize http memcached request
'
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 "2020/10/27 04:27:30 [error] 19502\#0: *628 upstream timed out (110: Connection timed out) while sending request to 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) 2020/10/27 04:27:30 [debug] 19502\#0: *628 finalize http upstream request: 504
2020/10/27 04:27:30 [debug] 19502\#0: *628 finalize http memcached request
2020/10/27 04:27:30 [debug] 19502\#0: *628 close http upstream connection: 34
2020/10/27 04:27:30 [debug] 19502\#0: *628 reusable connection: 0
2020/10/27 04:27:30 [debug] 19502\#0: *628 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2020/10/27 04:27:30 [debug] 19502\#0: *628 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:30 [debug] 19502\#0: *628 lua restoring write event handler
2020/10/27 04:27:30 [debug] 19502\#0: *628 malloc: 088FE0C0:8
2020/10/27 04:27:30 [debug] 19502\#0: *628 malloc: 088FE0D0: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 "2020/10/27 04:27:30 [error] 19502\#0: *628 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) 2020/10/27 04:27:30 [debug] 19502\#0: *628 finalize http upstream request: 504
2020/10/27 04:27:30 [debug] 19502\#0: *628 finalize http memcached request
2020/10/27 04:27:30 [debug] 19502\#0: *628 close http upstream connection: 31
2020/10/27 04:27:30 [debug] 19502\#0: *628 reusable connection: 0
2020/10/27 04:27:30 [debug] 19502\#0: *628 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2020/10/27 04:27:30 [debug] 19502\#0: *628 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:30 [debug] 19502\#0: *628 lua restoring write event handler
2020/10/27 04:27:30 [debug] 19502\#0: *628 malloc: 088FF0A8:8
2020/10/27 04:27:30 [debug] 19502\#0: *628 malloc: 088FF0B8: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 "2020/10/27 04:27:30 [error] 19502\#0: *628 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) 2020/10/27 04:27:30 [debug] 19502\#0: *628 finalize http upstream request: 504
2020/10/27 04:27:30 [debug] 19502\#0: *628 finalize http memcached request
2020/10/27 04:27:30 [debug] 19502\#0: *628 close http upstream connection: 32
2020/10/27 04:27:30 [debug] 19502\#0: *628 reusable connection: 0
2020/10/27 04:27:30 [debug] 19502\#0: *628 http finalize request: 504, "/memc?cmd=set&val=b" a:0, c:11
2020/10/27 04:27:30 [debug] 19502\#0: *628 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:30 [debug] 19502\#0: *628 lua restoring write event handler
2020/10/27 04:27:30 [debug] 19502\#0: *628 malloc: 08900090:8
2020/10/27 04:27:30 [debug] 19502\#0: *628 malloc: 089000A0:8
'
027-multi-capture.t ERROR: client socket timed out - TEST 10: capture multi in series (more complex, using memc) '
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - status code ok got: ''
expected: '200'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - response_body - response is expected (repeated req 9, req 0) @@ -1,32 +0,0 @@
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
-res1.status = 200
-res1.body = a
-res2.status = 200
-res2.body = b
-res3.status = 200
-res3.body = e
-res4.status = 200
-res4.body = f
'
027-multi-capture.t TEST 10: capture multi in series (more complex, using memc) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:27:32 [error] 19333\#0: *257 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) 2020/10/27 04:27:33 [error] 19222\#0: *49 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"
2020/10/27 04:27:33 [debug] 19502\#0: epoll: fd:31 ev:0004 d:08888755
2020/10/27 04:27:33 [debug] 19502\#0: *628 http upstream request: "/memc?cmd=get&val=a"
2020/10/27 04:27:33 [debug] 19502\#0: *628 http upstream send request handler
2020/10/27 04:27:33 [debug] 19502\#0: *628 http upstream send request
2020/10/27 04:27:33 [debug] 19502\#0: *628 http upstream send request body
2020/10/27 04:27:33 [debug] 19502\#0: *628 chain writer buf fl:0 s:7
2020/10/27 04:27:33 [debug] 19502\#0: *628 chain writer in: 088B3438
2020/10/27 04:27:33 [debug] 19502\#0: *628 writev: 7 of 7
'
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 "2020/10/27 04:27:33 [error] 19222\#0: *49 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) 2020/10/27 04:27:33 [debug] 19502\#0: epoll: fd:31 ev:0004 d:08888755
2020/10/27 04:27:33 [debug] 19502\#0: *628 http upstream request: "/memc?cmd=get&val=a"
2020/10/27 04:27:33 [debug] 19502\#0: *628 http upstream send request handler
2020/10/27 04:27:33 [debug] 19502\#0: *628 http upstream send request
2020/10/27 04:27:33 [debug] 19502\#0: *628 http upstream send request body
2020/10/27 04:27:33 [debug] 19502\#0: *628 chain writer buf fl:0 s:7
2020/10/27 04:27:33 [debug] 19502\#0: *628 chain writer in: 088B3438
2020/10/27 04:27:33 [debug] 19502\#0: *628 writev: 7 of 7
2020/10/27 04:27:33 [debug] 19502\#0: *628 chain writer out: 00000000
'
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 "2020/10/27 04:27:34 [error] 19222\#0: *49 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) 2020/10/27 04:27:35 [error] 19222\#0: *53 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"
2020/10/27 04:27:37 [error] 19222\#0: *45 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"
2020/10/27 04:27:37 [error] 19222\#0: *45 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"
2020/10/27 04:27:37 [debug] 19502\#0: epoll: fd:32 ev:0004 d:088887C9
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream request: "/memc?cmd=get&val=b"
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request handler
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request body
2020/10/27 04:27:37 [debug] 19502\#0: *628 chain writer buf fl:0 s:7
'
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 "2020/10/27 04:27:35 [error] 19222\#0: *53 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) 2020/10/27 04:27:37 [error] 19222\#0: *45 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"
2020/10/27 04:27:37 [error] 19222\#0: *45 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"
2020/10/27 04:27:37 [debug] 19502\#0: epoll: fd:32 ev:0004 d:088887C9
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream request: "/memc?cmd=get&val=b"
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request handler
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request body
2020/10/27 04:27:37 [debug] 19502\#0: *628 chain writer buf fl:0 s:7
2020/10/27 04:27:37 [debug] 19502\#0: *628 chain writer in: 088B3438
'
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 "2020/10/27 04:27:37 [error] 19222\#0: *45 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) 2020/10/27 04:27:37 [error] 19222\#0: *45 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"
2020/10/27 04:27:37 [debug] 19502\#0: epoll: fd:32 ev:0004 d:088887C9
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream request: "/memc?cmd=get&val=b"
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request handler
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request body
2020/10/27 04:27:37 [debug] 19502\#0: *628 chain writer buf fl:0 s:7
2020/10/27 04:27:37 [debug] 19502\#0: *628 chain writer in: 088B3438
2020/10/27 04:27:37 [debug] 19502\#0: *628 writev: 7 of 7
'
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 "2020/10/27 04:27:37 [error] 19222\#0: *45 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) 2020/10/27 04:27:37 [debug] 19502\#0: epoll: fd:32 ev:0004 d:088887C9
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream request: "/memc?cmd=get&val=b"
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request handler
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request
2020/10/27 04:27:37 [debug] 19502\#0: *628 http upstream send request body
2020/10/27 04:27:37 [debug] 19502\#0: *628 chain writer buf fl:0 s:7
2020/10/27 04:27:37 [debug] 19502\#0: *628 chain writer in: 088B3438
2020/10/27 04:27:37 [debug] 19502\#0: *628 writev: 7 of 7
2020/10/27 04:27:37 [debug] 19502\#0: *628 chain writer out: 00000000
'
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 "2020/10/27 04:27:38 [error] 19333\#0: *262 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) 2020/10/27 04:27:39 [error] 19222\#0: *57 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"
2020/10/27 04:27:40 [error] 19222\#0: *49 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"
2020/10/27 04:27:40 [info] 19222\#0: *49 shutdown() failed (107: Transport endpoint is not connected) while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:27:40 [debug] 19502\#0: timer delta: 2584
2020/10/27 04:27:40 [debug] 19502\#0: *643 event timer del: 35: 3293788
2020/10/27 04:27:40 [debug] 19502\#0: *643 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:27:40 [debug] 19502\#0: *643 http upstream process header
2020/10/27 04:27:40 [debug] 19502\#0: *643 http next upstream, 4
2020/10/27 04:27:40 [debug] 19502\#0: *643 free rr peer 1 4
'
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 "2020/10/27 04:27:39 [error] 19222\#0: *57 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) 2020/10/27 04:27:40 [error] 19222\#0: *49 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"
2020/10/27 04:27:40 [info] 19222\#0: *49 shutdown() failed (107: Transport endpoint is not connected) while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:27:40 [debug] 19502\#0: timer delta: 2584
2020/10/27 04:27:40 [debug] 19502\#0: *643 event timer del: 35: 3293788
2020/10/27 04:27:40 [debug] 19502\#0: *643 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:27:40 [debug] 19502\#0: *643 http upstream process header
2020/10/27 04:27:40 [debug] 19502\#0: *643 http next upstream, 4
2020/10/27 04:27:40 [debug] 19502\#0: *643 free rr peer 1 4
2020/10/27 04:27:40 [error] 19502\#0: *643 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"
'
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 "2020/10/27 04:27:40 [error] 19222\#0: *49 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) 2020/10/27 04:27:40 [info] 19222\#0: *49 shutdown() failed (107: Transport endpoint is not connected) while sending to client, client: 127.0.0.1, server: localhost, request: "GET /main HTTP/1.1", host: "localhost"
2020/10/27 04:27:40 [debug] 19502\#0: timer delta: 2584
2020/10/27 04:27:40 [debug] 19502\#0: *643 event timer del: 35: 3293788
2020/10/27 04:27:40 [debug] 19502\#0: *643 http upstream request: "/memc?cmd=set&val=a"
2020/10/27 04:27:40 [debug] 19502\#0: *643 http upstream process header
2020/10/27 04:27:40 [debug] 19502\#0: *643 http next upstream, 4
2020/10/27 04:27:40 [debug] 19502\#0: *643 free rr peer 1 4
2020/10/27 04:27:40 [error] 19502\#0: *643 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"
2020/10/27 04:27:40 [debug] 19502\#0: *643 finalize http upstream request: 504
'
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 "2020/10/27 04:27:40 [error] 19502\#0: *643 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) 2020/10/27 04:27:40 [debug] 19502\#0: *643 finalize http upstream request: 504
2020/10/27 04:27:40 [debug] 19502\#0: *643 finalize http memcached request
2020/10/27 04:27:40 [debug] 19502\#0: *643 close http upstream connection: 35
2020/10/27 04:27:40 [debug] 19502\#0: *643 reusable connection: 0
2020/10/27 04:27:40 [debug] 19502\#0: *643 http finalize request: 504, "/memc?cmd=set&val=a" a:0, c:11
2020/10/27 04:27:40 [debug] 19502\#0: *643 lua run post subrequest handler, rc:504 c:11
2020/10/27 04:27:40 [debug] 19502\#0: *643 lua restoring write event handler
2020/10/27 04:27:40 [debug] 19502\#0: *643 malloc: 0890A9C8:8
2020/10/27 04:27:40 [debug] 19502\#0: *643 malloc: 0890A9D8:8
'
058-tcp-socket.t TEST 59: reuse cleanup in subrequest - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 59: reuse cleanup in subrequest - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-connected: 1
-request sent: 57
-failed to receive a line: closed []
-close: 1 nil
-connected: 1
-request sent: 57
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 59: reuse cleanup in subrequest - pattern "lua http cleanup reuse" should match a line in error.log (req 0)
058-tcp-socket.t TEST 59: reuse cleanup in subrequest - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 59: reuse cleanup in subrequest - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +0,0 @@
-connected: 1
-request sent: 57
-failed to receive a line: closed []
-close: 1 nil
-connected: 1
-request sent: 57
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 59: reuse cleanup in subrequest - pattern "lua http cleanup reuse" should match a line in error.log (req 1)
058-tcp-socket.t TEST 38: successful reread after a read time out happen (receive -> receiveuntil) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 38: successful reread after a read time out happen (receive -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-failed to receive: timeout, partial: 2
-hi
-
-received: 5
-received: world
'
058-tcp-socket.t TEST 38: successful reread after a read time out happen (receive -> receiveuntil) - pattern "lua tcp socket read timed out" should match a line in error.log (req 0)
058-tcp-socket.t TEST 38: successful reread after a read time out happen (receive -> receiveuntil) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 04:46:16 [alert] 5893\#0: worker process 5931 exited on signal 11" (req 0) 2020/10/27 04:46:16 [debug] 5893\#0: shmtx forced unlock
2020/10/27 04:46:16 [debug] 5893\#0: wake up, sigio 0
2020/10/27 04:46:16 [debug] 5893\#0: reap children
2020/10/27 04:46:16 [debug] 5893\#0: child: 0 5931 e:0 t:1 d:0 r:1 j:0
2020/10/27 04:46:16 [debug] 5893\#0: channel 3:4
2020/10/27 04:46:16 [notice] 5893\#0: start worker process 5953
2020/10/27 04:46:16 [debug] 5893\#0: sigsuspend
2020/10/27 04:46:16 [debug] 5953\#0: malloc: 09ADD2F8:12
2020/10/27 04:46:16 [debug] 5953\#0: malloc: 09ADF3A0:8
'
058-tcp-socket.t TEST 38: successful reread after a read time out happen (receive -> receiveuntil) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 38: successful reread after a read time out happen (receive -> receiveuntil) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-failed to receive: timeout, partial: 2
-hi
-
-received: 5
-received: world
'
058-tcp-socket.t TEST 38: successful reread after a read time out happen (receive -> receiveuntil) - pattern "lua tcp socket read timed out" should match a line in error.log (req 1)
058-tcp-socket.t TEST 38: successful reread after a read time out happen (receive -> receiveuntil) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 04:46:16 [alert] 5893\#0: worker process 5953 exited on signal 11" (req 1) 2020/10/27 04:46:16 [debug] 5893\#0: shmtx forced unlock
2020/10/27 04:46:16 [debug] 5893\#0: wake up, sigio 0
2020/10/27 04:46:16 [debug] 5893\#0: reap children
2020/10/27 04:46:16 [debug] 5893\#0: child: 0 5953 e:0 t:1 d:0 r:1 j:0
2020/10/27 04:46:16 [debug] 5893\#0: channel 3:4
2020/10/27 04:46:16 [notice] 5893\#0: start worker process 5954
2020/10/27 04:46:16 [debug] 5893\#0: sigsuspend
2020/10/27 04:46:16 [debug] 5954\#0: malloc: 09ADD2F8:12
2020/10/27 04:46:16 [debug] 5954\#0: malloc: 09ADF3A0:8
'
058-tcp-socket.t TEST 64: send boolean and nil - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 64: send boolean and nil - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Connection: close
-received:
-received: truefalsenil
'
058-tcp-socket.t TEST 64: send boolean and nil - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 64: send boolean and nil - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Connection: close
-received:
-received: truefalsenil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 19: cannot survive across request boundary (send) '
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: '500'
expected: '200'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
058-tcp-socket.t ERROR: client socket timed out - TEST 61: options_table is nil '
058-tcp-socket.t TEST 61: options_table is nil - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 61: options_table is nil - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 61: options_table is nil '
058-tcp-socket.t TEST 61: options_table is nil - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 61: options_table is nil - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t TEST 25: send tables of string fragments (with integers too) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 25: send tables of string fragments (with integers too) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 25: send tables of string fragments (with integers too) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 25: send tables of string fragments (with integers too) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 11: *a pattern for receive - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 11: *a pattern for receive - response_body - response is expected (repeated req 0, req 0) @@ -1,12 +0,0 @@
-connected: 1
-request sent: 57
-receive: HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Content-Length: 4
-Connection: close
-
-foo
-
-err: nil
-close: 1 nil
'
058-tcp-socket.t TEST 11: *a pattern for receive - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 11: *a pattern for receive - response_body - response is expected (repeated req 1, req 0) @@ -1,12 +0,0 @@
-connected: 1
-request sent: 57
-receive: HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Content-Length: 4
-Connection: close
-
-foo
-
-err: nil
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 21: cannot survive across request boundary (close) '
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: '500'
expected: '200'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
058-tcp-socket.t TEST 70: send tables of string fragments (with floating point number too) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 70: send tables of string fragments (with floating point number too) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 73
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 10
-received: Connection: close
-received:
-received: 3.1415926
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 70: send tables of string fragments (with floating point number too) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 70: send tables of string fragments (with floating point number too) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 73
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 10
-received: Connection: close
-received:
-received: 3.1415926
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 39: successful reread after a read time out happen (receiveuntil -> receiveuntil) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 39: successful reread after a read time out happen (receiveuntil -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-failed to receive: timeout, partial: 2
-hi
-
-received: 5
-received: world
'
058-tcp-socket.t TEST 39: successful reread after a read time out happen (receiveuntil -> receiveuntil) - pattern "lua tcp socket read timed out" should match a line in error.log (req 0)
058-tcp-socket.t TEST 39: successful reread after a read time out happen (receiveuntil -> receiveuntil) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 04:46:56 [alert] 5893\#0: worker process 6421 exited on signal 11" (req 0) 2020/10/27 04:46:56 [debug] 5893\#0: shmtx forced unlock
2020/10/27 04:46:56 [debug] 5893\#0: wake up, sigio 0
2020/10/27 04:46:56 [debug] 5893\#0: reap children
2020/10/27 04:46:56 [debug] 5893\#0: child: 0 6048 e:1 t:0 d:0 r:1 j:0
2020/10/27 04:46:56 [debug] 5893\#0: child: 1 6019 e:1 t:0 d:0 r:1 j:0
2020/10/27 04:46:56 [debug] 5893\#0: child: 2 6421 e:0 t:1 d:0 r:1 j:0
2020/10/27 04:46:56 [debug] 5893\#0: pass close channel s:2 pid:6421 to:6048
2020/10/27 04:46:56 [debug] 5893\#0: pass close channel s:2 pid:6421 to:6019
2020/10/27 04:46:56 [debug] 5893\#0: pass close channel s:2 pid:6421 to:6334
'
058-tcp-socket.t TEST 39: successful reread after a read time out happen (receiveuntil -> receiveuntil) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 39: successful reread after a read time out happen (receiveuntil -> receiveuntil) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-failed to receive: timeout, partial: 2
-hi
-
-received: 5
-received: world
'
058-tcp-socket.t TEST 39: successful reread after a read time out happen (receiveuntil -> receiveuntil) - pattern "lua tcp socket read timed out" should match a line in error.log (req 1)
058-tcp-socket.t TEST 39: successful reread after a read time out happen (receiveuntil -> receiveuntil) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 04:46:56 [alert] 5893\#0: worker process 6443 exited on signal 11" (req 1) 2020/10/27 04:46:56 [debug] 5893\#0: shmtx forced unlock
2020/10/27 04:46:56 [debug] 5893\#0: wake up, sigio 0
2020/10/27 04:46:56 [debug] 5893\#0: reap children
2020/10/27 04:46:56 [debug] 5893\#0: child: 0 6048 e:1 t:0 d:0 r:1 j:0
2020/10/27 04:46:56 [debug] 5893\#0: child: 1 6019 e:1 t:0 d:0 r:1 j:0
2020/10/27 04:46:56 [debug] 5893\#0: child: 2 6443 e:0 t:1 d:0 r:1 j:0
2020/10/27 04:46:56 [debug] 5893\#0: pass close channel s:2 pid:6443 to:6048
2020/10/27 04:46:56 [debug] 5893\#0: pass close channel s:2 pid:6443 to:6019
2020/10/27 04:46:56 [debug] 6048\#0: epoll: fd:4 ev:0001 d:09B26CD8
'
058-tcp-socket.t TEST 43: u->coctx left over bug - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 43: u->coctx left over bug - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-connected: 1
-request sent: 57
-close: 1 nil
'
058-tcp-socket.t TEST 43: u->coctx left over bug - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 0)
058-tcp-socket.t TEST 43: u->coctx left over bug - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 43: u->coctx left over bug - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-connected: 1
-request sent: 57
-close: 1 nil
'
058-tcp-socket.t TEST 43: u->coctx left over bug - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 1)
058-tcp-socket.t TEST 54: IPv6 - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 54: IPv6 - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 54: IPv6 - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 54: IPv6 - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) '
058-tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
-subrequest: 200, OK
'
058-tcp-socket.t ERROR: client socket timed out - TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) '
058-tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 29: cosocket before location capture (tcpsock:send did not clear u->waiting) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
-subrequest: 200, OK
'
058-tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t TEST 13: receive by chunks - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 13: receive by chunks - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-[HTTP/1.1 2][00 OK
-Ser][ver: nginx][
-Content-][Type: text][/plain
-Co][ntent-Leng][th: 4
-Con][nection: c][lose
-
-fo]failed to receive a line: closed [o
-]
-close: 1 nil
'
058-tcp-socket.t TEST 13: receive by chunks - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:47:21 [error] 6019\#0: *138 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:47:21 [debug] 6019\#0: *138 lua tcp socket handle read error
2020/10/27 04:47:21 [debug] 6019\#0: *138 lua tcp socket waking up the current request
2020/10/27 04:47:21 [debug] 6019\#0: *138 lua tcp operation done, resuming lua thread
2020/10/27 04:47:21 [debug] 6019\#0: *138 lua tcp socket calling prepare retvals handler 081507EA, u:B6D63B30
2020/10/27 04:47:21 [debug] 6019\#0: *138 lua tcp socket receive return value handler
2020/10/27 04:47:21 [debug] 6019\#0: *138 lua run thread, top:0 c:1
2020/10/27 04:47:21 [debug] 6019\#0: *138 malloc: 09B177A8:8
2020/10/27 04:47:21 [debug] 6019\#0: *138 malloc: 09B1A4E0:8
2020/10/27 04:47:21 [debug] 6019\#0: *138 lua allocate new chainlink and new buf of size 37, cl:09B177A8
'
058-tcp-socket.t TEST 13: receive by chunks - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 13: receive by chunks - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-[HTTP/1.1 2][00 OK
-Ser][ver: nginx][
-Content-][Type: text][/plain
-Co][ntent-Leng][th: 4
-Con][nection: c][lose
-
-fo]failed to receive a line: closed [o
-]
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 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 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:47:24 [error] 6683\#0: wrong ident 29538 in DNS response for blah-blah-not-found.agentzh.org, expect 38520" (req 0) 2020/10/27 04:47:24 [debug] 5893\#0: malloc: 09AF6740:8
2020/10/27 04:47:24 [debug] 6683\#0: recv: fd:6 105 of 4096
2020/10/27 04:47:24 [debug] 5893\#0: malloc: 09AF6750:7
2020/10/27 04:47:24 [debug] 6683\#0: resolver DNS response 38520 fl:8183 1/0/1/0
2020/10/27 04:47:24 [debug] 5893\#0: malloc: 09AF6760:8
2020/10/27 04:47:24 [debug] 6683\#0: resolver DNS response qt:1 cl:1
2020/10/27 04:47:24 [debug] 5893\#0: malloc: 09AF6770:12
2020/10/27 04:47:24 [debug] 6683\#0: malloc: 09AE8C00:31
2020/10/27 04:47:24 [debug] 5893\#0: malloc: 09AF6780:8
'
058-tcp-socket.t TEST 23: connect again immediately - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:47:26 [error] 6048\#0: *163 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:47:26 [debug] 6048\#0: *163 lua tcp socket handle read error
2020/10/27 04:47:26 [debug] 6048\#0: *163 lua tcp socket waking up the current request
2020/10/27 04:47:26 [debug] 6048\#0: *163 lua tcp operation done, resuming lua thread
2020/10/27 04:47:26 [debug] 6048\#0: *163 lua tcp socket calling prepare retvals handler 081507EA, u:B6DC5870
2020/10/27 04:47:26 [debug] 6048\#0: *163 lua tcp socket receive return value handler
2020/10/27 04:47:26 [debug] 6048\#0: *163 lua run thread, top:9 c:1
2020/10/27 04:47:26 [debug] 6048\#0: *163 malloc: 09AF85D8:8
2020/10/27 04:47:26 [debug] 6048\#0: *163 malloc: 09AF8618:8
2020/10/27 04:47:26 [debug] 6048\#0: *163 lua allocate new chainlink and new buf of size 37, cl:09AF85D8
'
058-tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t TEST 23: connect again immediately - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:47:29 [error] 6048\#0: *165 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:47:29 [debug] 6048\#0: *165 lua tcp socket handle read error
2020/10/27 04:47:29 [debug] 6048\#0: *165 lua tcp socket waking up the current request
2020/10/27 04:47:29 [debug] 6048\#0: *165 lua tcp operation done, resuming lua thread
2020/10/27 04:47:29 [debug] 6048\#0: *165 lua tcp socket calling prepare retvals handler 081507EA, u:B6DEA938
2020/10/27 04:47:29 [debug] 6048\#0: *165 lua tcp socket receive return value handler
2020/10/27 04:47:29 [debug] 6048\#0: *165 lua run thread, top:0 c:1
2020/10/27 04:47:29 [debug] 6048\#0: *165 malloc: 09B045B8:8
2020/10/27 04:47:29 [debug] 6048\#0: *165 malloc: 09AEF8E0:8
2020/10/27 04:47:29 [debug] 6048\#0: *165 lua allocate new chainlink and new buf of size 37, cl:09B045B8
'
058-tcp-socket.t TEST 4: with resolver - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 4: with resolver - response_body_like - response is expected () ''
doesn't match '(?^s:connected: 1
request sent: 56
first line received: HTTP\/1\.1 200 OK
second line received: (?:Date|Server): .*?
)'
058-tcp-socket.t TEST 4: with resolver - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 4: with resolver - response_body_like - response is expected () ''
doesn't match '(?^s:connected: 1
request sent: 56
first line received: HTTP\/1\.1 200 OK
second line received: (?:Date|Server): .*?
)'
058-tcp-socket.t TEST 37: successful reread after a read time out happen (receive -> receive) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 37: successful reread after a read time out happen (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-failed to receive: timeout, partial: 2
-hi
-
-received: 5
-received: world
'
058-tcp-socket.t TEST 37: successful reread after a read time out happen (receive -> receive) - pattern "lua tcp socket read timed out" should match a line in error.log (req 0)
058-tcp-socket.t TEST 37: successful reread after a read time out happen (receive -> receive) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 04:47:44 [alert] 5893\#0: worker process 6911 exited on signal 11" (req 0) 2020/10/27 04:47:44 [debug] 5893\#0: shmtx forced unlock
2020/10/27 04:47:44 [debug] 5893\#0: wake up, sigio 0
2020/10/27 04:47:44 [debug] 5893\#0: reap children
2020/10/27 04:47:44 [debug] 5893\#0: child: 0 6911 e:0 t:1 d:0 r:1 j:0
2020/10/27 04:47:44 [debug] 5893\#0: pass close channel s:0 pid:6911 to:6597
2020/10/27 04:47:44 [debug] 5893\#0: pass close channel s:0 pid:6911 to:6334
2020/10/27 04:47:44 [debug] 6597\#0: epoll: fd:14 ev:0001 d:09AFB1F8
2020/10/27 04:47:44 [debug] 5893\#0: pass close channel s:0 pid:6911 to:6625
2020/10/27 04:47:44 [debug] 6597\#0: channel handler
'
058-tcp-socket.t TEST 37: successful reread after a read time out happen (receive -> receive) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 37: successful reread after a read time out happen (receive -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-failed to receive: timeout, partial: 2
-hi
-
-received: 5
-received: world
'
058-tcp-socket.t TEST 37: successful reread after a read time out happen (receive -> receive) - pattern "lua tcp socket read timed out" should match a line in error.log (req 1)
058-tcp-socket.t TEST 37: successful reread after a read time out happen (receive -> receive) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 04:47:45 [alert] 5893\#0: worker process 6933 exited on signal 11" (req 1) 2020/10/27 04:47:45 [debug] 5893\#0: shmtx forced unlock
2020/10/27 04:47:45 [debug] 5893\#0: wake up, sigio 0
2020/10/27 04:47:45 [debug] 5893\#0: reap children
2020/10/27 04:47:45 [debug] 5893\#0: child: 0 6933 e:0 t:1 d:0 r:1 j:0
2020/10/27 04:47:45 [debug] 5893\#0: pass close channel s:0 pid:6933 to:6597
2020/10/27 04:47:45 [debug] 5893\#0: pass close channel s:0 pid:6933 to:6334
2020/10/27 04:47:45 [debug] 6597\#0: epoll: fd:14 ev:0001 d:09AFB1F8
2020/10/27 04:47:45 [debug] 5893\#0: pass close channel s:0 pid:6933 to:6625
2020/10/27 04:47:45 [debug] 6597\#0: channel handler
'
058-tcp-socket.t TEST 53: tcp_nodelay off - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 53: tcp_nodelay off - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 53: tcp_nodelay off - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:47:48 [error] 6334\#0: *441 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:47:48 [debug] 6334\#0: *441 lua tcp socket handle read error
2020/10/27 04:47:48 [debug] 6334\#0: *441 lua tcp socket waking up the current request
2020/10/27 04:47:48 [debug] 6334\#0: *441 lua tcp operation done, resuming lua thread
2020/10/27 04:47:48 [debug] 6334\#0: *441 lua tcp socket calling prepare retvals handler 081507EA, u:B6DB4AE8
2020/10/27 04:47:48 [debug] 6334\#0: *441 lua tcp socket receive return value handler
2020/10/27 04:47:48 [debug] 6334\#0: *441 lua run thread, top:0 c:1
2020/10/27 04:47:48 [debug] 6334\#0: *441 malloc: 09B107C8:8
2020/10/27 04:47:48 [debug] 6334\#0: *441 malloc: 09AE6CD0:8
2020/10/27 04:47:48 [debug] 6334\#0: *441 lua allocate new chainlink and new buf of size 37, cl:09B107C8
'
058-tcp-socket.t TEST 53: tcp_nodelay off - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 53: tcp_nodelay off - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 10: explicit *l pattern for receive - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 10: explicit *l pattern for receive - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
058-tcp-socket.t TEST 10: explicit *l pattern for receive - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 10: explicit *l pattern for receive - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
058-tcp-socket.t TEST 57: reuse cleanup in ngx.timer (fake_request) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 57: reuse cleanup in ngx.timer (fake_request) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'total_send_bytes: 114
'
058-tcp-socket.t TEST 57: reuse cleanup in ngx.timer (fake_request) - pattern "lua http cleanup reuse" should match a line in error.log (req 0)
058-tcp-socket.t TEST 57: reuse cleanup in ngx.timer (fake_request) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 57: reuse cleanup in ngx.timer (fake_request) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'total_send_bytes: 114
'
058-tcp-socket.t TEST 57: reuse cleanup in ngx.timer (fake_request) - pattern "lua http cleanup reuse" should match a line in error.log (req 1)
058-tcp-socket.t TEST 56: reuse cleanup - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 56: reuse cleanup - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-connected: 1
-request sent: 57
-failed to receive a line: closed []
-close: 1 nil
-connected: 1
-request sent: 57
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 56: reuse cleanup - pattern "lua http cleanup reuse" should match a line in error.log (req 0)
058-tcp-socket.t TEST 56: reuse cleanup - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 56: reuse cleanup - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +0,0 @@
-connected: 1
-request sent: 57
-failed to receive a line: closed []
-close: 1 nil
-connected: 1
-request sent: 57
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 56: reuse cleanup - pattern "lua http cleanup reuse" should match a line in error.log (req 1)
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'hello world
'
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - pattern "lua tcp socket calling receiveany() method to read at most 128 bytes" should match a line in error.log (req 0)
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'hello world
'
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - pattern "lua tcp socket calling receiveany() method to read at most 128 bytes" should match a line in error.log (req 1)
058-tcp-socket.t TEST 14: receive by chunks (very small buffer) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 14: receive by chunks (very small buffer) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-[HTTP/1.1 2][00 OK
-Ser][ver: nginx][
-Content-][Type: text][/plain
-Co][ntent-Leng][th: 4
-Con][nection: c][lose
-
-fo]failed to receive a line: closed [o
-]
-close: 1 nil
'
058-tcp-socket.t TEST 14: receive by chunks (very small buffer) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 14: receive by chunks (very small buffer) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-[HTTP/1.1 2][00 OK
-Ser][ver: nginx][
-Content-][Type: text][/plain
-Co][ntent-Leng][th: 4
-Con][nection: c][lose
-
-fo]failed to receive a line: closed [o
-]
-close: 1 nil
'
058-tcp-socket.t TEST 58: free cleanup in ngx.timer (without sock:close) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 58: free cleanup in ngx.timer (without sock:close) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'total_send_bytes: 114
'
058-tcp-socket.t TEST 58: free cleanup in ngx.timer (without sock:close) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 58: free cleanup in ngx.timer (without sock:close) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'total_send_bytes: 114
'
058-tcp-socket.t TEST 12: mixing *a and *l patterns for receive - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 12: mixing *a and *l patterns for receive - response_body - response is expected (repeated req 0, req 0) @@ -1,13 +0,0 @@
-connected: 1
-request sent: 57
-receive: HTTP/1.1 200 OK
-err: nil
-receive: Server: nginx
-Content-Type: text/plain
-Content-Length: 4
-Connection: close
-
-foo
-
-err: nil
-close: 1 nil
'
058-tcp-socket.t TEST 12: mixing *a and *l patterns for receive - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:48:15 [error] 6625\#0: *712 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:48:15 [debug] 6625\#0: *712 lua tcp socket handle read error
2020/10/27 04:48:15 [debug] 6625\#0: *712 lua tcp socket waking up the current request
2020/10/27 04:48:15 [debug] 6625\#0: *712 lua tcp operation done, resuming lua thread
2020/10/27 04:48:15 [debug] 6625\#0: *712 lua tcp socket calling prepare retvals handler 081507EA, u:B6D54450
2020/10/27 04:48:15 [debug] 6625\#0: *712 lua tcp socket receive return value handler
2020/10/27 04:48:15 [debug] 6625\#0: *712 lua run thread, top:9 c:1
2020/10/27 04:48:15 [debug] 6625\#0: *712 malloc: 09AF2810:8
2020/10/27 04:48:15 [debug] 6625\#0: *712 malloc: 09AF7D68:8
2020/10/27 04:48:15 [debug] 6625\#0: *712 lua allocate new chainlink and new buf of size 40, cl:09AF2810
'
058-tcp-socket.t TEST 12: mixing *a and *l patterns for receive - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 12: mixing *a and *l patterns for receive - response_body - response is expected (repeated req 1, req 0) @@ -1,13 +0,0 @@
-connected: 1
-request sent: 57
-receive: HTTP/1.1 200 OK
-err: nil
-receive: Server: nginx
-Content-Type: text/plain
-Content-Length: 4
-Connection: close
-
-foo
-
-err: nil
-close: 1 nil
'
058-tcp-socket.t TEST 18: receive by chunks (stringified size) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 18: receive by chunks (stringified size) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-[HTTP/1.1 2][00 OK
-Ser][ver: nginx][
-Content-][Type: text][/plain
-Co][ntent-Leng][th: 4
-Con][nection: c][lose
-
-fo]failed to receive a line: closed [o
-]
-close: 1 nil
'
058-tcp-socket.t TEST 18: receive by chunks (stringified size) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 18: receive by chunks (stringified size) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-[HTTP/1.1 2][00 OK
-Ser][ver: nginx][
-Content-][Type: text][/plain
-Co][ntent-Leng][th: 4
-Con][nection: c][lose
-
-fo]failed to receive a line: closed [o
-]
-close: 1 nil
'
058-tcp-socket.t TEST 16: ngx.socket.connect (working) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 16: ngx.socket.connect (working) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected.
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 16: ngx.socket.connect (working) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 16: ngx.socket.connect (working) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected.
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 20: cannot survive across request boundary (receive) '
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: '500'
expected: '200'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
058-tcp-socket.t TEST 2: no trailing newline - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 2: no trailing newline - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 3
-received: Connection: close
-received:
-failed to receive a line: closed [foo]
-closed
'
058-tcp-socket.t TEST 2: no trailing newline - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:48:26 [error] 6711\#0: *795 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:48:26 [debug] 6711\#0: *795 lua tcp socket handle read error
2020/10/27 04:48:26 [debug] 6711\#0: *795 lua tcp socket waking up the current request
2020/10/27 04:48:26 [debug] 6711\#0: *795 lua tcp operation done, resuming lua thread
2020/10/27 04:48:26 [debug] 6711\#0: *795 lua tcp socket calling prepare retvals handler 081507EA, u:B6D8BBD0
2020/10/27 04:48:26 [debug] 6711\#0: *795 lua tcp socket receive return value handler
2020/10/27 04:48:26 [debug] 6711\#0: *795 lua run thread, top:9 c:1
2020/10/27 04:48:26 [debug] 6711\#0: *795 malloc: 09B096E0:8
2020/10/27 04:48:26 [debug] 6711\#0: *795 malloc: 09B03758:8
2020/10/27 04:48:26 [debug] 6711\#0: *795 lua allocate new chainlink and new buf of size 37, cl:09B096E0
'
058-tcp-socket.t TEST 2: no trailing newline - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 2: no trailing newline - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 3
-received: Connection: close
-received:
-failed to receive a line: closed [foo]
-closed
'
058-tcp-socket.t TEST 15: line reading (very small buffer) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 15: line reading (very small buffer) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 15: line reading (very small buffer) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 15: line reading (very small buffer) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 15: line reading (very small buffer) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:48:29 [error] 6711\#0: *798 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:48:29 [debug] 6711\#0: *798 lua tcp socket handle read error
2020/10/27 04:48:29 [debug] 6711\#0: *798 lua tcp socket waking up the current request
2020/10/27 04:48:29 [debug] 6711\#0: *798 lua tcp operation done, resuming lua thread
2020/10/27 04:48:29 [debug] 6711\#0: *798 lua tcp socket calling prepare retvals handler 081507EA, u:B6DA7F10
2020/10/27 04:48:29 [debug] 6711\#0: *798 lua tcp socket receive return value handler
2020/10/27 04:48:29 [debug] 6711\#0: *798 lua run thread, top:0 c:1
2020/10/27 04:48:29 [debug] 6711\#0: *798 malloc: 09B21308:8
2020/10/27 04:48:29 [debug] 6711\#0: *798 malloc: 09AF2ED0:8
2020/10/27 04:48:29 [debug] 6711\#0: *798 lua allocate new chainlink and new buf of size 37, cl:09B21308
'
058-tcp-socket.t TEST 1: sanity - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 1: sanity - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 71: send numbers - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 71: send numbers - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 87
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 24
-received: Connection: close
-received:
-received: 3.141592653579431415926
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 71: send numbers - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 71: send numbers - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 87
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 24
-received: Connection: close
-received:
-received: 3.141592653579431415926
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 40: successful reread after a read time out happen (receiveuntil -> receive) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 40: successful reread after a read time out happen (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-failed to receive: timeout, partial: 2
-hi
-
-received: 5
-received: world
'
058-tcp-socket.t TEST 40: successful reread after a read time out happen (receiveuntil -> receive) - pattern "lua tcp socket read timed out" should match a line in error.log (req 0)
058-tcp-socket.t TEST 40: successful reread after a read time out happen (receiveuntil -> receive) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 04:48:35 [alert] 5893\#0: worker process 7718 exited on signal 11" (req 0) 2020/10/27 04:48:35 [debug] 5893\#0: shmtx forced unlock
2020/10/27 04:48:35 [debug] 5893\#0: wake up, sigio 0
2020/10/27 04:48:35 [debug] 5893\#0: reap children
2020/10/27 04:48:35 [debug] 5893\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 04:48:35 [debug] 5893\#0: child: 1 7541 e:1 t:0 d:0 r:1 j:0
2020/10/27 04:48:35 [debug] 5893\#0: child: 2 6597 e:1 t:0 d:0 r:1 j:0
2020/10/27 04:48:35 [debug] 5893\#0: child: 3 7718 e:0 t:1 d:0 r:1 j:0
2020/10/27 04:48:35 [debug] 5893\#0: pass close channel s:3 pid:7718 to:7541
2020/10/27 04:48:35 [debug] 5893\#0: pass close channel s:3 pid:7718 to:6597
'
058-tcp-socket.t TEST 40: successful reread after a read time out happen (receiveuntil -> receive) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 40: successful reread after a read time out happen (receiveuntil -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-failed to receive: timeout, partial: 2
-hi
-
-received: 5
-received: world
'
058-tcp-socket.t TEST 40: successful reread after a read time out happen (receiveuntil -> receive) - pattern "lua tcp socket read timed out" should match a line in error.log (req 1)
058-tcp-socket.t TEST 40: successful reread after a read time out happen (receiveuntil -> receive) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 04:48:36 [alert] 5893\#0: worker process 7740 exited on signal 11" (req 1) 2020/10/27 04:48:36 [debug] 5893\#0: shmtx forced unlock
2020/10/27 04:48:36 [debug] 5893\#0: wake up, sigio 0
2020/10/27 04:48:36 [debug] 5893\#0: reap children
2020/10/27 04:48:36 [debug] 5893\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 04:48:36 [debug] 5893\#0: child: 1 7541 e:1 t:0 d:0 r:1 j:0
2020/10/27 04:48:36 [debug] 5893\#0: child: 2 6597 e:1 t:0 d:0 r:1 j:0
2020/10/27 04:48:36 [debug] 5893\#0: child: 3 7740 e:0 t:1 d:0 r:1 j:0
2020/10/27 04:48:36 [debug] 5893\#0: pass close channel s:3 pid:7740 to:7541
2020/10/27 04:48:36 [debug] 5893\#0: pass close channel s:3 pid:7740 to:6597
'
058-tcp-socket.t TEST 66: receiveany send data after read side closed - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 66: receiveany send data after read side closed - tcp_query ok got: ''
expected: 'send data after read side closed'
058-tcp-socket.t TEST 66: receiveany send data after read side closed - TCP query length ok got: '0'
expected: '32'
058-tcp-socket.t TEST 66: receiveany send data after read side closed - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 66: receiveany send data after read side closed - tcp_query ok got: ''
expected: 'send data after read side closed'
058-tcp-socket.t TEST 66: receiveany send data after read side closed - TCP query length ok got: '0'
expected: '32'
058-tcp-socket.t TEST 65: receiveany method in cosocket - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 65: receiveany method in cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-1
-22
-hello world
'
058-tcp-socket.t TEST 65: receiveany method in cosocket - pattern "lua tcp socket read any" should match a line in error.log (req 0)
058-tcp-socket.t TEST 65: receiveany method in cosocket - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 65: receiveany method in cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-1
-22
-hello world
'
058-tcp-socket.t TEST 65: receiveany method in cosocket - pattern "lua tcp socket read any" should match a line in error.log (req 1)
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-hello w
-orld
'
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - pattern "lua tcp socket calling receiveany() method to read at most 7 bytes" should match a line in error.log (req 0)
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-hello w
-orld
'
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - pattern "lua tcp socket calling receiveany() method to read at most 7 bytes" should match a line in error.log (req 1)
058-tcp-socket.t TEST 52: tcp_nodelay on - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 52: tcp_nodelay on - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
058-tcp-socket.t TEST 52: tcp_nodelay on - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 52: tcp_nodelay on - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
059-unix-socket.t TEST 5: port will be ignored - status code ok got: ''
expected: '200'
059-unix-socket.t TEST 5: port will be ignored - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
059-unix-socket.t TEST 5: port will be ignored - status code ok got: ''
expected: '200'
059-unix-socket.t TEST 5: port will be ignored - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
059-unix-socket.t TEST 4: ngx.socket.stream - status code ok got: ''
expected: '200'
059-unix-socket.t TEST 4: ngx.socket.stream - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
059-unix-socket.t TEST 4: ngx.socket.stream - status code ok got: ''
expected: '200'
059-unix-socket.t TEST 4: ngx.socket.stream - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
059-unix-socket.t TEST 3: sanity - status code ok got: ''
expected: '200'
059-unix-socket.t TEST 3: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
059-unix-socket.t TEST 3: sanity - status code ok got: ''
expected: '200'
059-unix-socket.t TEST 3: sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
059-unix-socket.t TEST 6: second parameter is nil - status code ok got: ''
expected: '200'
059-unix-socket.t TEST 6: second parameter is nil - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
059-unix-socket.t TEST 6: second parameter is nil - status code ok got: ''
expected: '200'
059-unix-socket.t TEST 6: second parameter is nil - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
060-lua-memcached.t ERROR: client socket timed out - TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t ERROR: client socket timed out - TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t ERROR: client socket timed out - TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 0)
060-lua-memcached.t ERROR: client socket timed out - TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 1)
061-lua-redis.t TEST 1: sanity - status code ok got: '500'
expected: '200'
061-lua-redis.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'some_key: hello 1234
'
061-lua-redis.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:49:23 [error] 8125\#0: *1 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /test HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:49:23 [debug] 8125\#0: *1 lua tcp socket handle connect error
2020/10/27 04:49:23 [debug] 8125\#0: *1 lua finalize socket
2020/10/27 04:49:23 [debug] 8125\#0: *1 lua http cleanup free: 0990B168
2020/10/27 04:49:23 [debug] 8125\#0: *1 lua close socket connection
2020/10/27 04:49:23 [debug] 8125\#0: *1 reusable connection: 0
2020/10/27 04:49:23 [debug] 8125\#0: *1 lua tcp socket waking up the current request
2020/10/27 04:49:23 [debug] 8125\#0: *1 lua tcp operation done, resuming lua thread
2020/10/27 04:49:23 [debug] 8125\#0: *1 lua tcp socket calling prepare retvals handler 0814EA62, u:B6E054C8
2020/10/27 04:49:23 [debug] 8125\#0: *1 lua tcp socket error retval handler
'
061-lua-redis.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:49:23 [error] 8125\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:709: could not connect to 127.0.0.1:6379 [connection refused]" (req 0) stack traceback:
coroutine 0:
[C]: in function 'lua_error'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:45: in function 'default_error_fn'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:709: in function 'create_connection'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:766: in function 'connect'
content_by_lua(nginx.conf:50):5: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost"
2020/10/27 04:49:23 [debug] 8125\#0: *1 lua request cleanup: forcible=0
2020/10/27 04:49:23 [debug] 8125\#0: *1 http lua finalize threads
'
061-lua-redis.t TEST 1: sanity - status code ok got: '500'
expected: '200'
061-lua-redis.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'some_key: hello 1234
'
061-lua-redis.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:49:23 [error] 8125\#0: *3 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /test HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:49:23 [debug] 8125\#0: *3 lua tcp socket handle connect error
2020/10/27 04:49:23 [debug] 8125\#0: *3 lua finalize socket
2020/10/27 04:49:23 [debug] 8125\#0: *3 lua http cleanup free: 0990B168
2020/10/27 04:49:23 [debug] 8125\#0: *3 lua close socket connection
2020/10/27 04:49:23 [debug] 8125\#0: *3 reusable connection: 0
2020/10/27 04:49:23 [debug] 8125\#0: *3 lua tcp socket waking up the current request
2020/10/27 04:49:23 [debug] 8125\#0: *3 lua tcp operation done, resuming lua thread
2020/10/27 04:49:23 [debug] 8125\#0: *3 lua tcp socket calling prepare retvals handler 0814EA62, u:B6E2B360
2020/10/27 04:49:23 [debug] 8125\#0: *3 lua tcp socket error retval handler
'
061-lua-redis.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:49:23 [error] 8125\#0: *3 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:709: could not connect to 127.0.0.1:6379 [connection refused]" (req 1) stack traceback:
coroutine 0:
[C]: in function 'lua_error'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:45: in function 'default_error_fn'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:709: in function 'create_connection'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:766: in function 'connect'
content_by_lua(nginx.conf:50):5: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost"
2020/10/27 04:49:23 [debug] 8125\#0: *3 lua request cleanup: forcible=0
2020/10/27 04:49:23 [debug] 8125\#0: *3 http lua finalize threads
'
061-lua-redis.t TEST 2: coroutine-based pub/sub - status code ok got: '500'
expected: '200'
061-lua-redis.t TEST 2: coroutine-based pub/sub - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +1,7 @@
-msg type: table
+<html>
-abort: function
+<head><title>500 Internal Server Error</title></head>
-msg: {"channel":"foo","kind":"subscribe","payload":1}
+<body>
-msg: {"channel":"foo","kind":"message","payload":"test 1"}
+<center><h1>500 Internal Server Error</h1></center>
-abort: function
+<hr><center>nginx/1.19.3 (no pool)</center>
-msg: {"channel":"foo","kind":"message","payload":"test 2"}
+</body>
-abort: function
+</html>
-msg: {"channel":"foo","kind":"message","payload":"test 3"}
-abort: function
-msg type: nil
'
061-lua-redis.t TEST 2: coroutine-based pub/sub - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:49:24 [error] 8132\#0: *27 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /test HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:49:24 [debug] 8132\#0: *27 lua tcp socket handle connect error
2020/10/27 04:49:24 [debug] 8132\#0: *27 lua finalize socket
2020/10/27 04:49:24 [debug] 8132\#0: *27 lua http cleanup free: 09925028
2020/10/27 04:49:24 [debug] 8132\#0: *27 lua close socket connection
2020/10/27 04:49:24 [debug] 8132\#0: *27 reusable connection: 0
2020/10/27 04:49:24 [debug] 8132\#0: *27 lua tcp socket waking up the current request
2020/10/27 04:49:24 [debug] 8132\#0: *27 lua tcp operation done, resuming lua thread
2020/10/27 04:49:24 [debug] 8132\#0: *27 lua tcp socket calling prepare retvals handler 0814EA62, u:B6DFA340
2020/10/27 04:49:24 [debug] 8132\#0: *27 lua tcp socket error retval handler
'
061-lua-redis.t TEST 2: coroutine-based pub/sub - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:49:24 [error] 8132\#0: *27 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:709: could not connect to 127.0.0.1:6379 [connection refused]" (req 0) stack traceback:
coroutine 0:
[C]: in function 'lua_error'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:45: in function 'default_error_fn'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:709: in function 'create_connection'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:766: in function 'connect'
content_by_lua(nginx.conf:75):7: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost"
2020/10/27 04:49:24 [debug] 8132\#0: *27 lua request cleanup: forcible=0
2020/10/27 04:49:24 [debug] 8132\#0: *27 http lua finalize threads
'
061-lua-redis.t TEST 2: coroutine-based pub/sub - status code ok got: '500'
expected: '200'
061-lua-redis.t TEST 2: coroutine-based pub/sub - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +1,7 @@
-msg type: table
+<html>
-abort: function
+<head><title>500 Internal Server Error</title></head>
-msg: {"channel":"foo","kind":"subscribe","payload":1}
+<body>
-msg: {"channel":"foo","kind":"message","payload":"test 1"}
+<center><h1>500 Internal Server Error</h1></center>
-abort: function
+<hr><center>nginx/1.19.3 (no pool)</center>
-msg: {"channel":"foo","kind":"message","payload":"test 2"}
+</body>
-abort: function
+</html>
-msg: {"channel":"foo","kind":"message","payload":"test 3"}
-abort: function
-msg type: nil
'
061-lua-redis.t TEST 2: coroutine-based pub/sub - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:49:24 [error] 8132\#0: *29 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /test HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:49:24 [debug] 8132\#0: *29 lua tcp socket handle connect error
2020/10/27 04:49:24 [debug] 8132\#0: *29 lua finalize socket
2020/10/27 04:49:24 [debug] 8132\#0: *29 lua http cleanup free: 09925028
2020/10/27 04:49:24 [debug] 8132\#0: *29 lua close socket connection
2020/10/27 04:49:24 [debug] 8132\#0: *29 reusable connection: 0
2020/10/27 04:49:24 [debug] 8132\#0: *29 lua tcp socket waking up the current request
2020/10/27 04:49:24 [debug] 8132\#0: *29 lua tcp operation done, resuming lua thread
2020/10/27 04:49:24 [debug] 8132\#0: *29 lua tcp socket calling prepare retvals handler 0814EA62, u:B6DA0768
2020/10/27 04:49:24 [debug] 8132\#0: *29 lua tcp socket error retval handler
'
061-lua-redis.t TEST 2: coroutine-based pub/sub - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:49:24 [error] 8132\#0: *29 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:709: could not connect to 127.0.0.1:6379 [connection refused]" (req 1) stack traceback:
coroutine 0:
[C]: in function 'lua_error'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:45: in function 'default_error_fn'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:709: in function 'create_connection'
/home/ec2-user/git/lua-nginx-module/t/lib/Redis.lua:766: in function 'connect'
content_by_lua(nginx.conf:75):7: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost"
2020/10/27 04:49:24 [debug] 8132\#0: *29 lua request cleanup: forcible=0
2020/10/27 04:49:24 [debug] 8132\#0: *29 http lua finalize threads
'
066-socket-receiveuntil.t TEST 13: ambiguous boundary patterns (abcabdabcabe 4) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 13: ambiguous boundary patterns (abcabdabcabe 4) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: ab
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 13: ambiguous boundary patterns (abcabdabcabe 4) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 13: ambiguous boundary patterns (abcabdabcabe 4) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: ab
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 6: ambiguous boundary patterns (aaa) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 6: ambiguous boundary patterns (aaa) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abaabc
-failed to read a line: closed [ef
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 6: ambiguous boundary patterns (aaa) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 6: ambiguous boundary patterns (aaa) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abaabc
-failed to read a line: closed [ef
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 18: ambiguous boundary patterns (abcabd), small buffer - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 18: ambiguous boundary patterns (abcabd), small buffer - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abc
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 18: ambiguous boundary patterns (abcabd), small buffer - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 18: ambiguous boundary patterns (abcabd), small buffer - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abc
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t ERROR: client socket timed out - TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
066-socket-receiveuntil.t ERROR: client socket timed out - TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
066-socket-receiveuntil.t TEST 15: ambiguous boundary patterns (--abc) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 15: ambiguous boundary patterns (--abc) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-read: hell
-read: o, w
-read: orld
-read: --
-read:
-failed to read a line: nil [nil]
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 15: ambiguous boundary patterns (--abc) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 15: ambiguous boundary patterns (--abc) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-read: hell
-read: o, w
-read: orld
-read: --
-read:
-failed to read a line: nil [nil]
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 5: ambiguous boundary patterns (aa) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 5: ambiguous boundary patterns (aa) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabc
-failed to read a line: closed [d
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 5: ambiguous boundary patterns (aa) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 5: ambiguous boundary patterns (aa) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabc
-failed to read a line: closed [d
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 4: ambiguous boundary patterns (abcabd) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 4: ambiguous boundary patterns (abcabd) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abc
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 4: ambiguous boundary patterns (abcabd) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 4: ambiguous boundary patterns (abcabd) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abc
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 12: ambiguous boundary patterns (abcabdabcabe 3) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 12: ambiguous boundary patterns (abcabdabcabe 3) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abc
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 12: ambiguous boundary patterns (abcabdabcabe 3) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 12: ambiguous boundary patterns (abcabdabcabe 3) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abc
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 7: ambiguous boundary patterns (aaaaad) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 7: ambiguous boundary patterns (aaaaad) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: baaaaaaaaeaa
-failed to read a line: closed [f
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 7: ambiguous boundary patterns (aaaaad) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 7: ambiguous boundary patterns (aaaaad) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: baaaaaaaaeaa
-failed to read a line: closed [f
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 2: http read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 2: http read lines - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-read: HTTP/1.1 200 OK
-read: Server: nginx
-read: Content-Type: text/plain
-read: Content-Length: 4
-read: Connection: close
-read:
-failed to read a line: closed [foo
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 2: http read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 2: http read lines - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-read: HTTP/1.1 200 OK
-read: Server: nginx
-read: Content-Type: text/plain
-read: Content-Length: 4
-read: Connection: close
-read:
-failed to read a line: closed [foo
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 11: ambiguous boundary patterns (abcabdabcabe 2) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 11: ambiguous boundary patterns (abcabdabcabe 2) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabdabc
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 11: ambiguous boundary patterns (abcabdabcabe 2) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 11: ambiguous boundary patterns (abcabdabcabe 2) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabdabc
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 10: ambiguous boundary patterns (abcabdabcabe) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 10: ambiguous boundary patterns (abcabdabcabe) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabd
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 10: ambiguous boundary patterns (abcabdabcabe) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 10: ambiguous boundary patterns (abcabdabcabe) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabd
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 14: ambiguous boundary patterns (--abc) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 14: ambiguous boundary patterns (--abc) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: --
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 14: ambiguous boundary patterns (--abc) - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 14: ambiguous boundary patterns (--abc) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: --
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 8: ambiguous boundary patterns (aaaaad), small buffer, 2 bytes - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 8: ambiguous boundary patterns (aaaaad), small buffer, 2 bytes - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: baaaaaaaaeaa
-failed to read a line: closed [f
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 8: ambiguous boundary patterns (aaaaad), small buffer, 2 bytes - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 8: ambiguous boundary patterns (aaaaad), small buffer, 2 bytes - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: baaaaaaaaeaa
-failed to read a line: closed [f
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 3: http read all the headers in a single run - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 3: http read all the headers in a single run - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +0,0 @@
-connected: 1
-request sent: 57
-read: HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Content-Length: 4
-Connection: close
-failed to read a line: closed [foo
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 3: http read all the headers in a single run - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 3: http read all the headers in a single run - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +0,0 @@
-connected: 1
-request sent: 57
-read: HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Content-Length: 4
-Connection: close
-failed to read a line: closed [foo
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 17: ambiguous boundary patterns (--abc), small buffer, mixed by other reading calls - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 17: ambiguous boundary patterns (--abc), small buffer, mixed by other reading calls - response_body - response is expected (repeated req 0, req 0) @@ -1,14 +0,0 @@
-connected: 1
-request sent: 57
-read: hell
-read one byte: o
-read: , wo
-read one byte: r
-read: ld -
-read one byte: -
-read:
-read one byte:
-
-failed to read a chunk: nil [nil]
-failed to read a byte: closed []
-close: 1 nil
'
066-socket-receiveuntil.t TEST 17: ambiguous boundary patterns (--abc), small buffer, mixed by other reading calls - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 17: ambiguous boundary patterns (--abc), small buffer, mixed by other reading calls - response_body - response is expected (repeated req 1, req 0) @@ -1,14 +0,0 @@
-connected: 1
-request sent: 57
-read: hell
-read one byte: o
-read: , wo
-read one byte: r
-read: ld -
-read one byte: -
-read:
-read one byte:
-
-failed to read a chunk: nil [nil]
-failed to read a byte: closed []
-close: 1 nil
'
066-socket-receiveuntil.t TEST 16: ambiguous boundary patterns (--abc), small buffer - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 16: ambiguous boundary patterns (--abc), small buffer - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-read: hell
-read: o, w
-read: orld
-read: --
-read:
-failed to read a line: nil [nil]
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 16: ambiguous boundary patterns (--abc), small buffer - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 16: ambiguous boundary patterns (--abc), small buffer - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-read: hell
-read: o, w
-read: orld
-read: --
-read:
-failed to read a line: nil [nil]
-failed to read a line: closed [
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 9: ambiguous boundary patterns (aaaaad), small buffer, 1 byte - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 9: ambiguous boundary patterns (aaaaad), small buffer, 1 byte - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: baaaaaaaaeaa
-failed to read a line: closed [f
-]
-close: 1 nil
'
066-socket-receiveuntil.t TEST 9: ambiguous boundary patterns (aaaaad), small buffer, 1 byte - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 9: ambiguous boundary patterns (aaaaad), small buffer, 1 byte - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: baaaaaaaaeaa
-failed to read a line: closed [f
-]
-close: 1 nil
'
067-req-socket.t TEST 5: receive until on request_body - receiveuntil(1) on the last byte of the body - status code ok got: ''
expected: '200'
067-req-socket.t TEST 5: receive until on request_body - receiveuntil(1) on the last byte of the body - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-got the request socket
-received: -----------------------------820127721219505131303151179
-received len: 8192
-received: $
-done
'
067-req-socket.t TEST 5: receive until on request_body - receiveuntil(1) on the last byte of the body - status code ok got: ''
expected: '200'
067-req-socket.t TEST 5: receive until on request_body - receiveuntil(1) on the last byte of the body - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-got the request socket
-received: -----------------------------820127721219505131303151179
-received len: 8192
-received: $
-done
'
067-req-socket.t TEST 14: successful reread after reading timeout happens (receive -> receive) - status code ok got: ''
expected: '200'
067-req-socket.t TEST 14: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-sent: 65
-sent: 11
-received: err: timeout, partial: abc
-received: received: hello world
'
067-req-socket.t TEST 14: successful reread after reading timeout happens (receive -> receive) - status code ok got: ''
expected: '200'
067-req-socket.t TEST 14: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-sent: 65
-sent: 11
-received: err: timeout, partial: abc
-received: received: hello world
'
067-req-socket.t TEST 15: successful reread after reading timeout happens (receive -> receiveuntil) - status code ok got: ''
expected: '200'
067-req-socket.t TEST 15: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-sent: 65
-sent: 12
-received: err: timeout, partial: abc
-received: received: hello world
'
067-req-socket.t TEST 15: successful reread after reading timeout happens (receive -> receiveuntil) - status code ok got: ''
expected: '200'
067-req-socket.t TEST 15: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-sent: 65
-sent: 12
-received: err: timeout, partial: abc
-received: received: hello world
'
067-req-socket.t TEST 16: successful reread after reading timeout happens (receiveuntil -> receive) - status code ok got: ''
expected: '200'
067-req-socket.t TEST 16: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-sent: 65
-sent: 12
-received: err: timeout, partial: abc
-received: received: hello world
'
067-req-socket.t TEST 16: successful reread after reading timeout happens (receiveuntil -> receive) - status code ok got: ''
expected: '200'
067-req-socket.t TEST 16: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-sent: 65
-sent: 12
-received: err: timeout, partial: abc
-received: received: hello world
'
067-req-socket.t TEST 18: receiveany - status code ok got: ''
expected: '200'
067-req-socket.t TEST 18: receiveany - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'received: received: abc
'
067-req-socket.t TEST 18: receiveany - status code ok got: ''
expected: '200'
067-req-socket.t TEST 18: receiveany - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'received: received: abc
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 1: sanity '
068-socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
-connected: 1, reused: 1
-request sent: 11
-received: OK
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 2: free up the whole connection pool if no active connections '
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
-connected: 1, reused: 1
-request sent: 11
-received: OK
'
068-socket-keepalive.t TEST 3: upstream sockets close prematurely - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 3: upstream sockets close prematurely - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
068-socket-keepalive.t TEST 4: http keepalive - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 4: http keepalive - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
068-socket-keepalive.t TEST 6: lua_socket_pool_size - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 6: lua_socket_pool_size - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
068-socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
068-socket-keepalive.t TEST 11: sock:keepalive_timeout(0) means unlimited - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 11: sock:keepalive_timeout(0) means unlimited - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
068-socket-keepalive.t TEST 12: sanity (uds) - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 12: sanity (uds) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1, reused: 0
-request sent: 61
-received response of 119 bytes
-connected: 1, reused: 1
-request sent: 61
-received response of 119 bytes
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 13: github issue \#108: ngx.locaiton.capture + redis.set_keepalive '
068-socket-keepalive.t TEST 13: github issue \#108: ngx.locaiton.capture + redis.set_keepalive - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 13: github issue \#108: ngx.locaiton.capture + redis.set_keepalive - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 14: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit '
068-socket-keepalive.t TEST 14: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - status code ok got: ''
expected: '404'
068-socket-keepalive.t TEST 14: github issue \#110: ngx.exit with HTTP_NOT_FOUND causes worker process to exit - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'Not found, dear...
'
068-socket-keepalive.t TEST 23: clear the redis store - status code ok got: '502'
expected: '200'
068-socket-keepalive.t TEST 23: clear the redis store - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: '+OK
'
068-socket-keepalive.t TEST 24: bug in send(): clear the chain writer ctx - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-received: $-1
+failed to connect: connection refused
-done
'
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 61
-received response of 156 bytes
-done
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() '
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
-connected: 1, reused: 1
-request sent: 11
-received: OK
-reused: 1
-reused: 0
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool '
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: A, reused: 0
-connected: B, reused: 0
-connected: A, reused: 1
-connected: B, reused: 1
-reused: 1
-reused: 0
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog '
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-request sent: 11
-received: OK
-setkeepalive: OK
'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
start to handle timer
start to handle cosocket
continue to handle timer
-continue to handle cosocket
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 37: conn queuing: in uthread '
068-socket-keepalive.t TEST 37: conn queuing: in uthread - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 37: conn queuing: in uthread - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-too many waiting connect operations
-start to handle uthread
-continue to handle other uthread
-start to handle uthread
-continue to handle other uthread
-all uthreads ok
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool '
068-socket-keepalive.t TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
071-idle-socket.t ERROR: client socket timed out - TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t ERROR: client socket timed out - TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 4: send timer cleared in time - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
-close: 1 nil
'
071-idle-socket.t TEST 4: send timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:56:52 [error] 13111\#0: *53 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:56:52 [debug] 13111\#0: *53 lua tcp socket handle read error
2020/10/27 04:56:52 [debug] 13111\#0: *53 lua tcp socket waking up the current request
2020/10/27 04:56:52 [debug] 13111\#0: *53 lua tcp operation done, resuming lua thread
2020/10/27 04:56:52 [debug] 13111\#0: *53 lua tcp socket calling prepare retvals handler 081507EA, u:B6E0F218
2020/10/27 04:56:52 [debug] 13111\#0: *53 lua tcp socket receive return value handler
2020/10/27 04:56:52 [debug] 13111\#0: *53 lua run thread, top:9 c:1
2020/10/27 04:56:52 [debug] 13111\#0: *53 malloc: 09C54BD0:8
2020/10/27 04:56:52 [debug] 13111\#0: *53 malloc: 09C6B6C8:8
2020/10/27 04:56:52 [debug] 13111\#0: *53 lua allocate new chainlink and new buf of size 37, cl:09C54BD0
'
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 "2020/10/27 04:56:53 [error] 13111\#0: *55 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:56:53 [debug] 13111\#0: *55 lua tcp socket handle read error
2020/10/27 04:56:53 [debug] 13111\#0: *55 lua tcp socket waking up the current request
2020/10/27 04:56:53 [debug] 13111\#0: *55 lua tcp operation done, resuming lua thread
2020/10/27 04:56:53 [debug] 13111\#0: *55 lua tcp socket calling prepare retvals handler 081507EA, u:B6E0B5C0
2020/10/27 04:56:53 [debug] 13111\#0: *55 lua tcp socket receive return value handler
2020/10/27 04:56:53 [debug] 13111\#0: *55 lua run thread, top:0 c:1
2020/10/27 04:56:53 [debug] 13111\#0: *55 malloc: 09C54BD0:8
2020/10/27 04:56:53 [debug] 13111\#0: *55 malloc: 09C587B0:8
2020/10/27 04:56:53 [debug] 13111\#0: *55 lua allocate new chainlink and new buf of size 37, cl:09C54BD0
'
071-idle-socket.t TEST 1: read events come when socket is idle - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 1: read events come when socket is idle - response_body - response is expected (repeated req 0, req 0) @@ -1,15 +0,0 @@
-connected: 1
-request sent: 57
-read: HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: close
-
-6
-2nd part: [6
-barbar
-0
-
-]
-close: 1 nil
'
071-idle-socket.t TEST 1: read events come when socket is idle - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 1: read events come when socket is idle - response_body - response is expected (repeated req 1, req 0) @@ -1,15 +0,0 @@
-connected: 1
-request sent: 57
-read: HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: close
-
-6
-2nd part: [6
-barbar
-0
-
-]
-close: 1 nil
'
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 "2020/10/27 04:56:57 [error] 13169\#0: *107 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:56:57 [debug] 13169\#0: *107 lua tcp socket handle read error
2020/10/27 04:56:57 [debug] 13169\#0: *107 lua tcp socket waking up the current request
2020/10/27 04:56:57 [debug] 13169\#0: *107 lua tcp operation done, resuming lua thread
2020/10/27 04:56:57 [debug] 13169\#0: *107 lua tcp socket calling prepare retvals handler 081507EA, u:B6E42928
2020/10/27 04:56:57 [debug] 13169\#0: *107 lua tcp socket receive return value handler
2020/10/27 04:56:57 [debug] 13169\#0: *107 lua run thread, top:9 c:1
2020/10/27 04:56:57 [debug] 13169\#0: *107 malloc: 09C6AF40:8
2020/10/27 04:56:57 [debug] 13169\#0: *107 malloc: 09C6AF50:8
2020/10/27 04:56:57 [debug] 13169\#0: *107 lua allocate new chainlink and new buf of size 37, cl:09C6AF40
'
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 "2020/10/27 04:56:58 [error] 13169\#0: *109 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 04:56:58 [debug] 13169\#0: *109 lua tcp socket handle read error
2020/10/27 04:56:58 [debug] 13169\#0: *109 lua tcp socket waking up the current request
2020/10/27 04:56:58 [debug] 13169\#0: *109 lua tcp operation done, resuming lua thread
2020/10/27 04:56:58 [debug] 13169\#0: *109 lua tcp socket calling prepare retvals handler 081507EA, u:B6E3FDE8
2020/10/27 04:56:58 [debug] 13169\#0: *109 lua tcp socket receive return value handler
2020/10/27 04:56:58 [debug] 13169\#0: *109 lua run thread, top:0 c:1
2020/10/27 04:56:58 [debug] 13169\#0: *109 malloc: 09C6AF40:8
2020/10/27 04:56:58 [debug] 13169\#0: *109 malloc: 09C6AF50:8
2020/10/27 04:56:58 [debug] 13169\#0: *109 lua allocate new chainlink and new buf of size 37, cl:09C6AF40
'
071-idle-socket.t TEST 5: set keepalive when system socket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 5: set keepalive when system socket recv buffer has unread data - response_body_like - response is expected () ''
doesn't match '(?^:connected: 1
request sent: 57
read: HTTP/1\.1 200 OK\r
Server: nginx\r
Content-Type: text/plain\r
Transfer-Encoding: chunked\r
Connection: close\r
\r
6\r
failed to set keepalive: (?:unread data in buffer|connection in dubious state)
)'
071-idle-socket.t TEST 5: set keepalive when system socket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 5: set keepalive when system socket recv buffer has unread data - response_body_like - response is expected () ''
doesn't match '(?^:connected: 1
request sent: 57
read: HTTP/1\.1 200 OK\r
Server: nginx\r
Content-Type: text/plain\r
Transfer-Encoding: chunked\r
Connection: close\r
\r
6\r
failed to set keepalive: (?:unread data in buffer|connection in dubious state)
)'
084-inclusive-receiveuntil.t TEST 5: inclusive option value false - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 5: inclusive option value false - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabc
-failed to read a line: closed [d
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 5: inclusive option value false - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 5: inclusive option value false - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabc
-failed to read a line: closed [d
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 3: ambiguous boundary patterns (abcabd) - inclusive mode - small buffers - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 3: ambiguous boundary patterns (abcabd) - inclusive mode - small buffers - response_body - response is expected (repeated req 0, req 0) @@ -1,7 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabcabd
-read: abcabd
-failed to read a line: closed [
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 3: ambiguous boundary patterns (abcabd) - inclusive mode - small buffers - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 3: ambiguous boundary patterns (abcabd) - inclusive mode - small buffers - response_body - response is expected (repeated req 1, req 0) @@ -1,7 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabcabd
-read: abcabd
-failed to read a line: closed [
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 7: bad inclusive option value type - pattern "bad "inclusive" option value type: string" should match a line in error.log (req 0)
084-inclusive-receiveuntil.t TEST 7: bad inclusive option value type - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:00:21 [alert] 16382\#0: worker process 16422 exited on signal 11" (req 0) 2020/10/27 05:00:21 [debug] 16382\#0: shmtx forced unlock
2020/10/27 05:00:21 [debug] 16382\#0: wake up, sigio 0
2020/10/27 05:00:21 [debug] 16382\#0: reap children
2020/10/27 05:00:21 [debug] 16382\#0: child: 0 16422 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:00:21 [debug] 16382\#0: channel 3:4
2020/10/27 05:00:21 [notice] 16382\#0: start worker process 16444
2020/10/27 05:00:21 [debug] 16382\#0: sigsuspend
2020/10/27 05:00:21 [debug] 16444\#0: malloc: 09BB13B0:12
2020/10/27 05:00:21 [debug] 16444\#0: malloc: 09BB3458:8
'
084-inclusive-receiveuntil.t TEST 7: bad inclusive option value type - pattern "bad "inclusive" option value type: string" should match a line in error.log (req 1)
084-inclusive-receiveuntil.t TEST 7: bad inclusive option value type - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:00:21 [alert] 16382\#0: worker process 16444 exited on signal 11" (req 1) 2020/10/27 05:00:21 [debug] 16382\#0: shmtx forced unlock
2020/10/27 05:00:21 [debug] 16382\#0: wake up, sigio 0
2020/10/27 05:00:21 [debug] 16382\#0: reap children
2020/10/27 05:00:21 [debug] 16382\#0: child: 0 16444 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:00:21 [debug] 16382\#0: channel 3:4
2020/10/27 05:00:21 [notice] 16382\#0: start worker process 16445
2020/10/27 05:00:21 [debug] 16382\#0: sigsuspend
2020/10/27 05:00:21 [debug] 16445\#0: malloc: 09BB13B0:12
2020/10/27 05:00:21 [debug] 16445\#0: malloc: 09BB3458:8
'
084-inclusive-receiveuntil.t TEST 9: ambiguous boundary patterns (--abc), small buffer - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 9: ambiguous boundary patterns (--abc), small buffer - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-read: hell
-read: o, w
-read: orld
-read: --
-read: --abc
-failed to read a line: nil [nil]
-failed to read a line: closed [
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 9: ambiguous boundary patterns (--abc), small buffer - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 9: ambiguous boundary patterns (--abc), small buffer - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-read: hell
-read: o, w
-read: orld
-read: --
-read: --abc
-failed to read a line: nil [nil]
-failed to read a line: closed [
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 8: bad option table - pattern "bad "inclusive" option value type: string" should match a line in error.log (req 0)
084-inclusive-receiveuntil.t TEST 8: bad option table - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:00:24 [alert] 16382\#0: worker process 16482 exited on signal 11" (req 0) 2020/10/27 05:00:24 [debug] 16382\#0: shmtx forced unlock
2020/10/27 05:00:24 [debug] 16382\#0: wake up, sigio 0
2020/10/27 05:00:24 [debug] 16382\#0: reap children
2020/10/27 05:00:24 [debug] 16382\#0: child: 0 16482 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:00:24 [debug] 16382\#0: channel 3:4
2020/10/27 05:00:24 [notice] 16382\#0: start worker process 16504
2020/10/27 05:00:24 [debug] 16382\#0: sigsuspend
2020/10/27 05:00:24 [debug] 16504\#0: malloc: 09BB13B0:12
2020/10/27 05:00:24 [debug] 16504\#0: malloc: 09BB3458:8
'
084-inclusive-receiveuntil.t TEST 8: bad option table - pattern "bad "inclusive" option value type: string" should match a line in error.log (req 1)
084-inclusive-receiveuntil.t TEST 8: bad option table - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:00:24 [alert] 16382\#0: worker process 16504 exited on signal 11" (req 1) 2020/10/27 05:00:24 [debug] 16382\#0: shmtx forced unlock
2020/10/27 05:00:24 [debug] 16382\#0: wake up, sigio 0
2020/10/27 05:00:24 [debug] 16382\#0: reap children
2020/10/27 05:00:24 [debug] 16382\#0: child: 0 16504 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:00:24 [debug] 16382\#0: channel 3:4
2020/10/27 05:00:24 [notice] 16382\#0: start worker process 16505
2020/10/27 05:00:24 [debug] 16382\#0: sigsuspend
2020/10/27 05:00:24 [debug] 16505\#0: malloc: 09BB13B0:12
2020/10/27 05:00:24 [debug] 16505\#0: malloc: 09BB3458:8
'
084-inclusive-receiveuntil.t TEST 1: ambiguous boundary patterns (abcabd) - inclusive mode - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 1: ambiguous boundary patterns (abcabd) - inclusive mode - response_body - response is expected (repeated req 0, req 0) @@ -1,7 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabcabd
-read: abcabd
-failed to read a line: closed [
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 1: ambiguous boundary patterns (abcabd) - inclusive mode - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 1: ambiguous boundary patterns (abcabd) - inclusive mode - response_body - response is expected (repeated req 1, req 0) @@ -1,7 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabcabd
-read: abcabd
-failed to read a line: closed [
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 10: ambiguous boundary patterns (--abc), small buffer, mixed by other reading calls - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 10: ambiguous boundary patterns (--abc), small buffer, mixed by other reading calls - response_body - response is expected (repeated req 0, req 0) @@ -1,14 +0,0 @@
-connected: 1
-request sent: 57
-read: hell
-read one byte: o
-read: , wo
-read one byte: r
-read: ld -
-read one byte: -
-read: --abc
-read one byte:
-
-failed to read a chunk: nil [nil]
-failed to read a byte: closed []
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 10: ambiguous boundary patterns (--abc), small buffer, mixed by other reading calls - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 10: ambiguous boundary patterns (--abc), small buffer, mixed by other reading calls - response_body - response is expected (repeated req 1, req 0) @@ -1,14 +0,0 @@
-connected: 1
-request sent: 57
-read: hell
-read one byte: o
-read: , wo
-read one byte: r
-read: ld -
-read one byte: -
-read: --abc
-read one byte:
-
-failed to read a chunk: nil [nil]
-failed to read a byte: closed []
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 2: ambiguous boundary patterns (abcabdabcabe 4) - inclusive mode - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 2: ambiguous boundary patterns (abcabdabcabe 4) - inclusive mode - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: ababcabdabcabe
-failed to read a line: closed [
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 2: ambiguous boundary patterns (abcabdabcabe 4) - inclusive mode - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 2: ambiguous boundary patterns (abcabdabcabe 4) - inclusive mode - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: ababcabdabcabe
-failed to read a line: closed [
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 4: inclusive option value nil - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 4: inclusive option value nil - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabc
-failed to read a line: closed [d
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 4: inclusive option value nil - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 4: inclusive option value nil - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabc
-failed to read a line: closed [d
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 6: inclusive option value true (aa) - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 6: inclusive option value true (aa) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabcaa
-failed to read a line: closed [d
-]
-close: 1 nil
'
084-inclusive-receiveuntil.t TEST 6: inclusive option value true (aa) - status code ok got: ''
expected: '200'
084-inclusive-receiveuntil.t TEST 6: inclusive option value true (aa) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-request sent: 57
-read: abcabcaa
-failed to read a line: closed [d
-]
-close: 1 nil
'
087-udp-socket.t ERROR: client socket timed out - TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
087-udp-socket.t ERROR: client socket timed out - TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
087-udp-socket.t TEST 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 "2020/10/27 05:01:29 [error] 17516\#0: *303 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 "2020/10/27 05:01:29 [error] 17516\#0: *303 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 "2020/10/27 05:01:30 [error] 17516\#0: *305 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 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 "2020/10/27 05:01:36 [error] 17599\#0: *380 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp socket handle error
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp socket waking up the current request
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp operation done, resuming lua thread
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp socket calling prepare retvals handler 0815ABE4, u:B6DAB2D8
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp socket receive return value handler
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp socket error retval handler
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua run thread, top:9 c:1
2020/10/27 05:01:36 [debug] 17599\#0: *380 malloc: 0A1ED408:8
2020/10/27 05:01:36 [debug] 17599\#0: *380 malloc: 0A1D7490: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 "2020/10/27 05:01:36 [error] 17599\#0: *380 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp socket handle error
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp socket waking up the current request
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp operation done, resuming lua thread
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp socket calling prepare retvals handler 0815ABE4, u:B6DAB2D8
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp socket receive return value handler
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua udp socket error retval handler
2020/10/27 05:01:36 [debug] 17599\#0: *380 lua run thread, top:9 c:1
2020/10/27 05:01:36 [debug] 17599\#0: *380 malloc: 0A1ED408:8
2020/10/27 05:01:36 [debug] 17599\#0: *380 malloc: 0A1D7490:8
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:01:37 [error] 17599\#0: *382 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 05:01:37 [debug] 17599\#0: *382 lua udp socket handle error
2020/10/27 05:01:37 [debug] 17599\#0: *382 lua udp socket waking up the current request
2020/10/27 05:01:37 [debug] 17599\#0: *382 lua udp operation done, resuming lua thread
2020/10/27 05:01:37 [debug] 17599\#0: *382 lua udp socket calling prepare retvals handler 0815ABE4, u:B6DAB438
2020/10/27 05:01:37 [debug] 17599\#0: *382 lua udp socket receive return value handler
2020/10/27 05:01:37 [debug] 17599\#0: *382 lua udp socket error retval handler
2020/10/27 05:01:37 [debug] 17599\#0: *382 lua run thread, top:0 c:1
2020/10/27 05:01:37 [debug] 17599\#0: *382 malloc: 0A1DE968:8
2020/10/27 05:01:37 [debug] 17599\#0: *382 malloc: 0A21B1E8:8
'
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 "2020/10/27 05:01:47 [error] 17767\#0: *533 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp socket handle error
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp socket waking up the current request
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp operation done, resuming lua thread
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp socket calling prepare retvals handler 0815ABE4, u:B6E00F08
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp socket receive return value handler
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp socket error retval handler
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua run thread, top:9 c:1
2020/10/27 05:01:47 [debug] 17767\#0: *533 malloc: 0A1F4DD0:8
2020/10/27 05:01:47 [debug] 17767\#0: *533 malloc: 0A1F4DE0: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 "2020/10/27 05:01:47 [error] 17767\#0: *533 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp socket handle error
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp socket waking up the current request
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp operation done, resuming lua thread
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp socket calling prepare retvals handler 0815ABE4, u:B6E00F08
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp socket receive return value handler
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua udp socket error retval handler
2020/10/27 05:01:47 [debug] 17767\#0: *533 lua run thread, top:9 c:1
2020/10/27 05:01:47 [debug] 17767\#0: *533 malloc: 0A1F4DD0:8
2020/10/27 05:01:47 [debug] 17767\#0: *533 malloc: 0A1F4DE0: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 "2020/10/27 05:01:48 [error] 17767\#0: *535 lua udp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 05:01:48 [debug] 17767\#0: *535 lua udp socket handle error
2020/10/27 05:01:48 [debug] 17767\#0: *535 lua udp socket waking up the current request
2020/10/27 05:01:48 [debug] 17767\#0: *535 lua udp operation done, resuming lua thread
2020/10/27 05:01:48 [debug] 17767\#0: *535 lua udp socket calling prepare retvals handler 0815ABE4, u:B6DFDFF0
2020/10/27 05:01:48 [debug] 17767\#0: *535 lua udp socket receive return value handler
2020/10/27 05:01:48 [debug] 17767\#0: *535 lua udp socket error retval handler
2020/10/27 05:01:48 [debug] 17767\#0: *535 lua run thread, top:0 c:1
2020/10/27 05:01:48 [debug] 17767\#0: *535 malloc: 0A1F4DD0:8
2020/10/27 05:01:48 [debug] 17767\#0: *535 malloc: 0A1F4DE0:8
'
093-uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
093-uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
093-uthread-spawn.t ERROR: client socket timed out - TEST 20: user threads + ngx.socket.tcp '
093-uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 20: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
094-uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
094-uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:04:56 [error] 20717\#0: *169 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 05:04:56 [debug] 20717\#0: *169 lua tcp socket handle connect error
2020/10/27 05:04:56 [debug] 20717\#0: *169 lua finalize socket
2020/10/27 05:04:56 [debug] 20717\#0: *169 lua http cleanup free: 0A0A7A60
2020/10/27 05:04:56 [debug] 20717\#0: *169 lua close socket connection
2020/10/27 05:04:56 [debug] 20717\#0: *169 reusable connection: 0
2020/10/27 05:04:56 [debug] 20717\#0: *169 lua tcp socket waking up the current request
2020/10/27 05:04:56 [debug] 20717\#0: *169 lua tcp operation done, resuming lua thread
2020/10/27 05:04:56 [debug] 20717\#0: *169 lua tcp socket calling prepare retvals handler 0814EA62, u:B6D288B8
2020/10/27 05:04:56 [debug] 20717\#0: *169 lua tcp socket error retval handler
'
094-uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
094-uthread-exit.t TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:04:56 [error] 20717\#0: *171 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 05:04:56 [debug] 20717\#0: *171 lua tcp socket handle connect error
2020/10/27 05:04:56 [debug] 20717\#0: *171 lua finalize socket
2020/10/27 05:04:56 [debug] 20717\#0: *171 lua http cleanup free: 0A093108
2020/10/27 05:04:56 [debug] 20717\#0: *171 lua close socket connection
2020/10/27 05:04:56 [debug] 20717\#0: *171 reusable connection: 0
2020/10/27 05:04:56 [debug] 20717\#0: *171 lua tcp socket waking up the current request
2020/10/27 05:04:56 [debug] 20717\#0: *171 lua tcp operation done, resuming lua thread
2020/10/27 05:04:56 [debug] 20717\#0: *171 lua tcp socket calling prepare retvals handler 0814EA62, u:B6D7BFB0
2020/10/27 05:04:56 [debug] 20717\#0: *171 lua tcp socket error retval handler
'
094-uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
094-uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:05:03 [error] 20829\#0: *269 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 05:05:03 [debug] 20829\#0: *269 lua tcp socket handle connect error
2020/10/27 05:05:03 [debug] 20829\#0: *269 lua finalize socket
2020/10/27 05:05:03 [debug] 20829\#0: *269 lua http cleanup free: 0A08AF98
2020/10/27 05:05:03 [debug] 20829\#0: *269 lua close socket connection
2020/10/27 05:05:03 [debug] 20829\#0: *269 reusable connection: 0
2020/10/27 05:05:03 [debug] 20829\#0: *269 lua tcp socket waking up the current request
2020/10/27 05:05:03 [debug] 20829\#0: *269 lua tcp operation done, resuming lua thread
2020/10/27 05:05:03 [debug] 20829\#0: *269 lua tcp socket calling prepare retvals handler 0814EA62, u:B6D578D0
2020/10/27 05:05:03 [debug] 20829\#0: *269 lua tcp socket error retval handler
'
094-uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
094-uthread-exit.t TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:05:03 [error] 20829\#0: *271 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /lua HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 05:05:03 [debug] 20829\#0: *271 lua tcp socket handle connect error
2020/10/27 05:05:03 [debug] 20829\#0: *271 lua finalize socket
2020/10/27 05:05:03 [debug] 20829\#0: *271 lua http cleanup free: 0A09F8D0
2020/10/27 05:05:03 [debug] 20829\#0: *271 lua close socket connection
2020/10/27 05:05:03 [debug] 20829\#0: *271 reusable connection: 0
2020/10/27 05:05:03 [debug] 20829\#0: *271 lua tcp socket waking up the current request
2020/10/27 05:05:03 [debug] 20829\#0: *271 lua tcp operation done, resuming lua thread
2020/10/27 05:05:03 [debug] 20829\#0: *271 lua tcp socket calling prepare retvals handler 0814EA62, u:B6D4F168
2020/10/27 05:05:03 [debug] 20829\#0: *271 lua tcp socket error retval handler
'
100-client-abort.t TEST 18: ngx.req.socket + receive n < content-length + stop - pattern "failed to receive: client aborted: hello" should match a line in error.log (req 0)
100-client-abort.t TEST 18: ngx.req.socket + receive n < content-length + stop - pattern "failed to receive: client aborted: hello" should match a line in error.log (req 1)
100-client-abort.t TEST 16: cosocket + stop - pattern "client prematurely closed connection" should match a line in error.log (req 0)
100-client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:06:47 [error] 22309\#0: *151 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 05:06:47 [debug] 22309\#0: *151 lua tcp socket handle connect error
2020/10/27 05:06:47 [debug] 22309\#0: *151 lua finalize socket
2020/10/27 05:06:47 [debug] 22309\#0: *151 lua http cleanup free: 09B73610
2020/10/27 05:06:47 [debug] 22309\#0: *151 lua close socket connection
2020/10/27 05:06:47 [debug] 22309\#0: *151 reusable connection: 0
2020/10/27 05:06:47 [debug] 22309\#0: *151 lua tcp socket waking up the current request
2020/10/27 05:06:47 [debug] 22309\#0: *151 lua tcp operation done, resuming lua thread
2020/10/27 05:06:47 [debug] 22309\#0: *151 lua tcp socket calling prepare retvals handler 0814EA62, u:B6DAF0D8
2020/10/27 05:06:47 [debug] 22309\#0: *151 lua tcp socket error retval handler
'
100-client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:06:47 [error] 22309\#0: *151 [lua] content_by_lua(nginx.conf:71):12: failed to connect: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 05:06:47 [debug] 22309\#0: *151 lua resume returned 0
2020/10/27 05:06:47 [debug] 22309\#0: *151 lua light thread ended normally
2020/10/27 05:06:47 [debug] 22309\#0: *151 lua deleting light thread B6DA5560 (ref 1)
2020/10/27 05:06:47 [debug] 22309\#0: *151 lua caching unused lua thread B6DA5560 (ref 1)
2020/10/27 05:06:47 [debug] 22309\#0: *151 lua capture header filter, uri "/t"
2020/10/27 05:06:47 [debug] 22309\#0: *151 malloc: 09B68170:8
2020/10/27 05:06:47 [debug] 22309\#0: *151 malloc: 09B68180:8
2020/10/27 05:06:47 [debug] 22309\#0: *151 malloc: 09B81AA8:52
2020/10/27 05:06:47 [debug] 22309\#0: *151 malloc: 09B68190:8
'
100-client-abort.t TEST 16: cosocket + stop - pattern "client prematurely closed connection" should match a line in error.log (req 1)
100-client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:06:48 [error] 22309\#0: *153 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 05:06:48 [debug] 22309\#0: *153 lua tcp socket handle connect error
2020/10/27 05:06:48 [debug] 22309\#0: *153 lua finalize socket
2020/10/27 05:06:48 [debug] 22309\#0: *153 lua http cleanup free: 09B5B290
2020/10/27 05:06:48 [debug] 22309\#0: *153 lua close socket connection
2020/10/27 05:06:48 [debug] 22309\#0: *153 reusable connection: 0
2020/10/27 05:06:48 [debug] 22309\#0: *153 lua tcp socket waking up the current request
2020/10/27 05:06:48 [debug] 22309\#0: *153 lua tcp operation done, resuming lua thread
2020/10/27 05:06:48 [debug] 22309\#0: *153 lua tcp socket calling prepare retvals handler 0814EA62, u:B6D9D990
2020/10/27 05:06:48 [debug] 22309\#0: *153 lua tcp socket error retval handler
'
100-client-abort.t TEST 16: cosocket + stop - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:06:48 [error] 22309\#0: *153 [lua] content_by_lua(nginx.conf:71):12: failed to connect: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 05:06:48 [debug] 22309\#0: *153 lua resume returned 0
2020/10/27 05:06:48 [debug] 22309\#0: *153 lua light thread ended normally
2020/10/27 05:06:48 [debug] 22309\#0: *153 lua deleting light thread B6DA5560 (ref 1)
2020/10/27 05:06:48 [debug] 22309\#0: *153 lua caching unused lua thread B6DA5560 (ref 1)
2020/10/27 05:06:48 [debug] 22309\#0: *153 lua capture header filter, uri "/t"
2020/10/27 05:06:48 [debug] 22309\#0: *153 malloc: 09B68170:8
2020/10/27 05:06:48 [debug] 22309\#0: *153 malloc: 09B68180:8
2020/10/27 05:06:48 [debug] 22309\#0: *153 malloc: 09B7B000:52
2020/10/27 05:06:48 [debug] 22309\#0: *153 malloc: 09B68190:8
'
100-client-abort.t TEST 17: ngx.req.socket + receive n < content-length + ignore - pattern "failed to receive: client aborted: hello" should match a line in error.log (req 0)
100-client-abort.t TEST 17: ngx.req.socket + receive n < content-length + ignore - pattern "failed to receive: client aborted: hello" should match a line in error.log (req 1)
101-on-abort.t TEST 7: accessing cosocket in callback - pattern "callback done: +OK" should match a line in error.log (req 0)
101-on-abort.t TEST 7: accessing cosocket in callback - pattern "callback done: +OK" 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 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 5: tcp cosocket in timer handler (short connections) - pattern "http lua close fake http connection" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "received: HTTP/1.1 200 OK" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "(?^:received: Server: \S+)" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "received: Content-Type: text/plain" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "received: Content-Length: 4" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "received: Connection: close" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "received: foo" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "close: 1 nil" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:09:52 [alert] 24510\#0: worker process 24659 exited on signal 11" (req 0) 2020/10/27 05:09:52 [debug] 24510\#0: shmtx forced unlock
2020/10/27 05:09:52 [debug] 24510\#0: wake up, sigio 0
2020/10/27 05:09:52 [debug] 24510\#0: reap children
2020/10/27 05:09:52 [debug] 24510\#0: child: 0 24659 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:09:52 [debug] 24510\#0: pass close channel s:0 pid:24659 to:24574
2020/10/27 05:09:52 [debug] 24510\#0: channel 3:6
2020/10/27 05:09:52 [debug] 24574\#0: epoll: fd:8 ev:0001 d:0874AF28
2020/10/27 05:09:52 [debug] 24574\#0: channel handler
2020/10/27 05:09:52 [debug] 24574\#0: channel: 16
'
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "http lua close fake http connection" should match a line in error.log (req 1)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "received: HTTP/1.1 200 OK" should match a line in error.log (req 1)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "(?^:received: Server: \S+)" should match a line in error.log (req 1)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "received: Content-Type: text/plain" should match a line in error.log (req 1)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "received: Content-Length: 4" should match a line in error.log (req 1)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "received: Connection: close" should match a line in error.log (req 1)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "received: foo" should match a line in error.log (req 1)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "close: 1 nil" should match a line in error.log (req 1)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:09:53 [alert] 24510\#0: worker process 24681 exited on signal 11" (req 1) 2020/10/27 05:09:53 [debug] 24510\#0: shmtx forced unlock
2020/10/27 05:09:53 [debug] 24510\#0: wake up, sigio 0
2020/10/27 05:09:53 [debug] 24510\#0: reap children
2020/10/27 05:09:53 [debug] 24510\#0: child: 0 24681 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:09:53 [debug] 24510\#0: pass close channel s:0 pid:24681 to:24574
2020/10/27 05:09:53 [debug] 24510\#0: channel 3:6
2020/10/27 05:09:53 [debug] 24574\#0: epoll: fd:8 ev:0001 d:0874AF28
2020/10/27 05:09:53 [debug] 24574\#0: channel handler
2020/10/27 05:09:53 [debug] 24574\#0: channel: 16
'
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "go(): received: OK" should match a line in error.log (req 1)
106-timer.t TEST 13: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
106-timer.t TEST 13: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
106-timer.t TEST 13: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
106-timer.t TEST 13: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "go(): received: OK" should match a line in error.log (req 1)
106-timer.t TEST 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 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 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 8: udp cosocket in timer handler - pattern "http lua close fake http connection" should match a line in error.log (req 0)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 0)'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "http lua close fake http connection" should match a line in error.log (req 1)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 1)'
106-timer.t TEST 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 "[error]" should not match any line in error.log but matches line "2020/10/27 05:10:46 [error] 25393\#0: *862 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:10:46 [debug] 25393\#0: *862 lua udp socket handle error
2020/10/27 05:10:46 [debug] 25393\#0: *862 lua udp socket waking up the current request
2020/10/27 05:10:46 [debug] 25393\#0: *862 lua udp operation done, resuming lua thread
2020/10/27 05:10:46 [debug] 25393\#0: *862 lua udp socket calling prepare retvals handler 0815ABE4, u:B6DBA968
2020/10/27 05:10:46 [debug] 25393\#0: *862 lua udp socket receive return value handler
2020/10/27 05:10:46 [debug] 25393\#0: *862 lua udp socket error retval handler
2020/10/27 05:10:46 [debug] 25393\#0: *862 lua run thread, top:0 c:1
2020/10/27 05:10:46 [error] 25393\#0: *862 [lua] content_by_lua(nginx.conf:83):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2020/10/27 05:10:46 [debug] 25393\#0: *862 lua resume returned 0
'
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:10:46 [error] 25393\#0: *862 [lua] content_by_lua(nginx.conf:83):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:10:46 [debug] 25393\#0: *862 lua resume returned 0
2020/10/27 05:10:46 [debug] 25393\#0: *862 lua light thread ended normally
2020/10/27 05:10:46 [debug] 25393\#0: *862 lua deleting light thread B6DD29C8 (ref 2)
2020/10/27 05:10:46 [debug] 25393\#0: *862 lua caching unused lua thread B6DD29C8 (ref 2)
2020/10/27 05:10:46 [debug] 25393\#0: *862 lua run thread returned 0
2020/10/27 05:10:46 [debug] 25393\#0: *862 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:10:46 [debug] 25393\#0: *862 http lua fake request count:1
2020/10/27 05:10:46 [debug] 25393\#0: *862 http lua close fake request
2020/10/27 05:10:46 [debug] 25393\#0: *862 cleanup lua udp socket upstream request: ""
'
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:10:46 [error] 24574\#0: *82 lua tcp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:10:46 [debug] 24574\#0: *82 lua tcp socket handle read error
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua tcp socket waking up the current request
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua tcp operation done, resuming lua thread
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua tcp socket calling prepare retvals handler 081507EA, u:B6D59E80
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua tcp socket receive return value handler
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua run thread, top:0 c:1
2020/10/27 05:10:46 [error] 24574\#0: *82 [lua] test.lua:4: fail(): failed to receive a line: timeout [], context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua tcp socket set keepalive while process exiting, closing connection 0874B084
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua finalize socket
'
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:10:46 [error] 24574\#0: *82 [lua] test.lua:4: fail(): failed to receive a line: timeout [], context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:10:46 [debug] 24574\#0: *82 lua tcp socket set keepalive while process exiting, closing connection 0874B084
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua finalize socket
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua http cleanup free: 08735E30
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua close socket connection
2020/10/27 05:10:46 [debug] 24574\#0: *82 reusable connection: 0
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua resume returned 0
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua light thread ended normally
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua deleting light thread B6D7F8B0 (ref 2)
2020/10/27 05:10:46 [debug] 24574\#0: *82 lua caching unused lua thread B6D7F8B0 (ref 2)
'
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:10:46 [error] 25393\#0: *865 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:10:46 [debug] 25393\#0: *865 lua udp socket handle error
2020/10/27 05:10:46 [debug] 25393\#0: *865 lua udp socket waking up the current request
2020/10/27 05:10:46 [debug] 25393\#0: *865 lua udp operation done, resuming lua thread
2020/10/27 05:10:46 [debug] 25393\#0: *865 lua udp socket calling prepare retvals handler 0815ABE4, u:B6DBB810
2020/10/27 05:10:46 [debug] 25393\#0: *865 lua udp socket receive return value handler
2020/10/27 05:10:46 [debug] 25393\#0: *865 lua udp socket error retval handler
2020/10/27 05:10:46 [debug] 25393\#0: *865 lua run thread, top:0 c:1
2020/10/27 05:10:46 [error] 25393\#0: *865 [lua] content_by_lua(nginx.conf:83):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2020/10/27 05:10:46 [debug] 25393\#0: *865 lua resume returned 0
'
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:10:46 [error] 25393\#0: *865 [lua] content_by_lua(nginx.conf:83):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:10:46 [debug] 25393\#0: *865 lua resume returned 0
2020/10/27 05:10:46 [debug] 25393\#0: *865 lua light thread ended normally
2020/10/27 05:10:46 [debug] 25393\#0: *865 lua deleting light thread B6DD75E0 (ref 3)
2020/10/27 05:10:46 [debug] 25393\#0: *865 lua caching unused lua thread B6DD75E0 (ref 3)
2020/10/27 05:10:46 [debug] 25393\#0: *865 lua run thread returned 0
2020/10/27 05:10:46 [debug] 25393\#0: *865 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:10:46 [debug] 25393\#0: *865 http lua fake request count:1
2020/10/27 05:10:46 [debug] 25393\#0: *865 http lua close fake request
2020/10/27 05:10:46 [debug] 25393\#0: *865 cleanup lua udp socket upstream request: ""
'
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:10:46 [error] 24574\#0: *85 lua tcp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:10:46 [debug] 24574\#0: *85 lua tcp socket handle read error
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua tcp socket waking up the current request
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua tcp operation done, resuming lua thread
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua tcp socket calling prepare retvals handler 081507EA, u:B6D59828
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua tcp socket receive return value handler
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua run thread, top:0 c:1
2020/10/27 05:10:46 [error] 24574\#0: *85 [lua] test.lua:4: fail(): failed to receive a line: timeout [], context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua tcp socket set keepalive while process exiting, closing connection 0874B16C
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua finalize socket
'
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:10:46 [error] 24574\#0: *85 [lua] test.lua:4: fail(): failed to receive a line: timeout [], context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:10:46 [debug] 24574\#0: *85 lua tcp socket set keepalive while process exiting, closing connection 0874B16C
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua finalize socket
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua http cleanup free: 08747E08
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua close socket connection
2020/10/27 05:10:46 [debug] 24574\#0: *85 reusable connection: 0
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua resume returned 0
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua light thread ended normally
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua deleting light thread B6D5AC88 (ref 3)
2020/10/27 05:10:46 [debug] 24574\#0: *85 lua caching unused lua thread B6D5AC88 (ref 3)
'
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)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "http lua close fake http connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 0)'
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "http lua close fake http connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 1)'
108-timer-safe.t TEST 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 "[error]" should not match any line in error.log but matches line "2020/10/27 05:12:00 [error] 26469\#0: *2 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:12:00 [debug] 26469\#0: *2 lua udp socket handle error
2020/10/27 05:12:00 [debug] 26469\#0: *2 lua udp socket waking up the current request
2020/10/27 05:12:00 [debug] 26469\#0: *2 lua udp operation done, resuming lua thread
2020/10/27 05:12:00 [debug] 26469\#0: *2 lua udp socket calling prepare retvals handler 0815ABE4, u:B6DDFC08
2020/10/27 05:12:00 [debug] 26469\#0: *2 lua udp socket receive return value handler
2020/10/27 05:12:00 [debug] 26469\#0: *2 lua udp socket error retval handler
2020/10/27 05:12:00 [debug] 26469\#0: *2 lua run thread, top:0 c:1
2020/10/27 05:12:00 [error] 26469\#0: *2 [lua] content_by_lua(nginx.conf:84):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2020/10/27 05:12:00 [debug] 26469\#0: *2 lua resume returned 0
'
108-timer-safe.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:12:00 [error] 26469\#0: *2 [lua] content_by_lua(nginx.conf:84):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:12:00 [debug] 26469\#0: *2 lua resume returned 0
2020/10/27 05:12:00 [debug] 26469\#0: *2 lua light thread ended normally
2020/10/27 05:12:00 [debug] 26469\#0: *2 lua deleting light thread B6DFD640 (ref 2)
2020/10/27 05:12:00 [debug] 26469\#0: *2 lua caching unused lua thread B6DFD640 (ref 2)
2020/10/27 05:12:00 [debug] 26469\#0: *2 lua run thread returned 0
2020/10/27 05:12:00 [debug] 26469\#0: *2 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:12:00 [debug] 26469\#0: *2 http lua fake request count:1
2020/10/27 05:12:00 [debug] 26469\#0: *2 http lua close fake request
2020/10/27 05:12:00 [debug] 26469\#0: *2 cleanup lua udp socket upstream request: ""
'
108-timer-safe.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:12:00 [error] 26469\#0: *5 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:12:00 [debug] 26469\#0: *5 lua udp socket handle error
2020/10/27 05:12:00 [debug] 26469\#0: *5 lua udp socket waking up the current request
2020/10/27 05:12:00 [debug] 26469\#0: *5 lua udp operation done, resuming lua thread
2020/10/27 05:12:00 [debug] 26469\#0: *5 lua udp socket calling prepare retvals handler 0815ABE4, u:B6DEAC80
2020/10/27 05:12:00 [debug] 26469\#0: *5 lua udp socket receive return value handler
2020/10/27 05:12:00 [debug] 26469\#0: *5 lua udp socket error retval handler
2020/10/27 05:12:00 [debug] 26469\#0: *5 lua run thread, top:0 c:1
2020/10/27 05:12:00 [error] 26469\#0: *5 [lua] content_by_lua(nginx.conf:84):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2020/10/27 05:12:00 [debug] 26469\#0: *5 lua resume returned 0
'
108-timer-safe.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:12:00 [error] 26469\#0: *5 [lua] content_by_lua(nginx.conf:84):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/27 05:12:00 [debug] 26469\#0: *5 lua resume returned 0
2020/10/27 05:12:00 [debug] 26469\#0: *5 lua light thread ended normally
2020/10/27 05:12:00 [debug] 26469\#0: *5 lua deleting light thread B6DE0AE0 (ref 3)
2020/10/27 05:12:00 [debug] 26469\#0: *5 lua caching unused lua thread B6DE0AE0 (ref 3)
2020/10/27 05:12:00 [debug] 26469\#0: *5 lua run thread returned 0
2020/10/27 05:12:00 [debug] 26469\#0: *5 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:12:00 [debug] 26469\#0: *5 http lua fake request count:1
2020/10/27 05:12:00 [debug] 26469\#0: *5 http lua close fake request
2020/10/27 05:12:00 [debug] 26469\#0: *5 cleanup lua udp socket upstream request: ""
'
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 3: tcp cosocket in timer handler (short connections) - pattern "http lua close fake http connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "received: HTTP/1.1 200 OK" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "(?^:received: Server: \S+)" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "received: Content-Type: text/plain" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "received: Content-Length: 4" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "received: Connection: close" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "received: foo" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "close: 1 nil" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:12:08 [alert] 26468\#0: worker process 26561 exited on signal 11" (req 0) 2020/10/27 05:12:08 [debug] 26468\#0: shmtx forced unlock
2020/10/27 05:12:08 [debug] 26468\#0: wake up, sigio 0
2020/10/27 05:12:08 [debug] 26468\#0: reap children
2020/10/27 05:12:08 [debug] 26468\#0: child: 0 26561 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:12:08 [debug] 26468\#0: pass close channel s:0 pid:26561 to:26476
2020/10/27 05:12:08 [debug] 26468\#0: channel 3:6
2020/10/27 05:12:08 [debug] 26476\#0: epoll: fd:9 ev:0001 d:0963FE10
2020/10/27 05:12:08 [debug] 26476\#0: channel handler
2020/10/27 05:12:08 [debug] 26476\#0: channel: 16
'
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "http lua close fake http connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "received: HTTP/1.1 200 OK" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "(?^:received: Server: \S+)" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "received: Content-Type: text/plain" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "received: Content-Length: 4" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "received: Connection: close" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "received: foo" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "close: 1 nil" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:12:08 [alert] 26468\#0: worker process 26583 exited on signal 11" (req 1) 2020/10/27 05:12:08 [debug] 26468\#0: shmtx forced unlock
2020/10/27 05:12:08 [debug] 26468\#0: wake up, sigio 0
2020/10/27 05:12:08 [debug] 26468\#0: reap children
2020/10/27 05:12:08 [debug] 26468\#0: child: 0 26583 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:12:08 [debug] 26468\#0: pass close channel s:0 pid:26583 to:26476
2020/10/27 05:12:08 [debug] 26468\#0: channel 3:6
2020/10/27 05:12:08 [debug] 26476\#0: epoll: fd:9 ev:0001 d:0963FE10
2020/10/27 05:12:08 [debug] 26476\#0: channel handler
2020/10/27 05:12:08 [debug] 26476\#0: channel: 16
'
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "(?^:go\(\): connected: 1, reused: \d+)" should match a line in error.log (req 1)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "go(): request sent: 11" should match a line in error.log (req 1)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "go(): received: OK" should match a line in error.log (req 1)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "go(): received: OK" should match a line in error.log (req 0)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "http lua close fake http connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "(?^:go\(\): connected: 1, reused: \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 "go(): request sent: 11" 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 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) - status code ok got: ''
expected: '200'
109-timer-hup.t TEST 6: HUP reload should abort pending timers (coroutine + cosocket) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
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) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:12:38 [alert] 26959\#0: worker process 26960 exited on signal 11" (req 0) 2020/10/27 05:12:38 [debug] 26959\#0: shmtx forced unlock
2020/10/27 05:12:38 [debug] 26959\#0: shmtx forced unlock
2020/10/27 05:12:38 [debug] 26959\#0: wake up, sigio 0
2020/10/27 05:12:38 [debug] 26959\#0: reap children
2020/10/27 05:12:38 [debug] 26959\#0: child: 0 26960 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:12:38 [debug] 26959\#0: channel 3:9
2020/10/27 05:12:38 [notice] 26959\#0: start worker process 26961
2020/10/27 05:12:38 [debug] 26959\#0: sigsuspend
2020/10/27 05:12:38 [debug] 26961\#0: malloc: 094FE888:12
'
109-timer-hup.t TEST 6: HUP reload should abort pending timers (coroutine + cosocket) - status code ok got: ''
expected: '200'
109-timer-hup.t TEST 6: HUP reload should abort pending timers (coroutine + cosocket) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
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 6: HUP reload should abort pending timers (coroutine + cosocket) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:12:39 [alert] 26959\#0: worker process 26961 exited on signal 11" (req 1) 2020/10/27 05:12:39 [debug] 26959\#0: shmtx forced unlock
2020/10/27 05:12:39 [debug] 26959\#0: shmtx forced unlock
2020/10/27 05:12:39 [debug] 26959\#0: wake up, sigio 0
2020/10/27 05:12:39 [debug] 26959\#0: reap children
2020/10/27 05:12:39 [debug] 26959\#0: child: 0 26961 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:12:39 [debug] 26959\#0: channel 3:9
2020/10/27 05:12:39 [notice] 26959\#0: start worker process 26962
2020/10/27 05:12:39 [debug] 26959\#0: sigsuspend
2020/10/27 05:12:39 [debug] 26962\#0: malloc: 094FE888:12
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'lua found 8187 pending timers
'
expected: 'lua found 8191 pending timers
'
116-raw-req-socket.t TEST 12: receiveuntil - status code ok got: ''
expected: '200'
116-raw-req-socket.t TEST 12: receiveuntil - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "msg: 1: received: hello, wo\x{0a}"
length: 28
strings begin to differ at char 1 (line 1 column 1)
116-raw-req-socket.t TEST 12: receiveuntil - status code ok got: ''
expected: '200'
116-raw-req-socket.t TEST 12: receiveuntil - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "msg: 1: received: hello, wo\x{0a}"
length: 28
strings begin to differ at char 1 (line 1 column 1)
116-raw-req-socket.t TEST 11: on_abort called during sock:receive() - status code ok got: ''
expected: '200'
116-raw-req-socket.t TEST 11: on_abort called during sock:receive() - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
116-raw-req-socket.t TEST 11: on_abort called during sock:receive() - pattern "failed to receive a line: client aborted" should match a line in error.log (req 0)
116-raw-req-socket.t TEST 11: on_abort called during sock:receive() - status code ok got: ''
expected: '200'
116-raw-req-socket.t TEST 11: on_abort called during sock:receive() - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
116-raw-req-socket.t TEST 11: on_abort called during sock:receive() - pattern "failed to receive a line: client aborted" should match a line in error.log (req 1)
116-raw-req-socket.t TEST 16: receiveany - status code ok got: ''
expected: '200'
116-raw-req-socket.t TEST 16: receiveany - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
116-raw-req-socket.t TEST 16: receiveany - status code ok got: ''
expected: '200'
116-raw-req-socket.t TEST 16: receiveany - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
116-raw-req-socket.t TEST 1: sanity - status code ok got: ''
expected: '200'
116-raw-req-socket.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
116-raw-req-socket.t TEST 1: sanity - status code ok got: ''
expected: '200'
116-raw-req-socket.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
116-raw-req-socket.t TEST 10: on_abort called during ngx.sleep() - status code ok got: ''
expected: '200'
116-raw-req-socket.t TEST 10: on_abort called during ngx.sleep() - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
116-raw-req-socket.t TEST 10: on_abort called during ngx.sleep() - pattern "mysock handler aborted" should match a line in error.log (req 0)
116-raw-req-socket.t TEST 10: on_abort called during ngx.sleep() - status code ok got: ''
expected: '200'
116-raw-req-socket.t TEST 10: on_abort called during ngx.sleep() - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
116-raw-req-socket.t TEST 10: on_abort called during ngx.sleep() - pattern "mysock handler aborted" should match a line in error.log (req 1)
124-init-worker.t ERROR: client socket timed out - TEST 4: timer.at + cosocket '
124-init-worker.t TEST 4: timer.at + cosocket - status code ok got: ''
expected: '200'
124-init-worker.t TEST 4: timer.at + cosocket - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
124-init-worker.t TEST 4: timer.at + cosocket - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
124-init-worker.t TEST 13: cosocket with resolver - status code ok got: ''
expected: '200'
124-init-worker.t TEST 13: cosocket with resolver - response_body_like - response is expected () ''
doesn't match '(?^s:connected: 1
request sent: 56
first line received: HTTP\/1\.1 200 OK
second line received: (?:Date|Server): .*?
)'
124-init-worker.t ERROR: client socket timed out - TEST 6: timer.at + cosocket (by_lua_file) '
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - status code ok got: ''
expected: '200'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
128-duplex-tcp-socket.t ERROR: client socket timed out - TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
128-duplex-tcp-socket.t ERROR: client socket timed out - TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
128-duplex-tcp-socket.t TEST 3: writes are rejected while reads are not - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 3: writes are rejected while reads are not - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1
received: OK!
close: (?:nil socket busy writing|1 nil
failed to send request: closed)$)'
128-duplex-tcp-socket.t TEST 3: writes are rejected while reads are not - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 3: writes are rejected while reads are not - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1
received: OK!
close: (?:nil socket busy writing|1 nil
failed to send request: closed)$)'
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$)'
128-duplex-tcp-socket.t TEST 4: reads are rejected while writes are not - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 4: reads are rejected while writes are not - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-failed to receive: closed
-request sent.
-close: 1 nil
'
128-duplex-tcp-socket.t TEST 4: reads are rejected while writes are not - tcp_query ok got: ''
expected: 'flush_all
'
128-duplex-tcp-socket.t TEST 4: reads are rejected while writes are not - TCP query length ok got: '0'
expected: '11'
128-duplex-tcp-socket.t TEST 4: reads are rejected while writes are not - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 4: reads are rejected while writes are not - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-failed to receive: closed
-request sent.
-close: 1 nil
'
128-duplex-tcp-socket.t TEST 4: reads are rejected while writes are not - tcp_query ok got: ''
expected: 'flush_all
'
128-duplex-tcp-socket.t TEST 4: reads are rejected while writes are not - TCP query length ok got: '0'
expected: '11'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 80 bytes.
-received: HTTP/1.1 404 Not Found
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 0) 'lua ssl save session: 0976EFA0
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:15 [alert] 31137\#0: worker process 31138 exited on signal 11" (req 0) 2020/10/27 05:18:15 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:15 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:15 [debug] 31137\#0: reap children
2020/10/27 05:18:15 [debug] 31137\#0: child: 0 31138 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:15 [debug] 31137\#0: channel 3:8
2020/10/27 05:18:15 [notice] 31137\#0: start worker process 31139
2020/10/27 05:18:15 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:15 [debug] 31139\#0: malloc: 09761488:12
2020/10/27 05:18:15 [debug] 31139\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 80 bytes.
-received: HTTP/1.1 404 Not Found
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 1) 'lua ssl save session: 0976EFA0
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:15 [alert] 31137\#0: worker process 31139 exited on signal 11" (req 1) 2020/10/27 05:18:15 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:15 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:15 [debug] 31137\#0: reap children
2020/10/27 05:18:15 [debug] 31137\#0: child: 0 31139 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:15 [debug] 31137\#0: channel 3:8
2020/10/27 05:18:15 [notice] 31137\#0: start worker process 31140
2020/10/27 05:18:15 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:15 [debug] 31140\#0: malloc: 09761488:12
2020/10/27 05:18:15 [debug] 31140\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 14: explicit cipher configuration - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 14: explicit cipher configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 53 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 14: explicit cipher configuration - grep_error_log_out (req 0) 'lua ssl save session: 097B6D30
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: explicit cipher configuration - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:19 [alert] 31137\#0: worker process 31175 exited on signal 11" (req 0) 2020/10/27 05:18:19 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:19 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:19 [debug] 31137\#0: reap children
2020/10/27 05:18:19 [debug] 31137\#0: child: 0 31175 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:19 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:19 [notice] 31137\#0: start worker process 31197
2020/10/27 05:18:19 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:19 [debug] 31197\#0: malloc: 09761488:12
2020/10/27 05:18:19 [debug] 31197\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 14: explicit cipher configuration - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 14: explicit cipher configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 53 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 14: explicit cipher configuration - grep_error_log_out (req 1) 'lua ssl save session: 097B6D30
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: explicit cipher configuration - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:19 [alert] 31137\#0: worker process 31197 exited on signal 11" (req 1) 2020/10/27 05:18:19 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:19 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:19 [debug] 31137\#0: reap children
2020/10/27 05:18:19 [debug] 31137\#0: child: 0 31197 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:19 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:19 [notice] 31137\#0: start worker process 31198
2020/10/27 05:18:19 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:19 [debug] 31198\#0: malloc: 09761488:12
2020/10/27 05:18:19 [debug] 31198\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) 'lua ssl save session: 09777EA0
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:21 [alert] 31137\#0: worker process 31205 exited on signal 11" (req 0) 2020/10/27 05:18:21 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:21 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:21 [debug] 31137\#0: reap children
2020/10/27 05:18:21 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:18:21 [debug] 31137\#0: child: 1 31205 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:21 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:21 [notice] 31137\#0: start worker process 31227
2020/10/27 05:18:21 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:21 [debug] 31227\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) 'lua ssl save session: 09777EA0
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:21 [alert] 31137\#0: worker process 31227 exited on signal 11" (req 1) 2020/10/27 05:18:21 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:21 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:21 [debug] 31137\#0: reap children
2020/10/27 05:18:21 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:18:21 [debug] 31137\#0: child: 1 31227 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:21 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:21 [notice] 31137\#0: start worker process 31228
2020/10/27 05:18:21 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:21 [debug] 31228\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 3: SNI, no verify - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 0) 'lua ssl save session: 09760A58
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:26 [alert] 31137\#0: worker process 31291 exited on signal 11" (req 0) 2020/10/27 05:18:26 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:26 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:26 [debug] 31137\#0: reap children
2020/10/27 05:18:26 [debug] 31137\#0: child: 0 31291 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:26 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:26 [notice] 31137\#0: start worker process 31313
2020/10/27 05:18:26 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:26 [debug] 31313\#0: malloc: 09761488:12
2020/10/27 05:18:26 [debug] 31313\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 3: SNI, no verify - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 1) 'lua ssl save session: 09760A58
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:26 [alert] 31137\#0: worker process 31313 exited on signal 11" (req 1) 2020/10/27 05:18:26 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:26 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:26 [debug] 31137\#0: reap children
2020/10/27 05:18:26 [debug] 31137\#0: child: 0 31313 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:26 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:26 [notice] 31137\#0: start worker process 31314
2020/10/27 05:18:26 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:26 [debug] 31314\#0: malloc: 09761488:12
2020/10/27 05:18:26 [debug] 31314\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 13: default cipher - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 13: default cipher - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 13: default cipher - grep_error_log_out (req 0) 'lua ssl save session: 09777EA0
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 13: default cipher - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:31 [alert] 31137\#0: worker process 31377 exited on signal 11" (req 0) 2020/10/27 05:18:31 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:31 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:31 [debug] 31137\#0: reap children
2020/10/27 05:18:31 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:18:31 [debug] 31137\#0: child: 1 31377 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:31 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:31 [notice] 31137\#0: start worker process 31399
2020/10/27 05:18:31 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:31 [debug] 31399\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 13: default cipher - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 13: default cipher - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 13: default cipher - grep_error_log_out (req 1) 'lua ssl save session: 09777EA0
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 13: default cipher - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:32 [alert] 31137\#0: worker process 31399 exited on signal 11" (req 1) 2020/10/27 05:18:32 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:32 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:32 [debug] 31137\#0: reap children
2020/10/27 05:18:32 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:18:32 [debug] 31137\#0: child: 1 31399 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:32 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:32 [notice] 31137\#0: start worker process 31400
2020/10/27 05:18:32 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:32 [debug] 31400\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) 'lua ssl save session: 09760A58
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:33 [alert] 31137\#0: worker process 31407 exited on signal 11" (req 0) 2020/10/27 05:18:33 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:33 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:33 [debug] 31137\#0: reap children
2020/10/27 05:18:33 [debug] 31137\#0: child: 0 31407 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:33 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:33 [notice] 31137\#0: start worker process 31429
2020/10/27 05:18:33 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:33 [debug] 31429\#0: malloc: 09761488:12
2020/10/27 05:18:33 [debug] 31429\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) 'lua ssl save session: 09760A58
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:34 [alert] 31137\#0: worker process 31429 exited on signal 11" (req 1) 2020/10/27 05:18:34 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:34 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:34 [debug] 31137\#0: reap children
2020/10/27 05:18:34 [debug] 31137\#0: child: 0 31429 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:34 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:34 [notice] 31137\#0: start worker process 31430
2020/10/27 05:18:34 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:34 [debug] 31430\#0: malloc: 09761488:12
2020/10/27 05:18:34 [debug] 31430\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 2: no SNI, no verify - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 53 bytes.
-received: HTTP/1.1 201 Created
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 0) 'lua ssl save session: 0979F1E8
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:44 [alert] 31137\#0: worker process 31577 exited on signal 11" (req 0) 2020/10/27 05:18:44 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:44 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:44 [debug] 31137\#0: reap children
2020/10/27 05:18:44 [debug] 31137\#0: child: 0 31577 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:44 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:44 [notice] 31137\#0: start worker process 31599
2020/10/27 05:18:44 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:44 [debug] 31599\#0: malloc: 09761488:12
2020/10/27 05:18:44 [debug] 31599\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 2: no SNI, no verify - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 53 bytes.
-received: HTTP/1.1 201 Created
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 1) 'lua ssl save session: 0979F1E8
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:45 [alert] 31137\#0: worker process 31599 exited on signal 11" (req 1) 2020/10/27 05:18:45 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:45 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:45 [debug] 31137\#0: reap children
2020/10/27 05:18:45 [debug] 31137\#0: child: 0 31599 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:45 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:45 [notice] 31137\#0: start worker process 31600
2020/10/27 05:18:45 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:45 [debug] 31600\#0: malloc: 09761488:12
2020/10/27 05:18:45 [debug] 31600\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 24: multiple handshake calls - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 24: multiple handshake calls - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-ssl handshake: userdata
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 24: multiple handshake calls - grep_error_log_out (req 0) 'lua ssl save session: 097B5620
lua ssl save session: 097B5620
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 24: multiple handshake calls - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:50 [alert] 31137\#0: worker process 31663 exited on signal 11" (req 0) 2020/10/27 05:18:50 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:50 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:50 [debug] 31137\#0: reap children
2020/10/27 05:18:50 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:18:50 [debug] 31137\#0: child: 1 31663 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:50 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:50 [notice] 31137\#0: start worker process 31685
2020/10/27 05:18:50 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:50 [debug] 31685\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 24: multiple handshake calls - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 24: multiple handshake calls - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-ssl handshake: userdata
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 24: multiple handshake calls - grep_error_log_out (req 1) 'lua ssl save session: 097B5620
lua ssl save session: 097B5620
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 24: multiple handshake calls - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:50 [alert] 31137\#0: worker process 31685 exited on signal 11" (req 1) 2020/10/27 05:18:50 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:50 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:50 [debug] 31137\#0: reap children
2020/10/27 05:18:50 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:18:50 [debug] 31137\#0: child: 1 31685 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:50 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:50 [notice] 31137\#0: start worker process 31686
2020/10/27 05:18:50 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:50 [debug] 31686\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 4: ssl session reuse - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 0) 'lua ssl save session: 09760A58
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl set session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:52 [alert] 31137\#0: worker process 31693 exited on signal 11" (req 0) 2020/10/27 05:18:52 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:52 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:52 [debug] 31137\#0: reap children
2020/10/27 05:18:52 [debug] 31137\#0: child: 0 31693 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:52 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:52 [notice] 31137\#0: start worker process 31715
2020/10/27 05:18:52 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:52 [debug] 31715\#0: malloc: 09761488:12
2020/10/27 05:18:52 [debug] 31715\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 4: ssl session reuse - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 1) 'lua ssl save session: 09760A58
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl set session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:52 [alert] 31137\#0: worker process 31715 exited on signal 11" (req 1) 2020/10/27 05:18:52 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:52 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:52 [debug] 31137\#0: reap children
2020/10/27 05:18:52 [debug] 31137\#0: child: 0 31715 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:52 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:52 [notice] 31137\#0: start worker process 31716
2020/10/27 05:18:52 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:52 [debug] 31716\#0: malloc: 09761488:12
2020/10/27 05:18:52 [debug] 31716\#0: malloc: 09763530:8
'
129-ssl-socket.t TEST 1: www.google.com - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected () ''
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 0) 'lua ssl save session: 0979B2D0
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:54 [alert] 31137\#0: worker process 31723 exited on signal 11" (req 0) 2020/10/27 05:18:54 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:54 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:54 [debug] 31137\#0: reap children
2020/10/27 05:18:54 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:18:54 [debug] 31137\#0: child: 1 31723 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:54 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:54 [notice] 31137\#0: start worker process 31745
2020/10/27 05:18:54 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:54 [debug] 31745\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 1: www.google.com - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected () ''
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 1) 'lua ssl save session: 0979B2D0
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:54 [alert] 31137\#0: worker process 31745 exited on signal 11" (req 1) 2020/10/27 05:18:54 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:54 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:54 [debug] 31137\#0: reap children
2020/10/27 05:18:54 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:18:54 [debug] 31137\#0: child: 1 31745 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:54 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:54 [notice] 31137\#0: start worker process 31746
2020/10/27 05:18:54 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:54 [debug] 31746\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) 'lua ssl save session: 097B3D98
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:57 [alert] 31137\#0: worker process 31781 exited on signal 11" (req 0) 2020/10/27 05:18:57 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:57 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:57 [debug] 31137\#0: reap children
2020/10/27 05:18:57 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:18:57 [debug] 31137\#0: child: 1 31781 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:57 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:57 [notice] 31137\#0: start worker process 31803
2020/10/27 05:18:57 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:57 [debug] 31803\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) 'lua ssl save session: 097B3D98
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:18:57 [alert] 31137\#0: worker process 31803 exited on signal 11" (req 1) 2020/10/27 05:18:57 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:18:57 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:18:57 [debug] 31137\#0: reap children
2020/10/27 05:18:57 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:18:57 [debug] 31137\#0: child: 1 31803 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:18:57 [debug] 31137\#0: channel 3:4
2020/10/27 05:18:57 [notice] 31137\#0: start worker process 31804
2020/10/27 05:18:57 [debug] 31137\#0: sigsuspend
2020/10/27 05:18:57 [debug] 31804\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 53 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - grep_error_log_out (req 0) 'lua ssl save session: 09793618
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:19:05 [alert] 31137\#0: worker process 31896 exited on signal 11" (req 0) 2020/10/27 05:19:05 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:19:05 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:19:05 [debug] 31137\#0: reap children
2020/10/27 05:19:05 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:19:05 [debug] 31137\#0: child: 1 31896 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:19:05 [debug] 31137\#0: channel 3:4
2020/10/27 05:19:05 [notice] 31137\#0: start worker process 31918
2020/10/27 05:19:05 [debug] 31137\#0: sigsuspend
2020/10/27 05:19:05 [debug] 31918\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 53 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - grep_error_log_out (req 1) 'lua ssl save session: 09793618
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:19:05 [alert] 31137\#0: worker process 31918 exited on signal 11" (req 1) 2020/10/27 05:19:05 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:19:05 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:19:05 [debug] 31137\#0: reap children
2020/10/27 05:19:05 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:19:05 [debug] 31137\#0: child: 1 31918 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:19:05 [debug] 31137\#0: channel 3:4
2020/10/27 05:19:05 [notice] 31137\#0: start worker process 31919
2020/10/27 05:19:05 [debug] 31137\#0: sigsuspend
2020/10/27 05:19:05 [debug] 31919\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - grep_error_log_out (req 0) 'lua ssl save session: 0979AB48
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:19:08 [alert] 31137\#0: worker process 31954 exited on signal 11" (req 0) 2020/10/27 05:19:08 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:19:08 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:19:08 [debug] 31137\#0: reap children
2020/10/27 05:19:08 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:19:08 [debug] 31137\#0: child: 1 31954 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:19:08 [debug] 31137\#0: channel 3:4
2020/10/27 05:19:08 [notice] 31137\#0: start worker process 31976
2020/10/27 05:19:08 [debug] 31137\#0: sigsuspend
2020/10/27 05:19:08 [debug] 31976\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - grep_error_log_out (req 1) 'lua ssl save session: 0979AB48
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:19:08 [alert] 31137\#0: worker process 31976 exited on signal 11" (req 1) 2020/10/27 05:19:08 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:19:08 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:19:08 [debug] 31137\#0: reap children
2020/10/27 05:19:08 [debug] 31137\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:19:08 [debug] 31137\#0: child: 1 31976 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:19:08 [debug] 31137\#0: channel 3:4
2020/10/27 05:19:08 [notice] 31137\#0: start worker process 31977
2020/10/27 05:19:08 [debug] 31137\#0: sigsuspend
2020/10/27 05:19:08 [debug] 31977\#0: malloc: 0975CF18:12
'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 0) 'lua ssl save session: 09779000
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:19:10 [alert] 31137\#0: worker process 31984 exited on signal 11" (req 0) 2020/10/27 05:19:10 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:19:10 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:19:10 [debug] 31137\#0: reap children
2020/10/27 05:19:10 [debug] 31137\#0: child: 0 31984 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:19:10 [debug] 31137\#0: channel 3:4
2020/10/27 05:19:10 [notice] 31137\#0: start worker process 32006
2020/10/27 05:19:10 [debug] 31137\#0: sigsuspend
2020/10/27 05:19:10 [debug] 32006\#0: malloc: 09761488:12
2020/10/27 05:19:10 [debug] 32006\#0: malloc: 0976C6C8:8
'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 1) 'lua ssl save session: 09779000
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:19:10 [alert] 31137\#0: worker process 32006 exited on signal 11" (req 1) 2020/10/27 05:19:10 [debug] 31137\#0: shmtx forced unlock
2020/10/27 05:19:10 [debug] 31137\#0: wake up, sigio 0
2020/10/27 05:19:10 [debug] 31137\#0: reap children
2020/10/27 05:19:10 [debug] 31137\#0: child: 0 32006 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:19:10 [debug] 31137\#0: channel 3:4
2020/10/27 05:19:10 [notice] 31137\#0: start worker process 32007
2020/10/27 05:19:10 [debug] 31137\#0: sigsuspend
2020/10/27 05:19:10 [debug] 32007\#0: malloc: 09761488:12
2020/10/27 05:19:10 [debug] 32007\#0: malloc: 0976C6C8:8
'
132-lua-blocks.t TEST 8: content_by_lua_block (cosockets) - status code ok got: ''
expected: '200'
132-lua-blocks.t TEST 8: content_by_lua_block (cosockets) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
132-lua-blocks.t TEST 8: content_by_lua_block (cosockets) - status code ok got: ''
expected: '200'
132-lua-blocks.t TEST 8: content_by_lua_block (cosockets) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed []
-close: 1 nil
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:20:37 [alert] 816\#0: worker process 817 exited on signal 11" (req 0) 2020/10/27 05:20:37 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:20:37 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:20:37 [debug] 816\#0: reap children
2020/10/27 05:20:37 [debug] 816\#0: child: 0 817 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:20:37 [debug] 816\#0: channel 3:9
2020/10/27 05:20:37 [notice] 816\#0: start worker process 818
2020/10/27 05:20:37 [debug] 816\#0: sigsuspend
2020/10/27 05:20:37 [debug] 818\#0: malloc: 0922C768:12
2020/10/27 05:20:37 [debug] 818\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:20:37 [alert] 816\#0: worker process 818 exited on signal 11" (req 1) 2020/10/27 05:20:37 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:20:37 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:20:37 [debug] 816\#0: reap children
2020/10/27 05:20:37 [debug] 816\#0: child: 0 818 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:20:37 [debug] 816\#0: channel 3:9
2020/10/27 05:20:37 [notice] 816\#0: start worker process 819
2020/10/27 05:20:37 [debug] 816\#0: sigsuspend
2020/10/27 05:20:37 [debug] 819\#0: malloc: 0922C768:12
2020/10/27 05:20:37 [debug] 819\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:20:37 [alert] 816\#0: worker process 819 exited on signal 11" (req 2) 2020/10/27 05:20:37 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:20:37 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:20:37 [debug] 816\#0: reap children
2020/10/27 05:20:37 [debug] 816\#0: child: 0 819 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:20:37 [debug] 816\#0: channel 3:9
2020/10/27 05:20:37 [notice] 816\#0: start worker process 820
2020/10/27 05:20:37 [debug] 816\#0: sigsuspend
2020/10/27 05:20:37 [debug] 820\#0: malloc: 0922C768:12
2020/10/27 05:20:37 [debug] 820\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 15: coroutine API - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:20:50 [alert] 816\#0: worker process 1000 exited on signal 11" (req 0) 2020/10/27 05:20:50 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:20:50 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:20:50 [debug] 816\#0: reap children
2020/10/27 05:20:50 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:20:50 [debug] 816\#0: child: 1 1000 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:20:50 [debug] 816\#0: channel 3:4
2020/10/27 05:20:50 [notice] 816\#0: start worker process 1022
2020/10/27 05:20:50 [debug] 816\#0: sigsuspend
2020/10/27 05:20:50 [debug] 1022\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 15: coroutine API - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:20:50 [alert] 816\#0: worker process 1022 exited on signal 11" (req 1) 2020/10/27 05:20:50 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:20:50 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:20:50 [debug] 816\#0: reap children
2020/10/27 05:20:50 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:20:50 [debug] 816\#0: child: 1 1022 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:20:50 [debug] 816\#0: channel 3:4
2020/10/27 05:20:50 [notice] 816\#0: start worker process 1023
2020/10/27 05:20:50 [debug] 816\#0: sigsuspend
2020/10/27 05:20:50 [debug] 1023\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 15: coroutine API - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:20:50 [alert] 816\#0: worker process 1023 exited on signal 11" (req 2) 2020/10/27 05:20:50 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:20:50 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:20:50 [debug] 816\#0: reap children
2020/10/27 05:20:50 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:20:50 [debug] 816\#0: child: 1 1023 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:20:50 [debug] 816\#0: channel 3:4
2020/10/27 05:20:50 [notice] 816\#0: start worker process 1024
2020/10/27 05:20:50 [debug] 816\#0: sigsuspend
2020/10/27 05:20:50 [debug] 1024\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: 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 "[error]" should not match any line in error.log but matches line "2020/10/27 05:20:54 [error] 1031\#0: *275 lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2020/10/27 05:20:54 [debug] 1031\#0: *275 lua tcp socket handle read error
2020/10/27 05:20:54 [debug] 1031\#0: *275 lua tcp socket waking up the current request
2020/10/27 05:20:54 [debug] 1031\#0: *275 lua tcp operation done, resuming lua thread
2020/10/27 05:20:54 [debug] 1031\#0: *275 lua tcp socket calling prepare retvals handler 081507EA, u:B6D5FD60
2020/10/27 05:20:54 [debug] 1031\#0: *275 lua tcp socket receive return value handler
2020/10/27 05:20:54 [debug] 1031\#0: *275 lua run thread, top:0 c:1
2020/10/27 05:20:54 [error] 1031\#0: *275 [lua] ssl_certificate_by_lua: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
2020/10/27 05:20:54 [debug] 1031\#0: *275 lua resume returned 0
2020/10/27 05:20:54 [debug] 1031\#0: *275 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 "2020/10/27 05:20:54 [error] 1031\#0: *275 [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2020/10/27 05:20:54 [debug] 1031\#0: *275 lua resume returned 0
2020/10/27 05:20:54 [debug] 1031\#0: *275 lua light thread ended normally
2020/10/27 05:20:54 [debug] 1031\#0: *275 lua deleting light thread B6D809C0 (ref 2)
2020/10/27 05:20:54 [debug] 1031\#0: *275 lua caching unused lua thread B6D809C0 (ref 2)
2020/10/27 05:20:54 [debug] 1031\#0: *275 lua run thread returned 0
2020/10/27 05:20:54 [debug] 1031\#0: *275 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:20:54 [debug] 1031\#0: *275 http lua fake request count:1
2020/10/27 05:20:54 [debug] 1031\#0: *275 http lua close fake request
2020/10/27 05:20:54 [debug] 1031\#0: *275 cleanup lua tcp socket request: ""
'
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+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 "[error]" should not match any line in error.log but matches line "2020/10/27 05:20:56 [error] 1031\#0: *280 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) 2020/10/27 05:20:56 [debug] 1031\#0: *280 lua tcp socket handle read error
2020/10/27 05:20:56 [debug] 1031\#0: *280 lua tcp socket waking up the current request
2020/10/27 05:20:56 [debug] 1031\#0: *280 lua tcp operation done, resuming lua thread
2020/10/27 05:20:56 [debug] 1031\#0: *280 lua tcp socket calling prepare retvals handler 081507EA, u:B6D69C18
2020/10/27 05:20:56 [debug] 1031\#0: *280 lua tcp socket receive return value handler
2020/10/27 05:20:56 [debug] 1031\#0: *280 lua run thread, top:0 c:1
2020/10/27 05:20:56 [error] 1031\#0: *280 [lua] ssl_certificate_by_lua: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
2020/10/27 05:20:56 [debug] 1031\#0: *280 lua resume returned 0
2020/10/27 05:20:56 [debug] 1031\#0: *280 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 "2020/10/27 05:20:56 [error] 1031\#0: *280 [lua] ssl_certificate_by_lua: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) 2020/10/27 05:20:56 [debug] 1031\#0: *280 lua resume returned 0
2020/10/27 05:20:56 [debug] 1031\#0: *280 lua light thread ended normally
2020/10/27 05:20:56 [debug] 1031\#0: *280 lua deleting light thread B6D62770 (ref 1)
2020/10/27 05:20:56 [debug] 1031\#0: *280 lua caching unused lua thread B6D62770 (ref 1)
2020/10/27 05:20:56 [debug] 1031\#0: *280 lua run thread returned 0
2020/10/27 05:20:56 [debug] 1031\#0: *280 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:20:56 [debug] 1031\#0: *280 http lua fake request count:1
2020/10/27 05:20:56 [debug] 1031\#0: *280 http lua close fake request
2020/10/27 05:20:56 [debug] 1031\#0: *280 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: userdata
+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 "[error]" should not match any line in error.log but matches line "2020/10/27 05:20:58 [error] 1031\#0: *285 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) 2020/10/27 05:20:58 [debug] 1031\#0: *285 lua tcp socket handle read error
2020/10/27 05:20:58 [debug] 1031\#0: *285 lua tcp socket waking up the current request
2020/10/27 05:20:58 [debug] 1031\#0: *285 lua tcp operation done, resuming lua thread
2020/10/27 05:20:58 [debug] 1031\#0: *285 lua tcp socket calling prepare retvals handler 081507EA, u:B6D64940
2020/10/27 05:20:58 [debug] 1031\#0: *285 lua tcp socket receive return value handler
2020/10/27 05:20:58 [debug] 1031\#0: *285 lua run thread, top:0 c:1
2020/10/27 05:20:58 [error] 1031\#0: *285 [lua] ssl_certificate_by_lua: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
2020/10/27 05:20:58 [debug] 1031\#0: *285 lua resume returned 0
2020/10/27 05:20:58 [debug] 1031\#0: *285 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 "2020/10/27 05:20:58 [error] 1031\#0: *285 [lua] ssl_certificate_by_lua: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) 2020/10/27 05:20:58 [debug] 1031\#0: *285 lua resume returned 0
2020/10/27 05:20:58 [debug] 1031\#0: *285 lua light thread ended normally
2020/10/27 05:20:58 [debug] 1031\#0: *285 lua deleting light thread B6D809C0 (ref 2)
2020/10/27 05:20:58 [debug] 1031\#0: *285 lua caching unused lua thread B6D809C0 (ref 2)
2020/10/27 05:20:58 [debug] 1031\#0: *285 lua run thread returned 0
2020/10/27 05:20:58 [debug] 1031\#0: *285 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:20:58 [debug] 1031\#0: *285 http lua fake request count:1
2020/10/27 05:20:58 [debug] 1031\#0: *285 http lua close fake request
2020/10/27 05:20:58 [debug] 1031\#0: *285 cleanup lua tcp socket request: ""
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:01 [alert] 816\#0: worker process 1090 exited on signal 11" (req 0) 2020/10/27 05:21:01 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:01 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:01 [debug] 816\#0: reap children
2020/10/27 05:21:01 [debug] 816\#0: child: 0 1090 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:01 [debug] 816\#0: channel 3:4
2020/10/27 05:21:01 [notice] 816\#0: start worker process 1114
2020/10/27 05:21:01 [debug] 816\#0: sigsuspend
2020/10/27 05:21:01 [debug] 1114\#0: malloc: 0922C768:12
2020/10/27 05:21:01 [debug] 1114\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:02 [alert] 816\#0: worker process 1114 exited on signal 11" (req 1) 2020/10/27 05:21:02 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:02 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:02 [debug] 816\#0: reap children
2020/10/27 05:21:02 [debug] 816\#0: child: 0 1114 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:02 [debug] 816\#0: channel 3:4
2020/10/27 05:21:02 [notice] 816\#0: start worker process 1115
2020/10/27 05:21:02 [debug] 816\#0: sigsuspend
2020/10/27 05:21:02 [debug] 1115\#0: malloc: 0922C768:12
2020/10/27 05:21:02 [debug] 1115\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:02 [alert] 816\#0: worker process 1115 exited on signal 11" (req 2) 2020/10/27 05:21:02 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:02 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:02 [debug] 816\#0: reap children
2020/10/27 05:21:02 [debug] 816\#0: child: 0 1115 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:02 [debug] 816\#0: channel 3:4
2020/10/27 05:21:02 [notice] 816\#0: start worker process 1116
2020/10/27 05:21:02 [debug] 816\#0: sigsuspend
2020/10/27 05:21:02 [debug] 1116\#0: malloc: 0922C768:12
2020/10/27 05:21:02 [debug] 1116\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:21:04 [error] 1123\#0: *380 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) 2020/10/27 05:21:04 [debug] 1123\#0: *380 lua udp socket handle error
2020/10/27 05:21:04 [debug] 1123\#0: *380 lua udp socket waking up the current request
2020/10/27 05:21:04 [debug] 1123\#0: *380 lua udp operation done, resuming lua thread
2020/10/27 05:21:04 [debug] 1123\#0: *380 lua udp socket calling prepare retvals handler 0815ABE4, u:B6CFCD60
2020/10/27 05:21:04 [debug] 1123\#0: *380 lua udp socket receive return value handler
2020/10/27 05:21:04 [debug] 1123\#0: *380 lua udp socket error retval handler
2020/10/27 05:21:04 [debug] 1123\#0: *380 lua run thread, top:9 c:1
2020/10/27 05:21:04 [error] 1123\#0: *380 [lua] ssl_certificate_by_lua: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
2020/10/27 05:21:04 [debug] 1123\#0: *380 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 "2020/10/27 05:21:04 [error] 1123\#0: *380 [lua] ssl_certificate_by_lua: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) 2020/10/27 05:21:04 [debug] 1123\#0: *380 lua resume returned 0
2020/10/27 05:21:04 [debug] 1123\#0: *380 lua light thread ended normally
2020/10/27 05:21:04 [debug] 1123\#0: *380 lua deleting light thread B6D1F9B0 (ref 2)
2020/10/27 05:21:04 [debug] 1123\#0: *380 lua caching unused lua thread B6D1F9B0 (ref 2)
2020/10/27 05:21:04 [debug] 1123\#0: *380 lua run thread returned 0
2020/10/27 05:21:04 [debug] 1123\#0: *380 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:21:04 [debug] 1123\#0: *380 http lua fake request count:1
2020/10/27 05:21:04 [debug] 1123\#0: *380 http lua close fake request
2020/10/27 05:21:04 [debug] 1123\#0: *380 cleanup lua udp socket upstream request: ""
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:21:05 [error] 1123\#0: *385 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) 2020/10/27 05:21:05 [debug] 1123\#0: *385 lua udp socket handle error
2020/10/27 05:21:05 [debug] 1123\#0: *385 lua udp socket waking up the current request
2020/10/27 05:21:05 [debug] 1123\#0: *385 lua udp operation done, resuming lua thread
2020/10/27 05:21:05 [debug] 1123\#0: *385 lua udp socket calling prepare retvals handler 0815ABE4, u:B6CFB0E8
2020/10/27 05:21:05 [debug] 1123\#0: *385 lua udp socket receive return value handler
2020/10/27 05:21:05 [debug] 1123\#0: *385 lua udp socket error retval handler
2020/10/27 05:21:05 [debug] 1123\#0: *385 lua run thread, top:0 c:1
2020/10/27 05:21:05 [error] 1123\#0: *385 [lua] ssl_certificate_by_lua: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
2020/10/27 05:21:05 [debug] 1123\#0: *385 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 "2020/10/27 05:21:05 [error] 1123\#0: *385 [lua] ssl_certificate_by_lua: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) 2020/10/27 05:21:05 [debug] 1123\#0: *385 lua resume returned 0
2020/10/27 05:21:05 [debug] 1123\#0: *385 lua light thread ended normally
2020/10/27 05:21:05 [debug] 1123\#0: *385 lua deleting light thread B6D1F9B0 (ref 2)
2020/10/27 05:21:05 [debug] 1123\#0: *385 lua caching unused lua thread B6D1F9B0 (ref 2)
2020/10/27 05:21:05 [debug] 1123\#0: *385 lua run thread returned 0
2020/10/27 05:21:05 [debug] 1123\#0: *385 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:21:05 [debug] 1123\#0: *385 http lua fake request count:1
2020/10/27 05:21:05 [debug] 1123\#0: *385 http lua close fake request
2020/10/27 05:21:05 [debug] 1123\#0: *385 cleanup lua udp socket upstream request: ""
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:21:07 [error] 1123\#0: *390 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) 2020/10/27 05:21:07 [debug] 1123\#0: *390 lua udp socket handle error
2020/10/27 05:21:07 [debug] 1123\#0: *390 lua udp socket waking up the current request
2020/10/27 05:21:07 [debug] 1123\#0: *390 lua udp operation done, resuming lua thread
2020/10/27 05:21:07 [debug] 1123\#0: *390 lua udp socket calling prepare retvals handler 0815ABE4, u:B6D23160
2020/10/27 05:21:07 [debug] 1123\#0: *390 lua udp socket receive return value handler
2020/10/27 05:21:07 [debug] 1123\#0: *390 lua udp socket error retval handler
2020/10/27 05:21:07 [debug] 1123\#0: *390 lua run thread, top:0 c:1
2020/10/27 05:21:07 [error] 1123\#0: *390 [lua] ssl_certificate_by_lua: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
2020/10/27 05:21:07 [debug] 1123\#0: *390 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 "2020/10/27 05:21:07 [error] 1123\#0: *390 [lua] ssl_certificate_by_lua: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) 2020/10/27 05:21:07 [debug] 1123\#0: *390 lua resume returned 0
2020/10/27 05:21:07 [debug] 1123\#0: *390 lua light thread ended normally
2020/10/27 05:21:07 [debug] 1123\#0: *390 lua deleting light thread B6D1F9B0 (ref 2)
2020/10/27 05:21:07 [debug] 1123\#0: *390 lua caching unused lua thread B6D1F9B0 (ref 2)
2020/10/27 05:21:07 [debug] 1123\#0: *390 lua run thread returned 0
2020/10/27 05:21:07 [debug] 1123\#0: *390 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:21:07 [debug] 1123\#0: *390 http lua fake request count:1
2020/10/27 05:21:07 [debug] 1123\#0: *390 http lua close fake request
2020/10/27 05:21:07 [debug] 1123\#0: *390 cleanup lua udp socket upstream request: ""
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:08 [alert] 816\#0: worker process 1160 exited on signal 11" (req 0) 2020/10/27 05:21:08 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:08 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:08 [debug] 816\#0: reap children
2020/10/27 05:21:08 [debug] 816\#0: child: 0 1160 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:08 [debug] 816\#0: channel 3:4
2020/10/27 05:21:08 [notice] 816\#0: start worker process 1183
2020/10/27 05:21:08 [debug] 816\#0: sigsuspend
2020/10/27 05:21:08 [debug] 1183\#0: malloc: 0922C768:12
2020/10/27 05:21:08 [debug] 1183\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:08 [alert] 816\#0: worker process 1183 exited on signal 11" (req 1) 2020/10/27 05:21:08 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:08 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:08 [debug] 816\#0: reap children
2020/10/27 05:21:08 [debug] 816\#0: child: 0 1183 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:08 [debug] 816\#0: channel 3:4
2020/10/27 05:21:08 [notice] 816\#0: start worker process 1184
2020/10/27 05:21:08 [debug] 816\#0: sigsuspend
2020/10/27 05:21:08 [debug] 1184\#0: malloc: 0922C768:12
2020/10/27 05:21:08 [debug] 1184\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:08 [alert] 816\#0: worker process 1184 exited on signal 11" (req 2) 2020/10/27 05:21:08 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:08 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:08 [debug] 816\#0: reap children
2020/10/27 05:21:08 [debug] 816\#0: child: 0 1184 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:08 [debug] 816\#0: channel 3:4
2020/10/27 05:21:08 [notice] 816\#0: start worker process 1185
2020/10/27 05:21:08 [debug] 816\#0: sigsuspend
2020/10/27 05:21:08 [debug] 1185\#0: malloc: 0922C768:12
2020/10/27 05:21:08 [debug] 1185\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:10 [alert] 816\#0: worker process 1192 exited on signal 11" (req 0) 2020/10/27 05:21:10 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:10 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:10 [debug] 816\#0: reap children
2020/10/27 05:21:10 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:10 [debug] 816\#0: child: 1 1192 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:10 [debug] 816\#0: channel 3:4
2020/10/27 05:21:10 [notice] 816\#0: start worker process 1215
2020/10/27 05:21:10 [debug] 816\#0: sigsuspend
2020/10/27 05:21:10 [debug] 1215\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:10 [alert] 816\#0: worker process 1215 exited on signal 11" (req 1) 2020/10/27 05:21:10 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:10 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:10 [debug] 816\#0: reap children
2020/10/27 05:21:10 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:10 [debug] 816\#0: child: 1 1215 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:10 [debug] 816\#0: channel 3:4
2020/10/27 05:21:10 [notice] 816\#0: start worker process 1216
2020/10/27 05:21:10 [debug] 816\#0: sigsuspend
2020/10/27 05:21:10 [debug] 1216\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:10 [alert] 816\#0: worker process 1216 exited on signal 11" (req 2) 2020/10/27 05:21:10 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:10 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:10 [debug] 816\#0: reap children
2020/10/27 05:21:10 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:10 [debug] 816\#0: child: 1 1216 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:10 [debug] 816\#0: channel 3:4
2020/10/27 05:21:10 [notice] 816\#0: start worker process 1217
2020/10/27 05:21:10 [debug] 816\#0: sigsuspend
2020/10/27 05:21:10 [debug] 1217\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:14 [alert] 816\#0: worker process 1252 exited on signal 11" (req 0) 2020/10/27 05:21:14 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:14 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:14 [debug] 816\#0: reap children
2020/10/27 05:21:14 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:14 [debug] 816\#0: child: 1 1252 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:14 [debug] 816\#0: channel 3:4
2020/10/27 05:21:14 [notice] 816\#0: start worker process 1274
2020/10/27 05:21:14 [debug] 816\#0: sigsuspend
2020/10/27 05:21:14 [debug] 1274\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:14 [alert] 816\#0: worker process 1274 exited on signal 11" (req 1) 2020/10/27 05:21:14 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:14 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:14 [debug] 816\#0: reap children
2020/10/27 05:21:14 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:14 [debug] 816\#0: child: 1 1274 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:14 [debug] 816\#0: channel 3:4
2020/10/27 05:21:14 [notice] 816\#0: start worker process 1275
2020/10/27 05:21:14 [debug] 816\#0: sigsuspend
2020/10/27 05:21:14 [debug] 1275\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:14 [alert] 816\#0: worker process 1275 exited on signal 11" (req 2) 2020/10/27 05:21:14 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:14 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:14 [debug] 816\#0: reap children
2020/10/27 05:21:14 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:14 [debug] 816\#0: child: 1 1275 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:14 [debug] 816\#0: channel 3:4
2020/10/27 05:21:14 [notice] 816\#0: start worker process 1276
2020/10/27 05:21:14 [debug] 816\#0: sigsuspend
2020/10/27 05:21:14 [debug] 1276\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 3: timer - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:20 [alert] 816\#0: worker process 1313 exited on signal 11" (req 0) 2020/10/27 05:21:20 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:20 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:20 [debug] 816\#0: reap children
2020/10/27 05:21:20 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:20 [debug] 816\#0: child: 1 1313 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:20 [debug] 816\#0: channel 3:4
2020/10/27 05:21:20 [notice] 816\#0: start worker process 1338
2020/10/27 05:21:20 [debug] 816\#0: sigsuspend
2020/10/27 05:21:20 [debug] 1338\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 3: timer - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:20 [alert] 816\#0: worker process 1338 exited on signal 11" (req 1) 2020/10/27 05:21:20 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:20 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:20 [debug] 816\#0: reap children
2020/10/27 05:21:20 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:20 [debug] 816\#0: child: 1 1338 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:20 [debug] 816\#0: channel 3:4
2020/10/27 05:21:20 [notice] 816\#0: start worker process 1339
2020/10/27 05:21:20 [debug] 816\#0: sigsuspend
2020/10/27 05:21:20 [debug] 1339\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 3: timer - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:20 [alert] 816\#0: worker process 1339 exited on signal 11" (req 2) 2020/10/27 05:21:20 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:20 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:20 [debug] 816\#0: reap children
2020/10/27 05:21:20 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:20 [debug] 816\#0: child: 1 1339 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:20 [debug] 816\#0: channel 3:4
2020/10/27 05:21:20 [notice] 816\#0: start worker process 1340
2020/10/27 05:21:20 [debug] 816\#0: sigsuspend
2020/10/27 05:21:20 [debug] 1340\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:27 [alert] 816\#0: worker process 1438 exited on signal 11" (req 0) 2020/10/27 05:21:27 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:27 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:27 [debug] 816\#0: reap children
2020/10/27 05:21:27 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:27 [debug] 816\#0: child: 1 1438 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:27 [debug] 816\#0: channel 3:4
2020/10/27 05:21:27 [notice] 816\#0: start worker process 1461
2020/10/27 05:21:27 [debug] 816\#0: sigsuspend
2020/10/27 05:21:27 [debug] 1461\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:28 [alert] 816\#0: worker process 1461 exited on signal 11" (req 1) 2020/10/27 05:21:28 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:28 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:28 [debug] 816\#0: reap children
2020/10/27 05:21:28 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:28 [debug] 816\#0: child: 1 1461 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:28 [debug] 816\#0: channel 3:4
2020/10/27 05:21:28 [notice] 816\#0: start worker process 1462
2020/10/27 05:21:28 [debug] 816\#0: sigsuspend
2020/10/27 05:21:28 [debug] 1462\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:28 [alert] 816\#0: worker process 1462 exited on signal 11" (req 2) 2020/10/27 05:21:28 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:28 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:28 [debug] 816\#0: reap children
2020/10/27 05:21:28 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:28 [debug] 816\#0: child: 1 1462 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:28 [debug] 816\#0: channel 3:4
2020/10/27 05:21:28 [notice] 816\#0: start worker process 1463
2020/10/27 05:21:28 [debug] 816\#0: sigsuspend
2020/10/27 05:21:28 [debug] 1463\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 1: simple logging - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:29 [alert] 816\#0: worker process 1470 exited on signal 11" (req 0) 2020/10/27 05:21:29 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:29 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:29 [debug] 816\#0: reap children
2020/10/27 05:21:29 [debug] 816\#0: child: 0 1470 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:29 [debug] 816\#0: channel 3:4
2020/10/27 05:21:29 [notice] 816\#0: start worker process 1499
2020/10/27 05:21:29 [debug] 816\#0: sigsuspend
2020/10/27 05:21:29 [debug] 1499\#0: malloc: 0922C768:12
2020/10/27 05:21:29 [debug] 1499\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 1: simple logging - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:29 [alert] 816\#0: worker process 1499 exited on signal 11" (req 1) 2020/10/27 05:21:29 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:29 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:29 [debug] 816\#0: reap children
2020/10/27 05:21:29 [debug] 816\#0: child: 0 1499 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:29 [debug] 816\#0: channel 3:4
2020/10/27 05:21:29 [notice] 816\#0: start worker process 1500
2020/10/27 05:21:29 [debug] 816\#0: sigsuspend
2020/10/27 05:21:29 [debug] 1500\#0: malloc: 0922C768:12
2020/10/27 05:21:29 [debug] 1500\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 1: simple logging - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:30 [alert] 816\#0: worker process 1500 exited on signal 11" (req 2) 2020/10/27 05:21:30 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:30 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:30 [debug] 816\#0: reap children
2020/10/27 05:21:30 [debug] 816\#0: child: 0 1500 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:30 [debug] 816\#0: channel 3:4
2020/10/27 05:21:30 [notice] 816\#0: start worker process 1501
2020/10/27 05:21:30 [debug] 816\#0: sigsuspend
2020/10/27 05:21:30 [debug] 1501\#0: malloc: 0922C768:12
2020/10/27 05:21:30 [debug] 1501\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 19: check the count of running timers - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:31 [alert] 816\#0: worker process 1508 exited on signal 11" (req 0) 2020/10/27 05:21:31 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:31 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:31 [debug] 816\#0: reap children
2020/10/27 05:21:31 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:31 [debug] 816\#0: child: 1 1508 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:31 [debug] 816\#0: channel 3:4
2020/10/27 05:21:31 [notice] 816\#0: start worker process 1530
2020/10/27 05:21:31 [debug] 816\#0: sigsuspend
2020/10/27 05:21:31 [debug] 1530\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 19: check the count of running timers - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:31 [alert] 816\#0: worker process 1530 exited on signal 11" (req 1) 2020/10/27 05:21:31 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:31 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:31 [debug] 816\#0: reap children
2020/10/27 05:21:31 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:31 [debug] 816\#0: child: 1 1530 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:31 [debug] 816\#0: channel 3:4
2020/10/27 05:21:31 [notice] 816\#0: start worker process 1531
2020/10/27 05:21:31 [debug] 816\#0: sigsuspend
2020/10/27 05:21:31 [debug] 1531\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 19: check the count of running timers - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:32 [alert] 816\#0: worker process 1531 exited on signal 11" (req 2) 2020/10/27 05:21:32 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:32 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:32 [debug] 816\#0: reap children
2020/10/27 05:21:32 [debug] 816\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:32 [debug] 816\#0: child: 1 1531 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:32 [debug] 816\#0: channel 3:4
2020/10/27 05:21:32 [notice] 816\#0: start worker process 1532
2020/10/27 05:21:32 [debug] 816\#0: sigsuspend
2020/10/27 05:21:32 [debug] 1532\#0: malloc: 09227F18:12
'
139-ssl-cert-by.t TEST 2: sleep - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 2: sleep - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:33 [alert] 816\#0: worker process 1539 exited on signal 11" (req 0) 2020/10/27 05:21:33 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:33 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:33 [debug] 816\#0: reap children
2020/10/27 05:21:33 [debug] 816\#0: child: 0 1539 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:33 [debug] 816\#0: channel 3:4
2020/10/27 05:21:33 [notice] 816\#0: start worker process 1561
2020/10/27 05:21:33 [debug] 816\#0: sigsuspend
2020/10/27 05:21:33 [debug] 1561\#0: malloc: 0922C768:12
2020/10/27 05:21:33 [debug] 1561\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 2: sleep - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:34 [alert] 816\#0: worker process 1561 exited on signal 11" (req 1) 2020/10/27 05:21:34 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:34 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:34 [debug] 816\#0: reap children
2020/10/27 05:21:34 [debug] 816\#0: child: 0 1561 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:34 [debug] 816\#0: channel 3:4
2020/10/27 05:21:34 [notice] 816\#0: start worker process 1562
2020/10/27 05:21:34 [debug] 816\#0: sigsuspend
2020/10/27 05:21:34 [debug] 1562\#0: malloc: 0922C768:12
2020/10/27 05:21:34 [debug] 1562\#0: malloc: 0922E810:8
'
139-ssl-cert-by.t TEST 2: sleep - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:34 [alert] 816\#0: worker process 1562 exited on signal 11" (req 2) 2020/10/27 05:21:34 [debug] 816\#0: shmtx forced unlock
2020/10/27 05:21:34 [debug] 816\#0: wake up, sigio 0
2020/10/27 05:21:34 [debug] 816\#0: reap children
2020/10/27 05:21:34 [debug] 816\#0: child: 0 1562 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:34 [debug] 816\#0: channel 3:4
2020/10/27 05:21:34 [notice] 816\#0: start worker process 1563
2020/10/27 05:21:34 [debug] 816\#0: sigsuspend
2020/10/27 05:21:34 [debug] 1563\#0: malloc: 0922C768:12
2020/10/27 05:21:34 [debug] 1563\#0: malloc: 0922E810:8
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:36 [alert] 1600\#0: worker process 1601 exited on signal 11" (req 0) 2020/10/27 05:21:36 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:36 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:36 [debug] 1600\#0: reap children
2020/10/27 05:21:36 [debug] 1600\#0: child: 0 1601 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:36 [debug] 1600\#0: channel 3:9
2020/10/27 05:21:36 [notice] 1600\#0: start worker process 1602
2020/10/27 05:21:36 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:36 [debug] 1602\#0: malloc: 0914EA78:12
2020/10/27 05:21:36 [debug] 1602\#0: malloc: 09150B20:8
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:37 [alert] 1600\#0: worker process 1602 exited on signal 11" (req 1) 2020/10/27 05:21:37 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:37 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:37 [debug] 1600\#0: reap children
2020/10/27 05:21:37 [debug] 1600\#0: child: 0 1602 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:37 [debug] 1600\#0: channel 3:9
2020/10/27 05:21:37 [notice] 1600\#0: start worker process 1603
2020/10/27 05:21:37 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:37 [debug] 1603\#0: malloc: 0914EA78:12
2020/10/27 05:21:37 [debug] 1603\#0: malloc: 09150B20:8
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:37 [alert] 1600\#0: worker process 1603 exited on signal 11" (req 2) 2020/10/27 05:21:37 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:37 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:37 [debug] 1600\#0: reap children
2020/10/27 05:21:37 [debug] 1600\#0: child: 0 1603 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:37 [debug] 1600\#0: channel 3:9
2020/10/27 05:21:37 [notice] 1600\#0: start worker process 1604
2020/10/27 05:21:37 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:37 [debug] 1604\#0: malloc: 0914EA78:12
2020/10/27 05:21:37 [debug] 1604\#0: malloc: 09150B20:8
'
140-ssl-c-api.t TEST 1: simple cert + private key - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:38 [alert] 1600\#0: worker process 1612 exited on signal 11" (req 0) 2020/10/27 05:21:38 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:38 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:38 [debug] 1600\#0: reap children
2020/10/27 05:21:38 [debug] 1600\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:38 [debug] 1600\#0: child: 1 1612 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:38 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:38 [notice] 1600\#0: start worker process 1634
2020/10/27 05:21:38 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:38 [debug] 1634\#0: malloc: 09149F18:12
'
140-ssl-c-api.t TEST 1: simple cert + private key - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:38 [alert] 1600\#0: worker process 1634 exited on signal 11" (req 1) 2020/10/27 05:21:38 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:38 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:38 [debug] 1600\#0: reap children
2020/10/27 05:21:38 [debug] 1600\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:38 [debug] 1600\#0: child: 1 1634 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:38 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:38 [notice] 1600\#0: start worker process 1635
2020/10/27 05:21:38 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:38 [debug] 1635\#0: malloc: 09149F18:12
'
140-ssl-c-api.t TEST 1: simple cert + private key - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:39 [alert] 1600\#0: worker process 1635 exited on signal 11" (req 2) 2020/10/27 05:21:39 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:39 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:39 [debug] 1600\#0: reap children
2020/10/27 05:21:39 [debug] 1600\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:39 [debug] 1600\#0: child: 1 1635 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:39 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:39 [notice] 1600\#0: start worker process 1636
2020/10/27 05:21:39 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:39 [debug] 1636\#0: malloc: 09149F18:12
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:40 [alert] 1600\#0: worker process 1644 exited on signal 11" (req 0) 2020/10/27 05:21:40 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:40 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:40 [debug] 1600\#0: reap children
2020/10/27 05:21:40 [debug] 1600\#0: child: 0 1644 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:40 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:40 [notice] 1600\#0: start worker process 1666
2020/10/27 05:21:40 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:40 [debug] 1666\#0: malloc: 0914EA78:12
2020/10/27 05:21:40 [debug] 1666\#0: malloc: 09150B20:8
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:40 [alert] 1600\#0: worker process 1666 exited on signal 11" (req 1) 2020/10/27 05:21:40 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:40 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:40 [debug] 1600\#0: reap children
2020/10/27 05:21:40 [debug] 1600\#0: child: 0 1666 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:40 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:40 [notice] 1600\#0: start worker process 1667
2020/10/27 05:21:40 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:40 [debug] 1667\#0: malloc: 0914EA78:12
2020/10/27 05:21:40 [debug] 1667\#0: malloc: 09150B20:8
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:40 [alert] 1600\#0: worker process 1667 exited on signal 11" (req 2) 2020/10/27 05:21:40 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:40 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:40 [debug] 1600\#0: reap children
2020/10/27 05:21:40 [debug] 1600\#0: child: 0 1667 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:40 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:40 [notice] 1600\#0: start worker process 1668
2020/10/27 05:21:40 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:40 [debug] 1668\#0: malloc: 0914EA78:12
2020/10/27 05:21:40 [debug] 1668\#0: malloc: 09150B20:8
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:46 [alert] 1600\#0: worker process 1734 exited on signal 11" (req 0) 2020/10/27 05:21:46 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:46 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:46 [debug] 1600\#0: reap children
2020/10/27 05:21:46 [debug] 1600\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:46 [debug] 1600\#0: child: 1 1734 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:46 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:46 [notice] 1600\#0: start worker process 1756
2020/10/27 05:21:46 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:46 [debug] 1756\#0: malloc: 09149F18:12
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:46 [alert] 1600\#0: worker process 1756 exited on signal 11" (req 1) 2020/10/27 05:21:46 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:46 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:46 [debug] 1600\#0: reap children
2020/10/27 05:21:46 [debug] 1600\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:46 [debug] 1600\#0: child: 1 1756 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:46 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:46 [notice] 1600\#0: start worker process 1757
2020/10/27 05:21:46 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:46 [debug] 1757\#0: malloc: 09149F18:12
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:46 [alert] 1600\#0: worker process 1757 exited on signal 11" (req 2) 2020/10/27 05:21:46 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:46 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:46 [debug] 1600\#0: reap children
2020/10/27 05:21:46 [debug] 1600\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:46 [debug] 1600\#0: child: 1 1757 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:46 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:46 [notice] 1600\#0: start worker process 1758
2020/10/27 05:21:46 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:46 [debug] 1758\#0: malloc: 09149F18:12
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:49 [alert] 1600\#0: worker process 1795 exited on signal 11" (req 0) 2020/10/27 05:21:49 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:49 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:49 [debug] 1600\#0: reap children
2020/10/27 05:21:49 [debug] 1600\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:49 [debug] 1600\#0: child: 1 1795 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:49 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:49 [notice] 1600\#0: start worker process 1817
2020/10/27 05:21:49 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:49 [debug] 1817\#0: malloc: 09149F18:12
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:49 [alert] 1600\#0: worker process 1817 exited on signal 11" (req 1) 2020/10/27 05:21:49 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:49 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:49 [debug] 1600\#0: reap children
2020/10/27 05:21:49 [debug] 1600\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:49 [debug] 1600\#0: child: 1 1817 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:49 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:49 [notice] 1600\#0: start worker process 1818
2020/10/27 05:21:49 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:49 [debug] 1818\#0: malloc: 09149F18:12
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +0,0 @@
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:21:50 [alert] 1600\#0: worker process 1818 exited on signal 11" (req 2) 2020/10/27 05:21:50 [debug] 1600\#0: shmtx forced unlock
2020/10/27 05:21:50 [debug] 1600\#0: wake up, sigio 0
2020/10/27 05:21:50 [debug] 1600\#0: reap children
2020/10/27 05:21:50 [debug] 1600\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:21:50 [debug] 1600\#0: child: 1 1818 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:21:50 [debug] 1600\#0: channel 3:4
2020/10/27 05:21:50 [notice] 1600\#0: start worker process 1819
2020/10/27 05:21:50 [debug] 1600\#0: sigsuspend
2020/10/27 05:21:50 [debug] 1819\#0: malloc: 09149F18:12
'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - status code ok got: ''
expected: '200'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected () ''
doesn't match '(?^s:\A[123]done\n\z)'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - status code ok got: ''
expected: '200'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected () ''
doesn't match '(?^s:\A[123]done\n\z)'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - status code ok got: ''
expected: '200'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected () ''
doesn't match '(?^s:\A[123]done\n\z)'
143-ssl-session-fetch.t ERROR: client socket timed out - TEST 4: cosocket '
143-ssl-session-fetch.t TEST 4: cosocket - status code ok got: ''
expected: '200'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-connected: 1
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t ERROR: client socket timed out - TEST 4: cosocket '
143-ssl-session-fetch.t TEST 4: cosocket - status code ok got: ''
expected: '200'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +0,0 @@
-connected: 1
-ssl handshake: userdata
-close: 1 nil
'
147-tcp-socket-timeouts.t TEST 3: send ok - status code ok got: ''
expected: '200'
147-tcp-socket-timeouts.t TEST 3: send ok - response_body_like - response is expected () ''
doesn't match '(?^s:received: got len: 80
)'
147-tcp-socket-timeouts.t TEST 3: send ok - status code ok got: ''
expected: '200'
147-tcp-socket-timeouts.t TEST 3: send ok - response_body_like - response is expected () ''
doesn't match '(?^s:received: got len: 80
)'
147-tcp-socket-timeouts.t TEST 1: sanity - status code ok got: ''
expected: '200'
147-tcp-socket-timeouts.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:received: foo
)'
147-tcp-socket-timeouts.t TEST 1: sanity - status code ok got: ''
expected: '200'
147-tcp-socket-timeouts.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:received: foo
)'
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - status code ok got: ''
expected: '200'
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 +0,0 @@
-received: ok
-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) - status code ok got: ''
expected: '200'
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 +0,0 @@
-received: ok
-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 4: send timeout - status code ok got: ''
expected: '200'
147-tcp-socket-timeouts.t TEST 4: send timeout - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'failed to send body: timeout
'
147-tcp-socket-timeouts.t TEST 4: send timeout - pattern "lua tcp socket write timed out" should match a line in error.log (req 0)
147-tcp-socket-timeouts.t TEST 4: send timeout - status code ok got: ''
expected: '200'
147-tcp-socket-timeouts.t TEST 4: send timeout - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'failed to send body: timeout
'
147-tcp-socket-timeouts.t TEST 4: send timeout - pattern "lua tcp socket write timed out" should match a line in error.log (req 1)
147-tcp-socket-timeouts.t TEST 7: different timeout with duplex socket (settimeouts) - status code ok got: ''
expected: '200'
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 +0,0 @@
-received: ok
-failed to receive a line: closed []
'
147-tcp-socket-timeouts.t TEST 7: different timeout with duplex socket (settimeouts) - status code ok got: ''
expected: '200'
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 +0,0 @@
-received: ok
-failed to receive a line: closed []
'
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 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
'
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
'
156-slow-network.t TEST 1: receiveany returns anything once socket receives - status code ok got: ''
expected: '200'
156-slow-network.t TEST 1: receiveany returns anything once socket receives - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-1
-h
-e
-l
-l
-o
'
156-slow-network.t TEST 1: receiveany returns anything once socket receives - grep_error_log_out (req 0) @@ -1,7 +0,0 @@
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
'
156-slow-network.t TEST 1: receiveany returns anything once socket receives - status code ok got: ''
expected: '200'
156-slow-network.t TEST 1: receiveany returns anything once socket receives - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-1
-h
-e
-l
-l
-o
'
156-slow-network.t TEST 1: receiveany returns anything once socket receives - grep_error_log_out (req 1) @@ -1,7 +0,0 @@
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
'
158-global-var.t TEST 8: ssl_certificate_by_lua - status code ok got: ''
expected: '200'
158-global-var.t TEST 8: ssl_certificate_by_lua - response_body_like - response is expected () ''
doesn't match '(?^s:\A[12]done\n\z)'
158-global-var.t TEST 8: ssl_certificate_by_lua - status code ok got: ''
expected: '200'
158-global-var.t TEST 8: ssl_certificate_by_lua - response_body_like - response is expected () ''
doesn't match '(?^s:\A[12]done\n\z)'
158-global-var.t TEST 8: ssl_certificate_by_lua - grep_error_log_out (req 1) got: '[warn] 4466#0: *8 [lua] _G write guard:12: __newindex(): writing a global Lua variable ('foo')
ssl_certificate_by_lua:3: in main chunk
'
expected: 'old foo: 1
'

Expected Failures

File Name Details
043-shdict.t TEST 57: list all keys in a shdict with more than 1024 keys with 0 limit set - response_body - response is expected (repeated req 0, req 0) got: '2051
'
expected: '2048
'
043-shdict.t TEST 12: get non-existent keys - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-nil
+false325
-nil
+false325
'
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
043-shdict.t TEST 21: fail to allocate memory - response_body_like - response is expected (false no memory true abort at 16) 'false no memory true
abort at 16
'
doesn't match '(?^s:^true nil true\nabort at (?:141|140)$
)'
043-shdict.t TEST 32: replace key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-replace: false not found false
+replace: true nil false
-foo = nil
+foo = 10502
'
043-shdict.t TEST 54: list keys in an empty shdict with a limit - response_body - response is expected (repeated req 0, req 0) got: '4
'
expected: '0
'
043-shdict.t TEST 53: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) got: '3
'
expected: '0
'
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 0)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 1)
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 - 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 3: upstream sockets close prematurely - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 3: upstream sockets close prematurely - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "(?^:lua tcp socket connection pool size: 1\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - pattern "lua tcp socket keepalive timeout: unlimited" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive timeout: 123 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive timeout: 101 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "(?^:lua tcp socket connection pool size: 25\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 11: sock:keepalive_timeout(0) means unlimited - pattern "lua tcp socket keepalive timeout: unlimited" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 11: sock:keepalive_timeout(0) means unlimited - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 12: sanity (uds) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 12: sanity (uds) - pattern "lua tcp socket keepalive create connection pool for key "unix:" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 13: github issue \#108: ngx.locaiton.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 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/10/27 04:55:09 [debug] 11769\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/10/27 04:55:09 [debug] 11769\#0: lua tcp socket keepalive close handler: fd:10
2020/10/27 04:55:09 [debug] 11769\#0: event timer del: 10: 5002377
2020/10/27 04:55:09 [debug] 11769\#0: reusable connection: 0
2020/10/27 04:55:09 [debug] 11769\#0: lua tcp socket keepalive: free connection pool for "B"
2020/10/27 04:55:09 [notice] 11769\#0: exiting
2020/10/27 04:55:09 [debug] 11769\#0: flush files
2020/10/27 04:55:09 [debug] 11769\#0: run cleanup: 099A8F98
2020/10/27 04:55:09 [debug] 11769\#0: run cleanup: 099FAA60
2020/10/27 04:55:09 [debug] 11769\#0: lua decrementing the reference count for Lua VM: 1
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/10/27 04:55:09 [debug] 11769\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/10/27 04:55:09 [notice] 11769\#0: exiting
2020/10/27 04:55:09 [debug] 11769\#0: flush files
2020/10/27 04:55:09 [debug] 11769\#0: run cleanup: 099A8F98
2020/10/27 04:55:09 [debug] 11769\#0: run cleanup: 099FAA60
2020/10/27 04:55:09 [debug] 11769\#0: lua decrementing the reference count for Lua VM: 1
2020/10/27 04:55:09 [debug] 11769\#0: lua close the global Lua VM B6DDB1C8
2020/10/27 04:55:09 [debug] 11769\#0: run cleanup: 099FAA40
2020/10/27 04:55:09 [debug] 11769\#0: run cleanup: 099FAA20
2020/10/27 04:55:09 [debug] 11769\#0: run cleanup: 099CD4F0
'
068-socket-keepalive.t TEST 17: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/10/27 04:55:11 [debug] 11798\#0: lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2020/10/27 04:55:11 [notice] 11798\#0: exiting
2020/10/27 04:55:11 [debug] 11798\#0: flush files
2020/10/27 04:55:11 [debug] 11798\#0: run cleanup: 099A4F18
2020/10/27 04:55:11 [debug] 11798\#0: run cleanup: 099D91A0
2020/10/27 04:55:11 [debug] 11798\#0: lua decrementing the reference count for Lua VM: 1
2020/10/27 04:55:11 [debug] 11798\#0: lua close the global Lua VM B6D7A1C8
2020/10/27 04:55:11 [debug] 11798\#0: run cleanup: 099D9180
2020/10/27 04:55:11 [debug] 11798\#0: run cleanup: 099D9160
2020/10/27 04:55:11 [debug] 11798\#0: run cleanup: 099ED210
'
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/10/27 04:55:13 [debug] 11827\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/10/27 04:55:13 [debug] 11827\#0: lua tcp socket keepalive close handler: fd:10
2020/10/27 04:55:13 [debug] 11827\#0: event timer del: 10: 5005781
2020/10/27 04:55:13 [debug] 11827\#0: reusable connection: 0
2020/10/27 04:55:13 [debug] 11827\#0: lua tcp socket keepalive: free connection pool for "B"
2020/10/27 04:55:13 [debug] 11827\#0: worker cycle
2020/10/27 04:55:13 [debug] 11827\#0: epoll timer: 59456
2020/10/27 04:55:13 [debug] 11827\#0: epoll: fd:8 ev:2011 d:099EF2C1
2020/10/27 04:55:13 [debug] 11827\#0: epoll_wait() error on fd:8 ev:2011
2020/10/27 04:55:13 [debug] 11827\#0: *397 http wait request handler
'
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/10/27 04:55:13 [debug] 11827\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/10/27 04:55:13 [debug] 11827\#0: worker cycle
2020/10/27 04:55:13 [debug] 11827\#0: epoll timer: 59456
2020/10/27 04:55:13 [debug] 11827\#0: epoll: fd:8 ev:2011 d:099EF2C1
2020/10/27 04:55:13 [debug] 11827\#0: epoll_wait() error on fd:8 ev:2011
2020/10/27 04:55:13 [debug] 11827\#0: *397 http wait request handler
2020/10/27 04:55:13 [debug] 11827\#0: *397 malloc: 099D2870:52
2020/10/27 04:55:13 [debug] 11827\#0: *397 malloc: 099BDD28:8
2020/10/27 04:55:13 [debug] 11827\#0: *397 malloc: 099CCDF0:1024
2020/10/27 04:55:13 [debug] 11827\#0: *397 malloc: 099B4980:8
'
068-socket-keepalive.t TEST 19: numeric pool option value - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/10/27 04:55:15 [debug] 11856\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/10/27 04:55:15 [debug] 11856\#0: worker cycle
2020/10/27 04:55:15 [debug] 11856\#0: epoll timer: 59492
2020/10/27 04:55:15 [debug] 11856\#0: epoll: fd:8 ev:2011 d:099F4439
2020/10/27 04:55:15 [debug] 11856\#0: epoll_wait() error on fd:8 ev:2011
2020/10/27 04:55:15 [debug] 11856\#0: *423 http wait request handler
2020/10/27 04:55:15 [debug] 11856\#0: *423 malloc: 099E9400:52
2020/10/27 04:55:15 [debug] 11856\#0: *423 malloc: 099C2BF0:8
2020/10/27 04:55:15 [debug] 11856\#0: *423 malloc: 099CE1D8:1024
2020/10/27 04:55:15 [debug] 11856\#0: *423 malloc: 099B6D30:8
'
068-socket-keepalive.t TEST 23: clear the redis store - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:55:22 [error] 12001\#0: *542 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"redis2://127.0.0.1:6379\", host: \"localhost\"" (req 0) 2020/10/27 04:55:22 [debug] 12001\#0: *542 http next upstream, 2
2020/10/27 04:55:22 [debug] 12001\#0: *542 free rr peer 1 4
2020/10/27 04:55:22 [debug] 12001\#0: *542 finalize http upstream request: 502
2020/10/27 04:55:22 [debug] 12001\#0: *542 finalize http redis2 request
2020/10/27 04:55:22 [debug] 12001\#0: *542 close http upstream connection: 9
2020/10/27 04:55:22 [debug] 12001\#0: *542 event timer del: 9: 5015789
2020/10/27 04:55:22 [debug] 12001\#0: *542 reusable connection: 0
2020/10/27 04:55:22 [debug] 12001\#0: *542 http finalize request: 502, "/t?" a:1, c:1
2020/10/27 04:55:22 [debug] 12001\#0: *542 http special response: 502, "/t?"
'
068-socket-keepalive.t TEST 24: bug in send(): clear the chain writer ctx - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:55:24 [error] 12029\#0: *566 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:55:24 [debug] 12029\#0: *566 lua tcp socket handle connect error
2020/10/27 04:55:24 [debug] 12029\#0: *566 lua finalize socket
2020/10/27 04:55:24 [debug] 12029\#0: *566 lua http cleanup free: 099DFE80
2020/10/27 04:55:24 [debug] 12029\#0: *566 lua close socket connection
2020/10/27 04:55:24 [debug] 12029\#0: *566 reusable connection: 0
2020/10/27 04:55:24 [debug] 12029\#0: *566 lua tcp socket waking up the current request
2020/10/27 04:55:24 [debug] 12029\#0: *566 lua tcp operation done, resuming lua thread
2020/10/27 04:55:24 [debug] 12029\#0: *566 lua tcp socket calling prepare retvals handler 0814EA62, u:B6D40D48
2020/10/27 04:55:24 [debug] 12029\#0: *566 lua tcp socket error retval handler
'
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:55:34 [error] 11384\#0: *1 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:55:34 [debug] 11384\#0: *1 lua tcp socket handle read error
2020/10/27 04:55:34 [debug] 11384\#0: *1 lua tcp socket waking up the current request
2020/10/27 04:55:34 [debug] 11384\#0: *1 lua tcp operation done, resuming lua thread
2020/10/27 04:55:34 [debug] 11384\#0: *1 lua tcp socket calling prepare retvals handler 081507EA, u:B6DD1980
2020/10/27 04:55:34 [debug] 11384\#0: *1 lua tcp socket receive return value handler
2020/10/27 04:55:34 [debug] 11384\#0: *1 lua run thread, top:9 c:1
2020/10/27 04:55:34 [debug] 11384\#0: *1 malloc: 099C1AD0:8
2020/10/27 04:55:34 [debug] 11384\#0: *1 malloc: 099C09E0:8
2020/10/27 04:55:34 [debug] 11384\#0: *1 lua allocate new chainlink and new buf of size 37, cl:099C1AD0
'
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/10/27 04:55:34 [debug] 12143\#0: lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) 2020/10/27 04:55:34 [debug] 12143\#0: worker cycle
2020/10/27 04:55:34 [debug] 12143\#0: epoll timer: 59484
2020/10/27 04:55:34 [debug] 12143\#0: epoll: fd:8 ev:2011 d:099D6250
2020/10/27 04:55:34 [debug] 12143\#0: epoll_wait() error on fd:8 ev:2011
2020/10/27 04:55:34 [debug] 12143\#0: *670 http wait request handler
2020/10/27 04:55:34 [debug] 12143\#0: *670 malloc: 099C3A58:52
2020/10/27 04:55:34 [debug] 12143\#0: *670 malloc: 099A7260:8
2020/10/27 04:55:34 [debug] 12143\#0: *670 malloc: 099CE1D8:1024
2020/10/27 04:55:34 [debug] 12143\#0: *670 malloc: 099CEB78:8
'
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:55:38 [error] 11392\#0: *25 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:55:38 [debug] 11392\#0: *25 lua tcp socket handle read error
2020/10/27 04:55:38 [debug] 11392\#0: *25 lua tcp socket waking up the current request
2020/10/27 04:55:38 [debug] 11392\#0: *25 lua tcp operation done, resuming lua thread
2020/10/27 04:55:38 [debug] 11392\#0: *25 lua tcp socket calling prepare retvals handler 081507EA, u:B6D6F470
2020/10/27 04:55:38 [debug] 11392\#0: *25 lua tcp socket receive return value handler
2020/10/27 04:55:38 [debug] 11392\#0: *25 lua run thread, top:9 c:1
2020/10/27 04:55:38 [debug] 11392\#0: *25 malloc: 099E72A8:8
2020/10/27 04:55:38 [debug] 11392\#0: *25 malloc: 099E72E8:8
2020/10/27 04:55:38 [debug] 11392\#0: *25 lua allocate new chainlink and new buf of size 37, cl:099E72A8
'
068-socket-keepalive.t TEST 38: conn queuing: in access_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:56:00 [error] 11711\#0: *298 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:56:00 [debug] 11711\#0: *298 lua tcp socket handle read error
2020/10/27 04:56:00 [debug] 11711\#0: *298 lua tcp socket waking up the current request
2020/10/27 04:56:00 [debug] 11711\#0: *298 lua tcp operation done, resuming lua thread
2020/10/27 04:56:00 [debug] 11711\#0: *298 lua tcp socket calling prepare retvals handler 081507EA, u:B6DA1880
2020/10/27 04:56:00 [debug] 11711\#0: *298 lua tcp socket receive return value handler
2020/10/27 04:56:00 [debug] 11711\#0: *298 lua run thread, top:9 c:1
2020/10/27 04:56:00 [debug] 11711\#0: *298 lua tcp socket set keepalive while process exiting, closing connection 099E1920
2020/10/27 04:56:00 [debug] 11711\#0: *298 lua finalize socket
2020/10/27 04:56:00 [debug] 11711\#0: *298 lua http cleanup free: 099ED760
'
068-socket-keepalive.t TEST 38: conn queuing: in access_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:56:00 [error] 12423\#0: *923 open() \"/home/ec2-user/git/lua-nginx-module/t/servroot/html/dummy\" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: \"GET /dummy HTTP/1.0\", host: \"127.0.0.1:1984\"" (req 0) 2020/10/27 04:56:00 [debug] 12423\#0: *923 http finalize request: 404, "/dummy?" a:1, c:1
2020/10/27 04:56:00 [debug] 12423\#0: *923 http special response: 404, "/dummy?"
2020/10/27 04:56:00 [debug] 12423\#0: *923 http set discard body
2020/10/27 04:56:00 [debug] 12423\#0: *923 lua capture header filter, uri "/dummy"
2020/10/27 04:56:00 [debug] 12423\#0: *923 malloc: 099B77E0:52
2020/10/27 04:56:00 [debug] 12423\#0: *923 malloc: 099AA2F8:8
2020/10/27 04:56:00 [debug] 12423\#0: *923 malloc: 099FA768:177
2020/10/27 04:56:00 [debug] 12423\#0: *923 malloc: 099BBD18:8
2020/10/27 04:56:00 [debug] 12423\#0: *923 HTTP/1.1 404 Not Found
'
068-socket-keepalive.t TEST 40: conn queuing: in subrequest - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:56:04 [error] 11740\#0: *321 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:56:04 [debug] 11740\#0: *321 lua tcp socket handle read error
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua tcp socket waking up the current request
2020/10/27 04:56:04 [debug] 11740\#0: *321 access phase: 12
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua access handler, uri:"/t" c:1
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua tcp operation done, resuming lua thread
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua tcp socket calling prepare retvals handler 081507EA, u:B6D78DD0
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua tcp socket receive return value handler
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua run thread, top:9 c:1
2020/10/27 04:56:04 [error] 11740\#0: *321 [lua] test.lua:21: go(): failed to receive a line: timeout [], client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
068-socket-keepalive.t TEST 40: conn queuing: in subrequest - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:56:04 [error] 11740\#0: *321 [lua] test.lua:21: go(): failed to receive a line: timeout [], client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:56:04 [debug] 11740\#0: *321 lua exit with code 404
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua resume returned 1
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua thread yielded
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua thread aborting request with status 404
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua request cleanup: forcible=0
2020/10/27 04:56:04 [debug] 11740\#0: *321 http lua finalize threads
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua deleting light thread B6D95950 (ref 1)
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua caching unused lua thread B6D95950 (ref 1)
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua run thread returned 404
'
068-socket-keepalive.t TEST 40: conn queuing: in subrequest - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:56:04 [error] 11740\#0: *321 open() \"/home/ec2-user/git/lua-nginx-module/t/servroot/html/404.html\" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:56:04 [debug] 11740\#0: *321 http finalize request: 404, "/404.html?" a:1, c:2
2020/10/27 04:56:04 [debug] 11740\#0: *321 http special response: 404, "/404.html?"
2020/10/27 04:56:04 [debug] 11740\#0: *321 http set discard body
2020/10/27 04:56:04 [debug] 11740\#0: *321 lua capture header filter, uri "/404.html"
2020/10/27 04:56:04 [debug] 11740\#0: *321 malloc: 099F82B8:52
2020/10/27 04:56:04 [debug] 11740\#0: *321 malloc: 099BB438:8
2020/10/27 04:56:04 [debug] 11740\#0: *321 malloc: 099E5528:177
2020/10/27 04:56:04 [debug] 11740\#0: *321 malloc: 099E9400:8
2020/10/27 04:56:04 [debug] 11740\#0: *321 HTTP/1.1 404 Not Found
'
068-socket-keepalive.t TEST 53: custom pools in third parameters for unix domain socket - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 04:56:29 [error] 12115\#0: *640 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 04:56:29 [debug] 12115\#0: *640 lua tcp socket handle read error
2020/10/27 04:56:29 [debug] 12115\#0: *640 lua tcp socket waking up the current request
2020/10/27 04:56:29 [debug] 12115\#0: *640 lua tcp operation done, resuming lua thread
2020/10/27 04:56:29 [debug] 12115\#0: *640 lua tcp socket calling prepare retvals handler 081507EA, u:B6DA0C90
2020/10/27 04:56:29 [debug] 12115\#0: *640 lua tcp socket receive return value handler
2020/10/27 04:56:29 [debug] 12115\#0: *640 lua run thread, top:9 c:1
2020/10/27 04:56:29 [debug] 12115\#0: *640 malloc: 099BE978:8
2020/10/27 04:56:29 [debug] 12115\#0: *640 malloc: 099BE988:8
2020/10/27 04:56:29 [debug] 12115\#0: *640 lua allocate new chainlink and new buf of size 37, cl:099BE978
'
068-socket-keepalive.t TEST 53: custom pools in third parameters for unix domain socket - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/10/27 04:56:29 [debug] 12115\#0: *640 lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2020/10/27 04:56:29 [debug] 12115\#0: *640 lua tcp socket connection pool size: 1, backlog: -1
2020/10/27 04:56:29 [debug] 12115\#0: *640 lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"
2020/10/27 04:56:29 [debug] 12115\#0: *640 lua tcp socket pool get keepalive peer
2020/10/27 04:56:29 [debug] 12115\#0: *640 lua tcp socket keepalive: connection pool empty
2020/10/27 04:56:29 [debug] 12115\#0: *640 malloc: 099A4FC8:10
2020/10/27 04:56:29 [debug] 12115\#0: *640 malloc: 099A4FD8:8
2020/10/27 04:56:29 [debug] 12115\#0: *640 malloc: 099EB7F0:16
2020/10/27 04:56:29 [debug] 12115\#0: *640 malloc: 099A4FE8:8
2020/10/27 04:56:29 [debug] 12115\#0: *640 malloc: 099EB818:16
'
086-init-by.t nginx: [error] init_by_lua error: init_by_lua:2: failed to init
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
101-on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:07:54 [error] 22992\#0: *25 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 05:07:54 [debug] 22992\#0: *25 lua tcp socket handle connect error
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua finalize socket
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua http cleanup free: 0A1AA338
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua close socket connection
2020/10/27 05:07:54 [debug] 22992\#0: *25 reusable connection: 0
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua tcp socket waking up the current request
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua tcp operation done, resuming lua thread
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua tcp socket calling prepare retvals handler 0814EA62, u:B6D24CD0
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua tcp socket error retval handler
'
101-on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:07:54 [error] 22992\#0: *25 [lua] content_by_lua(nginx.conf:71):7: failed to connect to redis: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/27 05:07:54 [debug] 22992\#0: *25 lua exit with code 499
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua resume returned 1
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua thread yielded
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua thread aborting request with status 499
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua request cleanup: forcible=0
2020/10/27 05:07:54 [debug] 22992\#0: *25 http lua finalize threads
2020/10/27 05:07:54 [debug] 22992\#0: *25 lua deleting light thread B6D467B0 (ref 2)
2020/10/27 05:07:54 [debug] 22992\#0: *25 http lua unref thread B6D467B0: 2
2020/10/27 05:07:54 [debug] 22992\#0: lua clean up the timer for pending ngx.sleep
'
101-on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:07:54 [error] 22992\#0: *27 connect() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 05:07:54 [debug] 22992\#0: *27 lua tcp socket handle connect error
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua finalize socket
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua http cleanup free: 0A1AA338
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua close socket connection
2020/10/27 05:07:54 [debug] 22992\#0: *27 reusable connection: 0
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua tcp socket waking up the current request
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua tcp operation done, resuming lua thread
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua tcp socket calling prepare retvals handler 0814EA62, u:B6D2E668
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua tcp socket error retval handler
'
101-on-abort.t TEST 7: accessing cosocket in callback - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:07:54 [error] 22992\#0: *27 [lua] content_by_lua(nginx.conf:71):7: failed to connect to redis: connection refused, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/27 05:07:54 [debug] 22992\#0: *27 lua exit with code 499
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua resume returned 1
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua thread yielded
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua thread aborting request with status 499
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua request cleanup: forcible=0
2020/10/27 05:07:54 [debug] 22992\#0: *27 http lua finalize threads
2020/10/27 05:07:54 [debug] 22992\#0: *27 lua deleting light thread B6D34D18 (ref 2)
2020/10/27 05:07:54 [debug] 22992\#0: *27 http lua unref thread B6D34D18: 2
2020/10/27 05:07:54 [debug] 22992\#0: lua clean up the timer for pending ngx.sleep
'
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 1)
124-init-worker.t TEST 18: syslog error log - udp_query ok ''
doesn't match '(?^:Bad bad bad)'
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
126-shdict-frag.t TEST 1: merge 2 single-page free blocks (forcibly evicted, merge forward) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
-successfully set foo.
-successfully set bar.
+failed to set foo: no memory
+successfully set bar with force.
successfully set baz with force.
foo not found
bar not found
'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 1)
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1)
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 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 "2020/10/27 05:21:02 [error] 1116\#0: send() failed (111: Connection refused)" (req 0) 2020/10/27 05:21:02 [debug] 1116\#0: close listening unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock \#11
2020/10/27 05:21:02 [debug] 1116\#0: epoll del event: fd:8 op:2 ev:00000000
2020/10/27 05:21:02 [debug] 1116\#0: close listening 0.0.0.0:1984 \#8
2020/10/27 05:21:02 [notice] 1116\#0: exiting
2020/10/27 05:21:02 [debug] 1116\#0: flush files
2020/10/27 05:21:02 [debug] 1116\#0: run cleanup: 0922C768
2020/10/27 05:21:02 [debug] 1116\#0: run cleanup: 0928B638
2020/10/27 05:21:02 [debug] 1116\#0: lua decrementing the reference count for Lua VM: 1
2020/10/27 05:21:02 [debug] 1116\#0: lua close the global Lua VM B6D6B1C8
'
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) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'
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
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:22:14 [alert] 2131\#0: worker process 2172 exited on signal 11" (req 0) 2020/10/27 05:22:14 [debug] 2131\#0: shmtx forced unlock
2020/10/27 05:22:14 [debug] 2131\#0: wake up, sigio 0
2020/10/27 05:22:14 [debug] 2131\#0: reap children
2020/10/27 05:22:14 [debug] 2131\#0: child: 0 2172 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:22:14 [debug] 2131\#0: channel 3:4
2020/10/27 05:22:14 [notice] 2131\#0: start worker process 2194
2020/10/27 05:22:14 [debug] 2131\#0: sigsuspend
2020/10/27 05:22:14 [debug] 2194\#0: malloc: 094D4488:12
2020/10/27 05:22:14 [debug] 2194\#0: malloc: 094D6530:8
'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - grep_error_log_out (req 1) got: ''
expected: 'old foo: 1
'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:22:14 [alert] 2131\#0: worker process 2194 exited on signal 11" (req 1) 2020/10/27 05:22:14 [debug] 2131\#0: shmtx forced unlock
2020/10/27 05:22:14 [debug] 2131\#0: wake up, sigio 0
2020/10/27 05:22:14 [debug] 2131\#0: reap children
2020/10/27 05:22:14 [debug] 2131\#0: child: 0 2194 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:22:14 [debug] 2131\#0: channel 3:4
2020/10/27 05:22:14 [notice] 2131\#0: start worker process 2195
2020/10/27 05:22:14 [debug] 2131\#0: sigsuspend
2020/10/27 05:22:14 [debug] 2195\#0: malloc: 094D4488:12
2020/10/27 05:22:14 [debug] 2195\#0: malloc: 094D6530:8
'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - grep_error_log_out (req 2) @@ -1,2 +0,0 @@
-old bar: 1
-old foo: 2
'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:22:14 [alert] 2131\#0: worker process 2195 exited on signal 11" (req 2) 2020/10/27 05:22:14 [debug] 2131\#0: shmtx forced unlock
2020/10/27 05:22:14 [debug] 2131\#0: wake up, sigio 0
2020/10/27 05:22:14 [debug] 2131\#0: reap children
2020/10/27 05:22:14 [debug] 2131\#0: child: 0 2195 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:22:14 [debug] 2131\#0: channel 3:4
2020/10/27 05:22:14 [notice] 2131\#0: start worker process 2196
2020/10/27 05:22:14 [debug] 2131\#0: sigsuspend
2020/10/27 05:22:14 [debug] 2196\#0: malloc: 094D4488:12
2020/10/27 05:22:14 [debug] 2196\#0: malloc: 094D6530:8
'
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 - 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 "2020/10/27 05:22:28 [error] 2316\#0: *241 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) 2020/10/27 05:22:28 [debug] 2316\#0: *241 lua tcp socket handle read error
2020/10/27 05:22:28 [debug] 2316\#0: *241 lua tcp socket waking up the current request
2020/10/27 05:22:28 [debug] 2316\#0: *241 lua tcp operation done, resuming lua thread
2020/10/27 05:22:28 [debug] 2316\#0: *241 lua tcp socket calling prepare retvals handler 081507EA, u:B6D2D600
2020/10/27 05:22:28 [debug] 2316\#0: *241 lua tcp socket receive return value handler
2020/10/27 05:22:28 [debug] 2316\#0: *241 lua run thread, top:0 c:1
2020/10/27 05:22:28 [error] 2316\#0: *241 [lua] ssl_session_fetch_by_lua_block: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
2020/10/27 05:22:28 [debug] 2316\#0: *241 lua resume returned 0
2020/10/27 05:22:28 [debug] 2316\#0: *241 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 "2020/10/27 05:22:28 [error] 2316\#0: *241 [lua] ssl_session_fetch_by_lua_block: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) 2020/10/27 05:22:28 [debug] 2316\#0: *241 lua resume returned 0
2020/10/27 05:22:28 [debug] 2316\#0: *241 lua light thread ended normally
2020/10/27 05:22:28 [debug] 2316\#0: *241 lua deleting light thread B6D2E7A8 (ref 2)
2020/10/27 05:22:28 [debug] 2316\#0: *241 lua caching unused lua thread B6D2E7A8 (ref 2)
2020/10/27 05:22:28 [debug] 2316\#0: *241 lua run thread returned 0
2020/10/27 05:22:28 [debug] 2316\#0: *241 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:22:28 [debug] 2316\#0: *241 http lua fake request count:1
2020/10/27 05:22:28 [debug] 2316\#0: *241 http lua close fake request
2020/10/27 05:22:28 [debug] 2316\#0: *241 cleanup lua tcp socket request: ""
'
143-ssl-session-fetch.t TEST 1: simple logging - grep_error_log_out (req 0) 'reusable connection: 0
reusable connection: 0
ssl session fetch: connection reusable: 0
ssl_session_fetch_by_lua_block:20: failed to receive memc reply: timeout,
reusable connection: 0
ssl session fetch: connection reusable: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
'
doesn't match '(?^s:\A(?:reusable connection: [01]\n)+\z)'
143-ssl-session-fetch.t TEST 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:31 [error] 2316\#0: *246 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 0) 2020/10/27 05:22:31 [debug] 2316\#0: *246 lua tcp socket handle read error
2020/10/27 05:22:31 [debug] 2131\#0: malloc: 095087C8:16384
2020/10/27 05:22:31 [debug] 2316\#0: *246 lua tcp socket waking up the current request
2020/10/27 05:22:31 [debug] 2131\#0: malloc: 0951ADD0:8
2020/10/27 05:22:31 [debug] 2316\#0: *246 lua tcp operation done, resuming lua thread
2020/10/27 05:22:31 [debug] 2316\#0: *246 lua tcp socket calling prepare retvals handler 081507EA, u:B6D24FE0
2020/10/27 05:22:31 [debug] 2316\#0: *246 lua tcp socket receive return value handler
2020/10/27 05:22:31 [debug] 2316\#0: *246 lua run thread, top:0 c:1
2020/10/27 05:22:31 [error] 2316\#0: *246 [lua] ssl_session_fetch_by_lua_block: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
'
143-ssl-session-fetch.t TEST 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:31 [error] 2316\#0: *246 [lua] ssl_session_fetch_by_lua_block: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 0) 2020/10/27 05:22:31 [debug] 2316\#0: *246 lua resume returned 0
2020/10/27 05:22:31 [debug] 2316\#0: *246 lua light thread ended normally
2020/10/27 05:22:31 [debug] 2316\#0: *246 lua deleting light thread B6D42898 (ref 4)
2020/10/27 05:22:31 [debug] 2131\#0: malloc: 0951ADE0:12
2020/10/27 05:22:31 [debug] 2316\#0: *246 lua caching unused lua thread B6D42898 (ref 4)
2020/10/27 05:22:31 [debug] 2131\#0: malloc: 0951ADF0:8
2020/10/27 05:22:31 [debug] 2316\#0: *246 lua run thread returned 0
2020/10/27 05:22:31 [debug] 2316\#0: *246 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:22:31 [debug] 2316\#0: *246 http lua fake request count:1
'
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 "2020/10/27 05:22:38 [error] 2428\#0: *373 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) 2020/10/27 05:22:38 [debug] 2428\#0: *373 lua udp socket handle error
2020/10/27 05:22:38 [debug] 2428\#0: *373 lua udp socket waking up the current request
2020/10/27 05:22:38 [debug] 2428\#0: *373 lua udp operation done, resuming lua thread
2020/10/27 05:22:38 [debug] 2428\#0: *373 lua udp socket calling prepare retvals handler 0815ABE4, u:B6D1CE18
2020/10/27 05:22:38 [debug] 2428\#0: *373 lua udp socket receive return value handler
2020/10/27 05:22:38 [debug] 2428\#0: *373 lua udp socket error retval handler
2020/10/27 05:22:38 [debug] 2428\#0: *373 lua run thread, top:0 c:1
2020/10/27 05:22:38 [error] 2428\#0: *373 [lua] ssl_session_fetch_by_lua_block: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
2020/10/27 05:22:38 [debug] 2428\#0: *373 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 "2020/10/27 05:22:38 [error] 2428\#0: *373 [lua] ssl_session_fetch_by_lua_block: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) 2020/10/27 05:22:38 [debug] 2428\#0: *373 lua resume returned 0
2020/10/27 05:22:38 [debug] 2428\#0: *373 lua light thread ended normally
2020/10/27 05:22:38 [debug] 2428\#0: *373 lua deleting light thread B6D3FE68 (ref 2)
2020/10/27 05:22:38 [debug] 2428\#0: *373 lua caching unused lua thread B6D3FE68 (ref 2)
2020/10/27 05:22:38 [debug] 2428\#0: *373 lua run thread returned 0
2020/10/27 05:22:38 [debug] 2428\#0: *373 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:22:38 [debug] 2428\#0: *373 http lua fake request count:1
2020/10/27 05:22:38 [debug] 2428\#0: *373 http lua close fake request
2020/10/27 05:22:38 [debug] 2428\#0: *373 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 "2020/10/27 05:22:39 [error] 2428\#0: *378 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) 2020/10/27 05:22:39 [debug] 2428\#0: *378 lua udp socket handle error
2020/10/27 05:22:39 [debug] 2428\#0: *378 lua udp socket waking up the current request
2020/10/27 05:22:39 [debug] 2428\#0: *378 lua udp operation done, resuming lua thread
2020/10/27 05:22:39 [debug] 2428\#0: *378 lua udp socket calling prepare retvals handler 0815ABE4, u:B6D25888
2020/10/27 05:22:39 [debug] 2428\#0: *378 lua udp socket receive return value handler
2020/10/27 05:22:39 [debug] 2428\#0: *378 lua udp socket error retval handler
2020/10/27 05:22:39 [debug] 2428\#0: *378 lua run thread, top:0 c:1
2020/10/27 05:22:39 [error] 2428\#0: *378 [lua] ssl_session_fetch_by_lua_block: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
2020/10/27 05:22:39 [debug] 2428\#0: *378 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 "2020/10/27 05:22:39 [error] 2428\#0: *378 [lua] ssl_session_fetch_by_lua_block: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) 2020/10/27 05:22:39 [debug] 2428\#0: *378 lua resume returned 0
2020/10/27 05:22:39 [debug] 2428\#0: *378 lua light thread ended normally
2020/10/27 05:22:39 [debug] 2428\#0: *378 lua deleting light thread B6D3FE68 (ref 2)
2020/10/27 05:22:39 [debug] 2428\#0: *378 lua caching unused lua thread B6D3FE68 (ref 2)
2020/10/27 05:22:39 [debug] 2428\#0: *378 lua run thread returned 0
2020/10/27 05:22:39 [debug] 2428\#0: *378 http lua finalize fake request: 0, a:1, c:1
2020/10/27 05:22:39 [debug] 2428\#0: *378 http lua fake request count:1
2020/10/27 05:22:39 [debug] 2428\#0: *378 http lua close fake request
2020/10/27 05:22:39 [debug] 2428\#0: *378 cleanup lua udp socket upstream request: ""
'
145-shdict-list.t TEST 1: lpush & lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
push success
+2 nil
+bar nil
1 nil
bar nil
-0 nil
-nil nil
'
145-shdict-list.t TEST 17: expire on all types - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-keys number: 2
+keys number: 3
keys number: 0
'
145-shdict-list.t TEST 8: get_keys operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-push success
+push err: value not a list
key: foo
'
145-shdict-list.t TEST 13: lpush and rpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
-1
+push err: value not a list
-2
+pop err: value not a list
-3
'
145-shdict-list.t TEST 14: rpush and lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
-1
+push err: value not a list
-2
+pop err: value not a list
-3
'
145-shdict-list.t TEST 2: get operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-push success
+push err: value not a list
-nil value is a list
+bar nil
'
146-malloc-trim.t TEST 7: zero count means off, log_by_lua - grep_error_log_out (req 0) got: 'malloc_trim(1) returned 1
'
expected: ''
146-malloc-trim.t TEST 1: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 3: malloc_trim() every 2 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 2: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 4: malloc_trim() every 3 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 8: malloc_trim() every 1 req - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 6: zero count means off - grep_error_log_out (req 0) got: 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
expected: ''
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
148-fake-shm-zone.t TEST 4: multiply zones - response_body - response is expected (repeated req 0, req 0) @@ -1,7 +1,7 @@
name=x1
size=1048576
isinit=true
-isold=false
+isold=true
name=x2
size=2097152
isinit=true
'
148-fake-shm-zone.t TEST 3: get_info - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
name=x1
size=1048576
isinit=true
-isold=false
+isold=true
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6BEB0 (ref 10)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6BEB0 (ref 10)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08374EA8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227440528: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CC70 (ref 10)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0839B6A0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083947D0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374EA8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6BE70 (ref 9)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6BE70 (ref 9)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08357E80, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227440592: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CCB0 (ref 9)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08383280:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D158:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357E80:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6BE30 (ref 8)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6BE30 (ref 8)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0835E258, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227440656: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CCF0 (ref 8)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0839AD10:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08393FA8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083937B0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6BDF0 (ref 7)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6BDF0 (ref 7)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08356F60, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227440720: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CD30 (ref 7)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357D08:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083917A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352EF0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6BDB0 (ref 6)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6BDB0 (ref 6)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08383A68, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227440784: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CD70 (ref 6)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837DDE0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374E20:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08369B30:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6BD70 (ref 5)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6BD70 (ref 5)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08357F08, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227440848: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CDB0 (ref 5)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B5E8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08366B88:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357F08:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6BD30 (ref 4)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6BD30 (ref 4)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083852A8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227440912: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CDF0 (ref 4)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08379DB8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08369B50:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083852A8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6BCF0 (ref 3)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6BCF0 (ref 3)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08394758, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227440976: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CE30 (ref 3)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083943B8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0836B560:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08394748:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6BCB0 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6BCB0 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437712: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CE70 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392E30:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08363F60:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834EF38:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C970 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C970 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08352ED0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437648: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CEB0 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838E4B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352ED0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C9B0 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C9B0 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838DC48, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437584: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CEF0 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08368C68:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC18:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC48:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C9F0 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C9F0 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B708, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437520: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CF30 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838CF00:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B6D8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B708:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CA30 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CA30 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083941A8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437456: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CF70 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374E40:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08394188:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083941A8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CA70 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CA70 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B718, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437392: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CFB0 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357E90:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838ADC8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B718:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CAB0 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CAB0 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838A980, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437328: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6CFF0 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D178:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838F790:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838A980:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CAF0 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CAF0 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08379598, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437264: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6D030 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083881D0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388C30:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08379598:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CB30 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CB30 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08375738, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437200: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6D070 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083946E0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375718:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375738:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CB70 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CB70 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08368208, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437136: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6D0B0 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375C60:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083681D8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08368208:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CBB0 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CBB0 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838F780, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437072: 6777138
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6D0F0 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083756B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083917C0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838F780:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CBF0 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CBF0 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08385298, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: *402 event timer del: 0: 6777148
2020/10/27 05:25:44 [debug] 4268\#0: *402 lua sleep timer expired: "?"
2020/10/27 05:25:44 [debug] 4268\#0: *402 lua run thread, top:0 c:1
2020/10/27 05:25:44 [debug] 4268\#0: *402 lua resume returned 0
2020/10/27 05:25:44 [debug] 4268\#0: *402 lua light thread ended normally
2020/10/27 05:25:44 [debug] 4268\#0: *402 lua deleting light thread B6D6C470 (ref 23)
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379010:32
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CE70 (ref 25)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379038:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CE70 (ref 25)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083687E0:28
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF28, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08368800:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436368: 6777162
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08368810:28
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083688D0:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CEB0 (ref 22)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083688E0:17
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CEB0 (ref 22)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083688F8:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F3C0, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08368908:16
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436304: 6777162
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08368920:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083833C8:28
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CEF0 (ref 27)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083833E8:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CEF0 (ref 27)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083833F8:16
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838DC38, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08383410:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436240: 6777162
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08383420:28
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083834F8:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CF30 (ref 24)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08383508:28
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CF30 (ref 24)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08383528:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B6F8, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08383538:15
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436176: 6777162
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08383550:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357028:28
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CF70 (ref 20)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357048:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CF70 (ref 20)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357058:10
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F3D0, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357068:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436112: 6777162
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357078:28
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357140:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CFB0 (ref 26)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357150:28
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CFB0 (ref 26)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836ABB8:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 0835BB38, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836ABC8:14
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436048: 6777162
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836ABE0:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836ACB0:14
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CFF0 (ref 31)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836ACC8:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CFF0 (ref 31)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836ACD8:32
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838A970, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836AD00:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435984: 6777162
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836AD10:28
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837B270:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D030 (ref 28)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837B280:28
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D030 (ref 28)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837B2A0:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 08379588, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837B2B0:19
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435920: 6777162
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837B2C8:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837B3A8:28
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D070 (ref 1)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837B3C8:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D070 (ref 1)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837B3D8:15
2020/10/27 05:25:44 [debug] 4268\#0: free: 083910B8, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837B3F0:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435856: 6777162
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837B400:32
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836A968:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D0B0 (ref 30)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836A978:22
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D0B0 (ref 30)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836A998:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 083681F8, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836A9A8:28
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435792: 6777162
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836A9C8:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837AF28:32
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D0F0 (ref 2)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836AA98:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D0F0 (ref 2)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837AF50:28
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F360, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837AF70:8
2020/10/27 05:25:44 [debug] 4268\#0: worker cycle
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837AF80:22
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357AD8:352
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C670 (ref 19)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357C40:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C670 (ref 19)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08369508:24
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F390, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357C50:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227438544: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0836A1C0:16
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357CF0:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C630 (ref 18)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357D00:4
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C630 (ref 18)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357D10:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B650, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357D20:12
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227438608: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08357D30:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08389010:48
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C5F0 (ref 17)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083571B0:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C5F0 (ref 17)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083571C0:16
2020/10/27 05:25:44 [debug] 4268\#0: free: 083852B8, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083571D8:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227438672: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083571E8:492
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0838E818:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C5B0 (ref 16)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0838E828:20
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C5B0 (ref 16)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0838E840:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838A990, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0838E850:272
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227438736: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0838E968:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08384C40:4
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C570 (ref 15)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08384C50:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C570 (ref 15)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08384C60:48
2020/10/27 05:25:44 [debug] 4268\#0: free: 08395628, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08384C98:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227438800: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08384CA8:36
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08384D58:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C530 (ref 14)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08384D68:20
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C530 (ref 14)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08384D80:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F380, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083642C0:92
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227438864: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08364320:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379FF0:36
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C4F0 (ref 13)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837A018:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C4F0 (ref 13)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837A028:5
2020/10/27 05:25:44 [debug] 4268\#0: free: 08356F50, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837A038:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227438928: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837A048:52
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837A120:32
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C4B0 (ref 12)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837A148:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C4B0 (ref 12)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837A158:7
2020/10/27 05:25:44 [debug] 4268\#0: free: 08394810, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837A168:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227438992: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0837A178:12
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083797F0:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6C470 (ref 23)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379800:352
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6C470 (ref 23)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379968:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392DE0, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379978:24
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435728: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379998:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379A60:8
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379A70:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D130 (ref 21)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379A80:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D130 (ref 21)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379A90:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B40, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379AA0:4
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435664: 6777190
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D170 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D170 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435600: 6777190
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6E680 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08368C68:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08363F60:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834EF38:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D1B0 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D1B0 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08352ED0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435536: 6777190
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6E830 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838CF00:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352ED0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D1F0 (ref 27)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08379B00:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D1F0 (ref 27)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08364358:40
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838DC48, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08364388:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435472: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08364398:24
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08376D58:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D230 (ref 24)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08376D68:360
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D230 (ref 24)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08376ED8:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B708, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08366640:404
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435408: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083667D8:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08366B10:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D270 (ref 20)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08366B20:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D270 (ref 20)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08366B30:36
2020/10/27 05:25:44 [debug] 4268\#0: free: 083941A8, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08366B58:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435344: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08390800:272
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08390A40:296
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D2B0 (ref 26)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08390B70:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D2B0 (ref 26)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08390B80:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B718, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08390B90:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435280: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08390BA0:272
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0835C608:24
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D2F0 (ref 31)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0835C628:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D2F0 (ref 31)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0835C638:64
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838A980, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0835C680:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435216: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083949B8:12
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394AD8:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D330 (ref 28)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394AE8:324
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D330 (ref 28)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394C30:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 08379598, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394C40:4
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435152: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394C50:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394D18:16
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D370 (ref 1)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394D30:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D370 (ref 1)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394D40:16
2020/10/27 05:25:44 [debug] 4268\#0: free: 08375738, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394D58:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435088: 6777190
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394D68:21
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394E08:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D3B0 (ref 30)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394E18:5
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D3B0 (ref 30)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394E28:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 08368208, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394E38:12
2020/10/27 05:25:44 [debug] 4268\#0: *411 event timer del: 0: 6777200
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08394E48:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6E320 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6E320 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD50, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227430704: 6777234
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6F760 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838E4B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838A4D0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD50:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6E4D0 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6E4D0 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B30, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227430272: 6777234
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6F910 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08368C68:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374208:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388B30:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6E680 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6E680 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF28, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227429840: 6777234
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6FAC0 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838CF00:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08363F60:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834EF28:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6E830 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6E830 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F3C0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227429408: 6777234
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6FC70 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374E40:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3C0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6E9E0 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6E9E0 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838DC38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227428976: 6777234
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6FE20 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357E90:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC18:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC38:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6EB90 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6EB90 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B6F8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227428544: 6777234
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D6FFD0 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D178:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B6D8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B6F8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6ED40 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6ED40 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F3D0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227428112: 6777234
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D70180 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083881D0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08394188:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3D0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6EEF0 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6EEF0 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0835BB38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227427680: 6777234
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D70330 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083946E0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838ADC8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0835BB38:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6F0A0 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6F0A0 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838A970, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227427248: 6777234
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D704E0 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375C60:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838F790:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838A970:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6F250 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6F250 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08379588, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227426816: 6777234
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D70690 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083756B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388C30:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08379588:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6F400 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6F400 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083910B8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: worker cycle
2020/10/27 05:25:44 [debug] 4268\#0: epoll timer: 10
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08397060:8
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08397070:28
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08397090:8
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083970A0:16
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CE30 (ref 3)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CE30 (ref 3)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08394748, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436560: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D709F0 (ref 3)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083863B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0836B560:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08394748:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CDF0 (ref 4)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CDF0 (ref 4)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838DC08, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436624: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D70BA0 (ref 4)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08383280:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357EF8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC08:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CDB0 (ref 5)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CDB0 (ref 5)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08357CF8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436688: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D70D50 (ref 5)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0839AD10:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083946C0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357CF8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CD70 (ref 6)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CD70 (ref 6)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838ADE8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436752: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D70F00 (ref 6)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357D08:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374E20:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD70:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CD30 (ref 7)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CD30 (ref 7)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838A990, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436816: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D710B0 (ref 7)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837DDE0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083917A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD90:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CCF0 (ref 8)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CCF0 (ref 8)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08374DD8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436880: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D71260 (ref 8)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B5E8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D158:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08385278:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CCB0 (ref 9)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CCB0 (ref 9)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388238, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227436944: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D71410 (ref 9)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08379DB8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08385298:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388238:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CC70 (ref 10)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CC70 (ref 10)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838F438, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227437008: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D715C0 (ref 10)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083943B8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08391058:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838F438:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6CC30 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6CC30 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08352F00, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227426384: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D71770 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392E30:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352EE0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08362478:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6F5B0 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6F5B0 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD60, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227425952: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D71920 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838E4B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08369B40:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD60:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6F760 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6F760 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392DE0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227425520: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D71AD0 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08368C68:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838A4D0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392DE0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6F910 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6F910 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B40, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227425088: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D71C80 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838CF00:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374208:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388B40:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6FAC0 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6FAC0 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227424656: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D71E30 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374E40:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08363F60:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834EF38:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6FC70 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6FC70 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08352ED0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227424224: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D71FE0 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357E90:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352ED0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6FE20 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6FE20 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838DC48, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227423792: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D72190 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D178:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC18:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC48:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6FFD0 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6FFD0 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B708, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227423360: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D72340 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083881D0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B6D8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B708:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D70180 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D70180 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083941A8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227422928: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D724F0 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083946E0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08394188:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083941A8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D70330 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D70330 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B718, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227422496: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D726A0 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375C60:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838ADC8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B718:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D704E0 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D704E0 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838A980, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227422064: 6777270
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 08364618:2048
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D72850 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083756B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838F790:24
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4152\#0: malloc: 083979D0:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D70690 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D70690 (ref 28)
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0835AF60:232
2020/10/27 05:25:44 [debug] 4268\#0: free: 08379598, unused: 0
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0835B050:8
2020/10/27 05:25:44 [debug] 4268\#0: *420 event timer del: 0: 6777280
2020/10/27 05:25:44 [debug] 4152\#0: malloc: 0835B060:100
2020/10/27 05:25:44 [debug] 4268\#0: *420 lua sleep timer expired: "?"
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D71770 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D71770 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08391078, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227417312: 6777302
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D72F38 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838E4B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352EE0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08391078:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D71920 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D71920 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08391088, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227416880: 6777302
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D730E8 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08368C68:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08369B40:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08391088:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D71AD0 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D71AD0 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD50, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227416448: 6777302
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D73298 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838CF00:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838A4D0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD50:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D71C80 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D71C80 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B30, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227416016: 6777302
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D73448 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374E40:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374208:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388B30:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D71E30 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D71E30 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF28, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227415584: 6777302
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D735F8 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357E90:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08363F60:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834EF28:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D71FE0 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D71FE0 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F3C0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227415152: 6777302
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D737A8 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D178:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3C0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D72190 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D72190 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838DC38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227414720: 6777302
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D73958 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083881D0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC18:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC38:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D72340 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D72340 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B6F8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227414288: 6777302
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D73B08 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083946E0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B6D8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B6F8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D724F0 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D724F0 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F3D0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227413856: 6777302
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D73CB8 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375C60:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08394188:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3D0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D726A0 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D726A0 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0835BB38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227413424: 6777302
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D73E68 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083756B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838ADC8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0835BB38:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D72850 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D72850 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838A970, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: worker cycle
2020/10/27 05:25:44 [debug] 4268\#0: epoll timer: 10
2020/10/27 05:25:44 [debug] 4268\#0: epoll: fd:6 ev:0001 d:0839DD3C
2020/10/27 05:25:44 [debug] 4268\#0: *429 http wait request handler
2020/10/27 05:25:44 [debug] 4268\#0: *429 malloc: 0839B6A0:52
2020/10/27 05:25:44 [debug] 4268\#0: *429 malloc: 0838A970:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6E170 (ref 12)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6E170 (ref 12)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08356F50, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227432000: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D741C8 (ref 12)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083863B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D1E0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08356F50:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6DFC0 (ref 13)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6DFC0 (ref 13)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08351CD8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227432432: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D74378 (ref 13)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08383280:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08391098:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08351CD8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6DE10 (ref 14)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6DE10 (ref 14)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388248, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227432864: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D74528 (ref 14)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0839AD10:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08362458:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357E80:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6DC60 (ref 15)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6DC60 (ref 15)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08356F60, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227433296: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D746D8 (ref 15)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357D08:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08358CB0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08369688:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6DAB0 (ref 16)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6DAB0 (ref 16)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838ADE8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227433728: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D74888 (ref 16)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837DDE0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375C40:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083696A8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D900 (ref 17)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D900 (ref 17)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08368CE0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227434160: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D74A38 (ref 17)
2020/10/27 05:25:44 [debug] 4295\#0: malloc: 0839BF70:6144
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B5E8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083881B0:24
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D750 (ref 18)
2020/10/27 05:25:44 [debug] 4295\#0: malloc: 083BC688:53248
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D750 (ref 18)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838CF68, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227434592: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D74BE8 (ref 18)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08379DB8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083889B0:24
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D5A0 (ref 19)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D5A0 (ref 19)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08393A60, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227435024: 6777322
2020/10/27 05:25:44 [debug] 4295\#0: malloc: 083C9690:53248
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D74D98 (ref 19)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083943B8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D990:24
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D6D3F0 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D6D3F0 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392E20, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227412088: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D74F48 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392E30:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392DF0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392E20:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D72D88 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D72D88 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083795C8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227411656: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D750F8 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838E4B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08379598:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083795C8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D72F38 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D72F38 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08362478, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227411224: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D752A8 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08368C68:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352EE0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08362478:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D730E8 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D730E8 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD60, unused: 0
2020/10/27 05:25:44 [debug] 4295\#0: epoll add event: fd:13 op:1 ev:80002001
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227410792: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4295\#0: setting SA_RESTART for signal 1
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D75458 (ref 30)
2020/10/27 05:25:44 [debug] 4295\#0: setting SA_RESTART for signal 10
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4295\#0: setting SA_RESTART for signal 29
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D73298 (ref 23)
2020/10/27 05:25:44 [debug] 4295\#0: setting SA_RESTART for signal 17
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D73298 (ref 23)
2020/10/27 05:25:44 [debug] 4295\#0: setting SA_RESTART for signal 31
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392DE0, unused: 0
2020/10/27 05:25:44 [debug] 4295\#0: setting SA_RESTART for signal 13
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227410360: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D73448 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D73448 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B40, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227409928: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D757B8 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357E90:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374208:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388B40:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D735F8 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D735F8 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227409496: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D75968 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D178:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08363F60:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834EF38:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D737A8 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D737A8 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08352ED0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227409064: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D75B18 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083881D0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352ED0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D73958 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D73958 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838DC48, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227408632: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D75CC8 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083946E0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC18:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC48:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D73B08 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D73B08 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B708, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227408200: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D75E78 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375C60:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B6D8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B708:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D73CB8 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D73CB8 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083941A8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227407768: 6777322
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D76028 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083756B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08394188:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083941A8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D73E68 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D73E68 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B718, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: worker cycle
2020/10/27 05:25:44 [debug] 4268\#0: epoll timer: 4
2020/10/27 05:25:44 [debug] 4268\#0: epoll: fd:8 ev:0001 d:0839DBE0
2020/10/27 05:25:44 [debug] 4268\#0: channel handler
2020/10/27 05:25:44 [debug] 4268\#0: channel: 16
2020/10/27 05:25:44 [debug] 4268\#0: channel command: 1
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D74F48 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D74F48 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392E10, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227403016: 6777338
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D76388 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838E4B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392DF0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392E10:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D750F8 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D750F8 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083795B8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227402584: 6777338
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D76538 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08368C68:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08379598:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083795B8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D752A8 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D752A8 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08391078, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227402152: 6777338
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D766E8 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838CF00:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352EE0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08391078:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D75458 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D75458 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08391088, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227401720: 6777338
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D76898 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374E40:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08369B40:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08391088:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D75608 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D75608 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD50, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227401288: 6777338
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D76A48 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357E90:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838A4D0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD50:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D757B8 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D757B8 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B30, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227400856: 6777338
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D76BF8 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D178:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374208:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388B30:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D75968 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D75968 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF28, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227400424: 6777338
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D76DA8 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083881D0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08363F60:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834EF28:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D75B18 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D75B18 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F3C0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227399992: 6777338
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D76F58 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083946E0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3C0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D75CC8 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D75CC8 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838DC38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227399560: 6777338
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D77108 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375C60:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC18:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC38:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D75E78 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D75E78 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B6F8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227399128: 6777338
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D772B8 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838F3A8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B6D8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B6F8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D76028 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D76028 (ref 20)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F3D0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: worker cycle
2020/10/27 05:25:44 [debug] 4268\#0: epoll timer: 10
2020/10/27 05:25:44 [debug] 4268\#0: timer delta: 32
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227418176: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D77468 (ref 20)
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D715C0 (ref 10)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D715C0 (ref 10)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838F438, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227418608: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D77618 (ref 10)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08351C60:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08391058:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838F438:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D71410 (ref 9)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D71410 (ref 9)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08391268, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227419040: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D777C8 (ref 9)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08383280:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D158:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08391268:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D71260 (ref 8)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D71260 (ref 8)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838E518, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227419472: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D77978 (ref 8)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0839AD10:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374E20:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838E518:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D710B0 (ref 7)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D710B0 (ref 7)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08374DE0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227419904: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D77B28 (ref 7)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357D08:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083946C0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374DE0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D70F00 (ref 6)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D70F00 (ref 6)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08352F00, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227420336: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D77CD8 (ref 6)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837DDE0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357EF8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838ADA0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D70D50 (ref 5)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D70D50 (ref 5)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08395628, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227420768: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D77E88 (ref 5)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B5E8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08351AF8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F370:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D70BA0 (ref 4)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D70BA0 (ref 4)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B50, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227421200: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D78038 (ref 4)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08379DB8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083681D8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388B50:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D709F0 (ref 3)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D709F0 (ref 3)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0835E220, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227421632: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D781E8 (ref 3)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083943B8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083681F8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0835E210:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D70840 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D70840 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08351B28, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227398696: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D78398 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392E30:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08385288:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08351B28:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D761D8 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D761D8 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD90, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227398264: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D78548 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838E4B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD70:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD90:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D76388 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D76388 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392E20, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227397832: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D786F8 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08368C68:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392DF0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392E20:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D76538 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D76538 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083795C8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227397400: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D788A8 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838CF00:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08379598:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083795C8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D766E8 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D766E8 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08362478, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227396968: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D78A58 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374E40:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352EE0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08362478:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D76898 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D76898 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD60, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227396536: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D78C08 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357E90:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08369B40:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD60:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D76A48 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D76A48 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392DE0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227396104: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D78DB8 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D178:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838A4D0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392DE0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D76BF8 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D76BF8 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B40, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227395672: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D78F68 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083881D0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374208:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388B40:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D76DA8 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D76DA8 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227395240: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D79118 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083946E0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08363F60:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834EF38:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D76F58 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D76F58 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08352ED0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227394808: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D792C8 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375C60:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352ED0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D77108 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D77108 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838DC48, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227394376: 6777354
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D79478 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D920:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC18:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838DC48:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D772B8 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D772B8 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B708, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: *439 event timer del: 0: 6777364
2020/10/27 05:25:44 [debug] 4268\#0: *439 lua sleep timer expired: "?"
2020/10/27 05:25:44 [debug] 4268\#0: *439 lua run thread, top:0 c:1
2020/10/27 05:25:44 [debug] 4268\#0: *439 lua resume returned 0
2020/10/27 05:25:44 [debug] 4268\#0: *439 lua light thread ended normally
2020/10/27 05:25:44 [debug] 4268\#0: *439 lua deleting light thread B6D74018 (ref 31)
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4295\#0: *456 recv: eof:0, avail:-1
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D78398 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D78398 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083852A8, unused: 0
2020/10/27 05:25:44 [debug] 4295\#0: *456 recv: fd:3 77 of 1024
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227389624: 6777386
2020/10/27 05:25:44 [debug] 4295\#0: *456 reusable connection: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 08378138:24
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 083797F0:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D78548 (ref 26)
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 0837A2A8:88
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D78548 (ref 26)
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 08363BD8:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 0835BB38, unused: 0
2020/10/27 05:25:44 [debug] 4295\#0: *456 http process request line
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227389192: 6777386
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 08359AE0:4
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D786F8 (ref 2)
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 08379240:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D786F8 (ref 2)
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 08377998:10
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392E10, unused: 0
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 0838ADB0:8
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227388760: 6777386
2020/10/27 05:25:44 [debug] 4295\#0: *456 http header: "Host: Test-Nginx"
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D788A8 (ref 28)
2020/10/27 05:25:44 [debug] 4295\#0: *456 generic phase: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D788A8 (ref 28)
2020/10/27 05:25:44 [debug] 4295\#0: *456 rewrite phase: 1
2020/10/27 05:25:44 [debug] 4268\#0: free: 083795B8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227388328: 6777386
2020/10/27 05:25:44 [debug] 4295\#0: *456 rewrite phase: 2
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4295\#0: *456 test location: "/ver"
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 08368D60:8
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D78A58 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D78A58 (ref 11)
2020/10/27 05:25:44 [debug] 4295\#0: *456 http set discard body
2020/10/27 05:25:44 [debug] 4268\#0: free: 08391078, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227387896: 6777386
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 08379FF0:52
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 0838F098:8
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D78C08 (ref 30)
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 08363F80:52
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D78C08 (ref 30)
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 0838F0A8:8
2020/10/27 05:25:44 [debug] 4268\#0: free: 08391088, unused: 0
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 083917F8:176
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227387464: 6777386
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 08374DF0:8
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 08393AA8:56
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D78DB8 (ref 23)
2020/10/27 05:25:44 [debug] 4295\#0: *456 malloc: 08357178:8
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D78DB8 (ref 23)
2020/10/27 05:25:44 [debug] 4295\#0: *456 lua capture body filter, uri "/ver"
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD50, unused: 0
2020/10/27 05:25:44 [debug] 4295\#0: *456 image filter
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227387032: 6777386
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D78F68 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D78F68 (ref 21)
2020/10/27 05:25:44 [debug] 4295\#0: *456 writev: 168 of 168
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B30, unused: 0
2020/10/27 05:25:44 [debug] 4295\#0: *456 http write filter 00000000
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227386600: 6777386
2020/10/27 05:25:44 [debug] 4295\#0: *456 http copy filter: 0 "/ver?"
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7A3A8 (ref 21)
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D79118 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D79118 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF28, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227386168: 6777386
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7A558 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375C60:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08363F60:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834EF28:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D792C8 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D792C8 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834F3C0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227385736: 6777386
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7A708 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083863B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834F3C0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D79478 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D79478 (ref 27)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838DC38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: worker cycle
2020/10/27 05:25:44 [debug] 4268\#0: epoll timer: 10
2020/10/27 05:25:44 [debug] 4152\#0: child: 0 4295 e:0 t:0 d:0 r:1 j:1
2020/10/27 05:25:44 [debug] 4152\#0: child: 1 4268 e:0 t:0 d:0 r:1 j:0
2020/10/27 05:25:44 [debug] 4152\#0: sigsuspend
2020/10/27 05:25:44 [debug] 4268\#0: epoll: fd:8 ev:0001 d:0839DBE0
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D74D98 (ref 19)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D74D98 (ref 19)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08393A60, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227404312: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7AA68 (ref 19)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08351C60:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D990:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08393A60:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D74BE8 (ref 18)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D74BE8 (ref 18)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0835CC80, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227404744: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7AC18 (ref 18)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08383280:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08368CD0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0835CC80:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D74A38 (ref 17)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D74A38 (ref 17)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08383A68, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227405176: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7ADC8 (ref 17)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0839AD10:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08393F78:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0836B590:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D74888 (ref 16)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D74888 (ref 16)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08369B60, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227405608: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7AF78 (ref 16)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357D08:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083881B0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083947E0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D746D8 (ref 15)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D746D8 (ref 15)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08358CB0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227406040: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7B128 (ref 15)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837DDE0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375C40:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08358CB0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D74528 (ref 14)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D74528 (ref 14)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388248, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227406472: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7B2D8 (ref 14)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B5E8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D1E0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388238:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D74378 (ref 13)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D74378 (ref 13)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838D9B0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227406904: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7B488 (ref 13)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08379DB8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083917A0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D9B0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D741C8 (ref 12)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D741C8 (ref 12)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838ADD8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227407336: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7B638 (ref 12)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083943B8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083917D0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838ADD8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D74018 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D74018 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B718, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227385304: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7B7E8 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392E30:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B6E8:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0837B718:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D79628 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D79628 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0836B580, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227384872: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7B998 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838E4B0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0836B550:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0836B580:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D797D8 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D797D8 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08351B28, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227384440: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7BB48 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08368C68:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08385288:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08351B28:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D79988 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D79988 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD90, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227384008: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7BCF8 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838CF00:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD70:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD90:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D79B38 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D79B38 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392E20, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227383576: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7BEA8 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374E40:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392DF0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392E20:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D79CE8 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D79CE8 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083795C8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227383144: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7C058 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08357E90:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08379598:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083795C8:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D79E98 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D79E98 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08362478, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227382712: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7C208 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838D178:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08352EE0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08362478:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7A048 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7A048 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD60, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227382280: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7C3B8 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083881D0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08369B40:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838AD60:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7A1F8 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7A1F8 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392DE0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227381848: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7C568 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 083946E0:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838A4D0:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08392DE0:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7A3A8 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7A3A8 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B40, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227381416: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7C718 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08375C60:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08374208:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08388B40:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7A558 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7A558 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: event timer del: -1227380984: 6777414
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [debug] 4268\#0: lua ref lua thread B6D7C8C8 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0838F3A8:100
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 08363F60:24
2020/10/27 05:25:44 [debug] 4268\#0: malloc: 0834EF38:9
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7A708 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7A708 (ref 22)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08352ED0, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: *448 event timer del: 0: 6777424
2020/10/27 05:25:44 [debug] 4268\#0: *448 lua sleep timer expired: "?"
2020/10/27 05:25:44 [debug] 4268\#0: *448 lua run thread, top:0 c:1
2020/10/27 05:25:44 [debug] 4268\#0: *448 lua resume returned 0
2020/10/27 05:25:44 [debug] 4268\#0: *448 lua light thread ended normally
2020/10/27 05:25:44 [debug] 4268\#0: *448 lua deleting light thread B6D77468 (ref 20)
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7B7E8 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7B7E8 (ref 31)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0837B708, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7B998 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7B998 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0836B570, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7B998 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7B998 (ref 24)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0836B570, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7BB48 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7BB48 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083852A8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7BB48 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7BB48 (ref 1)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083852A8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7BCF8 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7BCF8 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0835BB38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7BCF8 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7BCF8 (ref 26)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0835BB38, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7BEA8 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7BEA8 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392E10, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7BEA8 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7BEA8 (ref 2)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08392E10, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C058 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C058 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083795B8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C058 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C058 (ref 28)
2020/10/27 05:25:44 [debug] 4268\#0: free: 083795B8, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C208 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C208 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08391078, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C208 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C208 (ref 11)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08391078, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C3B8 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C3B8 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08391088, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C3B8 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C3B8 (ref 30)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08391088, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C568 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C568 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD50, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C568 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C568 (ref 23)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0838AD50, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C718 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C718 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B30, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C718 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C718 (ref 21)
2020/10/27 05:25:44 [debug] 4268\#0: free: 08388B30, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: lua ngx.timer expired
2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough
2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C8C8 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C8C8 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF28, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: worker cycle
'
152-timer-every.t TEST 7: respect lua_max_pending_timers - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:44 [alert] 4268\#0: lua failed to run timer with function defined at =content_by_lua(nginx.conf:60):2: 9 lua_max_running_timers are not enough" (req 0) 2020/10/27 05:25:44 [debug] 4268\#0: lua freeing light thread B6D7C8C8 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: lua unref lua thread B6D7C8C8 (ref 25)
2020/10/27 05:25:44 [debug] 4268\#0: free: 0834EF28, unused: 0
2020/10/27 05:25:44 [debug] 4268\#0: worker cycle
2020/10/27 05:25:44 [debug] 4268\#0: epoll timer: 20
2020/10/27 05:25:44 [debug] 4268\#0: timer delta: 44
2020/10/27 05:25:44 [debug] 4268\#0: *458 event timer del: 0: 6777452
2020/10/27 05:25:44 [debug] 4268\#0: *458 lua sleep timer expired: "?"
2020/10/27 05:25:44 [debug] 4268\#0: *458 lua run thread, top:0 c:1
'
153-semaphore-hup.t TEST 1: timer + reload - grep_error_log_out (req 0) @@ -1,5 +1,2 @@
created semaphore object
created semaphore object
-try to reload nginx
-created semaphore object
-created semaphore object
'
Looks like you failed 1 test of 6.
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.