(This page was automatically generated by the tools in the opsboy project on 15:08:02 28-Dec-2023 GMT.)

Detailed Test Report for lua-resty-core in linux i386 (wv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
154abbe8 2022-05-27 15:35:33 GMT 10113 94 88 14372 4544 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 29a66f77

Compilation Errors

Unexpected Failures

File Name Details
balancer-timeout.t TEST 6: set connect timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua\(nginx.conf:\d+\):4: bad connect timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 6: set connect timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua\(nginx.conf:\d+\):4: bad connect timeout)" should match a line in error.log (req 1)
balancer-timeout.t TEST 5: set connect timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua\(nginx.conf:\d+\):4: bad connect timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 5: set connect timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua\(nginx.conf:\d+\):4: bad connect timeout)" should match a line in error.log (req 1)
balancer-timeout.t TEST 9: set read timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua\(nginx.conf:\d+\):4: bad read timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 9: set read timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua\(nginx.conf:\d+\):4: bad read timeout)" should match a line in error.log (req 1)
balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - grep_error_log_out (req 0) ''
doesn't match '(?^:\Aevent timer add: \d+: 1234:
event timer add: \d+: 5678:
event timer add: \d+: 7689:
\z)'
balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - grep_error_log_out (req 1) ''
doesn't match '(?^:\Aevent timer add: \d+: 1234:
event timer add: \d+: 5678:
event timer add: \d+: 7689:
\z)'
balancer-timeout.t TEST 11: set_timeouts called with a non-numerical parameter - pattern "(?^:\[error\] .*? bad connect timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 11: set_timeouts called with a non-numerical parameter - pattern "(?^:\[error\] .*? bad connect timeout)" should match a line in error.log (req 1)
balancer-timeout.t TEST 8: set send timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua\(nginx.conf:\d+\):4: bad send timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 8: set send timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua\(nginx.conf:\d+\):4: bad send timeout)" should match a line in error.log (req 1)
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'failed to call: no upstream found
'
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:45:09 [error] 20717\#0: *1 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:49):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2022/05/27 15:45:09 [debug] 20717\#0: *1 lua request cleanup: forcible=0
2022/05/27 15:45:09 [debug] 20717\#0: *1 http finalize request: 500, "/t?" a:1, c:1
2022/05/27 15:45:09 [debug] 20717\#0: *1 http special response: 500, "/t?"
2022/05/27 15:45:09 [debug] 20717\#0: *1 http set discard body
2022/05/27 15:45:09 [debug] 20717\#0: *1 lua capture header filter, uri "/t"
'
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'failed to call: no upstream found
'
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:45:11 [error] 20717\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:49):2: loop or previous error loading module 'ngx.balancer'" (req 1) stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:49):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2022/05/27 15:45:11 [debug] 20717\#0: *2 lua request cleanup: forcible=0
2022/05/27 15:45:11 [debug] 20717\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2022/05/27 15:45:11 [debug] 20717\#0: *2 http special response: 500, "/t?"
2022/05/27 15:45:11 [debug] 20717\#0: *2 http set discard body
2022/05/27 15:45:11 [debug] 20717\#0: *2 lua capture header filter, uri "/t"
'
balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - grep_error_log_out (req 0) ''
doesn't match '(?^:\Aevent timer add: \d+: 1234:
event timer add: \d+: 5678:
event timer add: \d+: 7689:
\z)'
balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - grep_error_log_out (req 1) ''
doesn't match '(?^:\Aevent timer add: \d+: 1234:
event timer add: \d+: 5678:
event timer add: \d+: 7689:
\z)'
balancer-timeout.t TEST 1: set_timeouts - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 1: set_timeouts - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
balancer-timeout.t TEST 1: set_timeouts - grep_error_log_out (req 0) ''
doesn't match '(?^:\Aevent timer add: \d+: 1234:
event timer add: \d+: 5678:
event timer add: \d+: 7689:
\z)'
balancer-timeout.t TEST 1: set_timeouts - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 1: set_timeouts - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
balancer-timeout.t TEST 1: set_timeouts - grep_error_log_out (req 1) ''
doesn't match '(?^:\Aevent timer add: \d+: 1234:
event timer add: \d+: 5678:
event timer add: \d+: 7689:
\z)'
balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - grep_error_log_out (req 0) ''
doesn't match '(?^:\Aevent timer add: \d+: 1234:
event timer add: \d+: 5678:
event timer add: \d+: 7689:
\z)'
balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - grep_error_log_out (req 1) ''
doesn't match '(?^:\Aevent timer add: \d+: 1234:
event timer add: \d+: 5678:
event timer add: \d+: 7689:
\z)'
balancer-timeout.t TEST 7: set send timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua\(nginx.conf:\d+\):4: bad send timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 7: set send timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua\(nginx.conf:\d+\):4: bad send timeout)" should match a line in error.log (req 1)
balancer.t TEST 3: set current peer & next upstream (no retries) - status code ok got: '500'
expected: '502'
balancer.t TEST 3: set current peer & next upstream (no retries) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 3: set current peer & next upstream (no retries) - grep_error_log_out (req 0) ''
doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "http://127.0.0.3:12345/t"\n){1}$)'
balancer.t TEST 3: set current peer & next upstream (no retries) - status code ok got: '500'
expected: '502'
balancer.t TEST 3: set current peer & next upstream (no retries) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 3: set current peer & next upstream (no retries) - grep_error_log_out (req 1) ''
doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "http://127.0.0.3:12345/t"\n){1}$)'
balancer.t TEST 6: get last peer failure status (500) - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-last peer failure: nil nil
-last peer failure: failed 500
-last peer failure: failed 500
'
balancer.t TEST 6: get last peer failure status (500) - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-last peer failure: nil nil
-last peer failure: failed 500
-last peer failure: failed 500
'
balancer.t TEST 9: set current peer (port embedded in addr) - status code ok got: '500'
expected: '502'
balancer.t TEST 9: set current peer (port embedded in addr) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 9: set current peer (port embedded in addr) - status code ok got: '500'
expected: '502'
balancer.t TEST 9: set current peer (port embedded in addr) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 2: set current peer & next upstream (3 tries) - status code ok got: '500'
expected: '502'
balancer.t TEST 2: set current peer & next upstream (3 tries) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 2: set current peer & next upstream (3 tries) - grep_error_log_out (req 0) ''
doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "http://127.0.0.3:12345/t"\n){3}$)'
balancer.t TEST 2: set current peer & next upstream (3 tries) - status code ok got: '500'
expected: '502'
balancer.t TEST 2: set current peer & next upstream (3 tries) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 2: set current peer & next upstream (3 tries) - grep_error_log_out (req 1) ''
doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "http://127.0.0.3:12345/t"\n){3}$)'
balancer.t TEST 16: https (keepalive) - status code ok got: '500'
expected: '200'
balancer.t TEST 16: https (keepalive) - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'ok'
balancer.t TEST 16: https (keepalive) - grep_error_log_out (req 0) got: ''
expected: 'hello from balancer by lua!
'
balancer.t TEST 16: https (keepalive) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:46:08 [error] 21054\#0: *1 failed to run balancer_by_lua*: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/ngx/balancer.lua:4: in main chunk
[C]: in function 'require'
balancer_by_lua:2: in main chunk while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2022/05/27 15:46:08 [debug] 21054\#0: *1 http upstream connect: -1
2022/05/27 15:46:08 [debug] 21054\#0: *1 finalize http upstream request: 500
'
balancer.t TEST 16: https (keepalive) - status code ok got: '500'
expected: '200'
balancer.t TEST 16: https (keepalive) - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'ok'
balancer.t TEST 16: https (keepalive) - grep_error_log_out (req 1) got: ''
expected: 'hello from balancer by lua!
'
balancer.t TEST 16: https (keepalive) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:46:09 [error] 21054\#0: *2 failed to run balancer_by_lua*: balancer_by_lua:2: loop or previous error loading module 'ngx.balancer'" (req 1) stack traceback:
[C]: in function 'require'
balancer_by_lua:2: in main chunk while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2022/05/27 15:46:09 [debug] 21054\#0: *2 http upstream connect: -1
2022/05/27 15:46:09 [debug] 21054\#0: *2 finalize http upstream request: 500
2022/05/27 15:46:09 [debug] 21054\#0: *2 finalize http proxy request
2022/05/27 15:46:09 [debug] 21054\#0: *2 http finalize request: 500, "/t?" a:1, c:2
2022/05/27 15:46:09 [debug] 21054\#0: *2 http special response: 500, "/t?"
2022/05/27 15:46:09 [debug] 21054\#0: *2 malloc: 04A8DB58:52
'
balancer.t TEST 10: keepalive before balancer - status code ok got: '500'
expected: '502'
balancer.t TEST 10: keepalive before balancer - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 10: keepalive before balancer - status code ok got: '500'
expected: '502'
balancer.t TEST 10: keepalive before balancer - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 19: recreate upstream module requests with header change - status code ok got: '500'
expected: '200'
balancer.t TEST 19: recreate upstream module requests with header change - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'value is: second'
balancer.t TEST 19: recreate upstream module requests with header change - status code ok got: '500'
expected: '200'
balancer.t TEST 19: recreate upstream module requests with header change - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'value is: second'
balancer.t TEST 18: test ngx.var.upstream_addr after using more than one set_current_peer - status code ok got: '500'
expected: '502'
balancer.t TEST 18: test ngx.var.upstream_addr after using more than one set_current_peer - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 18: test ngx.var.upstream_addr after using more than one set_current_peer - status code ok got: '500'
expected: '502'
balancer.t TEST 18: test ngx.var.upstream_addr after using more than one set_current_peer - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 5: get last peer failure status (404) - status code ok got: '500'
expected: '404'
balancer.t TEST 5: get last peer failure status (404) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:404 Not Found)'
balancer.t TEST 5: get last peer failure status (404) - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-last peer failure: nil nil
-last peer failure: next 404
-last peer failure: next 404
'
balancer.t TEST 5: get last peer failure status (404) - status code ok got: '500'
expected: '404'
balancer.t TEST 5: get last peer failure status (404) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:404 Not Found)'
balancer.t TEST 5: get last peer failure status (404) - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-last peer failure: nil nil
-last peer failure: next 404
-last peer failure: next 404
'
balancer.t TEST 17: https (no keepalive) - status code ok got: '500'
expected: '200'
balancer.t TEST 17: https (no keepalive) - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'ok'
balancer.t TEST 17: https (no keepalive) - grep_error_log_out (req 0) got: ''
expected: 'hello from balancer by lua!
'
balancer.t TEST 17: https (no keepalive) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:46:44 [error] 21264\#0: *1 failed to run balancer_by_lua*: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/ngx/balancer.lua:4: in main chunk
[C]: in function 'require'
balancer_by_lua:2: in main chunk while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2022/05/27 15:46:44 [debug] 21264\#0: *1 http upstream connect: -1
2022/05/27 15:46:44 [debug] 21264\#0: *1 finalize http upstream request: 500
'
balancer.t TEST 17: https (no keepalive) - status code ok got: '500'
expected: '200'
balancer.t TEST 17: https (no keepalive) - 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.15.8 (no pool)</center>
</body>
</html>
'
expected: 'ok'
balancer.t TEST 17: https (no keepalive) - grep_error_log_out (req 1) got: ''
expected: 'hello from balancer by lua!
'
balancer.t TEST 17: https (no keepalive) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:46:46 [error] 21264\#0: *2 failed to run balancer_by_lua*: balancer_by_lua:2: loop or previous error loading module 'ngx.balancer'" (req 1) stack traceback:
[C]: in function 'require'
balancer_by_lua:2: in main chunk while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2022/05/27 15:46:46 [debug] 21264\#0: *2 http upstream connect: -1
2022/05/27 15:46:46 [debug] 21264\#0: *2 finalize http upstream request: 500
2022/05/27 15:46:46 [debug] 21264\#0: *2 finalize http proxy request
2022/05/27 15:46:46 [debug] 21264\#0: *2 http finalize request: 500, "/t?" a:1, c:2
2022/05/27 15:46:46 [debug] 21264\#0: *2 http special response: 500, "/t?"
2022/05/27 15:46:46 [debug] 21264\#0: *2 malloc: 04A8D858:52
'
balancer.t TEST 8: get last peer failure status (connect failed) - status code ok got: '500'
expected: '502'
balancer.t TEST 8: get last peer failure status (connect failed) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 8: get last peer failure status (connect failed) - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-last peer failure: nil nil
-last peer failure: failed 502
-last peer failure: failed 502
'
balancer.t TEST 8: get last peer failure status (connect failed) - status code ok got: '500'
expected: '502'
balancer.t TEST 8: get last peer failure status (connect failed) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 8: get last peer failure status (connect failed) - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-last peer failure: nil nil
-last peer failure: failed 502
-last peer failure: failed 502
'
balancer.t TEST 11: keepalive after balancer - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'hello keepalive!
'
balancer.t TEST 11: keepalive after balancer - grep_error_log_out (req 0) @@ -1,5 +0,0 @@
-free keepalive peer: saving connection
-get keepalive peer: using connection
-free keepalive peer: saving connection
-get keepalive peer: using connection
-free keepalive peer: saving connection
'
balancer.t TEST 11: keepalive after balancer - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'hello keepalive!
'
balancer.t TEST 11: keepalive after balancer - grep_error_log_out (req 1) @@ -1,6 +0,0 @@
-get keepalive peer: using connection
-free keepalive peer: saving connection
-get keepalive peer: using connection
-free keepalive peer: saving connection
-get keepalive peer: using connection
-free keepalive peer: saving connection
'
balancer.t TEST 1: set current peer (separate addr and port) - status code ok got: '500'
expected: '502'
balancer.t TEST 1: set current peer (separate addr and port) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 1: set current peer (separate addr and port) - status code ok got: '500'
expected: '502'
balancer.t TEST 1: set current peer (separate addr and port) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 7: get last peer failure status (503) - status code ok got: '500'
expected: '503'
balancer.t TEST 7: get last peer failure status (503) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:503 Service Temporarily Unavailable)'
balancer.t TEST 7: get last peer failure status (503) - grep_error_log_out (req 0) ''
doesn't match '(?^:\Alast peer failure: nil nil
last peer failure: failed 50[23]
last peer failure: failed 50[23]
\z)'
balancer.t TEST 7: get last peer failure status (503) - status code ok got: '500'
expected: '503'
balancer.t TEST 7: get last peer failure status (503) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:503 Service Temporarily Unavailable)'
balancer.t TEST 7: get last peer failure status (503) - grep_error_log_out (req 1) ''
doesn't match '(?^:\Alast peer failure: nil nil
last peer failure: failed 50[23]
last peer failure: failed 50[23]
\z)'
balancer.t TEST 4: set current peer & next upstream (3 tries exceeding the limit) - status code ok got: '500'
expected: '502'
balancer.t TEST 4: set current peer & next upstream (3 tries exceeding the limit) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 4: set current peer & next upstream (3 tries exceeding the limit) - grep_error_log_out (req 0) ''
doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "http://127.0.0.3:12345/t"\n){2}$)'
balancer.t TEST 4: set current peer & next upstream (3 tries exceeding the limit) - status code ok got: '500'
expected: '502'
balancer.t TEST 4: set current peer & next upstream (3 tries exceeding the limit) - 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>nginx/1.15.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:502 Bad Gateway)'
balancer.t TEST 4: set current peer & next upstream (3 tries exceeding the limit) - grep_error_log_out (req 1) ''
doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "http://127.0.0.3:12345/t"\n){2}$)'
balancer.t TEST 15: hot loop when proxy_upstream_next error is hit and keepalive is used. - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-hello from balancer by lua!
-hello from balancer by lua!
-hello from balancer by lua!
'
balancer.t TEST 15: hot loop when proxy_upstream_next error is hit and keepalive is used. - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-hello from balancer by lua!
-hello from balancer by lua!
-hello from balancer by lua!
'
count.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
count.t TEST 1: module size - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
count.t TEST 1: module size - status code ok got: ''
expected: '200'
count.t TEST 1: module size - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'base size: 19
'
count.t TEST 1: module size - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:47:30 [error] 21545\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
count.t TEST 1: module size - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
count.t TEST 1: module size - status code ok got: ''
expected: '200'
count.t TEST 1: module size - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'base size: 19
'
ctx.t nginx: [emerg] unknown directive "ssl_client_hello_by_lua_block" in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:28
ctx.t TEST 14: ngx.ctx in ssl_client_hello_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 14: ngx.ctx in ssl_client_hello_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 14: ngx.ctx in ssl_client_hello_by_lua - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 14: ngx.ctx in ssl_client_hello_by_lua - grep_error_log_out (req 0) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"...
length: 87
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 14: ngx.ctx in ssl_client_hello_by_lua - pattern "ngx.ctx.answer = 42" should match a line in error.log (req 0)
ctx.t TEST 14: ngx.ctx in ssl_client_hello_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 14: ngx.ctx in ssl_client_hello_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 14: ngx.ctx in ssl_client_hello_by_lua - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 14: ngx.ctx in ssl_client_hello_by_lua - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"...
length: 174
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 14: ngx.ctx in ssl_client_hello_by_lua - pattern "ngx.ctx.answer = 42" should match a line in error.log (req 1)
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 12: prohibit setting ngx.ctx to non-table value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 12: prohibit setting ngx.ctx to non-table value - status code ok got: ''
expected: '200'
ctx.t TEST 12: prohibit setting ngx.ctx to non-table value - response_body_like - response is expected () ''
doesn't match '(?^s:ctx should be a table while getting a nil
)'
ctx.t TEST 12: prohibit setting ngx.ctx to non-table value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:47:38 [error] 21597\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t TEST 12: prohibit setting ngx.ctx to non-table value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 12: prohibit setting ngx.ctx to non-table value - status code ok got: ''
expected: '200'
ctx.t TEST 12: prohibit setting ngx.ctx to non-table value - response_body_like - response is expected () ''
doesn't match '(?^s:ctx should be a table while getting a nil
)'
ctx.t TEST 12: prohibit setting ngx.ctx to non-table value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:47:38 [error] 21597\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - status code ok got: ''
expected: '200'
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "received: 1\x{0a}received: 2\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:47:42 [error] 21624\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - status code ok got: ''
expected: '200'
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "received: 1\x{0a}received: 2\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:47:42 [error] 21624\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 10: ngx.ctx in ssl* and other phases - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 10: ngx.ctx in ssl* and other phases - status code ok got: ''
expected: '200'
ctx.t TEST 10: ngx.ctx in ssl* and other phases - grep_error_log_out (req 0) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}received: 102\x{0a}lua rel"...
length: 115
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 10: ngx.ctx in ssl* and other phases - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:47:47 [error] 21651\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t TEST 10: ngx.ctx in ssl* and other phases - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 10: ngx.ctx in ssl* and other phases - status code ok got: ''
expected: '200'
ctx.t TEST 10: ngx.ctx in ssl* and other phases - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}received: 102\x{0a}lua rel"...
length: 230
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 10: ngx.ctx in ssl* and other phases - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:47:47 [error] 21651\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - status code ok got: ''
expected: '200'
ctx.t TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "closed\x{0a}"
length: 7
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:47:51 [error] 21684\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - status code ok got: ''
expected: '200'
ctx.t TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "closed\x{0a}"
length: 7
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 1\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 9: ngx.ctx in ssl_session_fetch_by_lua (release ctx when client aborted) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:47:51 [error] 21684\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 5: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 5: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - status code ok got: ''
expected: '200'
ctx.t TEST 5: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "failed to do SSL handshake: handshake failed\x{0a}"
length: 45
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 5: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - grep_error_log_out (req 0) got: ""
length: 0
expected: "lua release ngx.ctx at ref 1\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 5: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 5: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - status code ok got: ''
expected: '200'
ctx.t TEST 5: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "failed to do SSL handshake: handshake failed\x{0a}"
length: 45
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 5: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 1\x{0a}lua release ngx.ctx a"...
length: 58
strings begin to differ at char 1 (line 1 column 1)
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - status code ok got: ''
expected: '200'
ctx.t TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "closed\x{0a}"
length: 7
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - grep_error_log_out (req 0) got: ""
length: 0
expected: "lua release ngx.ctx at ref 1\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:00 [error] 21738\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - status code ok got: ''
expected: '200'
ctx.t TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "closed\x{0a}"
length: 7
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 1\x{0a}lua release ngx.ctx a"...
length: 58
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 7: ngx.ctx in ssl_session_store_by_lua (release ctx when client aborted) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:00 [error] 21738\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 13: get_ctx_table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 13: get_ctx_table - status code ok got: ''
expected: '200'
ctx.t TEST 13: get_ctx_table - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "reused\x{0a}reused again\x{0a}"
length: 20
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 13: get_ctx_table - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:05 [error] 21765\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t TEST 13: get_ctx_table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 13: get_ctx_table - status code ok got: ''
expected: '200'
ctx.t TEST 13: get_ctx_table - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "reused\x{0a}reused again\x{0a}"
length: 20
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 13: get_ctx_table - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:05 [error] 21765\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - grep_error_log_out (req 0) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"...
length: 87
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - pattern "ngx.ctx.answer = 42" should match a line in error.log (req 0)
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:09 [error] 21798\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"...
length: 174
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - pattern "ngx.ctx.answer = 42" should match a line in error.log (req 1)
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:09 [error] 21798\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 8: ngx.ctx in ssl_session_fetch_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 8: ngx.ctx in ssl_session_fetch_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 8: ngx.ctx in ssl_session_fetch_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:14 [error] 21825\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t TEST 8: ngx.ctx in ssl_session_fetch_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 8: ngx.ctx in ssl_session_fetch_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 8: ngx.ctx in ssl_session_fetch_by_lua - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}received: 42\x{0a}received"...
length: 137
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 8: ngx.ctx in ssl_session_fetch_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:14 [error] 21825\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 1: get ngx.ctx - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 1: get ngx.ctx - status code ok got: ''
expected: '200'
ctx.t TEST 1: get ngx.ctx - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "ctx.foo = 100\x{0a}"
length: 14
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 1: get ngx.ctx - pattern "(?^:\[TRACE\s+\d+\s+content_by_lua\(nginx\.conf:\d+\):2 loop\])" should match a line in error.log (req 0)
ctx.t TEST 1: get ngx.ctx - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:18 [error] 21852\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t TEST 1: get ngx.ctx - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 1: get ngx.ctx - status code ok got: ''
expected: '200'
ctx.t TEST 1: get ngx.ctx - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "ctx.foo = 100\x{0a}"
length: 14
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 1: get ngx.ctx - pattern "(?^:\[TRACE\s+\d+\s+content_by_lua\(nginx\.conf:\d+\):2 loop\])" should match a line in error.log (req 1)
ctx.t TEST 1: get ngx.ctx - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:18 [error] 21852\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 11: overwrite values will only take affect in the current http request - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 11: overwrite values will only take affect in the current http request - status code ok got: ''
expected: '200'
ctx.t TEST 11: overwrite values will only take affect in the current http request - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "received: 0\x{0a}received: 0\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 11: overwrite values will only take affect in the current http request - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 11: overwrite values will only take affect in the current http request - status code ok got: ''
expected: '200'
ctx.t TEST 11: overwrite values will only take affect in the current http request - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "received: 0\x{0a}received: 0\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 0) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"...
length: 87
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - pattern "ngx.ctx.answer = 42" should match a line in error.log (req 0)
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:27 [error] 21906\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"...
length: 174
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - pattern "ngx.ctx.answer = 42" should match a line in error.log (req 1)
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:27 [error] 21906\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t nginx: [error] init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
ctx.t TEST 2: set ngx.ctx - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 2: set ngx.ctx - status code ok got: ''
expected: '200'
ctx.t TEST 2: set ngx.ctx - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "ctx.foo = 100\x{0a}"
length: 14
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 2: set ngx.ctx - pattern "(?^:\[TRACE\s+\d+\s+content_by_lua\(nginx\.conf:\d+\):2 loop\])" should match a line in error.log (req 0)
ctx.t TEST 2: set ngx.ctx - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:32 [error] 21939\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
ctx.t TEST 2: set ngx.ctx - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
ctx.t TEST 2: set ngx.ctx - status code ok got: ''
expected: '200'
ctx.t TEST 2: set ngx.ctx - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "ctx.foo = 100\x{0a}"
length: 14
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 2: set ngx.ctx - pattern "(?^:\[TRACE\s+\d+\s+content_by_lua\(nginx\.conf:\d+\):2 loop\])" should match a line in error.log (req 1)
ctx.t TEST 2: set ngx.ctx - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:32 [error] 21939\#0: init_by_lua error: /home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
/home/ec2-user/git/lua-resty-core/lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
/home/ec2-user/git/lua-resty-core/lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
decode-base64.t TEST 4: set base64 (boolean) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 4: set base64 (boolean) - status code ok got: ''
expected: '200'
decode-base64.t TEST 4: set base64 (boolean) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "true\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 4: set base64 (boolean) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
decode-base64.t TEST 4: set base64 (boolean) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:37 [error] 21969\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t TEST 4: set base64 (boolean) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 4: set base64 (boolean) - status code ok got: ''
expected: '200'
decode-base64.t TEST 4: set base64 (boolean) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "true\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 4: set base64 (boolean) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
decode-base64.t TEST 4: set base64 (boolean) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:37 [error] 21969\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
decode-base64.t TEST 8: decode_base64url with invalid input - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 8: decode_base64url with invalid input - status code ok got: ''
expected: '200'
decode-base64.t TEST 8: decode_base64url with invalid input - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "decode_base64url returned: nil, invalid input\x{0a}"
length: 46
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 8: decode_base64url with invalid input - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:41 [error] 21996\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t TEST 8: decode_base64url with invalid input - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 8: decode_base64url with invalid input - status code ok got: ''
expected: '200'
decode-base64.t TEST 8: decode_base64url with invalid input - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "decode_base64url returned: nil, invalid input\x{0a}"
length: 46
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 8: decode_base64url with invalid input - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:41 [error] 21996\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
decode-base64.t TEST 7: decode_base64url - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 7: decode_base64url - status code ok got: ''
expected: '200'
decode-base64.t TEST 7: decode_base64url - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "decode_base64url("") = ""\x{0a}decode_base64url("Zg") ="...
length: 303
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 7: decode_base64url - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:46 [error] 22029\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t TEST 7: decode_base64url - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 7: decode_base64url - status code ok got: ''
expected: '200'
decode-base64.t TEST 7: decode_base64url - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "decode_base64url("") = ""\x{0a}decode_base64url("Zg") ="...
length: 303
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 7: decode_base64url - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:46 [error] 22029\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
decode-base64.t TEST 1: string - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 1: string - status code ok got: ''
expected: '200'
decode-base64.t TEST 1: string - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "hello\x{0a}"
length: 6
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 1: string - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
decode-base64.t TEST 1: string - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:50 [error] 22056\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t TEST 1: string - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 1: string - status code ok got: ''
expected: '200'
decode-base64.t TEST 1: string - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "hello\x{0a}"
length: 6
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 1: string - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
decode-base64.t TEST 1: string - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:50 [error] 22056\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
decode-base64.t TEST 3: set base64 (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 3: set base64 (number) - status code ok got: ''
expected: '200'
decode-base64.t TEST 3: set base64 (number) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "3.14\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 3: set base64 (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
decode-base64.t TEST 3: set base64 (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:55 [error] 22083\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t TEST 3: set base64 (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 3: set base64 (number) - status code ok got: ''
expected: '200'
decode-base64.t TEST 3: set base64 (number) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "3.14\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 3: set base64 (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
decode-base64.t TEST 3: set base64 (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:55 [error] 22083\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
decode-base64.t TEST 5: string (buf size just smaller than 4096) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 5: string (buf size just smaller than 4096) - status code ok got: ''
expected: '200'
decode-base64.t TEST 5: string (buf size just smaller than 4096) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "4095\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 5: string (buf size just smaller than 4096) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
decode-base64.t TEST 5: string (buf size just smaller than 4096) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:59 [error] 22110\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t TEST 5: string (buf size just smaller than 4096) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 5: string (buf size just smaller than 4096) - status code ok got: ''
expected: '200'
decode-base64.t TEST 5: string (buf size just smaller than 4096) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "4095\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 5: string (buf size just smaller than 4096) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
decode-base64.t TEST 5: string (buf size just smaller than 4096) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:48:59 [error] 22110\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
decode-base64.t TEST 6: string (buf size just a bit bigger than 4096) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 6: string (buf size just a bit bigger than 4096) - status code ok got: ''
expected: '200'
decode-base64.t TEST 6: string (buf size just a bit bigger than 4096) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "4096\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 6: string (buf size just a bit bigger than 4096) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
decode-base64.t TEST 6: string (buf size just a bit bigger than 4096) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:04 [error] 22143\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t TEST 6: string (buf size just a bit bigger than 4096) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 6: string (buf size just a bit bigger than 4096) - status code ok got: ''
expected: '200'
decode-base64.t TEST 6: string (buf size just a bit bigger than 4096) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "4096\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 6: string (buf size just a bit bigger than 4096) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
decode-base64.t TEST 6: string (buf size just a bit bigger than 4096) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:04 [error] 22143\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
decode-base64.t TEST 2: set base64 (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 2: set base64 (nil) - status code ok got: ''
expected: '200'
decode-base64.t TEST 2: set base64 (nil) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "\x{0a}"
length: 1
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 2: set base64 (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
decode-base64.t TEST 2: set base64 (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:08 [error] 22170\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
decode-base64.t TEST 2: set base64 (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
decode-base64.t TEST 2: set base64 (nil) - status code ok got: ''
expected: '200'
decode-base64.t TEST 2: set base64 (nil) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "\x{0a}"
length: 1
strings begin to differ at char 1 (line 1 column 1)
decode-base64.t TEST 2: set base64 (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
decode-base64.t TEST 2: set base64 (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:08 [error] 22170\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
encode-base64.t TEST 6: set base64 (buf is just 4096) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 6: set base64 (buf is just 4096) - status code ok got: ''
expected: '200'
encode-base64.t TEST 6: set base64 (buf is just 4096) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "4096\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 6: set base64 (buf is just 4096) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
encode-base64.t TEST 6: set base64 (buf is just 4096) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:13 [error] 22200\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t TEST 6: set base64 (buf is just 4096) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 6: set base64 (buf is just 4096) - status code ok got: ''
expected: '200'
encode-base64.t TEST 6: set base64 (buf is just 4096) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "4096\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 6: set base64 (buf is just 4096) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
encode-base64.t TEST 6: set base64 (buf is just 4096) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:13 [error] 22200\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
encode-base64.t TEST 8: set base64 (number) with padding (explicitly specified) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 8: set base64 (number) with padding (explicitly specified) - status code ok got: ''
expected: '200'
encode-base64.t TEST 8: set base64 (number) with padding (explicitly specified) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "My4xNA==\x{0a}"
length: 9
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 8: set base64 (number) with padding (explicitly specified) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
encode-base64.t TEST 8: set base64 (number) with padding (explicitly specified) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:18 [error] 22233\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t TEST 8: set base64 (number) with padding (explicitly specified) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 8: set base64 (number) with padding (explicitly specified) - status code ok got: ''
expected: '200'
encode-base64.t TEST 8: set base64 (number) with padding (explicitly specified) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "My4xNA==\x{0a}"
length: 9
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 8: set base64 (number) with padding (explicitly specified) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
encode-base64.t TEST 8: set base64 (number) with padding (explicitly specified) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:18 [error] 22233\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
encode-base64.t TEST 9: encode_base64url - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 9: encode_base64url - status code ok got: ''
expected: '200'
encode-base64.t TEST 9: encode_base64url - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "encode_base64url("") = ""\x{0a}encode_base64url("f") = "...
length: 299
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 9: encode_base64url - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:22 [error] 22260\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t TEST 9: encode_base64url - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 9: encode_base64url - status code ok got: ''
expected: '200'
encode-base64.t TEST 9: encode_base64url - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "encode_base64url("") = ""\x{0a}encode_base64url("f") = "...
length: 299
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 9: encode_base64url - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:22 [error] 22260\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
encode-base64.t TEST 7: set base64 (number) without padding (explicitly specified) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 7: set base64 (number) without padding (explicitly specified) - status code ok got: ''
expected: '200'
encode-base64.t TEST 7: set base64 (number) without padding (explicitly specified) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "My4xNA\x{0a}"
length: 7
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 7: set base64 (number) without padding (explicitly specified) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
encode-base64.t TEST 7: set base64 (number) without padding (explicitly specified) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:27 [error] 22287\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t TEST 7: set base64 (number) without padding (explicitly specified) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 7: set base64 (number) without padding (explicitly specified) - status code ok got: ''
expected: '200'
encode-base64.t TEST 7: set base64 (number) without padding (explicitly specified) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "My4xNA\x{0a}"
length: 7
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 7: set base64 (number) without padding (explicitly specified) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
encode-base64.t TEST 7: set base64 (number) without padding (explicitly specified) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:27 [error] 22287\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
encode-base64.t TEST 2: set base64 (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 2: set base64 (nil) - status code ok got: ''
expected: '200'
encode-base64.t TEST 2: set base64 (nil) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "\x{0a}"
length: 1
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 2: set base64 (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
encode-base64.t TEST 2: set base64 (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:31 [error] 22314\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t TEST 2: set base64 (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 2: set base64 (nil) - status code ok got: ''
expected: '200'
encode-base64.t TEST 2: set base64 (nil) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "\x{0a}"
length: 1
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 2: set base64 (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
encode-base64.t TEST 2: set base64 (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:31 [error] 22314\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
encode-base64.t TEST 1: set base64 (string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 1: set base64 (string) - status code ok got: ''
expected: '200'
encode-base64.t TEST 1: set base64 (string) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "aGVsbG8=\x{0a}"
length: 9
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 1: set base64 (string) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
encode-base64.t TEST 1: set base64 (string) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:36 [error] 22347\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t TEST 1: set base64 (string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 1: set base64 (string) - status code ok got: ''
expected: '200'
encode-base64.t TEST 1: set base64 (string) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "aGVsbG8=\x{0a}"
length: 9
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 1: set base64 (string) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
encode-base64.t TEST 1: set base64 (string) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:36 [error] 22347\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
encode-base64.t TEST 3: set base64 (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 3: set base64 (number) - status code ok got: ''
expected: '200'
encode-base64.t TEST 3: set base64 (number) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "My4xNA==\x{0a}"
length: 9
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 3: set base64 (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
encode-base64.t TEST 3: set base64 (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:40 [error] 22374\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t TEST 3: set base64 (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 3: set base64 (number) - status code ok got: ''
expected: '200'
encode-base64.t TEST 3: set base64 (number) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "My4xNA==\x{0a}"
length: 9
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 3: set base64 (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
encode-base64.t TEST 3: set base64 (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:40 [error] 22374\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
encode-base64.t TEST 5: set base64 (buf is a little larger than 4096) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 5: set base64 (buf is a little larger than 4096) - status code ok got: ''
expected: '200'
encode-base64.t TEST 5: set base64 (buf is a little larger than 4096) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "4100\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 5: set base64 (buf is a little larger than 4096) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
encode-base64.t TEST 5: set base64 (buf is a little larger than 4096) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:45 [error] 22401\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t TEST 5: set base64 (buf is a little larger than 4096) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 5: set base64 (buf is a little larger than 4096) - status code ok got: ''
expected: '200'
encode-base64.t TEST 5: set base64 (buf is a little larger than 4096) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "4100\x{0a}"
length: 5
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 5: set base64 (buf is a little larger than 4096) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
encode-base64.t TEST 5: set base64 (buf is a little larger than 4096) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:45 [error] 22401\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
encode-base64.t TEST 4: set base64 (boolean) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 4: set base64 (boolean) - status code ok got: ''
expected: '200'
encode-base64.t TEST 4: set base64 (boolean) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "dHJ1ZQ==\x{0a}"
length: 9
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 4: set base64 (boolean) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0)
encode-base64.t TEST 4: set base64 (boolean) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:49 [error] 22428\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
encode-base64.t TEST 4: set base64 (boolean) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
encode-base64.t TEST 4: set base64 (boolean) - status code ok got: ''
expected: '200'
encode-base64.t TEST 4: set base64 (boolean) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "dHJ1ZQ==\x{0a}"
length: 9
strings begin to differ at char 1 (line 1 column 1)
encode-base64.t TEST 4: set base64 (boolean) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1)
encode-base64.t TEST 4: set base64 (boolean) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:49:49 [error] 22428\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
errlog-raw-log.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog-raw-log.t TEST 6: errlog.raw_log in init_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog-raw-log.t TEST 6: errlog.raw_log in init_by_lua - status code ok got: ''
expected: '200'
errlog-raw-log.t TEST 6: errlog.raw_log in init_by_lua - grep_error_log_out (req 0) got: ''
expected: 'hello world from init_by_lua
'
errlog-raw-log.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog-raw-log.t TEST 7: errlog.raw_log in init_worker_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog-raw-log.t TEST 7: errlog.raw_log in init_worker_by_lua - status code ok got: ''
expected: '200'
errlog-raw-log.t TEST 7: errlog.raw_log in init_worker_by_lua - grep_error_log_out (req 0) got: ''
expected: 'hello world from init_worker_by_lua
'
errlog-raw-log.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog-raw-log.t TEST 8: errlog.raw_log with \0 in the log message - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog-raw-log.t TEST 8: errlog.raw_log with \0 in the log message - status code ok got: ''
expected: '200'
errlog-raw-log.t TEST 8: errlog.raw_log with \0 in the log message - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
errlog-raw-log.t TEST 8: errlog.raw_log with \0 in the log message - pattern "helloworld, client: " should match a line in error.log (req 0)
errlog-raw-log.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog-raw-log.t TEST 3: errlog.raw_log with bad log message - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog-raw-log.t TEST 3: errlog.raw_log with bad log message - status code ok got: ''
expected: '500'
errlog-raw-log.t TEST 3: errlog.raw_log with bad log message - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
errlog-raw-log.t TEST 3: errlog.raw_log with bad log message - pattern "bad argument \#2 to 'raw_log' (must be a string)" should match a line in error.log (req 0)
errlog-raw-log.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog-raw-log.t TEST 2: errlog.raw_log with bad levels (9) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog-raw-log.t TEST 2: errlog.raw_log with bad levels (9) - status code ok got: ''
expected: '500'
errlog-raw-log.t TEST 2: errlog.raw_log with bad levels (9) - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
errlog-raw-log.t TEST 2: errlog.raw_log with bad levels (9) - pattern "bad log level" should match a line in error.log (req 0)
errlog-raw-log.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog-raw-log.t TEST 4: errlog.raw_log test log-level ERR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog-raw-log.t TEST 4: errlog.raw_log test log-level ERR - status code ok got: ''
expected: '200'
errlog-raw-log.t TEST 4: errlog.raw_log test log-level ERR - pattern "(?^:\[error\] \S+: \S+ hello world)" should match a line in error.log (req 0)
errlog-raw-log.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog-raw-log.t TEST 5: errlog.raw_log JITs - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog-raw-log.t TEST 5: errlog.raw_log JITs - status code ok got: ''
expected: '200'
errlog-raw-log.t TEST 5: errlog.raw_log JITs - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\])" should match a line in error.log (req 0)
errlog-raw-log.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog-raw-log.t TEST 1: errlog.raw_log with bad log level (ngx.ERROR, -1) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog-raw-log.t TEST 1: errlog.raw_log with bad log level (ngx.ERROR, -1) - status code ok got: ''
expected: '500'
errlog-raw-log.t TEST 1: errlog.raw_log with bad log level (ngx.ERROR, -1) - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
errlog-raw-log.t TEST 1: errlog.raw_log with bad log level (ngx.ERROR, -1) - pattern "bad log level" should match a line in error.log (req 0)
errlog-raw-log.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog-raw-log.t TEST 9: errlog.raw_log is captured by errlog.get_logs() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog-raw-log.t TEST 9: errlog.raw_log is captured by errlog.get_logs() - status code ok got: ''
expected: '200'
errlog-raw-log.t TEST 9: errlog.raw_log is captured by errlog.get_logs() - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'log lines: 1
'
errlog-raw-log.t TEST 9: errlog.raw_log is captured by errlog.get_logs() - pattern "(?^:\[error\] .*? hello from raw_log\(\))" should match a line in error.log (req 0)
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 19: fetch a few and generate a few, then fetch again (overflown again) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 19: fetch a few and generate a few, then fetch again (overflown again) - status code ok got: ''
expected: '200'
errlog.t TEST 19: fetch a few and generate a few, then fetch again (overflown again) - response_body_like - response is expected () ''
doesn't match '(?^s:\Amsg count: 3
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 89, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
msg count: 3
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 90, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 90, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 91, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 102, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 103, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 104, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
\z)'
errlog.t TEST 19: fetch a few and generate a few, then fetch again (overflown again) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 19: fetch a few and generate a few, then fetch again (overflown again) - status code ok got: ''
expected: '200'
errlog.t TEST 19: fetch a few and generate a few, then fetch again (overflown again) - response_body_like - response is expected () ''
doesn't match '(?^s:\Amsg count: 3
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 89, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
msg count: 3
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 90, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 90, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 91, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 102, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 103, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 104, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
\z)'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 21: multi-line error log - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 21: multi-line error log - status code ok got: ''
expected: '200'
errlog.t TEST 21: multi-line error log - response_body_like - response is expected () ''
doesn't match '(?^s:\Alog lines: #1
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
\z)'
errlog.t TEST 21: multi-line error log - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 21: multi-line error log - status code ok got: ''
expected: '200'
errlog.t TEST 21: multi-line error log - response_body_like - response is expected () ''
doesn't match '(?^s:\Alog lines: #1
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
\z)'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 12: filter log by level(ngx.WARN) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 12: filter log by level(ngx.WARN) - status code ok got: ''
expected: '200'
errlog.t TEST 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'log lines:2
'
errlog.t TEST 12: filter log by level(ngx.WARN) - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
--->1
--->2
--->3
'
errlog.t TEST 12: filter log by level(ngx.WARN) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 12: filter log by level(ngx.WARN) - status code ok got: ''
expected: '200'
errlog.t TEST 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'log lines:2
'
errlog.t TEST 12: filter log by level(ngx.WARN) - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
--->1
--->2
--->3
'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 28: log time eq ngx.now - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 28: log time eq ngx.now - status code ok got: ''
expected: '200'
errlog.t TEST 28: log time eq ngx.now - response_body_like - response is expected () ''
doesn't match '(?^s:\Alog lines: 2
log level: 3
log time: \d+(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[crit\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: enter 1, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
same with now: true
log level: 4
log time: \d{10}(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: enter 11, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
same with now: true)'
errlog.t TEST 28: log time eq ngx.now - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-enter 1
-enter 11
'
errlog.t TEST 28: log time eq ngx.now - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 28: log time eq ngx.now - status code ok got: ''
expected: '200'
errlog.t TEST 28: log time eq ngx.now - response_body_like - response is expected () ''
doesn't match '(?^s:\Alog lines: 2
log level: 3
log time: \d+(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[crit\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: enter 1, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
same with now: true
log level: 4
log time: \d{10}(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: enter 11, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
same with now: true)'
errlog.t TEST 28: log time eq ngx.now - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-enter 1
-enter 11
'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 9: without directive + ngx.errlog - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 9: without directive + ngx.errlog - status code ok got: ''
expected: '500'
errlog.t TEST 9: without directive + ngx.errlog - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
errlog.t TEST 9: without directive + ngx.errlog - pattern "directive "lua_capture_error_log" is not set" should match a line in error.log (req 0)
errlog.t TEST 9: without directive + ngx.errlog - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 9: without directive + ngx.errlog - status code ok got: ''
expected: '500'
errlog.t TEST 9: without directive + ngx.errlog - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
errlog.t TEST 9: without directive + ngx.errlog - pattern "directive "lua_capture_error_log" is not set" should match a line in error.log (req 1)
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 14: set max count and reuse table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 14: set max count and reuse table - status code ok got: ''
expected: '200'
errlog.t TEST 14: set max count and reuse table - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-log lines:2
-log lines:1
'
errlog.t TEST 14: set max count and reuse table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 14: set max count and reuse table - status code ok got: ''
expected: '200'
errlog.t TEST 14: set max count and reuse table - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-log lines:2
-log lines:1
'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 25: get system default filter level during Nginx starts (init) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 25: get system default filter level during Nginx starts (init) - status code ok got: ''
expected: '200'
errlog.t TEST 25: get system default filter level during Nginx starts (init) - pattern "log a warning event" should match a line in error.log (req 0)
errlog.t TEST 25: get system default filter level during Nginx starts (init) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 25: get system default filter level during Nginx starts (init) - status code ok got: ''
expected: '200'
errlog.t TEST 25: get system default filter level during Nginx starts (init) - pattern "log a warning event" should match a line in error.log (req 1)
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 15: wrong argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 15: wrong argument - status code ok got: ''
expected: '500'
errlog.t TEST 15: wrong argument - response_body_like - response is expected () ''
doesn't match '(?^s:500)'
errlog.t TEST 15: wrong argument - grep_error_log_out (req 0) got: ''
expected: 'missing "level" argument
'
errlog.t TEST 15: wrong argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 15: wrong argument - status code ok got: ''
expected: '500'
errlog.t TEST 15: wrong argument - response_body_like - response is expected () ''
doesn't match '(?^s:500)'
errlog.t TEST 15: wrong argument - grep_error_log_out (req 1) got: ''
expected: 'missing "level" argument
'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 17: flood the capturing buffer (4k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 17: flood the capturing buffer (4k) - status code ok got: ''
expected: '200'
errlog.t TEST 17: flood the capturing buffer (4k) - response_body_like - response is expected () ''
doesn't match '(?^s:\A(?:log lines: #21
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 90, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 91, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
|log lines: #20
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 91, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 91, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 92, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
)\z)'
errlog.t TEST 17: flood the capturing buffer (4k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 17: flood the capturing buffer (4k) - status code ok got: ''
expected: '200'
errlog.t TEST 17: flood the capturing buffer (4k) - response_body_like - response is expected () ''
doesn't match '(?^s:\A(?:log lines: #21
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 90, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 91, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
|log lines: #20
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 91, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 91, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 92, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
)\z)'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - status code ok got: ''
expected: '200'
errlog.t TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - response_body_like - response is expected () ''
doesn't match '(?^s:\Amsg count: 3
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 89, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
msg count: 3
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 89, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 90, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 90, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something new!, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something even newer!, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
\z)'
errlog.t TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - status code ok got: ''
expected: '200'
errlog.t TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - response_body_like - response is expected () ''
doesn't match '(?^s:\Amsg count: 3
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 89, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
msg count: 3
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 89, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 90, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 90, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something new!, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something even newer!, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
\z)'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 13: filter log by level(ngx.CRIT) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 13: filter log by level(ngx.CRIT) - status code ok got: ''
expected: '200'
errlog.t TEST 13: filter log by level(ngx.CRIT) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'log lines:0
'
errlog.t TEST 13: filter log by level(ngx.CRIT) - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
--->1
--->2
--->3
'
errlog.t TEST 13: filter log by level(ngx.CRIT) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 13: filter log by level(ngx.CRIT) - status code ok got: ''
expected: '200'
errlog.t TEST 13: filter log by level(ngx.CRIT) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'log lines:0
'
errlog.t TEST 13: filter log by level(ngx.CRIT) - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
--->1
--->2
--->3
'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 5: no error log - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 5: no error log - status code ok got: ''
expected: '200'
errlog.t TEST 5: no error log - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'hello
'
errlog.t TEST 5: no error log - grep_error_log_out (req 0) ''
doesn't match '(?^:^capture log line:0
$)'
errlog.t TEST 5: no error log - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 5: no error log - status code ok got: ''
expected: '200'
errlog.t TEST 5: no error log - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'hello
'
errlog.t TEST 5: no error log - grep_error_log_out (req 1) ''
doesn't match '(?^:^capture log line:1
$)'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 30: ringbuf sentinel bug1 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 30: ringbuf sentinel bug1 - status code ok got: ''
expected: '200'
errlog.t TEST 30: ringbuf sentinel bug1 - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-log lines: \#2
-AAA
-aaa
'
errlog.t TEST 30: ringbuf sentinel bug1 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 30: ringbuf sentinel bug1 - status code ok got: ''
expected: '200'
errlog.t TEST 30: ringbuf sentinel bug1 - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-log lines: \#2
-AAA
-aaa
'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 16: check the captured error log body - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 16: check the captured error log body - status code ok got: ''
expected: '200'
errlog.t TEST 16: check the captured error log body - response_body_like - response is expected () ''
doesn't match '(?^s:log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->2, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->3, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
)'
errlog.t TEST 16: check the captured error log body - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
--->1
--->2
--->3
'
errlog.t TEST 16: check the captured error log body - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 16: check the captured error log body - status code ok got: ''
expected: '200'
errlog.t TEST 16: check the captured error log body - response_body_like - response is expected () ''
doesn't match '(?^s:log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->2, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->3, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
)'
errlog.t TEST 16: check the captured error log body - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
--->1
--->2
--->3
'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 31: ringbuf sentinel bug2 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 31: ringbuf sentinel bug2 - status code ok got: ''
expected: '200'
errlog.t TEST 31: ringbuf sentinel bug2 - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-log lines: \#18
-log lines: \#8
'
errlog.t TEST 31: ringbuf sentinel bug2 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 31: ringbuf sentinel bug2 - status code ok got: ''
expected: '200'
errlog.t TEST 31: ringbuf sentinel bug2 - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-log lines: \#18
-log lines: \#8
'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 29: ringbuf overflow bug - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 29: ringbuf overflow bug - status code ok got: ''
expected: '200'
errlog.t TEST 29: ringbuf overflow bug - response_body_like - response is expected () ''
doesn't match '(?^s:log level: 4
log time: \d+(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*39, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: \d{10}(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*40, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost")'
errlog.t TEST 29: ringbuf overflow bug - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 29: ringbuf overflow bug - status code ok got: ''
expected: '200'
errlog.t TEST 29: ringbuf overflow bug - response_body_like - response is expected () ''
doesn't match '(?^s:log level: 4
log time: \d+(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*39, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: \d{10}(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*40, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost")'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 3: 404 error (not found) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 3: 404 error (not found) - status code ok got: ''
expected: '404'
errlog.t TEST 3: 404 error (not found) - grep_error_log_out (req 0) ''
doesn't match '(?^:^No such file or directory
capture log line:1
$)'
errlog.t TEST 3: 404 error (not found) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 3: 404 error (not found) - status code ok got: ''
expected: '404'
errlog.t TEST 3: 404 error (not found) - grep_error_log_out (req 1) ''
doesn't match '(?^:^No such file or directory
capture log line:2
$)'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 11: filter log by level(ngx.INFO) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 11: filter log by level(ngx.INFO) - status code ok got: ''
expected: '200'
errlog.t TEST 11: filter log by level(ngx.INFO) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'log lines:3
'
errlog.t TEST 11: filter log by level(ngx.INFO) - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
--->1
--->2
--->3
'
errlog.t TEST 11: filter log by level(ngx.INFO) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 11: filter log by level(ngx.INFO) - status code ok got: ''
expected: '200'
errlog.t TEST 11: filter log by level(ngx.INFO) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'log lines:3
'
errlog.t TEST 11: filter log by level(ngx.INFO) - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
--->1
--->2
--->3
'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 6: customize the log path - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 6: customize the log path - status code ok got: ''
expected: '200'
errlog.t TEST 6: customize the log path - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'hello
'
errlog.t TEST 6: customize the log path - grep_error_log_out (req 0) ''
doesn't match '(?^:^enter access
capture log line:1
$)'
errlog.t TEST 6: customize the log path - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 6: customize the log path - status code ok got: ''
expected: '200'
errlog.t TEST 6: customize the log path - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'hello
'
errlog.t TEST 6: customize the log path - grep_error_log_out (req 1) ''
doesn't match '(?^:^enter access
capture log line:2
$)'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 22: user-supplied Lua table to hold the result (get one log + no log) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 22: user-supplied Lua table to hold the result (get one log + no log) - status code ok got: ''
expected: '200'
errlog.t TEST 22: user-supplied Lua table to hold the result (get one log + no log) - response_body_like - response is expected () ''
doesn't match '(?^s:\Amaybe log lines: #1
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
end
maybe log lines: #1
end
\z)'
errlog.t TEST 22: user-supplied Lua table to hold the result (get one log + no log) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 22: user-supplied Lua table to hold the result (get one log + no log) - status code ok got: ''
expected: '200'
errlog.t TEST 22: user-supplied Lua table to hold the result (get one log + no log) - response_body_like - response is expected () ''
doesn't match '(?^s:\Amaybe log lines: #1
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
end
maybe log lines: #1
end
\z)'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 1: sanity - status code ok got: ''
expected: '200'
errlog.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'log lines:2
'
errlog.t TEST 1: sanity - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-enter 1
-enter 11
'
errlog.t TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 1: sanity - status code ok got: ''
expected: '200'
errlog.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'log lines:2
'
errlog.t TEST 1: sanity - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-enter 1
-enter 11
'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 18: flood the capturing buffer (5k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 18: flood the capturing buffer (5k) - status code ok got: ''
expected: '200'
errlog.t TEST 18: flood the capturing buffer (5k) - response_body_like - response is expected () ''
doesn't match '(?^s:\Alog lines: #26
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 89, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
\z)'
errlog.t TEST 18: flood the capturing buffer (5k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 18: flood the capturing buffer (5k) - status code ok got: ''
expected: '200'
errlog.t TEST 18: flood the capturing buffer (5k) - response_body_like - response is expected () ''
doesn't match '(?^s:\Alog lines: #26
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 89, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
\z)'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 26: get system default filter level during Nginx worker starts (init worker) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 26: get system default filter level during Nginx worker starts (init worker) - status code ok got: ''
expected: '200'
errlog.t TEST 26: get system default filter level during Nginx worker starts (init worker) - pattern "log a warning event" should match a line in error.log (req 0)
errlog.t TEST 26: get system default filter level during Nginx worker starts (init worker) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 26: get system default filter level during Nginx worker starts (init worker) - status code ok got: ''
expected: '200'
errlog.t TEST 26: get system default filter level during Nginx worker starts (init worker) - pattern "log a warning event" should match a line in error.log (req 1)
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 4: 500 error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 4: 500 error - status code ok got: ''
expected: '500'
errlog.t TEST 4: 500 error - grep_error_log_out (req 0) ''
doesn't match '(?^:^attempt to perform arithmetic on a table value
capture log line:1
$)'
errlog.t TEST 4: 500 error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 4: 500 error - status code ok got: ''
expected: '500'
errlog.t TEST 4: 500 error - grep_error_log_out (req 1) ''
doesn't match '(?^:^attempt to perform arithmetic on a table value
capture log line:2
$)'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 10: without directive + ngx.set_filter_level - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 10: without directive + ngx.set_filter_level - status code ok got: ''
expected: '500'
errlog.t TEST 10: without directive + ngx.set_filter_level - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
errlog.t TEST 10: without directive + ngx.set_filter_level - pattern "directive "lua_capture_error_log" is not set" should match a line in error.log (req 0)
errlog.t TEST 10: without directive + ngx.set_filter_level - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 10: without directive + ngx.set_filter_level - status code ok got: ''
expected: '500'
errlog.t TEST 10: without directive + ngx.set_filter_level - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
errlog.t TEST 10: without directive + ngx.set_filter_level - pattern "directive "lua_capture_error_log" is not set" should match a line in error.log (req 1)
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 2: overflow captured error logs - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 2: overflow captured error logs - status code ok got: ''
expected: '200'
errlog.t TEST 2: overflow captured error logs - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'log lines:1
'
errlog.t TEST 2: overflow captured error logs - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-enter 1
-enter 22
'
errlog.t TEST 2: overflow captured error logs - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 2: overflow captured error logs - status code ok got: ''
expected: '200'
errlog.t TEST 2: overflow captured error logs - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'log lines:1
'
errlog.t TEST 2: overflow captured error logs - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-enter 1
-enter 22
'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 23: the system default filter level is "debug" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 23: the system default filter level is "debug" - status code ok got: ''
expected: '200'
errlog.t TEST 23: the system default filter level is "debug" - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'Is "debug" the system default filter level? true'
errlog.t TEST 23: the system default filter level is "debug" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 23: the system default filter level is "debug" - status code ok got: ''
expected: '200'
errlog.t TEST 23: the system default filter level is "debug" - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'Is "debug" the system default filter level? true'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 24: the system default filter level is "emerg" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 24: the system default filter level is "emerg" - status code ok got: ''
expected: '200'
errlog.t TEST 24: the system default filter level is "emerg" - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'Is "emerg" the system default filter level? true'
errlog.t TEST 24: the system default filter level is "emerg" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 24: the system default filter level is "emerg" - status code ok got: ''
expected: '200'
errlog.t TEST 24: the system default filter level is "emerg" - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'Is "emerg" the system default filter level? true'
errlog.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
errlog.t TEST 27: sanity (with log time) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 27: sanity (with log time) - status code ok got: ''
expected: '200'
errlog.t TEST 27: sanity (with log time) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'log lines:2
'
errlog.t TEST 27: sanity (with log time) - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-enter 1
-enter 11
'
errlog.t TEST 27: sanity (with log time) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
errlog.t TEST 27: sanity (with log time) - status code ok got: ''
expected: '200'
errlog.t TEST 27: sanity (with log time) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'log lines:2
'
errlog.t TEST 27: sanity (with log time) - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-enter 1
-enter 11
'
exit.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:52:45 [error] 23549\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 4: accepts NGX_ERROR - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:52:58 [error] 23742\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 5: accepts NGX_DECLINED - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:53:11 [error] 23941\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t TEST 2: call ngx.exit() from a custom lua module - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 2: call ngx.exit() from a custom lua module - status code ok got: ''
expected: '403'
exit.t TEST 2: call ngx.exit() from a custom lua module - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
exit.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 0)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 1)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 2)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 3)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 4)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 5)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 6)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 7)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 8)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 9)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 10)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 11)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 12)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 13)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 14)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 15)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 16)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 17)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 18)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 19)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 20)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 21)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 22)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 23)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 24)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 25)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 26)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 27)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 28)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 29)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 30)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 31)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 32)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 33)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 34)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 35)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 36)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 37)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 38)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 39)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 40)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 41)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 42)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 43)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 44)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 45)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 46)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 47)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 48)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 49)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 50)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 51)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 52)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 53)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 54)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 55)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 56)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 57)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 58)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 59)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 60)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 61)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 62)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 63)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 64)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 65)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 66)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 67)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 68)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 69)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 70)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 71)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 72)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 73)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 74)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 75)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 76)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 77)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 78)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 79)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 80)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 81)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 82)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 83)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 84)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 85)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 86)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 87)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 88)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 89)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 90)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 91)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 92)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 93)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 94)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 95)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 96)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 97)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 98)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 99)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 100)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 101)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 102)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 103)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 104)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 105)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 106)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 107)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 108)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 109)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 110)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 111)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 112)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 113)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 114)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 115)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 116)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 117)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 118)
exit.t TEST 6: refuses NGX_AGAIN - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 6: refuses NGX_AGAIN - status code ok got: ''
expected: '500'
exit.t TEST 6: refuses NGX_AGAIN - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 6: refuses NGX_AGAIN - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 119)
exit.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:53:38 [error] 24333\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 0) stack traceback:
[C]: in function 'error'
./lib/resty/core/base.lua:25: in main chunk
[C]: in function 'require'
./lib/resty/core/var.lua:5: in main chunk
[C]: in function 'require'
./lib/resty/core.lua:6: in main chunk
[C]: in function 'require'
'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t TEST 3: accepts NGX_OK - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 3: accepts NGX_OK - status code ok got: ''
expected: '200'
exit.t nginx: [error] init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 0)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 1)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 2)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 3)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 4)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 5)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 6)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 7)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 8)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 9)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 10)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 11)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 12)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 13)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 14)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 15)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 16)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 17)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 18)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 19)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 20)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 21)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 22)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 23)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 24)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 25)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 26)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 27)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 28)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 29)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 30)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 31)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 32)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 33)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 34)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 35)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 36)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 37)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 38)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 39)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 40)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 41)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 42)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 43)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 44)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 45)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 46)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 47)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 48)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 49)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 50)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 51)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 52)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 53)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 54)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 55)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 56)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'
exit.t TEST 7: refuses NGX_DONE - response_body_like - response is expected () ''
doesn't match '(?^s:500 Internal Server Error)'
exit.t TEST 7: refuses NGX_DONE - pattern "(?^:\[error\] .*? bad argument to 'ngx.exit': does not accept NGX_AGAIN or NGX_DONE)" should match a line in error.log (req 57)
exit.t TEST 7: refuses NGX_DONE - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
exit.t TEST 7: refuses NGX_DONE - status code ok got: ''
expected: '500'